* add "--local" switch to buildconf which only recrates the local
autoconf scripts.
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
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], [], [