From 09554c4285689c3b8a2ef38318e722aa035f2a7f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 14 Dec 2013 21:48:48 +0100 Subject: fix AS_IF for zeromq in configure.ac --- configure.ac | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b6612dd..1605906 100644 --- a/configure.ac +++ b/configure.ac @@ -63,12 +63,11 @@ AC_ARG_ENABLE([fft_simd], [], [enable_fft_simd=no]) # ZeroMQ message queue input AC_ARG_ENABLE([input_zeromq], - [AS_HELP_STRING([--disable-input-zeromq], [Disable ZeroMQ input])], - [], [enable_input_zeromq=yes]) + AS_HELP_STRING([--enable-input-zeromq], [Enable ZeroMQ input])) AS_IF([test "x$enable_input_zeromq" = "xyes"], - [AC_DEFINE(HAVE_INPUT_ZEROMQ, [1], [Define if ZeroMQ input is enabled])], - [AC_CHECK_LIB(zmq, zmq_init, ,[AC_MSG_ERROR([ZeroMQ libzmq is required])])]) + [AC_DEFINE(HAVE_INPUT_ZEROMQ, [1], [Define if ZeroMQ input is enabled]) , + AC_CHECK_LIB(zmq, zmq_init, ,[AC_MSG_ERROR([ZeroMQ libzmq is required])])]) AS_IF([test "x$enable_debug" = "xno"], [OPTIM="-O2" DEBUG="" EXTRA="$EXTRA -DNDEBUG"], [OPTIM="-O0" DEBUG="-ggdb" EXTRA="$EXTRA -Wall"]) -- cgit v1.2.3