[php-src] PR #12921: Move sys/sysmacros.h check to configure.ac
| From: | petk | Date: | Sun, 10 Dec 2023 09:18:27 +0000 |
| Subject: | [php-src] PR #12921: Move sys/sysmacros.h check to configure.ac | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24480@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12921
Author: petk
HAVE_SYS_SYSMACROS_H is used in ext/fileinfo/libmagic and ext/posix. It makes less error prone to
check it on one place for both extensions. Otherwise, in case posix is disabled when building PHP,
the fileinfo extension doesn't check existence of sys/sysmacros.h.