diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5cfdc9b..7194216 100644 --- a/configure.ac +++ b/configure.ac @@ -36,6 +36,9 @@ dnl gnulib *at functions aren't thread-safe, ask for the real thing AC_CHECK_FUNCS([openat renameat mkdirat fstatat unlinkat]) AC_CHECK_FUNCS([epoll_wait epoll_pwait ppoll]) +AC_CHECK_FUNCS([epoll_ctl], [HAVE_EPOLL=1], [HAVE_EPOLL=0]) +AC_SUBST(HAVE_EPOLL) +AM_CONDITIONAL(HAVE_EPOLL, test "x$HAVE_EPOLL" = "x1") dnl libkqueue should work in the future AC_CHECK_FUNCS([kqueue]) @@ -65,6 +68,7 @@ esac ]) CM_SYSTEMTAP +CM_LD_WRAP AC_CONFIG_FILES([Makefile lib/Makefile]) AC_OUTPUT |