From 216492c60c30860d973de132462cb05bab755b34 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 21 Nov 2019 17:43:32 +0100 Subject: [PATCH] Bump boost version requirement 1.56 is needed for boost::optional::value_or --- wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index 9068290a90..75ff792971 100644 --- a/wscript +++ b/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 \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 \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')