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/SWIG@9461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-10-19 21:08:49 +00:00
commit 83456a1e65

View file

@ -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