Add in note from #910162 about how to correctly get the flags for compiling perl modules

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-11-10 21:28:13 +00:00
commit e5054bc8b2

View file

@ -640,6 +640,8 @@ PERL="$PERLBIN"
fi
# This could probably be simplified as for all platforms and all versions of Perl the following apparently should be run to get the compilation options:
# perl -MExtUtils::Embed -e ccopts
AC_MSG_CHECKING(for Perl5 header files)
if test -n "$PERL"; then
PERL5DIR=`($PERL -e 'use Config; print $Config{archlib}, "\n";') 2>/dev/null`