diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-28 13:51:26 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-28 13:51:26 +0000 |
commit | d825f20a324dc05fae612b748c579c22df88a471 (patch) | |
tree | b8146a2a4a307186d344853fb52cbde7fcef1393 /libs | |
parent | 3696f98e6f1ac44f8ebfe975405cf82f6d0f8a72 (diff) |
explicit checks for all components of the LV2 stack
git-svn-id: svn://localhost/ardour2/branches/3.0@12465 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/wscript | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/libs/ardour/wscript b/libs/ardour/wscript index c69673ed00..2312c363d2 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -256,11 +256,19 @@ def configure(conf): autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0') if Options.options.lv2: + autowaf.check_pkg(conf, 'lv2', uselib_store='LV2', + atleast_version='1.0.0', mandatory=True) + autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD', + atleast_version='0.14.0', mandatory=True) + autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD', + atleast_version='0.8.0', mandatory=True) + autowaf.check_pkg(conf, 'sratom-0', uselib_store='SRATOM', + atleast_version='0.2.0', mandatory=True) autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV', - atleast_version='0.14.0', mandatory=False) - if conf.is_defined('HAVE_LILV'): - autowaf.check_pkg(conf, 'suil-0', uselib_store='SUIL', - atleast_version='0.6.0', mandatory=False) + atleast_version='0.14.0', mandatory=True) + autowaf.check_pkg(conf, 'suil-0', uselib_store='SUIL', + atleast_version='0.6.0', mandatory=False) + conf.define ('LV2_SUPPORT', 1) # autowaf.check_pkg(conf, 'soundtouch-1.0', uselib_store='SOUNDTOUCH', # mandatory=False) @@ -332,9 +340,6 @@ int main(int argc, char **argv) { if ogg_supported(): conf.define ('HAVE_OGG', 1) - if Options.options.lv2 and conf.is_defined('HAVE_LILV'): - conf.define ('LV2_SUPPORT', 1) - conf.write_config_header('libardour-config.h', remove=False) # Boost headers |