1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Use AC_SUBST for CONFIGURE_COMMAND and CONFIGURE_OPTIONS (#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.
This commit is contained in:
Peter Kokot
2024-06-03 08:19:26 +02:00
committed by GitHub
parent 6c034ee7e3
commit bf845d563e

View File

@@ -2029,8 +2029,8 @@ EOF
echo '"[$]@"' >> $1
chmod +x $1
CONFIGURE_COMMAND="$CONFIGURE_COMMAND $CONFIGURE_OPTIONS"
PHP_SUBST_OLD(CONFIGURE_COMMAND)
PHP_SUBST_OLD(CONFIGURE_OPTIONS)
AC_SUBST([CONFIGURE_COMMAND])
AC_SUBST([CONFIGURE_OPTIONS])
])
dnl