Merge pull request #415 from cgudrian/fix-epoll-detection

Fix epoll detection
This commit is contained in:
obgm authored and GitHub committed 2019-10-30 10:29:07 +01:00
commit a3361b7062
1 file changed
+1 -1
+1 -1
View File
@@ -575,7 +575,7 @@ AC_CHECK_HEADERS([assert.h arpa/inet.h limits.h netdb.h netinet/in.h \
# For epoll, need two headers (sys/epoll.h sys/timerfd.h), but set up one #define
AC_CHECK_HEADER([sys/epoll.h])
AC_CHECK_HEADER([sys/timerfd.h])
if test "x$ac_cv_header_sys_epoll_h" != "x" -a "x$ac_cv_header_sys_timerfd_h" != "x"; then
if test "x$ac_cv_header_sys_epoll_h" = "xyes" -a "x$ac_cv_header_sys_timerfd_h" = "xyes"; then
have_epoll="yes"
AC_ARG_WITH([epoll],
[AS_HELP_STRING([--with-epoll],