[php-src] PR #15238: Autotools: Check for cross_compiling=yes
| From: | petk | Date: | Sun, 04 Aug 2024 23:08:25 +0000 |
| Subject: | [php-src] PR #15238: Autotools: Check for cross_compiling=yes | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27665@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15238
Author: petk
The cross_compiling variable can initially be "yes", "no", or "maybe"
(when only --host option is added). Autoconf otherwise after AC_PROG_CC resets it to "no"
in such case but to be sure, this checks for value "yes" instead. The HAVE_FNMATCH
template can be also set after the AC_DEFINE as autoheader scans the templates overall the source
code.