cvs: php4 / acinclude.m4 configure.in
| From: | Sascha Schumann | Date: | Sun, 11 Jun 2000 10:38:37 +0000 |
| Subject: | cvs: php4 / acinclude.m4 configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-162@lists.php.net to get a copy of this message | ||
sas Sun Jun 11 03:38:37 2000 EDT
Modified files:
/php4 acinclude.m4 configure.in
Log:
Separate creating config_vars.mk and generating Makefiles.
This change enables you to regenerate Makefiles by running config.status.
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.94 php4/acinclude.m4:1.95
--- php4/acinclude.m4:1.94 Wed Jun 7 23:14:58 2000
+++ php4/acinclude.m4 Sun Jun 11 03:38:37 2000
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.94 2000/06/08 06:14:58 sas Exp $
+dnl $Id: acinclude.m4,v 1.95 2000/06/11 10:38:37 sas Exp $
dnl
dnl This file contains local autoconf functions.
@@ -262,13 +262,16 @@
])
])
-AC_DEFUN(PHP_FAST_GENERATE,[
+AC_DEFUN(PHP_GEN_CONFIG_VARS,[
PHP_MKDIR_P_CHECK
echo creating config_vars.mk
> config_vars.mk
for i in $PHP_VAR_SUBST; do
eval echo "$i = \$$i" >> config_vars.mk
done
+])
+
+AC_DEFUN(PHP_GEN_MAKEFILES,[
$SHELL $srcdir/build/fastgen.sh $srcdir $ac_cv_mkdir_p $PHP_FAST_OUTPUT_FILES
])
Index: php4/configure.in
diff -u php4/configure.in:1.143 php4/configure.in:1.144
--- php4/configure.in:1.143 Sat Jun 10 03:10:23 2000
+++ php4/configure.in Sun Jun 11 03:38:37 2000
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.143 2000/06/10 10:10:23 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.144 2000/06/11 10:38:37 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -790,7 +790,7 @@
PHP_CONFIGURE_PART(Generating files)
-PHP_FAST_GENERATE
+PHP_GEN_CONFIG_VARS
touch .deps
#libphp4.module
@@ -799,6 +799,8 @@
$PHP_OUTPUT_FILES
], [], [
+PHP_GEN_MAKEFILES
+
if test ! -f $srcdir/ext/bcmath/number.c; then
echo "creating number.c"
echo "/* Dummy File */" > $srcdir/ext/bcmath/number.c