[php-src] PR #13562: Check struct stat.st_blocks with AC_CHECK_MEMBERS
| From: | petk | Date: | Fri, 01 Mar 2024 08:00:51 +0000 |
| Subject: | [php-src] PR #13562: Check struct stat.st_blocks with AC_CHECK_MEMBERS | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25205@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13562
Author: petk
The AC_STRUCT_ST_BLOCKS expects fileblocks object to be compiled using AC_LIBOBJ in case
stat.st_blocks is missing on some system. This can be simplified with the usual AC_CHECK_MEMBERS
since PHP is using the stat.st_blocks (and stat.st_blksize) conditionally.
This also removes the obsolete HAVE_ST_BLOCKS symbol.
https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/types.m4?h=v2.72#n1055