From 62b8ab2e4dbd8ba50153c1c70fb46446cf42d281 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 25 Oct 2009 20:40:08 +0100 Subject: [PATCH] configure.ac, wscript: default to no complex --- configure.ac | 2 +- wscript | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 5c3c19be..0afd04ba 100644 --- a/configure.ac +++ b/configure.ac @@ -129,7 +129,7 @@ AC_CHECK_HEADERS(fftw3.h,,AC_MSG_ERROR([Ouch! missing fftw3.h header])) AC_ARG_ENABLE(complex, AC_HELP_STRING([--enable-complex],[compile with complex.h [[default=auto]]]), [with_complex=$enableval], - with_complex="yes") + with_complex="no") if test "$with_complex" = "yes"; then AC_CHECK_HEADERS(complex.h,,AC_MSG_WARN([Ouch! missing complex.h header])) fi diff --git a/wscript b/wscript index eb097210..a63dc609 100644 --- a/wscript +++ b/wscript @@ -20,8 +20,8 @@ def set_options(opt): help='compile aubio in double precision mode') opt.add_option('--disable-fftw3f', action='store_true', default=False, help='compile with fftw3 instead of fftw3f') - opt.add_option('--disable-complex', action='store_true', default=False, - help='compile without C99 complex') + opt.add_option('--enable-complex', action='store_true', default=False, + help='compile with C99 complex') opt.add_option('--disable-jack', action='store_true', default=False, help='compile without jack support') opt.add_option('--disable-lash', action='store_true', default=False, @@ -56,7 +56,7 @@ def configure(conf): conf.check(header_name='limits.h') # optionally use complex.h - if (Options.options.disable_complex == False): + if (Options.options.enable_complex == True): conf.check(header_name='complex.h') # required dependancies -- 2.26.2