summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-27 16:41:46 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-27 16:41:46 +0100
commit5a44c73989c0683f76f4651a5f007fc3accf8b99 (patch)
treea47b2376fb44dbc21c840f2049c926fe950cbf8a /configure.ac
parent90cb5392cd7f6f623529d62988bc4afdde011820 (diff)
downloaddabmux-5a44c73989c0683f76f4651a5f007fc3accf8b99.tar.gz
dabmux-5a44c73989c0683f76f4651a5f007fc3accf8b99.tar.bz2
dabmux-5a44c73989c0683f76f4651a5f007fc3accf8b99.zip
Fix compilation with EDI disabled
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e7e169c..0e61cce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -204,6 +204,8 @@ 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])])
+AS_IF([test "x$enable_output_edi" = "xyes"],
+ [AC_DEFINE(HAVE_CURL, [1], [Define if cURL is available])])
# Link against lzmq
AM_CONDITIONAL([HAVE_ZEROMQ_TEST],