diff --git a/src/ac-hdrs.h.in b/src/ac-hdrs.h.in index bfe6d85..c344403 100644 --- a/src/ac-hdrs.h.in +++ b/src/ac-hdrs.h.in @@ -9,15 +9,6 @@ /* POSIX capabilities */ #undef HAVE_CAPABILITY_H -/* Define to 1 if you have the header file. */ -#undef HAVE_EVENT2_BUFFER_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_EVENT2_EVENT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_EVENT2_HTTP_H - /* Define to 1 if you have the `gai_strerror' function. */ #undef HAVE_GAI_STRERROR @@ -36,6 +27,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H +/* Define to 1 if you have the header file. */ +#undef HAVE_POLL_H + /* Linux process control prctl.h */ #undef HAVE_PRCTL_H @@ -63,6 +57,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_CAPABILITY_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_EPOLL_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_PRCTL_H diff --git a/src/configure b/src/configure index 8697eef..b30b29f 100755 --- a/src/configure +++ b/src/configure @@ -3549,6 +3549,32 @@ fi done +for ac_header in poll.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" +if test "x$ac_cv_header_poll_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_POLL_H 1 +_ACEOF + $as_echo "#define HAVE_POLL_H 1" >>confdefs.h + +fi + +done + +for ac_header in sys/epoll.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_epoll_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SYS_EPOLL_H 1 +_ACEOF + $as_echo "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h + +fi + +done +