diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2013-12-14 21:56:39 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2013-12-14 21:56:39 +0100 |
commit | 83c4fedb0a9a6f83762847f0fd442692601cc0df (patch) | |
tree | 255a7fbf66bdf065dd096d924931a15735487da4 /configure.ac | |
parent | a252f45b9b515055e0d603d3bab1163a56ca88ad (diff) | |
download | dabmux-83c4fedb0a9a6f83762847f0fd442692601cc0df.tar.gz dabmux-83c4fedb0a9a6f83762847f0fd442692601cc0df.tar.bz2 dabmux-83c4fedb0a9a6f83762847f0fd442692601cc0df.zip |
really fix configure logic for zeromq output
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 3980872..f1f685f 100644 --- a/configure.ac +++ b/configure.ac @@ -174,11 +174,10 @@ AS_IF([test "x$enable_output_simul" = "xyes"], [AC_DEFINE(HAVE_OUTPUT_SIMUL, [1], [Define if SIMUL output is enabled])]) # ZeroMQ message queue AC_ARG_ENABLE([output_zeromq], - [AS_HELP_STRING([--disable-output-zeromq], [Disable ZeroMQ output])], - [], [enable_output_zeromq=no]) + AS_HELP_STRING([--enable-output-zeromq], [Enable ZeroMQ output])) AS_IF([test "x$enable_output_zeromq" = "xyes"], - [AC_DEFINE(HAVE_OUTPUT_ZEROMQ, [1], [Define if ZeroMQ output is enabled])], - [AC_CHECK_LIB(zmq, zmq_init, ,[AC_MSG_ERROR([ZeroMQ libzmq is required])])]) + [AC_DEFINE(HAVE_OUTPUT_ZEROMQ, [1], [Define if ZeroMQ output is enabled]) , + AC_CHECK_LIB(zmq, zmq_init, ,[AC_MSG_ERROR([ZeroMQ libzmq is required])])]) AM_CONDITIONAL([HAVE_OUTPUT_ZEROMQ_TEST], [test "x$enable_output_zeromq" = "xyes"]) |