diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -2,6 +2,12 @@ * configure.ac: + Really make the configure check for -Wdeclaration-after-statement work. + +2004-12-20 Christian Persch <chpe@cvs.gnome.org> + + * configure.ac: + Updated for version 1.5.3. 2004-12-19 Christian Persch <chpe@cvs.gnome.org> diff --git a/configure.ac b/configure.ac index ed1543191..ae1fceed0 100644 --- a/configure.ac +++ b/configure.ac @@ -142,7 +142,9 @@ if test "x$enable_maintainer_mode" = "xyes"; then AC_LANG_PUSH([C]) FLAGS="-Wdeclaration-after-statement" _SAVE_AM_CFLAGS=$AM_CFLAGS + _SAVE_CFLAGS=$CFLAGS AM_CFLAGS="$AM_CFLAGS $FLAGS" + CFLAGS="$CFLAGS $AM_CFLAGS" AC_CACHE_CHECK([for compiler $FLAGS option], ac_cv_have_declaration_after_statement, @@ -156,6 +158,7 @@ if test "x$enable_maintainer_mode" = "xyes"; then MORE_WARN_FLAGS="$MORE_WARN_FLAGS $FLAGS" fi AM_CFLAGS="$_SAVE_AM_CFLAGS" + CFLAGS="$_SAVE_CFLAGS" AC_LANG_POP([C]) fi |