sniper Fri Apr 29 21:52:24 2005 EDT
Modified files:
/php-src acinclude.m4 configure.in
Log:
- No need to iterate through the options twice
http://cvs.php.net/diff.php/php-src/acinclude.m4?r1=1.303&r2=1.304&ty=u
Index: php-src/acinclude.m4
diff -u php-src/acinclude.m4:1.303 php-src/acinclude.m4:1.304
--- php-src/acinclude.m4:1.303 Fri Apr 29 20:15:07 2005
+++ php-src/acinclude.m4 Fri Apr 29 21:52:21 2005
@@ -1,5 +1,5 @@
dnl
-dnl $Id: acinclude.m4,v 1.303 2005/04/30 00:15:07 sniper Exp $
+dnl $Id: acinclude.m4,v 1.304 2005/04/30 01:52:21 sniper Exp $
dnl
dnl This file contains local autoconf functions.
dnl
@@ -2413,9 +2413,11 @@
for arg in [$]0 "[$]@"; do
echo "'[$]arg' \\" >> $1
+ CONFIGURE_COMMAND="$CONFIGURE_COMMAND '[$]arg'"
done
echo '"[$]@"' >> $1
chmod +x $1
+ PHP_SUBST_OLD(CONFIGURE_COMMAND)
])
dnl
http://cvs.php.net/diff.php/php-src/configure.in?r1=1.550&r2=1.551&ty=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.550 php-src/configure.in:1.551
--- php-src/configure.in:1.550 Thu Apr 21 11:02:34 2005
+++ php-src/configure.in Fri Apr 29 21:52:22 2005
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.550 2005/04/21 15:02:34 sniper Exp $ -*- autoconf
-*-
+dnl ## $Id: configure.in,v 1.551 2005/04/30 01:52:22 sniper Exp $ -*- autoconf
-*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -31,9 +31,6 @@
AC_INIT(README.CVS-RULES)
PHP_CONFIG_NICE(config.nice)
-for arg in $0 "$@"; do
- CONFIGURE_COMMAND="$CONFIGURE_COMMAND '$arg'"
-done
PHP_CANONICAL_HOST_TARGET
@@ -1092,7 +1089,6 @@
PHP_SUBST(CC)
PHP_SUBST(CFLAGS)
PHP_SUBST(CFLAGS_CLEAN)
-PHP_SUBST_OLD(CONFIGURE_COMMAND)
PHP_SUBST(CPP)
PHP_SUBST(CPPFLAGS)
PHP_SUBST(CXX)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php