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
This commit is contained in:
parent
c42329ae63
commit
243edfa202
1 changed files with 1 additions and 1 deletions
|
|
@ -704,7 +704,7 @@ if test -n "$PERL"; then
|
||||||
AC_MSG_RESULT($PERL5LIB)
|
AC_MSG_RESULT($PERL5LIB)
|
||||||
fi
|
fi
|
||||||
AC_MSG_CHECKING(for Perl5 compiler options)
|
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
|
if test "$PERL5CCFLAGS" = "" ; then
|
||||||
AC_MSG_RESULT(not found)
|
AC_MSG_RESULT(not found)
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue