summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-10 04:41:35 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-10 04:46:28 +0100
commit18b531675ea16d7b4adbe3bd1caf05dca60ec5a2 (patch)
tree1dd63c9be174241074f4d44c23614533b11a1aed /configure.ac
parent9fcf1ee52a100dd3eae07fcc88acb9e2554cd519 (diff)
downloaddabmux-18b531675ea16d7b4adbe3bd1caf05dca60ec5a2.tar.gz
dabmux-18b531675ea16d7b4adbe3bd1caf05dca60ec5a2.tar.bz2
dabmux-18b531675ea16d7b4adbe3bd1caf05dca60ec5a2.zip
Improve check for ZMQ
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 61b5bff..8fd4572 100644
--- a/configure.ac
+++ b/configure.ac
@@ -186,7 +186,7 @@ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[
AC_LANG_POP([C++])
# ZeroMQ
-AC_CHECK_LIB(zmq, zmq_init, [] , AC_MSG_ERROR(ZeroMQ libzmq is required))
+AX_ZMQ([4.0.0], [], AC_MSG_ERROR(ZeroMQ 4.0.0 is required))
AC_DEFINE([HAVE_INPUT_ZEROMQ], [1], [Define if ZeroMQ input is enabled])
AC_DEFINE([HAVE_OUTPUT_ZEROMQ], [1], [Define if ZeroMQ output is enabled])