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

Martin Sustrik sustrik at 250bpm.com
Sat Oct 2 08:46:47 CEST 2010


Hi Pieter,

> +AC_CHECK_FUNCS(select poll epoll_ctl kqueue)

Thanks for the patch! It still needs some work though.

1. If has to detect dev/poll as well -- this can be done by trying to 
open it and checking whether the call succeeds.

2. As for other polling mechanism we need to check whether the function 
runs OK rather than checking whether the prototype is present. See the 
original problem reported by Thomas Stover (epoll_create is declared but 
returns ENOTSUP).

Martin



More information about the zeromq-dev mailing list