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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user