Perl and PHP soft link fix when configuring in a directory other than the root directory

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-04-01 11:11:13 +00:00
commit b6efce1c68

View file

@ -619,7 +619,7 @@ AC_SUBST(PERL5LIB)
AC_SUBST(PERL5CCFLAGS)
# kludges to ease naming conventions conformance.
( cd Examples ;
( cd $srcdir/Examples ;
test -d perl || ln -s perl5 perl ;
test -d test-suite/perl || ( cd test-suite && ln -s perl5 perl ) )
@ -903,8 +903,8 @@ fi
AC_SUBST(PHP4INC)
# kludges to ease naming conventions conformance.
( cd Examples/GIFPlot ; test -d Php4 || ln -s Php Php4 )
( cd Examples/php4 ; for dir in `sed '/^#/d' check.list` ; do
( cd $srcdir/Examples/GIFPlot ; test -d Php4 || ln -s Php Php4 )
( cd $srcdir/Examples/php4 ; for dir in `sed '/^#/d' check.list` ; do
test -f $dir/Makefile || ( cd $dir ; ln -s ../Makefile.php Makefile )
done )