From 5dc9f33fa12c251a4bb510cc89415d90eca56ab2 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 26 Sep 2013 14:58:55 -0500 Subject: [PATCH] wscript: fallback on ooura last --- wscript | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/wscript b/wscript index 0645cd95..697a715d 100644 --- a/wscript +++ b/wscript @@ -138,13 +138,16 @@ def configure(ctx): ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0', args = '--cflags --libs', mandatory = False) ctx.define('HAVE_FFTW3', 1) + + # fftw disabled, use ooura + if 'HAVE_FFTW3F' in ctx.env.define_key: + ctx.msg('Checking for FFT implementation', 'fftw3f') + elif 'HAVE_FFTW3' in ctx.env.define_key: + ctx.msg('Checking for FFT implementation', 'fftw3') + elif 'HAVE_ACCELERATE' in ctx.env.define_key: + ctx.msg('Checking for FFT implementation', 'vDSP') else: - # fftw disabled, use ooura - if 'HAVE_ACCELERATE' in ctx.env.define_key: - ctx.msg('Checking for FFT implementation', 'vDSP') - else: - ctx.msg('Checking for FFT implementation', 'ooura') - pass + ctx.msg('Checking for FFT implementation', 'ooura') if (Options.options.enable_jack != False): ctx.check_cfg(package = 'jack', atleast_version = '0.15.0', -- 2.11.0