mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Add check for epoll(), sys/epoll.h
This commit is contained in:
parent
fb7a5d7a55
commit
1666e4c083
3 changed files with 809 additions and 705 deletions
|
|
@ -886,6 +886,11 @@ dnl ----------------------------------------------------------------
|
||||||
AC_CHECK_FUNCS( poll )
|
AC_CHECK_FUNCS( poll )
|
||||||
AC_CHECK_HEADERS( poll.h )
|
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 ----------------------------------------------------------------
|
dnl ----------------------------------------------------------------
|
||||||
# strerror checks
|
# strerror checks
|
||||||
OL_STRERROR
|
OL_STRERROR
|
||||||
|
|
|
||||||
|
|
@ -548,6 +548,9 @@
|
||||||
/* Define if you have the <sys/dir.h> header file. */
|
/* Define if you have the <sys/dir.h> header file. */
|
||||||
#undef HAVE_SYS_DIR_H
|
#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. */
|
/* Define if you have the <sys/errno.h> header file. */
|
||||||
#undef HAVE_SYS_ERRNO_H
|
#undef HAVE_SYS_ERRNO_H
|
||||||
|
|
||||||
|
|
@ -698,6 +701,9 @@
|
||||||
/* define if you have winsock2 */
|
/* define if you have winsock2 */
|
||||||
#undef 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 */
|
/* define if sys_errlist is not declared in stdio.h or errno.h */
|
||||||
#undef DECL_SYS_ERRLIST
|
#undef DECL_SYS_ERRLIST
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue