zmq: narrow condition to include TIPC in build/test

As TIPC transport for 0MQ will only work on post 3.8
Linux kernels where nonblocking connect was added,
we add AC_RUN test to check for this functionality.
Should the test fail, tipc is excluded from build/test.

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
This commit is contained in:
Erik Hugne
2013-11-01 14:59:31 +01:00
parent 632677e805
commit 58ac87def1
11 changed files with 48 additions and 14 deletions

View File

@@ -501,7 +501,7 @@ void zmq::session_base_t::start_connecting (bool wait_)
return;
}
#endif
#if defined ZMQ_HAVE_LINUX
#if defined ZMQ_HAVE_TIPC
if (addr->protocol == "tipc") {
tipc_connecter_t *connecter = new (std::nothrow) tipc_connecter_t (
io_thread, this, options, addr, wait_);