From 243edfa2029daef6e4732ad0a27a949ca73b27c6 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 19 Oct 2006 21:08:49 +0000 Subject: [PATCH] Remove -Wdeclaration-after-statement warning that new versions of perl (5.8.8) emit for c++ compilation git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9461 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/configure.in b/SWIG/configure.in index 05192ec2a..c73e541cf 100644 --- a/SWIG/configure.in +++ b/SWIG/configure.in @@ -704,7 +704,7 @@ if test -n "$PERL"; then AC_MSG_RESULT($PERL5LIB) fi AC_MSG_CHECKING(for Perl5 compiler options) - PERL5CCFLAGS=`($PERL -e 'use Config; print $Config{ccflags}, "\n"' | sed "s/-I/$ISYSTEM/") 2>/dev/null` + PERL5CCFLAGS=`($PERL -e 'use Config; print $Config{ccflags}, "\n"' | sed "s/-Wdeclaration-after-statement//" | sed "s/-I/$ISYSTEM/") 2>/dev/null` if test "$PERL5CCFLAGS" = "" ; then AC_MSG_RESULT(not found) else