From 33b310b376b57fa40be3453838c756749afb7e9b Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Thu, 13 Dec 2007 00:43:31 +0100 Subject: [PATCH] Make the epoll check work more reliably. Submitted by spb. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5342ba1..9a6f1e7 100644 --- a/configure.ac +++ b/configure.ac @@ -796,7 +796,7 @@ main(int argc, char **argv) int epfd; epfd = epoll_create(256); - exit (epfd == -1 ? 1 : 0); + return (epfd == -1 ? 1 : 0); }, [AC_MSG_RESULT(yes) AC_DEFINE(HAVE_EPOLL, 1, [Define if your system supports the epoll system calls])