summaryrefslogtreecommitdiff
path: root/macros2/compiler-flags.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros2/compiler-flags.m4')
-rw-r--r--macros2/compiler-flags.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/macros2/compiler-flags.m4 b/macros2/compiler-flags.m4
index 72947849..69259ddc 100644
--- a/macros2/compiler-flags.m4
+++ b/macros2/compiler-flags.m4
@@ -13,7 +13,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
fi
AC_ARG_ENABLE(compile-warnings,
- [ --enable-compile-warnings=[no/minimum/yes/maximum/error] Turn on compiler warnings.], [enable_compile_warnings="$enableval"],[enable_compile_warnings="$default_compile_warnings"])
+ [ --enable-compile-warnings=[no/minimum/yes/maximum/error] Turn on compiler warnings.], [enable_compile_warnings="$default_compile_warnings"], enable_compile_warnings=yes)
warnCFLAGS=
if test "x$GCC" != xyes; then