Author: tridge Date: 2006-09-11 22:25:50 +0000 (Mon, 11 Sep 2006) New Revision: 18407
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18407 Log: test for epoll.h and select.h Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4 Changeset: Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4 =================================================================== --- branches/SAMBA_4_0/source/lib/replace/libreplace.m4 2006-09-11 22:16:47 UTC (rev 18406) +++ branches/SAMBA_4_0/source/lib/replace/libreplace.m4 2006-09-11 22:25:50 UTC (rev 18407) @@ -95,8 +95,11 @@ 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])],, [