zeromq/libzmq — pull request #226 by gitfoxi (2012-01-27 23:28:50+00:00)
Title: Support Epoll on cross-compile without runtime test.

mikko on IRC pointed out that my previous patch which causes epoll to be tested by ./configure is unhelpful for cross-compile.

The new logic is:
1. If cross-compile, build Epoll if the epoll library passes a link-test.
2. If not cross-compile, build Epoll only if epoll_create() passes a run test.

Cross-compilers who need to disable epoll should know how to do that using: ./configure --with-poller=poll