diff options
author | Alan Modra <amodra@bigpond.net.au> | 2010-04-07 07:19:28 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2010-04-07 07:19:28 +0000 |
commit | b28df6b449acc2c6be2fe0b2b7504dae03ee9578 (patch) | |
tree | 01d6fe1124b75c606f7393af4a54eb1fa0695139 /gas | |
parent | a9d1924d22a91e99390f58b55b85108443c74102 (diff) | |
download | binutils-redhat-b28df6b449acc2c6be2fe0b2b7504dae03ee9578.tar.gz |
* configure: Regenerate.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rwxr-xr-x | gas/configure | 16 |
2 files changed, 18 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 9719eedf37..75e1e787c2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2010-04-07 Alan Modra <amodra@gmail.com> + + * configure: Regenerate. + 2010-04-06 Nick Clifton <nickc@redhat.com> * po/ru.po: New Russian translation. diff --git a/gas/configure b/gas/configure index 63659afa77..a7d460a1bc 100755 --- a/gas/configure +++ b/gas/configure @@ -11561,7 +11561,19 @@ fi using_cgen=no -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 : @@ -11573,7 +11585,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 |