[php-src] PR #15620: Autotools: Normalize PHP_INSTALL_HEADERS arguments

From: Date: Wed, 28 Aug 2024 17:42:50 +0000
Subject: [php-src] PR #15620: Autotools: Normalize PHP_INSTALL_HEADERS arguments
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-28249@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15620 Author: petk The m4_normalize(m4_expand([...])) simplifies working with a list of header files. The m4_normalize() is at this point still used in the php-src config.m4 files because of copy/paste probability to community extensions where the arguments still need to be done in the old style to support phpize in PHP-8.3 and earlier. For example: ```m4 PHP_INSTALL_HEADERS([ext/dom], m4_normalize([ dom_ce.h namespace_compat.h xml_common.h xpath_callbacks.h ])) ``` When PHP 8.4 will be the minimum supported PHP version, the headers can be installed without using m4_normalize() in PECL extensions. For example: ```m4 PHP_INSTALL_HEADERS([ext/dom], [ dom_ce.h namespace_compat.h xml_common.h xpath_callbacks.h ]) ```

« previous php.git-pulls (#28249) next »