fix GNOME_COMPILE_WARNINGS to work when a parameter is passed. The
authorChema Celorio <chema@celorio.com>
Fri, 10 May 2002 20:19:07 +0000 (20:19 +0000)
committerJose Maria Celorio <chema@src.gnome.org>
Fri, 10 May 2002 20:19:07 +0000 (20:19 +0000)
2002-05-10  Chema Celorio  <chema@celorio.com>

* compiler-flags.m4: fix GNOME_COMPILE_WARNINGS to work when a parameter is
passed. The arguments to AC_ARG_ENABLE where swapped

svn path=/trunk/; revision=2441

macros2/ChangeLog
macros2/compiler-flags.m4

index a4259f4..b0eeadb 100644 (file)
@@ -1,3 +1,8 @@
+2002-05-10  Chema Celorio  <chema@celorio.com>
+
+       * compiler-flags.m4: fix GNOME_COMPILE_WARNINGS to work when a parameter is
+       passed. The arguments to AC_ARG_ENABLE where swapped
+
 2002-04-01  jacob berkman  <jacob@ximian.com>
 
        * gnome-x-checks.m4 (GNOME2_X_CHECKS): kill bogus clearing of
index 7294784..69259dd 100644 (file)
@@ -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