Add --no-lrdf configure option.

This commit is contained in:
David Robillard 2014-12-23 18:44:33 -05:00
parent 5b28e0bc6f
commit 2e7cfe081f
2 changed files with 5 additions and 2 deletions

View File

@ -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',

View File

@ -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')