summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-04-30 01:52:22 +0000
committerfoobar <sniper@php.net>2005-04-30 01:52:22 +0000
commite8f715af59025eef520bb099956071f5f848c7e6 (patch)
tree9bfc6ee2d9ff86fb510c865e8b50e47ada1272c3
parentab3f962b8b7e4273f0f7c0e8a4e05a2ef4152fa7 (diff)
downloadphp-git-e8f715af59025eef520bb099956071f5f848c7e6.tar.gz
- No need to iterate through the options twice
-rw-r--r--acinclude.m42
-rw-r--r--configure.in4
2 files changed, 2 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 30534917cc..c668c9d88b 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -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
diff --git a/configure.in b/configure.in
index ecbc01d289..17d7336fd3 100644
--- a/configure.in
+++ b/configure.in
@@ -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)