fix quoting bug that breaks build on autotools 2.70+

This commit is contained in:
Florian Dold 2021-01-04 17:45:23 +01:00
parent cdda3d34a3
commit 2bd118007e
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -182,11 +182,11 @@ LIBS_SAVE=$LIBS
LIBGNURL_CHECK_CONFIG(,7.34.0,gnurl=1,gnurl=0) LIBGNURL_CHECK_CONFIG(,7.34.0,gnurl=1,gnurl=0)
LIBCURL_CHECK_CONFIG(,7.34.0,[curl=1],[curl=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],[ AS_IF([test "x$curl" = x1],[
AC_CHECK_HEADER([curl/curl.h], 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=0])
# cURL must support CURLINFO_TLS_SESSION, version >= 7.34
]) ])