diff options
author | David Robillard <d@drobilla.net> | 2008-12-28 19:56:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-12-28 19:56:50 +0000 |
commit | 725002a775506e9a69b57e7d706c7e524cc36567 (patch) | |
tree | fd5c4e86de2ccf7a3561adb5447351278ef0f4ee | |
parent | 5a2863081e4bb3397f66e098d278bdcbfb493ba0 (diff) | |
download | raul-725002a775506e9a69b57e7d706c7e524cc36567.tar.gz raul-725002a775506e9a69b57e7d706c7e524cc36567.tar.bz2 raul-725002a775506e9a69b57e7d706c7e524cc36567.zip |
Fail configure checks when package version is too old (fix ticket #299).
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@1914 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | wscript | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -28,8 +28,10 @@ def set_options(opt): def configure(conf): autowaf.configure(conf) autowaf.check_tool(conf, 'compiler_cxx') - autowaf.check_pkg(conf, 'glibmm-2.4', destvar='GLIBMM', vnum='2.14.0', mandatory=True) - autowaf.check_pkg(conf, 'gthread-2.0', destvar='GTHREAD', vnum='2.14.0', mandatory=True) + autowaf.check_pkg(conf, 'glibmm-2.4', atleast_version='2.14.0', + uselib_store='GLIBMM', mandatory=True) + autowaf.check_pkg(conf, 'gthread-2.0', atleast_version='2.14.0', + uselib_store='GTHREAD', mandatory=True) autowaf.print_summary(conf) def build(bld): |