]> granicus.if.org Git - php/commitdiff
Exit, if subsequent configure scripts fail.
authorSascha Schumann <sas@php.net>
Thu, 23 Sep 1999 20:17:07 +0000 (20:17 +0000)
committerSascha Schumann <sas@php.net>
Thu, 23 Sep 1999 20:17:07 +0000 (20:17 +0000)
configure.in.in

index 6829ffba001be74cad9da9e84b2d034e4bcbe2f7..31ea064595944f0099080ec9944b24cd8d17ecf8 100644 (file)
@@ -25,9 +25,9 @@ cwd=`pwd`
 cachefile=$cwd/config.cache
 
 if test "$recurse" = "yes"; then
-       (set -x; test -d libzend || mkdir libzend ; cd libzend; $cwd/$srcdir/libzend/configure --cache-file=$cachefile $@)
+       (set -x; test -d libzend || mkdir libzend ; cd libzend; $cwd/$srcdir/libzend/configure --cache-file=$cachefile $@) || exit 1
        if test "$threadsafe" = "yes"; then
-               (set -x; test -d TSRM || mkdir TSRM; cd TSRM; $cwd/$srcdir/TSRM/configure --cache-file=$cachefile $@)
+               (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