13
0

Clarify boost check

Boost may not be "too old", but simply not present.
This commit is contained in:
Robin Gareus 2023-06-02 21:31:36 +02:00
parent 8794145c9d
commit 5a17ca56ea
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1174,9 +1174,7 @@ def configure(conf):
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", 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, execute = False,
mandatory = True, mandatory = True,
msg = 'Checking for boost library >= 1.56', msg = 'Checking for boost library >= 1.56')
okmsg = 'ok',
errmsg = 'too old\nPlease install boost version 1.56 or higher.')
if re.search ("linux", sys.platform) is not None and Options.options.dist_target != 'mingw': if re.search ("linux", sys.platform) is not None and Options.options.dist_target != 'mingw':
autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA') autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA')