diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-11 22:25:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:24 -0500 |
commit | a8c17f8ed3f1d5e2d4aed6d9b2af63f3e5059e51 (patch) | |
tree | af2b1f86864c7d1f9bc20dfcf85e92460d212545 /source4/lib/replace/libreplace.m4 | |
parent | 10b54fdb52ba2a55d0327eeee9c40a8748bce634 (diff) | |
download | samba-a8c17f8ed3f1d5e2d4aed6d9b2af63f3e5059e51.tar.gz samba-a8c17f8ed3f1d5e2d4aed6d9b2af63f3e5059e51.tar.bz2 samba-a8c17f8ed3f1d5e2d4aed6d9b2af63f3e5059e51.zip |
r18407: test for epoll.h and select.h
(This used to be commit 3ddb77c1e3dce5e05771b3fcaf86f8ae9ff21a52)
Diffstat (limited to 'source4/lib/replace/libreplace.m4')
-rw-r--r-- | source4/lib/replace/libreplace.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
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])],, |