def options(ctx):
ctx.add_option('--enable-double', action='store_true', default=False,
help='compile aubio in double precision mode')
+ ctx.add_option('--disable-double', dest='enable_double',
+ action='store_false',
+ help='compile aubio in single precision mode')
ctx.add_option('--enable-fftw3f', action='store_true', default=False,
help='compile with fftw3f instead of ooura (recommended)')
+ ctx.add_option('--disable-fftw3f', dest='enable_fftw3f',
+ ctx.add_option('--enable-fftw3', action='store_true', default=None,
+ help='compile with fftw3 instead of ooura (recommended)')
+ ctx.add_option('--disable-fftw3', dest='enable_fftw3',
+ action='store_false',
+ help='compile with ooura instead of fftw3f')
ctx.add_option('--enable-fftw3', action='store_true', default=False,
help='compile with fftw3 instead of ooura (recommended in double precision)')
+ ctx.add_option('--disable-fftw3', dest='enable-fftw3', action='store_false'.
+ help='compile with ooura instead of fftw3')
ctx.add_option('--enable-complex', action='store_true', default=False,
help='compile with C99 complex')
+ ctx.add_option('--disable-complex', dest='enable_complex',
+ action='store_false',
+ help='compile without C99 complex')
ctx.add_option('--enable-jack', action='store_true', default=None,
help='compile with jack support')
+ ctx.add_option('--disable-jack', dest='enable_jack', action='store_false',
+ help='compile without jack support')
ctx.add_option('--enable-lash', action='store_true', default=None,
help='compile with lash support')
+ ctx.add_option('--disable-lash', dest='enable_lash', action='store_false',
+ help='compile without lash support')
ctx.add_option('--enable-sndfile', action='store_true', default=None,
help='compile with libsndfile support')
+ ctx.add_option('--disable-sndfile', dest='enable_sndfile',
+ action='store_false',
+ help='compile without libsndfile support')
ctx.add_option('--enable-samplerate', action='store_true', default=None,
help='compile with libsamplerate support')
+ ctx.add_option('--disable-samplerate', dest='enable_samplerate',
+ action='store_false',
+ help='compile without libsamplerate support')
ctx.add_option('--with-target-platform', type='string',
help='set target platform for cross-compilation', dest='target_platform')
ctx.load('compiler_c')