]> granicus.if.org Git - php/commitdiff
- No need to iterate through the options twice
authorfoobar <sniper@php.net>
Sat, 30 Apr 2005 01:52:22 +0000 (01:52 +0000)
committerfoobar <sniper@php.net>
Sat, 30 Apr 2005 01:52:22 +0000 (01:52 +0000)
acinclude.m4
configure.in

index 30534917cc820a5e194fcf5b8b3962f4d539aff4..c668c9d88b7468ce1a8275415185511565a80676 100644 (file)
@@ -2413,9 +2413,11 @@ EOF
 
   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
index ecbc01d289555394f2a5bc885641786ba35675ca..17d7336fd32e8708592427a4a0c94475f018f91f 100644 (file)
@@ -31,9 +31,6 @@ AC_PREREQ(2.13)
 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(EXEEXT)
 PHP_SUBST(CC)
 PHP_SUBST(CFLAGS)
 PHP_SUBST(CFLAGS_CLEAN)
-PHP_SUBST_OLD(CONFIGURE_COMMAND)
 PHP_SUBST(CPP)
 PHP_SUBST(CPPFLAGS)
 PHP_SUBST(CXX)