shithub: aubio

Download patch

ref: 66760af58d912ee2f57b80a6de42fc04f14c40ea
parent: 41f4c5b80a855a94c1fe72b73230203c3a5c045e
author: Paul Brossier <piem@piem.org>
date: Wed Oct 7 23:09:43 EDT 2009

configure.ac: add option to compile in double precision

--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,16 @@
 
 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]]]),