From 2e7cfe081f4148157bd06160f57390e0d43636f9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 23 Dec 2014 18:44:33 -0500 Subject: [PATCH] Add --no-lrdf configure option. --- libs/ardour/wscript | 5 +++-- 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', diff --git a/wscript b/wscript index 96b21b8a0a..4bd7776632 100644 --- a/wscript +++ b/wscript @@ -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')