Skip to content

Commit 77eecbb

Browse files
author
Mark Stapp
committed
build: temporarily enable epoll
Enable epoll by default, temporarily for testing Signed-off-by: Mark Stapp <[email protected]>
1 parent 1b8e387 commit 77eecbb

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

configure.ac

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,22 +1599,15 @@ AC_CHECK_FUNCS([pollts], [
15991599
AC_DEFINE([HAVE_POLLTS], [1], [have NetBSD pollts()])
16001600
])
16011601

1602-
AC_ARG_ENABLE([epoll],
1603-
[AS_HELP_STRING([--enable-epoll], [Enable epoll support])],
1604-
[enable_epoll=yes],
1605-
[enable_epoll=no])
1606-
1607-
if test "x$enable_epoll" = "xyes"; then
1608-
AC_CHECK_FUNC([epoll_pwait], [AC_DEFINE([HAVE_EPOLL_PWAIT], [1], [Define if you have epoll_pwait])])
1609-
1610-
# Define USE_EPOLL if any of the above is found
1611-
AC_MSG_CHECKING([for epoll API support])
1612-
if test "x$ac_cv_func_epoll_pwait" = "xyes" ; then
1613-
AC_DEFINE([USE_EPOLL], [1], [Define if any epoll API is supported])
1614-
AC_MSG_RESULT([yes])
1615-
else
1616-
AC_MSG_RESULT([no])
1617-
fi
1602+
AC_CHECK_FUNC([epoll_pwait], [AC_DEFINE([HAVE_EPOLL_PWAIT], [1],
1603+
[Define if you have epoll_pwait])])
1604+
# Define USE_EPOLL if any of the above is found
1605+
AC_MSG_CHECKING([for epoll API support])
1606+
if test "x$ac_cv_func_epoll_pwait" = "xyes" ; then
1607+
AC_DEFINE([USE_EPOLL], [1], [Define if any epoll API is supported])
1608+
AC_MSG_RESULT([yes])
1609+
else
1610+
AC_MSG_RESULT([no])
16181611
fi
16191612

16201613
AC_CHECK_HEADER([asm-generic/unistd.h],

0 commit comments

Comments
 (0)