From f61ffb9ebc0dac0796db8f479b81ce0b86df805f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 11 Dec 2016 00:57:02 +0100 Subject: [PATCH] wscript: verbose frameworks, default to no atlas check --- wscript | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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" -- 2.11.0