diff options
author | David Robillard <d@drobilla.net> | 2014-12-23 18:44:33 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-24 13:00:32 -0500 |
commit | 2e7cfe081f4148157bd06160f57390e0d43636f9 (patch) | |
tree | c8c959519f67d4f7e1a4414578ca16f4bd20acfe | |
parent | 5b28e0bc6fa036464a3f4cf13300819f805d39d4 (diff) |
Add --no-lrdf configure option.
-rw-r--r-- | libs/ardour/wscript | 5 | ||||
-rw-r--r-- | wscript | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/wscript b/libs/ardour/wscript index 2b4cf45310..76d39bd0c3 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -254,8 +254,9 @@ def configure(conf): atleast_version='0.4.0', mandatory=False) autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML') if Options.options.dist_target != 'mingw': - autowaf.check_pkg(conf, 'lrdf', uselib_store='LRDF', - atleast_version='0.4.0') + if not Options.options.no_lrdf: + autowaf.check_pkg(conf, 'lrdf', uselib_store='LRDF', + atleast_version='0.4.0') autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO', atleast_version='0.3.2') autowaf.check_pkg(conf, 'samplerate', uselib_store='SAMPLERATE', @@ -594,6 +594,8 @@ def options(opt): help='Compile with support for linuxVST plugins') opt.add_option('--no-lxvst', action='store_false', dest='lxvst', help='Compile without support for linuxVST plugins') + opt.add_option('--no-lrdf', action='store_true', dest='no_lrdf', + help='Compile without support for LRDF LADSPA data even if present') opt.add_option('--nls', action='store_true', default=True, dest='nls', help='Enable i18n (native language support) (default)') opt.add_option('--no-nls', action='store_false', dest='nls') |