Skip to content

Commit bf845d5

Browse files
authored
Use AC_SUBST for CONFIGURE_COMMAND and CONFIGURE_OPTIONS (php#14445)
Instead of the PHP_SUBST_OLD, which also adds redundant variables to the generated Makefile, these two can be done with AC_SUBST to be substituted in the generated main/build-defs.h header and scripts/php-config script.
1 parent 6c034ee commit bf845d5

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)