From b6efce1c68e1d97dffcb500a202bbf30a3ceba51 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 1 Apr 2003 11:11:13 +0000 Subject: [PATCH] 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 --- SWIG/configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SWIG/configure.in b/SWIG/configure.in index 45818a5d0..5bd14f24e 100644 --- a/SWIG/configure.in +++ b/SWIG/configure.in @@ -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 )