shithub: libsamplerate

Download patch

ref: 708f7b639e7c4fe97b061466cd508d2025e09d6f
parent: 5c12665bd1a75307cdffbcc0504ac905efeae4e0
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Sun Jan 20 09:37:52 EST 2008

configure.ac : Remove --enable-debug (not used any longer).

--- a/configure.ac
+++ b/configure.ac
@@ -69,20 +69,10 @@
 		AC_HELP_STRING([--disable-fftw], [disable usage of FFTW ]),
 		ac_arg_fftw="N", ac_arg_fftw="Y")
 
-AC_ARG_ENABLE(debug,
-		AC_HELP_STRING([--enable-debug], [enable debugging ]),
-		ac_arg_debug=yes, ac_arg_debug=no)
-
 AC_ARG_ENABLE(cpu-clip,
 		AC_HELP_STRING([--disable-cpu-clip], [disable tricky cpu specific clipper]),
 		ac_arg_cpu_clip="N", ac_arg_cpu_clip="Y")
 
-if test x$ac_arg_debug = xyes ; then
-	AC_DEFINE([ENABLE_DEBUG],1,[Set to 1 to enable debugging.])
-else
-	AC_DEFINE([ENABLE_DEBUG],0,[Set to 1 to enable debugging.])
-	fi
-
 #====================================================================================
 # Check types and their sizes.
 
@@ -248,7 +238,6 @@
 
 AC_SUBST(COMPILER_IS_GCC)
 AC_SUBST(GCC_MAJOR_VERSION)
-AC_SUBST(ENABLE_DEBUG)
 
 AC_SUBST(HAVE_FFTW3)
 AC_SUBST(FFTW3_CFLAGS)
@@ -270,10 +259,8 @@
 
   Configuration summary :
 
-    Version : ..................... ${VERSION}])
-AC_MSG_RESULT([    Enable debugging : ............ ${ac_arg_debug}
+    Version : ..................... ${VERSION}
 ])
-
 
 if test x$ac_cv_c_compiler_gnu = xyes ; then
 	echo -e "  Tools :\n"