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 | c59b0892ace3ab0fb743335b36abbd72591d4a7b (patch) | |
tree | eeca1e9547a3483b94ac004a779125c55e8e8ec6 | |
parent | 108c0af7f15e1aeca657546518bed8180cd47ef6 (diff) | |
download | lilv-c59b0892ace3ab0fb743335b36abbd72591d4a7b.tar.gz lilv-c59b0892ace3ab0fb743335b36abbd72591d4a7b.tar.bz2 lilv-c59b0892ace3ab0fb743335b36abbd72591d4a7b.zip |
Fail configure checks when package version is too old (fix ticket #299).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1914 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | wscript | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -47,9 +47,9 @@ def set_options(opt): def configure(conf): autowaf.configure(conf) autowaf.check_tool(conf, 'compiler_cc') - autowaf.check_pkg(conf, 'lv2core', destvar='LV2CORE', vnum='1.0', mandatory=True) - autowaf.check_pkg(conf, 'redland', destvar='REDLAND', vnum='1.0.6', mandatory=True) - autowaf.check_pkg(conf, 'jack', destvar='JACK', vnum='0.107.0', mandatory=False) + autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE', atleast_version='1.0', mandatory=True) + autowaf.check_pkg(conf, 'redland', uselib_store='REDLAND', atleast_version='1.0.6', mandatory=True) + autowaf.check_pkg(conf, 'jack', uselib_store='JACK', atleast_version='0.107.0', mandatory=False) conf.env.append_value('CCFLAGS', '-std=c99') conf.define('SLV2_VERSION', SLV2_VERSION) conf.write_config_header('wafconfig.h') |