From: Paul Brossier Date: Sat, 10 Dec 2016 23:57:02 +0000 (+0100) Subject: wscript: verbose frameworks, default to no atlas check X-Git-Tag: 0.4.4~91 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=f61ffb9ebc0dac0796db8f479b81ce0b86df805f;p=aubio.git wscript: verbose frameworks, default to no atlas check --- diff --git a/wscript b/wscript index 9af643fe..5e2ea5f4 100644 --- a/wscript +++ b/wscript @@ -83,8 +83,8 @@ def options(ctx): add_option_enable_disable(ctx, 'apple-audio', default = None, help_str = 'use CoreFoundation (darwin only) (auto)', help_disable_str = 'do not use CoreFoundation framework') - add_option_enable_disable(ctx, 'atlas', default = None, - help_str = 'use Atlas library (auto)', + add_option_enable_disable(ctx, 'atlas', default = False, + help_str = 'use Atlas library (no)', help_disable_str = 'do not use Atlas library') add_option_enable_disable(ctx, 'wavread', default = True, help_str = 'compile with source_wavread (default)', @@ -151,9 +151,15 @@ def configure(ctx): ctx.env.FRAMEWORK += ['CoreFoundation', 'AudioToolbox'] ctx.define('HAVE_SOURCE_APPLE_AUDIO', 1) ctx.define('HAVE_SINK_APPLE_AUDIO', 1) + ctx.msg('Checking for AudioToolbox.framework', 'yes') + else: + ctx.msg('Checking for AudioToolbox.framework', 'no (disabled)', color = 'YELLOW') if (ctx.options.enable_accelerate != False): ctx.define('HAVE_ACCELERATE', 1) ctx.env.FRAMEWORK += ['Accelerate'] + ctx.msg('Checking for Accelerate framework', 'yes') + else: + ctx.msg('Checking for AudioToolbox framework', 'no (disabled)', color = 'YELLOW') if target_platform in [ 'ios', 'iosimulator' ]: MINSDKVER="6.1"