Commit 1666e4c0 authored by Howard Chu's avatar Howard Chu
Browse files

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

parent fb7a5d7a
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment