[php-src] PR #22334: Autotools: Fix out-of-source builds and epoll_pwait2 check
| From: | petk | Date: | Tue, 16 Jun 2026 18:30:52 +0000 |
| Subject: | [php-src] PR #22334: Autotools: Fix out-of-source builds and epoll_pwait2 check | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36462@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22334
Author: petk
* Added main/poll to build directories to enable out-of-source builds.
* AC_CHECK_FUNCS() Autoconf macro doesn't accept 4th argument (it's a link check).
Instead, added a AC_CHECK_DECL() fallback check if epoll_pwait2 is defined as a macro (as in glibc
at the time of writing in certain scenarios).