Skip to content

Commit 5ee74af

Browse files
committed
Use AC_SUBST for CONFIGURE_COMMAND and CONFIGURE_OPTIONS
Instead of PHP_SUBST, which adds redundant variables to the generated Makefile, these two are only substituted in the generated main/build-defs.h header and scripts/php-config script.
1 parent 354b263 commit 5ee74af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/php.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2029,8 +2029,8 @@ EOF
20292029
echo '"[$]@"' >> $1
20302030
chmod +x $1
20312031
CONFIGURE_COMMAND="$CONFIGURE_COMMAND $CONFIGURE_OPTIONS"
2032-
PHP_SUBST_OLD(CONFIGURE_COMMAND)
2033-
PHP_SUBST_OLD(CONFIGURE_OPTIONS)
2032+
AC_SUBST([CONFIGURE_COMMAND])
2033+
AC_SUBST([CONFIGURE_OPTIONS])
20342034
])
20352035

20362036
dnl

0 commit comments

Comments
 (0)