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:
parent
ca84e02b48
commit
a642a6e78b
|
@ -270,19 +270,21 @@ def configure(conf):
|
||||||
define_name = 'HAVE_JACK_ON_INFO_SHUTDOWN',
|
define_name = 'HAVE_JACK_ON_INFO_SHUTDOWN',
|
||||||
okmsg = 'present')
|
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",
|
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'],
|
linkflags = ['-ljack'],
|
||||||
msg = 'Checking for new JACK latency API',
|
msg = 'Checking for new JACK latency API',
|
||||||
okmsg = 'present',
|
okmsg = 'present',
|
||||||
mandatory = True,
|
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',
|
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'],
|
linkflags = ['-ljack'],
|
||||||
msg = 'Checking for new jack_port_type_get_buffer_size',
|
msg = 'Checking for new jack_port_type_get_buffer_size',
|
||||||
okmsg = 'present',
|
okmsg = 'present',
|
||||||
mandatory = True,
|
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():
|
if flac_supported():
|
||||||
conf.define ('HAVE_FLAC', 1)
|
conf.define ('HAVE_FLAC', 1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user