aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-03 08:12:29 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-03 08:12:29 +0200
commit93cb9dc6d1492ac2ed58c24a016b579813177a13 (patch)
treebc57b3c9b23f3e46d9fb8ef6832604a1f9da7cce /configure.ac
parentf99c4f75d7c1ffc18e3d04167e854af3d571f1b1 (diff)
downloaddabmux-93cb9dc6d1492ac2ed58c24a016b579813177a13.tar.gz
dabmux-93cb9dc6d1492ac2ed58c24a016b579813177a13.tar.bz2
dabmux-93cb9dc6d1492ac2ed58c24a016b579813177a13.zip
Add EDI option to ./configure
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d4cf923..cd34dd5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -196,6 +196,11 @@ AS_IF([test "x$enable_output_zeromq" = "xyes"],
AC_CHECK_LIB(zmq, zmq_init, [true], [AC_MSG_ERROR([ZeroMQ libzmq is required])]))
AS_IF([test "x$enable_output_zeromq" = "xyes"],
AC_DEFINE(HAVE_OUTPUT_ZEROMQ, [1], [Define if ZeroMQ output is enabled]))
+# EDI
+AC_ARG_ENABLE([output_edi],
+ AS_HELP_STRING([--enable-output-edi], [Enable EDI output]))
+AS_IF([test "x$enable_output_edi" = "xyes"],
+ [AC_DEFINE(HAVE_OUTPUT_EDI, [1], [Define if EDI output is enabled])])
# Link against lzmq
AM_CONDITIONAL([HAVE_ZEROMQ_TEST],
@@ -289,7 +294,7 @@ echo
echo "Outputs:"
enabled=""
disabled=""
-for output in file fifo udp tcp raw simul zeromq
+for output in file fifo udp tcp raw simul zeromq edi
do
eval var=\$enable_output_$output
AS_IF([test "x$var" = "xyes"],