gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -some notes on curl detection


From: gnunet
Subject: [gnunet] branch master updated: -some notes on curl detection
Date: Tue, 06 Sep 2022 12:38:37 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 6c98fab02 -some notes on curl detection
6c98fab02 is described below

commit 6c98fab02a2f0e8130ef377a3249a3d79ce48162
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Tue Sep 6 12:38:34 2022 +0200

    -some notes on curl detection
---
 configure.ac | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 217b54210..2db474684 100644
--- a/configure.ac
+++ b/configure.ac
@@ -719,16 +719,20 @@ AS_IF([test "x$pulse" != "x1" || test "x$opus" != "x1" || 
test "x$ogg" != "x1"],
 AM_CONDITIONAL([BUILD_CONVERSATION], [test "x$conversation_backend" != 
"xnone"])
 AC_MSG_RESULT([$conversation_backend])
 
+# NOTE: If we find libcurl-gnutls here we set LIBCURL to -lcurl-gnutls
+# This affects the LIBCURL_CHECK_CONFIG call below as it takes LIBCURL into
+# account when checking for curl.
 AC_CHECK_LIB([curl-gnutls],
              [curl_easy_getinfo],
              [curl_gnutls=1
-              LIBCURL="-lcurl-gnutls"
-              ],
+              LIBCURL="-lcurl-gnutls"],
              [curl_gnutls=0])
 
 LIBCURL_CHECK_CONFIG([], [7.34.0], [],
                      [AC_MSG_ERROR([cURL must have a version >= 7.34.0])])
 
+# Even if curl is found, we check for this constant in order to determine
+# if we can use this feature.
 AC_CHECK_HEADER([curl/curl.h],
                 [AC_CHECK_DECLS([CURLINFO_TLS_SSL_PTR],
                                 [],

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]