[php-src] PR #13336: Refactor utsname.domainname struct member Autoconf check
| From: | petk | Date: | Tue, 06 Feb 2024 11:45:14 +0000 |
| Subject: | [php-src] PR #13336: Refactor utsname.domainname struct member Autoconf check | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25004@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13336
Author: petk
Autoconf's AC_CHECK_MEMBERS macro (available since Autoconf 2.50) can be used instead of the
compile check. This was originally implemented for IRIX compatibility, when Autoconf 2.13
didn't have the struct members checking macro yet.
Macro by default here defines the HAVE_STRUCT_UTSNAME_DOMAINNAME symbol.