summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-06 02:32:46 +0000
committerDavid Robillard <d@drobilla.net>2008-10-06 02:32:46 +0000
commit128f69af72115e7b68005b9320745062f1e556c2 (patch)
tree53577b08aac2d757132ccda672bea0a613c0f621
parent7d54c7a3831bde7a99a3b7824d2304da7c5715b0 (diff)
downloadingen-128f69af72115e7b68005b9320745062f1e556c2.tar.gz
ingen-128f69af72115e7b68005b9320745062f1e556c2.tar.bz2
ingen-128f69af72115e7b68005b9320745062f1e556c2.zip
Add option to avoid use of liblo, even if present.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1625 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/wscript b/wscript
index d01d896a..b7676434 100644
--- a/wscript
+++ b/wscript
@@ -21,6 +21,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-liblo', action='store_true', default=False, dest='no_liblo',
+ help="Do not build OSC via liblo support, even if liblo exists")
def configure(conf):
autowaf.configure(conf)
@@ -36,7 +38,8 @@ def configure(conf):
autowaf.check_pkg(conf, 'libglademm-2.4', destvar='GLADEMM', vnum='2.6.0', mandatory=False)
autowaf.check_pkg(conf, 'libsoup-2.4', destvar='SOUP', vnum='2.4.0', mandatory=False)
autowaf.check_header(conf, 'ladspa.h', 'HAVE_LADSPA', mandatory=False)
- autowaf.check_pkg(conf, 'liblo', destvar='LIBLO', vnum='0.25', mandatory=False)
+ if not Params.g_options.no_liblo:
+ autowaf.check_pkg(conf, 'liblo', destvar='LIBLO', vnum='0.25', mandatory=False)
autowaf.check_pkg(conf, 'redlandmm', destvar='REDLANDMM', vnum='0.0.0', mandatory=False)
conf.define('INGEN_VERSION', INGEN_VERSION)