From f43867f8aad5c5ab5f071b4c5ecbc1e9af6424ae Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 30 Sep 2006 02:03:36 +0000 Subject: [PATCH] disable -Werror by default, rename gcc warning options to warnings and errorfail disable -Werror by default, rename gcc warning options to warnings and errorfail --- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.26.2