From 397841b5aed514e848c022e64ef1cfc5fa68afcc Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 7 Apr 2010 07:20:51 +0000 Subject: * configure: Regenerate. --- gprof/ChangeLog | 4 ++++ gprof/configure | 16 ++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'gprof') diff --git a/gprof/ChangeLog b/gprof/ChangeLog index c2c2420..c24ab50 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,7 @@ +2010-04-07 Alan Modra + + * configure: Regenerate. + 2010-03-30 Andreas Schwab * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. diff --git a/gprof/configure b/gprof/configure index b1e1cb9..57e91da 100755 --- a/gprof/configure +++ b/gprof/configure @@ -11998,7 +11998,19 @@ 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 : @@ -12010,7 +12022,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 -- cgit v1.1