]> granicus.if.org Git - php/commitdiff
Need to check if it exists first.
authorAndrey Hristov <andrey@php.net>
Thu, 17 Jun 1999 15:17:17 +0000 (15:17 +0000)
committerAndrey Hristov <andrey@php.net>
Thu, 17 Jun 1999 15:17:17 +0000 (15:17 +0000)
configure.in.in

index 7fd049642ddbaedee0417a3280ecf4d2bb2c8856..abc657462c0ed177c9c961f0e1a0c6318b611e9e 100644 (file)
@@ -18,9 +18,9 @@ done
 
 if test "$recurse" = "yes"; then
        cwd=`pwd`
-       (set -x; mkdir -p libzend ; cd libzend; $cwd/$srcdir/libzend/configure --cache-file=$cwd/config.cache $@)
+       (set -x; test -d libzend || mkdir -p libzend ; cd libzend; $cwd/$srcdir/libzend/configure --cache-file=$cwd/config.cache $@)
        if test "$threadsafe" = "yes"; then
-               (set -x; mkdir -p TSRM; cd TSRM; $cwd/$srcdir/TSRM/configure --cache-file=$cwd/config.cache $@)
+               (set -x; test -d libzend; mkdir -p TSRM; cd TSRM; $cwd/$srcdir/TSRM/configure --cache-file=$cwd/config.cache $@)
        fi
 fi