aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-01-04 17:45:23 +0100
committerFlorian Dold <florian@dold.me>2021-01-04 17:45:23 +0100
commit2bd118007e177583a637274c59a9481d439ffd30 (patch)
treef5536a8a88e2751f20c675fc77db16ab67356883
parentcdda3d34a3a3b8133a90d934707bf9065fd4471f (diff)
fix quoting bug that breaks build on autotools 2.70+
-rw-r--r--configure.ac4
1 files 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 <curl/curl.h>]]),
+ [AC_CHECK_DECLS(CURLINFO_TLS_SESSION,[curl=1],[curl=0],[[#include <curl/curl.h>]])],
[curl=0])
- # cURL must support CURLINFO_TLS_SESSION, version >= 7.34
])