mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Autotools: Normalize PHP_ADD_BUILD_DIR 1st argument (#15612)
The m4_normalize(m4_expand([$1])) expands the given argument if it contains M4 macros, and then trims the items together into a space separated string in an intuitive way.
This commit is contained in:
parent
0a0d2d0631
commit
fbacc0f936
8 changed files with 29 additions and 18 deletions
|
@ -1781,7 +1781,7 @@ PHP_ADD_MAKEFILE_FRAGMENT([$abs_srcdir/Zend/Makefile.frag],
|
|||
AC_DEFINE([HAVE_BUILD_DEFS_H], [1],
|
||||
[Define to 1 if PHP has the <main/build-defs.h> header file.])
|
||||
|
||||
PHP_ADD_BUILD_DIR(m4_normalize([
|
||||
PHP_ADD_BUILD_DIR([
|
||||
main
|
||||
main/streams
|
||||
scripts
|
||||
|
@ -1790,7 +1790,7 @@ PHP_ADD_BUILD_DIR(m4_normalize([
|
|||
Zend
|
||||
Zend/asm
|
||||
Zend/Optimizer
|
||||
]))
|
||||
])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
main/build-defs.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue