From 9782a228c1db595fbd25ee0838109371d1787697 Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Mon, 18 May 2020 16:33:01 -0400 Subject: removed the GnuTLS check for cURL --- configure.ac | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index bbd95f3c..33871db5 100644 --- a/configure.ac +++ b/configure.ac @@ -142,7 +142,7 @@ AS_IF([test "x$gnurl" = x1],[ AM_CONDITIONAL(HAVE_LIBGNURL, false) ]) -# libcurl-gnutls +# libcurl LIBCURL_CHECK_CONFIG(,7.34.0,[curl=true],[curl=false]) AS_IF([test "x$curl" = xtrue], [LDFLAGS="-L$with_libcurl/lib $LDFLAGS" @@ -152,11 +152,7 @@ AS_IF([test "x$curl" = xtrue], [curl=true], [curl=false], [[#include ]])], - [curl=false]) - # need libcurl-gnutls.so, everything else is not acceptable - AC_CHECK_LIB([curl-gnutls], - [curl_easy_getinfo],, - [curl=false])]) + [curl=false])]) # cURL must support CURLINFO_TLS_SESSION, version >= 7.34 # Check for curl/curl.h and gnurl/curl.h so we can use #ifdef @@ -171,7 +167,7 @@ AC_CHECK_HEADERS([curl/curl.h],, AS_IF([test "x$gnurl" = "x0"], [AS_IF([test "x$curl" = "x0"], [AC_MSG_NOTICE([NOTICE: libgnurl not found. taler-bank support will not be compiled.])], - [AC_MSG_NOTICE([WARNING: libgnurl not found, trying to use libcurl-gnutls instead.])])]) + [AC_MSG_NOTICE([WARNING: libgnurl not found, trying to use libcurl instead.])])]) AS_IF([test x$curl = xfalse], [AM_CONDITIONAL(HAVE_LIBCURL, false) -- cgit v1.2.3