13
0

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
This commit is contained in:
Carl Hetherington 2011-03-19 00:36:42 +00:00
parent ca84e02b48
commit a642a6e78b

View File

@ -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)