From: Paul Brossier Date: Sat, 30 Sep 2006 02:03:36 +0000 (+0000) Subject: disable -Werror by default, rename gcc warning options to warnings and errorfail X-Git-Tag: bzr2git~550 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f43867f8aad5c5ab5f071b4c5ecbc1e9af6424ae;p=aubio.git disable -Werror by default, rename gcc warning options to warnings and errorfail disable -Werror by default, rename gcc warning options to warnings and errorfail --- diff --git a/configure.ac b/configure.ac index ee478625..f8f63055 100644 --- a/configure.ac +++ b/configure.ac @@ -43,8 +43,8 @@ then 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 @@ then 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