scons: improve configure output around icu version checking

This commit is contained in:
Dane Springmeyer 2011-08-11 14:17:17 +00:00
parent 9a49b81318
commit 64e2ffe226

View file

@ -798,10 +798,12 @@ int main()
context.Result('error, could not get major and minor version from unicode/uversion.h')
return False
color_print(4,'\nFound icu version... %s\n' % result)
major, minor = map(int,result.split('.'))
if major >= 4 and minor >= 2:
color_print(4,'\nFound icu version... %s\n' % result)
return True
color_print(1,'\nFound insufficient icu version... %s\n' % result)
return False
def boost_regex_has_icu(context):