Skip to content

Autotools: Fix out-of-source builds and epoll_pwait2 check#22334

Open
petk wants to merge 1 commit into
php:masterfrom
petk:patch-poll-autotools
Open

Autotools: Fix out-of-source builds and epoll_pwait2 check#22334
petk wants to merge 1 commit into
php:masterfrom
petk:patch-poll-autotools

Conversation

@petk

@petk petk commented Jun 16, 2026

Copy link
Copy Markdown
Member
  • 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).

@petk petk requested a review from bukka June 16, 2026 18:30
@petk petk force-pushed the patch-poll-autotools branch from d6ccee6 to 4bbb9e9 Compare June 16, 2026 18:33
* 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).
@petk petk force-pushed the patch-poll-autotools branch from 4bbb9e9 to 72dc38d Compare June 16, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant