shithub: aubio

Download patch

ref: f43867f8aad5c5ab5f071b4c5ecbc1e9af6424ae
parent: 961c39c32262ade61706a3e1993945e9ee961b2a
author: Paul Brossier <piem@altern.org>
date: Fri Sep 29 22:03:36 EDT 2006

disable -Werror by default, rename gcc warning options to warnings and errorfail
disable -Werror by default, rename gcc warning options to warnings and errorfail


--- a/configure.ac
+++ b/configure.ac
@@ -43,8 +43,8 @@
 fi
 
 dnl Enable full warnings (yes)
-AC_ARG_ENABLE(warnme,
-  [  --enable-warnme[[=value]] compile with all -W [[default=yes]]],
+AC_ARG_ENABLE(warnings,
+  [  --enable-warnings[[=value]] compile with all gcc warnings [[default=yes]]],
   with_warnme="no",
   with_warnme="yes")
 if test "$with_warnme" = "yes"
@@ -65,10 +65,10 @@
   fi
 fi
 
-AC_ARG_ENABLE(failonerror,
-  [  --enable-fwarn[[=value]]  fail on compilation warnings [[default=yes]]],
-  with_warnme="no",
-  AUBIO_CFLAGS="$AUBIO_CFLAGS -Werror -Wmissing-prototypes -Wmissing-declarations -Wno-unused-parameter")
+AC_ARG_ENABLE(errorfail,
+  [  --enable-errorfail[[=value]]  fail on compilation warnings [[default=no]]],
+  AUBIO_CFLAGS="$AUBIO_CFLAGS -Werror -Wmissing-prototypes -Wmissing-declarations -Wno-unused-parameter",
+  with_warnme="no")
 
 dnl Check for libtool
 AC_LIBTOOL_DLOPEN