summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-02 02:14:39 +0000
committerDavid Robillard <d@drobilla.net>2008-10-02 02:14:39 +0000
commite5e6681757d3a5c159d3d843dd35d834a5da671f (patch)
treec472c8b91a0847747dd815196f5f4cb06f8af78d /wscript
parent3cec9f251255b7873712b02efdf91e258c78c624 (diff)
downloadingen-e5e6681757d3a5c159d3d843dd35d834a5da671f.tar.gz
ingen-e5e6681757d3a5c159d3d843dd35d834a5da671f.tar.bz2
ingen-e5e6681757d3a5c159d3d843dd35d834a5da671f.zip
Build Ingen with LADSPA if possible.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1585 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/wscript b/wscript
index 936ded9d..8fb62e6d 100644
--- a/wscript
+++ b/wscript
@@ -46,6 +46,8 @@ def configure(conf):
conf.check_pkg('libglademm-2.4', destvar='GLADEMM', vnum='2.6.0', mandatory=False)
if not conf.env['HAVE_SOUP']:
conf.check_pkg('libsoup-2.4', destvar='SOUP', vnum='2.4.0', mandatory=False)
+ if not conf.env['HAVE_LADSPA']:
+ conf.check_header('ladspa.h', 'HAVE_LADSPA', mandatory=False)
if not conf.env['HAVE_LIBLO']:
conf.check_pkg('liblo', destvar='LIBLO', vnum='0.25', mandatory=False)
if not conf.env['HAVE_REDLANDMM']:
@@ -59,7 +61,8 @@ def configure(conf):
autowaf.display_msg("Jack", str(bool(conf.env['HAVE_JACK_DBUS'])), 'YELLOW')
autowaf.display_msg("OSC", str(bool(conf.env['HAVE_LIBLO'])), 'YELLOW')
autowaf.display_msg("HTTP", str(bool(conf.env['HAVE_SOUP'])), 'YELLOW')
- autowaf.display_msg("LV2", str(bool(conf.env['HAVE_SOUP'])), 'YELLOW')
+ autowaf.display_msg("LV2", str(bool(conf.env['HAVE_SLV2'])), 'YELLOW')
+ autowaf.display_msg("LADSPA", str(bool(conf.env['HAVE_LADSPA'])), 'YELLOW')
print
def build(bld):