[php-src] PR #15088: Autotools: Normalize 2nd arg in PHP_ADD_SOURCES_X
| From: | petk | Date: | Tue, 23 Jul 2024 22:56:02 +0000 |
| Subject: | [php-src] PR #15088: Autotools: Normalize 2nd arg in PHP_ADD_SOURCES_X | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27462@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15088
Author: petk
By using
m4_normalize(m4_expand([...])), the arguments can be split into newlines
without using backslashes and it makes working with lists of files a bit easier.
Tested:
- variables inside the argument
- M4 macro expansions
- dnl comments
- newlines, leading and trailing spaces and tabs, sequences of backslash-then-newline, multiple
spaces, tabs, newlines, backslash-then-newline, empty spaces
- quoted/unquoted arguments
- ...
Unfortunately, this wasn't ready sooner... But I'm not yet sure if to target PHP-8.4 so
probably it's safer to target version after PHP-8.4.