13
0

change the compile flags set by the --freebie configure option to enable silence-after-seconds

This commit is contained in:
Paul Davis 2015-04-05 14:03:18 -04:00
parent c2deeaa96e
commit c313ec29d6

View File

@ -741,9 +741,9 @@ def configure(conf):
autowaf.display_msg(conf, 'Will build against private Ardour dependency stack', 'no') autowaf.display_msg(conf, 'Will build against private Ardour dependency stack', 'no')
if Options.options.freebie: if Options.options.freebie:
conf.env.append_value ('CFLAGS', '-DNO_PLUGIN_STATE') conf.env.append_value ('CFLAGS', '-DSILENCE_AFTER')
conf.env.append_value ('CXXFLAGS', '-DNO_PLUGIN_STATE') conf.env.append_value ('CXXFLAGS', '-DSILENCE_AFTER')
conf.define ('NO_PLUGIN_STATE', 1) conf.define ('FREEBIE', 1)
if Options.options.trx_build: if Options.options.trx_build:
conf.define ('TRX_BUILD', 1) conf.define ('TRX_BUILD', 1)
@ -1027,7 +1027,7 @@ const char* const ardour_config_info = "\\n\\
write_config_text('Architecture flags', opts.arch) write_config_text('Architecture flags', opts.arch)
write_config_text('Aubio', conf.is_defined('HAVE_AUBIO')) write_config_text('Aubio', conf.is_defined('HAVE_AUBIO'))
write_config_text('AudioUnits', conf.is_defined('AUDIOUNIT_SUPPORT')) write_config_text('AudioUnits', conf.is_defined('AUDIOUNIT_SUPPORT'))
write_config_text('No plugin state', conf.is_defined('NO_PLUGIN_STATE')) write_config_text('Free/Demo copy', conf.is_defined('FREEBIE'))
write_config_text('Build target', conf.env['build_target']) write_config_text('Build target', conf.env['build_target'])
write_config_text('CoreAudio', conf.is_defined('HAVE_COREAUDIO')) write_config_text('CoreAudio', conf.is_defined('HAVE_COREAUDIO'))
write_config_text('CoreAudio/Midi Backend',conf.env['BUILD_CORECRAPPITA']) write_config_text('CoreAudio/Midi Backend',conf.env['BUILD_CORECRAPPITA'])