From 5b1d21d3d468286285d7de16b0c5f5598e2d27c4 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 10 Nov 2005 21:28:13 +0000 Subject: [PATCH] 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/SWIG@7844 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- configure.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.in b/configure.in index a9e372582..a8514c165 100644 --- a/configure.in +++ b/configure.in @@ -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`