scons: improve configure output around icu version checking
This commit is contained in:
parent
9a49b81318
commit
64e2ffe226
1 changed files with 3 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue