diff options
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 3acd841..4e607e0 100644 --- a/configure.ac +++ b/configure.ac @@ -145,12 +145,12 @@ dnl enable compiler warnings or not dnl AC_MSG_CHECKING(whether to abort on compiler warnings) -WARN_CFLAGS="" -AC_ARG_ENABLE(warn, - AC_HELP_STRING([--disable-warn], [do not abort on compiler warnings]), +WARN_CFLAGS="$WARN_CLFAGS -Wall" +AC_ARG_ENABLE(error, + AC_HELP_STRING([--disable-error], [do not abort on compiler warnings]), AC_MSG_RESULT(no), AC_MSG_RESULT(yes) - WARN_CFLAGS="$WARN_CFLAGS -Wall -Werror" + WARN_CFLAGS="$WARN_CFLAGS -Werror" ) AC_SUBST(WARN_CFLAGS) |