summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-04-02 18:54:33 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-04-02 18:54:33 +0000
commit7ed95f7c37c17d9d13fa1126d5117a17f1906637 (patch)
treefb8d7ae8f8c64a6cafdcba37a19599e35c19ee36 /wscript
parent7e590cf96cc8090368158c3892e13ab627e87dea (diff)
(FULL) not-yet-complete JACK session management patch (TODO: get program name, vary snapshot name, arrange quit when necessary)
git-svn-id: svn://localhost/ardour2/branches/3.0@6841 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 75cf78ce7f..371f214691 100644
--- a/wscript
+++ b/wscript
@@ -461,6 +461,8 @@ def configure(conf):
autowaf.check_header(conf, 'boost/signals2.hpp', mandatory = True)
+ autowaf.check_header(conf, 'jack/session.h', define="JACK_SESSION")
+
conf.check_cc(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }\n",
execute = "1",
mandatory = True,
@@ -524,6 +526,8 @@ def configure(conf):
autowaf.display_msg(conf, 'VST Support', opts.vst)
if opts.vst:
conf.define('VST_SUPPORT', 1)
+ if bool(conf.env['JACK_SESSION']):
+ conf.define ('HAVE_JACK_SESSION', 1)
autowaf.display_msg(conf, 'Wiimote Support', opts.wiimote)
if opts.wiimote:
conf.define('WIIMOTE',1)