diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-09-07 09:15:11 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-09-07 09:15:11 +0200 |
commit | 6745bed70af20a11aee5e0c8f6e7bd8479031e9e (patch) | |
tree | b8484a46bde68592f51ffdca5711eae0fcd19822 /configure.ac | |
parent | 4c7564640ca1f6d76a9f34cb86d221736d1cb7e0 (diff) | |
download | gnunet-6745bed70af20a11aee5e0c8f6e7bd8479031e9e.tar.gz gnunet-6745bed70af20a11aee5e0c8f6e7bd8479031e9e.zip |
-more curl detection
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index a73df0cb3..efae64917 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1499,9 +1499,12 @@ AS_IF([test "x$png" = "x1"], | |||
1499 | # against libcurl-gnutls directly, in which case we manually set it just to be | 1499 | # against libcurl-gnutls directly, in which case we manually set it just to be |
1500 | # sure curl-config is not linked against another curl. | 1500 | # sure curl-config is not linked against another curl. |
1501 | AS_IF([test "x$curl_gnutls" = "x0"], | 1501 | AS_IF([test "x$curl_gnutls" = "x0"], |
1502 | [AC_CHECK_PROG([CURL_SSL_BACKEND], ["curl-config"], [m4_esyscmd_s(curl-config --ssl-backends)]) | 1502 | [AC_CHECK_PROG([CURLCONFIG_BINARY], [curl-config], [curl-config], [None]) |
1503 | AS_IF([test "x$CURLCONFIG_BINARY" = "xNone"], | ||
1504 | AC_SUBST([CURL_SSL_BACKEND],["Unkown SSL backend"]), | ||
1505 | AC_SUBST([CURL_SSL_BACKEND],[`curl-config --ssl-backends`])) | ||
1503 | http_client="curl ($CURL_SSL_BACKEND)"], | 1506 | http_client="curl ($CURL_SSL_BACKEND)"], |
1504 | [http_client="curl (GnuTLS)"]) | 1507 | [http_client="curl-gnutls"]) |
1505 | 1508 | ||
1506 | # ifconfig | 1509 | # ifconfig |
1507 | AS_IF([test "x$IFCONFIG_BINARY" = "xfalse"], | 1510 | AS_IF([test "x$IFCONFIG_BINARY" = "xfalse"], |