From 66760af58d912ee2f57b80a6de42fc04f14c40ea Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 8 Oct 2009 03:09:43 +0200 Subject: [PATCH] configure.ac: add option to compile in double precision --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) 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]]]), -- 2.26.2