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