summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-01-08 11:49:26 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-01-10 20:32:49 +0100
commit70c5ba0867945bb097f466262ce03470b690518f (patch)
treec7b14e7e5debdad25778d18559d42f5306289e67 /configure.ac
parent3bcda54518c4914c1b934d7d12b7219d1ee7d941 (diff)
downloaddabmux-70c5ba0867945bb097f466262ce03470b690518f.tar.gz
dabmux-70c5ba0867945bb097f466262ce03470b690518f.tar.bz2
dabmux-70c5ba0867945bb097f466262ce03470b690518f.zip
Add TAI handling for EDI with TIST
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f23df79..e7e169c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -201,12 +201,18 @@ AC_ARG_ENABLE([output_edi],
[AS_HELP_STRING([--disable-output-edi], [Disable EDI output])],
[], [enable_output_edi=yes])
AS_IF([test "x$enable_output_edi" = "xyes"],
+ AC_CHECK_LIB(curl, curl_easy_init, [true], [AC_MSG_ERROR([cURL is required for 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],
[test "x$enable_output_zeromq" = "xyes" -o "x$enable_input_zeromq" = "xyes"])
+# Link against cURL
+AM_CONDITIONAL([HAVE_CURL_TEST],
+ [test "x$enable_output_edi" = "xyes"])
+
# Formats
# RAW