epoll: rebuild configure

This commit is contained in:
Heikki Hannikainen 2012-10-11 01:34:55 +03:00
parent da66817168
commit 0f6cffc0c2
2 changed files with 32 additions and 9 deletions

View File

@ -9,15 +9,6 @@
/* POSIX capabilities */
#undef HAVE_CAPABILITY_H
/* Define to 1 if you have the <event2/buffer.h> header file. */
#undef HAVE_EVENT2_BUFFER_H
/* Define to 1 if you have the <event2/event.h> header file. */
#undef HAVE_EVENT2_EVENT_H
/* Define to 1 if you have the <event2/http.h> 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 <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <poll.h> 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 <sys/capability.h> header file. */
#undef HAVE_SYS_CAPABILITY_H
/* Define to 1 if you have the <sys/epoll.h> header file. */
#undef HAVE_SYS_EPOLL_H
/* Define to 1 if you have the <sys/prctl.h> header file. */
#undef HAVE_SYS_PRCTL_H

26
src/configure vendored
View File

@ -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