mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
r20789: merge from samba4:
- remove the epoll configure checks from libreplace
metze
(This used to be commit 3061c333ec
)
This commit is contained in:
parent
916342d04b
commit
f428e045c3
@ -63,9 +63,6 @@ AC_CHECK_FUNCS(pipe strftime srandom random srand rand usleep setbuffer lstat ge
|
||||
|
||||
AC_CHECK_HEADERS(stdbool.h sys/select.h)
|
||||
|
||||
AC_CHECK_HEADERS(sys/epoll.h)
|
||||
AC_CHECK_FUNCS(epoll_create)
|
||||
|
||||
AC_CHECK_TYPE(bool,
|
||||
[AC_DEFINE(HAVE_BOOL, 1, [Whether the bool type is available])],,
|
||||
[
|
||||
|
@ -30,13 +30,4 @@
|
||||
#define SELECT_CAST
|
||||
#endif
|
||||
|
||||
/* use epoll if it is available */
|
||||
#if defined(HAVE_EPOLL_CREATE) && defined(HAVE_SYS_EPOLL_H)
|
||||
#define WITH_EPOLL 1
|
||||
#endif
|
||||
|
||||
#if WITH_EPOLL
|
||||
#include <sys/epoll.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user