summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-14 21:48:48 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-14 21:48:48 +0100
commit09554c4285689c3b8a2ef38318e722aa035f2a7f (patch)
treeaa00509e80da12964dd2a3905cfb3441a8d8d8f7 /configure.ac
parentca8861f31fe12c5d3772aa94551cab26bbeb961c (diff)
downloaddabmod-09554c4285689c3b8a2ef38318e722aa035f2a7f.tar.gz
dabmod-09554c4285689c3b8a2ef38318e722aa035f2a7f.tar.bz2
dabmod-09554c4285689c3b8a2ef38318e722aa035f2a7f.zip
fix AS_IF for zeromq in configure.ac
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
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"])