diff options
Diffstat (limited to 'macros2')
-rw-r--r-- | macros2/ChangeLog | 5 | ||||
-rw-r--r-- | macros2/compiler-flags.m4 | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/macros2/ChangeLog b/macros2/ChangeLog index a4259f4c..b0eeadb5 100644 --- a/macros2/ChangeLog +++ b/macros2/ChangeLog @@ -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 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 |