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:
Peter Kokot 2024-08-29 00:44:29 +02:00 committed by GitHub
parent 0a0d2d0631
commit fbacc0f936
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 29 additions and 18 deletions

View file

@ -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