Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions sapi/fpm/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -459,30 +459,6 @@ AC_DEFUN([AC_FPM_EPOLL],
])
])

AC_DEFUN([AC_FPM_POLL],
[
AC_MSG_CHECKING([for poll])

AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <poll.h>
]], [[
struct pollfd fds[2];

fds[0].fd = 0;
fds[0].events = POLLIN;

fds[1].fd = 0;
fds[1].events = POLLIN;

poll(fds, 2, 1);
]])], [
AC_DEFINE([HAVE_POLL], 1, [do we have poll?])
AC_MSG_RESULT([yes])
], [
AC_MSG_RESULT([no])
])
])

AC_DEFUN([AC_FPM_SELECT],
[
AC_MSG_CHECKING([for select])
Expand Down Expand Up @@ -544,7 +520,6 @@ if test "$PHP_FPM" != "no"; then
AC_FPM_PORT
AC_FPM_DEVPOLL
AC_FPM_EPOLL
AC_FPM_POLL
AC_FPM_SELECT
AC_FPM_APPARMOR

Expand Down