diff options
author | Alan Modra <amodra@gmail.com> | 2010-04-07 07:20:51 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-04-07 07:20:51 +0000 |
commit | 397841b5aed514e848c022e64ef1cfc5fa68afcc (patch) | |
tree | 2abe708916d3ad24b19b578008e327711d8efb09 /opcodes | |
parent | d1a98e0c8c56d6f2adfc6ae1a8699752e1c75774 (diff) | |
download | gdb-397841b5aed514e848c022e64ef1cfc5fa68afcc.zip gdb-397841b5aed514e848c022e64ef1cfc5fa68afcc.tar.gz gdb-397841b5aed514e848c022e64ef1cfc5fa68afcc.tar.bz2 |
* configure: Regenerate.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rwxr-xr-x | opcodes/configure | 16 |
2 files changed, 18 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 717cee2..b98683f 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -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. diff --git a/opcodes/configure b/opcodes/configure index ddc2e4c..81cc38f 100755 --- a/opcodes/configure +++ b/opcodes/configure @@ -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 |