From d2f94aa4fd3472ff86fea5abe7a58d15a90d3264 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 26 Nov 2010 21:37:10 +0000 Subject: Update for latest LV2 #include style. Enable building against system installed LV2 extensions. Fix building slv2 and ingen independently. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2675 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 42490ed4..0d160b3e 100644 --- a/wscript +++ b/wscript @@ -32,6 +32,7 @@ def set_options(opt): help="Use liblo bundle support (experimental, requires patched liblo)") def configure(conf): + conf.line_just = max(conf.line_just, 67) autowaf.configure(conf) autowaf.display_header('Ingen Configuration') conf.check_tool('compiler_cxx') @@ -71,6 +72,15 @@ def configure(conf): header_name='stdlib.h', define_name='HAVE_POSIX_MEMALIGN') + autowaf.check_header(conf, 'lv2/lv2plug.in/ns/lv2core/lv2.h') + autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/atom/atom.h') + autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/contexts/contexts.h') + autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/event/event-helpers.h') + autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/event/event.h') + autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/resize-port/resize-port.h') + autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/uri-map/uri-map.h') + autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/uri-unmap/uri-unmap.h') + build_gui = conf.env['HAVE_GLADEMM'] == 1 and conf.env['HAVE_FLOWCANVAS'] == 1 conf.define('INGEN_VERSION', INGEN_VERSION) -- cgit v1.2.1