mirror of https://gitlab.com/ita1024/waf.git
Nicer configuration message on ruby detection
This commit is contained in:
parent
df8e144631
commit
e176101c8c
|
@ -71,13 +71,11 @@ def check_ruby_version(self, minver=()):
|
|||
|
||||
cver = ''
|
||||
if minver:
|
||||
cver = '> ' + '.'.join(str(x) for x in minver)
|
||||
if ver < minver:
|
||||
self.fatal('ruby is too old %r' % ver)
|
||||
cver = '.'.join([str(x) for x in minver])
|
||||
else:
|
||||
cver = ver
|
||||
|
||||
self.msg('Checking for ruby version %s' % str(minver or ''), cver)
|
||||
self.msg('Checking for ruby version %s' % cver, version)
|
||||
|
||||
@conf
|
||||
def check_ruby_ext_devel(self):
|
||||
|
|
Loading…
Reference in New Issue