some new source
[ardour.git] / wscript
diff --git a/wscript b/wscript
index c648f6342147ad2a16a71741617da90780253fff..bf1a1024da3b3f96ca9cf30a2d382c72f5a9ab3b 100644 (file)
--- a/wscript
+++ b/wscript
@@ -31,7 +31,8 @@ children = [
        'libs/clearlooks-newer',
        'libs/audiographer',
        'libs/gnomecanvas',
-       'gtk2_ardour'
+       'gtk2_ardour',
+       'templates'
 ]
 
 i18n_children = [
@@ -371,11 +372,11 @@ def set_options(opt):
        opt.add_option('--wiimote', action='store_true', default=False, dest='wiimote',
                        help='Build the wiimote control surface')
        opt.add_option('--windows-key', type='string', action='store', dest='windows_key', default='Mod4><Super',
-                      help='X Modifier(s) (Mod1,Mod2, etc) for the Windows key (X11 builds only). ' +
-                      'Multiple modifiers must be separated by \'><\'')
-        opt.add_option('--boost-include', type='string', action='store', dest='boost_include', default='',
+                       help='X Modifier(s) (Mod1,Mod2, etc) for the Windows key (X11 builds only). ' +
+                       'Multiple modifiers must be separated by \'><\'')
+       opt.add_option('--boost-include', type='string', action='store', dest='boost_include', default='',
                        help='directory where Boost header files can be found')                
-        opt.add_option('--wine-include', type='string', action='store', dest='wine_include', default='/usr/include/wine/windows',
+       opt.add_option('--wine-include', type='string', action='store', dest='wine_include', default='/usr/include/wine/windows',
                        help='directory where Wine\'s Windows header files can be found')                      
        for i in children:
                opt.sub_options(i)
@@ -458,7 +459,7 @@ def configure(conf):
        if Options.options.boost_sp_debug:
                conf.env.append_value('CXXFLAGS_BOOST', '-DBOOST_SP_ENABLE_DEBUG_HOOKS')
 
-       autowaf.check_header(conf, 'jack/session.h', define="JACK_SESSION")
+       autowaf.check_header(conf, 'jack/session.h', define="JACK_SESSION", mandatory = False)
 
        conf.check_cc(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }\n",
                      execute = "1",