diff options
author | Carl Hetherington <carl@carlh.net> | 2010-11-24 02:06:56 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-11-24 02:06:56 +0000 |
commit | f6019bd0edcbdfc4d67d26a6bdb4323a732a4bf3 (patch) | |
tree | 5a229a3398a71417de457ed679d1e6b0ba5a089b /wscript | |
parent | e131fd391ded68c2a0634f26edb03410b5f46349 (diff) |
Check for windows.h on VST builds.
git-svn-id: svn://localhost/ardour2/branches/3.0@8081 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -373,6 +373,8 @@ def set_options(opt): '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', + help='directory where Wine\'s Windows header files can be found') for i in children: opt.sub_options(i) @@ -524,6 +526,8 @@ def configure(conf): autowaf.display_msg(conf, 'VST Support', opts.vst) if opts.vst: conf.define('VST_SUPPORT', 1) + conf.env.append_value('CPPPATH', Options.options.wine_include) + autowaf.check_header(conf, 'windows.h', mandatory = True) if bool(conf.env['JACK_SESSION']): conf.define ('HAVE_JACK_SESSION', 1) autowaf.display_msg(conf, 'Wiimote Support', opts.wiimote) |