summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-09-27 16:42:34 +0000
committerSascha Schumann <sas@php.net>1999-09-27 16:42:34 +0000
commit288c73580b25637d10fbb6c3931eaeeb49603979 (patch)
tree4e3d143e399188297129bc812659324b72b9edfa
parent402b2a5d6d23b9d6e3a4aea878e12f52aba38487 (diff)
downloadphp-git-288c73580b25637d10fbb6c3931eaeeb49603979.tar.gz
Create directories, if they do not exist (for VPATH builds).
-rw-r--r--configure.in.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in.in b/configure.in.in
index 3dd1708059..231de7f4a4 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -15,9 +15,9 @@ fi
if test "$no_recursion" != "yes"; then
cwd=`pwd`
cachefile=$cwd/config.cache
- (set -x; cd libzend; $cwd/$srcdir/libzend/configure --cache-file=$cachefile $@) || exit 1
+ (set -x; test -d libzend || mkdir libzend; cd libzend; $cwd/$srcdir/libzend/configure --cache-file=$cachefile $@) || exit 1
if test "$enable_thread_safety" = "yes"; then
- (set -x; cd TSRM && $cwd/$srcdir/TSRM/configure --cache-file=$cachefile $@) || exit 1
+ (set -x; test -d TSRM || mkdir TSRM; cd TSRM && $cwd/$srcdir/TSRM/configure --cache-file=$cachefile $@) || exit 1
fi
(set -x; cd $srcdir; sh ltconfig --disable-static --enable-dlopen --cache-file=$cachefile ltmain.sh)
fi