From 128f69af72115e7b68005b9320745062f1e556c2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 6 Oct 2008 02:32:46 +0000 Subject: 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 --- wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1