Forward port no-process-after-export fix from 2.X revs 7357 and 7361.
[ardour.git] / libs / ardour / wscript
index d12ab3cc94594ce734944fa5909e5b010b81e68a..dda7f440865913a910fae9929998f0e584562419 100644 (file)
@@ -99,6 +99,8 @@ libardour_sources = [
        'find_session.cc',
        'gain.cc',
        'globals.cc',
+       'graph.cc',
+       'graphnode.cc',
        'import.cc',
        'internal_return.cc',
        'internal_send.cc',
@@ -222,7 +224,7 @@ def configure(conf):
        autowaf.configure(conf)
        conf.check_tool('compiler_cxx gas')
        autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO', atleast_version='0.3.2')
-       autowaf.check_pkg(conf, 'jack', uselib_store='JACK', atleast_version='0.119.0')
+       autowaf.check_pkg(conf, 'jack', uselib_store='JACK', atleast_version='0.118.0')
        autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
        autowaf.check_pkg(conf, 'lrdf', uselib_store='LRDF', atleast_version='0.4.0')
        autowaf.check_pkg(conf, 'samplerate', uselib_store='SAMPLERATE', atleast_version='0.1.0')
@@ -245,6 +247,8 @@ def configure(conf):
        conf.check(header_name='wordexp.h', define_name='HAVE_WORDEXP')
 
        conf.check(header_name='jack/session.h', define_name='HAVE_JACK_SESSION')
+
+       conf.check(header_name='unistd.h', define_name='HAVE_UNISTD')
         
        conf.check_cc(fragment = "#include <jack/jack.h>\nvoid callback (int code, const char* reason, void* arg) { return; }\nint main(int argc, char **argv) { jack_client_t* c; jack_on_info_shutdown (c, callback, (void*) 0); return 0; }\n",
                       linkflags = ['-ljack'],