From c59b0892ace3ab0fb743335b36abbd72591d4a7b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 28 Dec 2008 19:56:50 +0000 Subject: 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 --- wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 21cc399..79e61d9 100644 --- a/wscript +++ b/wscript @@ -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') -- cgit v1.2.1