From 76175e9f2097f35f111724e43c0bb6e3bfccede9 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 30 Sep 2011 12:14:44 +0000 Subject: [PATCH] make libardour header checks non-mandatory (for OS X) git-svn-id: svn://localhost/ardour2/branches/3.0@10173 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/wscript | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libs/ardour/wscript b/libs/ardour/wscript index dde92409e9..4007ab9d20 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -282,13 +282,13 @@ def configure(conf): conf.define('CURRENT_SESSION_FILE_VERSION', CURRENT_SESSION_FILE_VERSION) - conf.check(header_name='sys/vfs.h', define_name='HAVE_SYS_VFS_H') - conf.check(header_name='wordexp.h', define_name='HAVE_WORDEXP') + conf.check(header_name='sys/vfs.h', define_name='HAVE_SYS_VFS_H',mandatory=False) + conf.check(header_name='wordexp.h', define_name='HAVE_WORDEXP',mandatory=False) conf.check(header_name='jack/session.h', uselib = [ 'JACK' ], define_name='HAVE_JACK_SESSION') - conf.check(header_name='unistd.h', define_name='HAVE_UNISTD') + conf.check(header_name='unistd.h', define_name='HAVE_UNISTD',mandatory=False) conf.check_cc(fragment = ''' #include @@ -303,9 +303,7 @@ int main(int argc, char **argv) { 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. Currently this\ -means using JACK version 0.120.1 from http://www.jackaudio.org/download''' + missing_jack_message = 'missing - a version of JACK that supports jack_port_set_latency_range() is required to compile Ardour3.' conf.check_cc(fragment = ''' #include