From: Paul Brossier Date: Thu, 8 Oct 2009 01:09:43 +0000 (+0200) Subject: configure.ac: add option to compile in double precision X-Git-Tag: bzr2git~169 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=66760af58d912ee2f57b80a6de42fc04f14c40ea;p=aubio.git configure.ac: add option to compile in double precision --- diff --git a/configure.ac b/configure.ac index 7fb40c69..318a24c4 100644 --- a/configure.ac +++ b/configure.ac @@ -36,6 +36,16 @@ AC_PROG_INSTALL AUBIO_CFLAGS= +dnl Enable double precision (no) +AC_ARG_ENABLE(double, + AC_HELP_STRING([--enable-double],[compile in double precision [[default=no]]]), + with_double_precision="yes", + with_double_precision="no") +if test "$with_double_precision" = "yes" +then + AC_DEFINE(HAVE_AUBIO_DOUBLE,1,[Define to enable double precision]) +fi + dnl Enable debugging (no) AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],[compile in debug mode [[default=no]]]),