From: foobar Date: Sat, 30 Apr 2005 01:52:22 +0000 (+0000) Subject: - No need to iterate through the options twice X-Git-Tag: php-5.0.1b1~364 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8f715af59025eef520bb099956071f5f848c7e6;p=php - No need to iterate through the options twice --- 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)