OSDN Git Service

* configure: Regenerate.
authoramodra <amodra>
Wed, 7 Apr 2010 07:19:28 +0000 (07:19 +0000)
committeramodra <amodra>
Wed, 7 Apr 2010 07:19:28 +0000 (07:19 +0000)
opcodes/ChangeLog
opcodes/configure

index 717cee2..b98683f 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-07  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
 2010-04-06  Peter Bergner  <bergner@vnet.ibm.com>
 
        * ppc-opc.c (RBOPT): New define.
index ddc2e4c..81cc38f 100755 (executable)
@@ -11491,7 +11491,19 @@ esac
 fi
 
 
-GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow"
+GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+__GNUC__
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "^[0-3]$" >/dev/null 2>&1; then :
+
+else
+  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
+fi
+rm -f conftest*
+
 
 # Check whether --enable-werror was given.
 if test "${enable_werror+set}" = set; then :
@@ -11503,7 +11515,7 @@ if test "${enable_werror+set}" = set; then :
 fi
 
 
-# Enable -Wno-format by default when using gcc on mingw
+# Disable -Wformat by default when using gcc on mingw
 case "${host}" in
   *-*-mingw32*)
     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then