From a8c17f8ed3f1d5e2d4aed6d9b2af63f3e5059e51 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 11 Sep 2006 22:25:50 +0000 Subject: r18407: test for epoll.h and select.h (This used to be commit 3ddb77c1e3dce5e05771b3fcaf86f8ae9ff21a52) --- source4/lib/replace/libreplace.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4 index c21f59e163..4dff22b4aa 100644 --- a/source4/lib/replace/libreplace.m4 +++ b/source4/lib/replace/libreplace.m4 @@ -95,7 +95,10 @@ AC_FUNC_MEMCMP AC_CHECK_FUNCS(pipe strftime srandom random srand rand usleep setbuffer lstat getpgrp) -AC_CHECK_HEADERS(stdbool.h stddef.h) +AC_CHECK_HEADERS(stdbool.h stddef.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])],, -- cgit