diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-28 01:13:19 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-28 01:13:19 +0000 |
commit | a2ec28fd269f22b0f515c6ee8c343e8cdb5d5da5 (patch) | |
tree | f2cde6469d368b853e8298082724df4b2f640f6a /wscript | |
parent | 8da27200d18fe4c471a759dde8e10d85ff29d277 (diff) |
Check for boost/signals2.hpp and an appropriate version of the boost library. Closes #2963.
git-svn-id: svn://localhost/ardour2/branches/3.0@6403 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -454,7 +454,17 @@ def configure(conf): if Options.options.boost_sp_debug: conf.env.append_value('CXXFLAGS', '-DBOOST_SP_ENABLE_DEBUG_HOOKS') - + + autowaf.check_header(conf, 'boost/signals2.hpp') + + conf.check_cc(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 104000 ? 0 : 1); }\n", + execute = "1", + mandatory = True, + define_name = 'boost_old_enough', + msg = 'Checking for boost library >= 1.40', + okmsg = 'ok', + errmsg = 'too old\nPlease install boost version 1.40 or higher.') + autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB', atleast_version='2.2') autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD', atleast_version='2.2') autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.14.0') |