summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-07-21 09:58:44 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-07-24 22:03:47 +0200
commita3169964c0d5b5fc3e25c5d912cd7f8af75fcd22 (patch)
tree4a81af8f23ac720e17071ab617251f8e6042a1b6
parent793dfa91bb6317dcf4aee7a59ef5ffa0d621abdd (diff)
downloadphp-git-a3169964c0d5b5fc3e25c5d912cd7f8af75fcd22.tar.gz
Remove AC_FPM_POLL
AC_FPM_POLL defines HAVE_POLL symbol which is already checked by configure.ac and function poll in AC_CHECK_FUNCTIONS. Closes GH-4449
-rw-r--r--sapi/fpm/config.m425
1 files changed, 0 insertions, 25 deletions
diff --git a/sapi/fpm/config.m4 b/sapi/fpm/config.m4
index 24d42d2bf0..ad89c1bb52 100644
--- a/sapi/fpm/config.m4
+++ b/sapi/fpm/config.m4
@@ -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])
@@ -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