From 9f2e85a33c47493b2c58a98ab890ae1ee86b453a Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 13 Feb 2013 01:34:35 +0000 Subject: [PATCH] configure.in: Werror-implicit-function-declaration * configure.in (warnflags): -Werror-implicit-function-declaration haven't been used as-is, but always replaced with -Werror= or -W. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 732dd5dc2a..31bc79a385 100644 --- a/configure.in +++ b/configure.in @@ -625,11 +625,9 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then -Werror=write-strings \ -Werror=declaration-after-statement \ -Werror=shorten-64-to-32 \ - -Werror-implicit-function-declaration \ + -Werror=implicit-function-declaration \ ; do - if test "$particular_werror_flags" = yes; then - wflag=`echo x$wflag | sed 's/^x-Werror-/-Werror=/;s/^x//'` - else + if test "$particular_werror_flags" != yes; then wflag=`echo x$wflag | sed 's/^x-Werror=/-W/;s/^x//'` fi ok=no