From 83c4fedb0a9a6f83762847f0fd442692601cc0df Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 14 Dec 2013 21:56:39 +0100 Subject: really fix configure logic for zeromq output --- configure.ac | 7 +++---- 1 file 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"]) -- cgit v1.2.3