[php-src] PR #15514: Fix GH-15381: Autotools: Refactor main/internal_functions commands
| From: | petk | Date: | Wed, 21 Aug 2024 01:13:05 +0000 |
| Subject: | [php-src] PR #15514: Fix GH-15381: Autotools: Refactor main/internal_functions commands | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28093@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15514
Author: petk
This wraps generation of main/internal_functions* files into a separate AC_CONFIG_COMMANDS and uses
a SHELL variable instead of sh command. Autoconf sets the SHELL variable to a suitable current shell
the configure is running in.
Instead of putting the commands into the 2nd argument the 3rd initialization argument is used like
before because it is easier to read and work with variables (AWK, EXT_STATIC and EXT_CLI_STATIC),
which would need to be assigned again for the 2nd argument.
This simplifies the configure usage on Solaris 10 C shell and KornShell without issuing errors when
executing genif.sh script.