diff options
author | David Robillard <d@drobilla.net> | 2010-02-04 22:25:05 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-04 22:25:05 +0000 |
commit | 54831e8b95df8f9515ab882b080e2b863d76dfab (patch) | |
tree | 9cd33338a1fef4b58b4357be4952cab4ac030515 /wscript | |
parent | 4d60d565d99eb06360251ee06f1af094811656e3 (diff) | |
download | ingen-54831e8b95df8f9515ab882b080e2b863d76dfab.tar.gz ingen-54831e8b95df8f9515ab882b080e2b863d76dfab.tar.bz2 ingen-54831e8b95df8f9515ab882b080e2b863d76dfab.zip |
--no-ladspa compile-time option.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2427 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -20,6 +20,8 @@ def set_options(opt): help="Ingen data install directory [Default: PREFIX/share/ingen]") opt.add_option('--module-dir', type='string', dest='moduledir', help="Ingen module install directory [Default: PREFIX/lib/ingen]") + opt.add_option('--no-ladspa', action='store_true', default=False, dest='no_ladspa', + help="Do not build LADSPA support, even if ladspa.h is found") opt.add_option('--no-osc', action='store_true', default=False, dest='no_osc', help="Do not build OSC via liblo support, even if liblo exists") opt.add_option('--no-http', action='store_true', default=False, dest='no_http', @@ -43,7 +45,8 @@ def configure(conf): autowaf.check_pkg(conf, 'libglademm-2.4', uselib_store='GLADEMM', atleast_version='2.6.0', mandatory=False) if not Options.options.no_http: autowaf.check_pkg(conf, 'libsoup-2.4', uselib_store='SOUP', atleast_version='2.4.0', mandatory=False) - autowaf.check_header(conf, 'ladspa.h', 'HAVE_LADSPA_H', mandatory=False) + if not Options.options.no_ladspa: + autowaf.check_header(conf, 'ladspa.h', 'HAVE_LADSPA_H', mandatory=False) if not Options.options.no_osc: autowaf.check_pkg(conf, 'liblo', uselib_store='LIBLO', atleast_version='0.25', mandatory=False) autowaf.check_pkg(conf, 'redlandmm', uselib_store='REDLANDMM', atleast_version='0.0.0', mandatory=False) |