From 2bd118007e177583a637274c59a9481d439ffd30 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 4 Jan 2021 17:45:23 +0100 Subject: [PATCH] fix quoting bug that breaks build on autotools 2.70+ --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b6fefd947..b47aeb982 100644 --- a/configure.ac +++ b/configure.ac @@ -182,11 +182,11 @@ LIBS_SAVE=$LIBS LIBGNURL_CHECK_CONFIG(,7.34.0,gnurl=1,gnurl=0) LIBCURL_CHECK_CONFIG(,7.34.0,[curl=1],[curl=0]) +# cURL must support CURLINFO_TLS_SESSION, version >= 7.34 AS_IF([test "x$curl" = x1],[ AC_CHECK_HEADER([curl/curl.h], - AC_CHECK_DECLS(CURLINFO_TLS_SESSION,[curl=1],[curl=0],[[#include ]]), + [AC_CHECK_DECLS(CURLINFO_TLS_SESSION,[curl=1],[curl=0],[[#include ]])], [curl=0]) - # cURL must support CURLINFO_TLS_SESSION, version >= 7.34 ])