mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Autotools: Move Zend/zend_config.h to AC_CONFIG_COMMANDS (#15538)
Instead of creating Zend/zend_config.h header file in an initialization argument of "default" commands, this creates it in its own wrapper when config.status is called.
This commit is contained in:
parent
6a51062c85
commit
e7874f2089
1 changed files with 7 additions and 7 deletions
12
configure.ac
12
configure.ac
|
@ -1796,6 +1796,12 @@ AC_CONFIG_FILES([
|
|||
|
||||
AC_CONFIG_COMMANDS_PRE([PHP_PATCH_CONFIG_HEADERS([main/php_config.h.in])])
|
||||
|
||||
AC_CONFIG_COMMANDS([Zend/zend_config.h], [
|
||||
cat >Zend/zend_config.h <<FEO
|
||||
#include <../main/php_config.h>
|
||||
FEO
|
||||
])
|
||||
|
||||
AC_CONFIG_COMMANDS([main/internal_functions.c], [], [
|
||||
AWK="$AWK" $SHELL $srcdir/build/genif.sh \
|
||||
$srcdir/main/internal_functions.c.in \
|
||||
|
@ -1823,11 +1829,5 @@ cat <<X
|
|||
Thank you for using PHP.
|
||||
|
||||
X
|
||||
],[
|
||||
dnl Create configuration headers.
|
||||
dnl ----------------------------------------------------------------------------
|
||||
cat >Zend/zend_config.h <<FEO
|
||||
#include <../main/php_config.h>
|
||||
FEO
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue