From 70c5ba0867945bb097f466262ce03470b690518f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 8 Jan 2016 11:49:26 +0100 Subject: Add TAI handling for EDI with TIST --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f23df79..e7e169c 100644 --- a/configure.ac +++ b/configure.ac @@ -200,6 +200,8 @@ AS_IF([test "x$enable_output_zeromq" = "xyes"], 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])]) @@ -207,6 +209,10 @@ AS_IF([test "x$enable_output_edi" = "xyes"], 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 -- cgit v1.2.3