[zeromq-dev] [PATCH] detect (select poll epoll_ctl kqueue) at configure time

Pieter Hintjens ph at imatix.com
Sat Oct 2 03:47:43 CEST 2010


>From efb6f889257ed8b00a5865697c9c10d6c274aa1a Mon Sep 17 00:00:00 2001
From: Pieter Hintjens <ph at imatix.com>
Date: Sat, 2 Oct 2010 03:43:08 +0200
Subject: [PATCH 28/28] Added checking for select, poll, epoll_ctl, kqueue
 - define HAVE_FCTNAME in platform.hpp if true
 - meant to replace ZMQ_FORCE_EPOLL et al.

Signed-off-by: Pieter Hintjens <ph at imatix.com>
---
 configure.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.in b/configure.in
index f8d2e5e..3b4fafb 100644
--- a/configure.in
+++ b/configure.in
@@ -365,6 +365,7 @@ AC_SUBST(LIBZMQ_EXTRA_LDFLAGS)
 # Checks for library functions.
 AC_TYPE_SIGNAL
 AC_CHECK_FUNCS(perror gettimeofday memset socket getifaddrs freeifaddrs)
+AC_CHECK_FUNCS(select poll epoll_ctl kqueue)

 AC_OUTPUT(Makefile src/Makefile doc/Makefile
     perf/Makefile src/libzmq.pc \
--
1.7.0.4



More information about the zeromq-dev mailing list