Add check for epoll(), sys/epoll.h

This commit is contained in:
Howard Chu 2004-11-18 22:06:15 +00:00
parent fb7a5d7a55
commit 1666e4c083
3 changed files with 809 additions and 705 deletions

1503
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -886,6 +886,11 @@ dnl ----------------------------------------------------------------
AC_CHECK_FUNCS( poll )
AC_CHECK_HEADERS( poll.h )
dnl ----------------------------------------------------------------
AC_CHECK_FUNC(epoll_create, AC_DEFINE(HAVE_EPOLL,1,
[define if you have epoll]))
AC_CHECK_HEADERS( sys/epoll.h )
dnl ----------------------------------------------------------------
# strerror checks
OL_STRERROR

View file

@ -548,6 +548,9 @@
/* Define if you have the <sys/dir.h> header file. */
#undef HAVE_SYS_DIR_H
/* Define if you have the <sys/epoll.h> header file. */
#undef HAVE_SYS_EPOLL_H
/* Define if you have the <sys/errno.h> header file. */
#undef HAVE_SYS_ERRNO_H
@ -698,6 +701,9 @@
/* define if you have winsock2 */
#undef HAVE_WINSOCK2
/* define if you have epoll */
#undef HAVE_EPOLL
/* define if sys_errlist is not declared in stdio.h or errno.h */
#undef DECL_SYS_ERRLIST