log message:
This fixes building real libsvn_swig_perl.so, which should have the proper
perl include paths.
* build/ac-macros/swig.m4: assign SWIG_PL_INCLUDES.
* build/generator/gen_base.py: add custom class for swig-pl.
Index: build/ac-macros/swig.m4
===================================================================
--- build/ac-macros/swig.m4 (revision 6640)
+++ build/ac-macros/swig.m4 (working copy)
@@ -107,8 +107,8 @@
fi
if test "$PERL" != "none" -a "$SWIG_SUITABLE" = "yes"; then
- SWIG_PL_INCLUDES=""
- SWIG_PL_COMPILE="`$PERL -MConfig -e 'print $Config{cc}'` `$PERL -MExtUtils::Embed -e ccopts`"
+ SWIG_PL_INCLUDES="`$PERL -MExtUtils::Embed -e ccopts`"
+ SWIG_PL_COMPILE="`$PERL -MConfig -e 'print $Config{cc}'` $(SWIG_PL_INCLUDES)"
SWIG_PL_LINK="`$PERL -MConfig -e 'print $Config{ld}'` `$PERL -MConfig -e 'print $Config{lddlflags}'` `$PERL -MExtUtils::Embed -e ldopts`"
fi
Index: build/generator/gen_base.py
===================================================================
--- build/generator/gen_base.py (revision 6640)
+++ build/generator/gen_base.py (working copy)
@@ -310,11 +310,15 @@
class SWIGUtilJava(ObjectFile):
### hmm. this is Makefile-specific
build_cmd = '$(COMPILE_SWIG_JAVA)'
+class SWIGUtilPerl(ObjectFile):
+ ### hmm. this is Makefile-specific
+ build_cmd = '$(COMPILE_SWIG_PL)'
_custom_build = {
'apache-mod' : ApacheObject,
'swig-py' : SWIGUtilPython,
'swig-java' : SWIGUtilJava,
+ 'swig-pl' : SWIGUtilPerl,
}
class SWIGLibrary(DependencyNode):
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 3 13:51:38 2003