Bump boost version requirement
1.56 is needed for boost::optional::value_or
This commit is contained in:
parent
53b1d17c60
commit
216492c60c
6
wscript
6
wscript
@ -1032,12 +1032,12 @@ def configure(conf):
|
||||
else:
|
||||
conf.check_cc(function_name='dlopen', header_name='dlfcn.h', lib='dl', uselib_store='DL')
|
||||
|
||||
conf.check_cxx(fragment = "#include <boost/version.hpp>\n#if !defined (BOOST_VERSION) || BOOST_VERSION < 103900\n#error boost >= 1.39 is not available\n#endif\nint main(void) { return 0; }\n",
|
||||
conf.check_cxx(fragment = "#include <boost/version.hpp>\n#if !defined (BOOST_VERSION) || BOOST_VERSION < 105600\n#error boost >= 1.56 is not available\n#endif\nint main(void) { return 0; }\n",
|
||||
execute = False,
|
||||
mandatory = True,
|
||||
msg = 'Checking for boost library >= 1.39',
|
||||
msg = 'Checking for boost library >= 1.56',
|
||||
okmsg = 'ok',
|
||||
errmsg = 'too old\nPlease install boost version 1.39 or higher.')
|
||||
errmsg = 'too old\nPlease install boost version 1.56 or higher.')
|
||||
|
||||
if re.search ("linux", sys.platform) != None and Options.options.dist_target != 'mingw':
|
||||
autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA')
|
||||
|
Loading…
Reference in New Issue
Block a user