diff options
author | Carl Hetherington <carl@carlh.net> | 2011-03-19 00:36:42 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-03-19 00:36:42 +0000 |
commit | a642a6e78b63179b4f595104a0305bc4d5be18cf (patch) | |
tree | 583fabe35344874fe17fa39a03d655dc1ebb82ba /libs/ardour | |
parent | ca84e02b48e0c36755963a35713d272c409d9317 (diff) |
Add a temporary message about the need to use JACK 0.120.1.
git-svn-id: svn://localhost/ardour2/branches/3.0@9169 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/wscript | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/wscript b/libs/ardour/wscript index 8f06330771..ae10baf42b 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -270,19 +270,21 @@ def configure(conf): define_name = 'HAVE_JACK_ON_INFO_SHUTDOWN', okmsg = 'present') + missing_jack_message = 'missing - a version of JACK that supports jack_port_set_latency_range() is required to compile Ardour3\nCurrently this means using JACK version 0.120.1 from http://www.jackaudio.org/download\n' + conf.check_cc(fragment = "#include <jack/jack.h>\nint main(int argc, char **argv) { jack_port_t* p; jack_latency_range_t r; jack_port_set_latency_range (p, JackCaptureLatency, &r); return 0; }\n", linkflags = ['-ljack'], msg = 'Checking for new JACK latency API', okmsg = 'present', mandatory = True, - errmsg = 'missing - a version of JACK that supports jack_port_set_latency_range() is required to compile Ardour3') + errmsg = missing_jack_message) conf.check_cc(fragment = '#include <jack/jack.h>\nint main(int argc, char **argv) { jack_port_type_get_buffer_size ((jack_client_t*)0, ""); }\n', linkflags = ['-ljack'], msg = 'Checking for new jack_port_type_get_buffer_size', okmsg = 'present', mandatory = True, - errmsg = 'missing - a version of JACK that supports jack_port_type_get_buffer_size() is required to compile Ardour3') + errmsg = missing_jack_message) if flac_supported(): conf.define ('HAVE_FLAC', 1) |