shithub: aubio

Download patch

ref: 002563f5c151df65c303196ff74ac88217fe794f
parent: 0318cc1488de5d78dcd7ee47f26c99fef8e55545
author: Paul Brossier <piem@piem.org>
date: Fri Mar 29 22:13:52 EDT 2013

wscript: improve help messages

--- a/wscript
+++ b/wscript
@@ -33,10 +33,10 @@
 def options(ctx):
   ctx.add_option('--enable-double', action='store_true', default=False,
       help='compile aubio in double precision mode')
-  ctx.add_option('--enable-fftw', action='store_true', default=None,
-      help='compile with ooura instead of fftw')
-  ctx.add_option('--enable-fftw3f', action='store_true', default=None,
-      help='compile with fftw3 instead of fftw3f')
+  ctx.add_option('--enable-fftw3f', action='store_true', default=False,
+      help='compile with fftw3f instead of ooura (recommended)')
+  ctx.add_option('--enable-fftw3', action='store_true', default=False,
+      help='compile with fftw3 instead of ooura (recommended in double precision)')
   ctx.add_option('--enable-complex', action='store_true', default=False,
       help='compile with C99 complex')
   ctx.add_option('--enable-jack', action='store_true', default=None,
@@ -120,7 +120,7 @@
     ctx.define('HAVE_AUBIO_DOUBLE', 0)
 
   # optional dependancies using pkg-config
-  if (Options.options.enable_fftw != False or Options.options.enable_fftw3f != False):
+  if (Options.options.enable_fftw3 != False or Options.options.enable_fftw3f != False):
     # one of fftwf or fftw3f
     if (Options.options.enable_fftw3f != False):
       ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0',