summaryrefslogtreecommitdiff
path: root/macros2
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2003-02-27 03:17:03 +0000
committerMark McLoughlin <markmc@src.gnome.org>2003-02-27 03:17:03 +0000
commitabc677038b7d7f1ec005e4cec344049130c800c8 (patch)
treee1ac7a6762ff430fa428825439744754b653d061 /macros2
parentbd04a5981e1ace7e33077cfd1701fe354f63a418 (diff)
downloadgnome-common-abc677038b7d7f1ec005e4cec344049130c800c8.tar.gz
fix mixed up order of arguments to AC_ARG_ENABLE that made
2003-02-27 Mark McLoughlin <mark@skynet.ie> * compiler-flags.m4: fix mixed up order of arguments to AC_ARG_ENABLE that made --enable-compile-warnings not work as expected. svn path=/trunk/; revision=2780
Diffstat (limited to 'macros2')
-rw-r--r--macros2/ChangeLog6
-rw-r--r--macros2/compiler-flags.m42
2 files changed, 7 insertions, 1 deletions
diff --git a/macros2/ChangeLog b/macros2/ChangeLog
index ecf5fde..de85225 100644
--- a/macros2/ChangeLog
+++ b/macros2/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-27 Mark McLoughlin <mark@skynet.ie>
+
+ * compiler-flags.m4: fix mixed up order of arguments to
+ AC_ARG_ENABLE that made --enable-compile-warnings not work
+ as expected.
+
2003-02-24 James Henstridge <james@daa.com.au>
* autogen.sh (forbid_m4macro): add function to forbid m4 macros.
diff --git a/macros2/compiler-flags.m4 b/macros2/compiler-flags.m4
index 69259dd..6163602 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="$default_compile_warnings"], enable_compile_warnings=yes)
+ [ --enable-compile-warnings=[no/minimum/yes/maximum/error] Turn on compiler warnings.],, [enable_compile_warnings="$default_compile_warnings"])
warnCFLAGS=
if test "x$GCC" != xyes; then