[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: update libgnurl det
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: update libgnurl detection |
Date: |
Thu, 16 Aug 2018 16:20:48 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new ac8ccd41 update libgnurl detection
ac8ccd41 is described below
commit ac8ccd41837c5e85c5c2e1b3b388bde02cc655a7
Author: Florian Dold <address@hidden>
AuthorDate: Thu Aug 16 16:19:45 2018 +0200
update libgnurl detection
---
m4/libgnurl.m4 | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/m4/libgnurl.m4 b/m4/libgnurl.m4
index 69aa1660..da72e5e8 100644
--- a/m4/libgnurl.m4
+++ b/m4/libgnurl.m4
@@ -159,6 +159,22 @@ x=CURLOPT_STDERR;
x=CURLOPT_VERBOSE;
])],libgnurl_cv_lib_gnurl_usable=yes,libgnurl_cv_lib_gnurl_usable=no)
+# BEGIN Changes from original libcurl.m4:
+# Give it a 2nd shot using 'gnurl/curl.h'
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <gnurl/curl.h>],[
+/* Try and use a few common options to force a failure if we are
+ missing symbols or can't link. */
+int x;
+curl_easy_setopt(NULL,CURLOPT_URL,NULL);
+x=CURL_ERROR_SIZE;
+x=CURLOPT_WRITEFUNCTION;
+x=CURLOPT_FILE;
+x=CURLOPT_ERRORBUFFER;
+x=CURLOPT_STDERR;
+x=CURLOPT_VERBOSE;
+])],libgnurl_cv_lib_gnurl_usable=yes)
+# END Changes from original libcurl.m4:
+
CPPFLAGS=$_libgnurl_save_cppflags
LIBS=$_libgnurl_save_libs
unset _libgnurl_save_cppflags
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: update libgnurl detection,
gnunet <=