Skip to content
Browse files

- No need to iterate through the options twice

  • Loading branch information...
1 parent ab3f962 commit e8f715af59025eef520bb099956071f5f848c7e6 foobar committed Apr 30, 2005
Showing with 2 additions and 4 deletions.
  1. +2 −0 acinclude.m4
  2. +0 −4 configure.in
View
2 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
View
4 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)

0 comments on commit e8f715a

Please sign in to comment.
Something went wrong with that request. Please try again.