]> granicus.if.org Git - php/commitdiff
* VPATH work
authorSascha Schumann <sas@php.net>
Wed, 29 Sep 1999 21:49:32 +0000 (21:49 +0000)
committerSascha Schumann <sas@php.net>
Wed, 29 Sep 1999 21:49:32 +0000 (21:49 +0000)
    * add "--local" switch to buildconf which only recrates the local
      autoconf scripts.

buildconf
configure.in

index ac2e0d961f4b0cab023caf301414f19ea4c39a97..baf5b935891930746556d635e4e5d85846c9b6c5 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -149,5 +149,7 @@ else
     echo "buildconf: created or modified configure"
 fi
 
-(cd libzend; ./buildconf libzend/)
-(cd TSRM; ./buildconf TSRM/)
+if test "$supplied_flag" != "--local"; then
+  (cd libzend; ./buildconf libzend/)
+  (cd TSRM; ./buildconf TSRM/)
+fi
index 13887eb562b613f6510d93d3432b5fc2de05b4ed..c9b3f100f37cd0f0fb7d74a06db06cc7d11eea0a 100644 (file)
@@ -741,6 +741,9 @@ AC_SUBST(PHP_LIBS)
 AC_SUBST(PHP_SAPI)
 AC_SUBST(SAPI_TARGET)
 
+test -d sapi || mkdir sapi
+test -d ext || mkdir ext
+
 #libphp4.module 
 AC_OUTPUT([Makefile php4.spec $PHP_OUTPUT_FILES
            scripts/mkextlib regex/Makefile build-defs.h], [], [