13
0

fix error in wscript re: wiimote

git-svn-id: svn://localhost/ardour2/branches/3.0@13797 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2013-01-07 18:55:33 +00:00
parent 0209267980
commit 33d071468f

View File

@ -636,9 +636,6 @@ def configure(conf):
conf.env['LXVST_SUPPORT'] = True conf.env['LXVST_SUPPORT'] = True
if bool(conf.env['JACK_SESSION']): if bool(conf.env['JACK_SESSION']):
conf.define('HAVE_JACK_SESSION', 1) conf.define('HAVE_JACK_SESSION', 1)
if opts.wiimote:
conf.define('WIIMOTE', 1)
conf.env['WIIMOTE'] = True
conf.define('WINDOWS_KEY', opts.windows_key) conf.define('WINDOWS_KEY', opts.windows_key)
conf.env['PROGRAM_NAME'] = opts.program_name conf.env['PROGRAM_NAME'] = opts.program_name
if opts.rt_alloc_debug: if opts.rt_alloc_debug:
@ -707,7 +704,7 @@ const char* const ardour_config_info = "\\n\\
write_config_text('Universal binary', opts.universal) write_config_text('Universal binary', opts.universal)
write_config_text('Generic x86 CPU', opts.generic) write_config_text('Generic x86 CPU', opts.generic)
write_config_text('Windows VST support', opts.windows_vst) write_config_text('Windows VST support', opts.windows_vst)
write_config_text('Wiimote support', opts.wiimote) write_config_text('Wiimote support', conf.is_defined('BUILD_WIIMOTE'))
write_config_text('Windows key', opts.windows_key) write_config_text('Windows key', opts.windows_key)
write_config_text('C compiler flags', conf.env['CFLAGS']) write_config_text('C compiler flags', conf.env['CFLAGS'])