aboutsummaryrefslogtreecommitdiff
path: root/m4/libgnurl.m4
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-30 14:20:42 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-30 14:20:42 +0000
commita00592f7d613c3af1e295abfde86115633972c86 (patch)
tree6065195619b8cc46aa8d5e40aa2addb6dbce6383 /m4/libgnurl.m4
parentf85265bc3814df31f2a3487252b9a0ffa4c86ac3 (diff)
downloadgnunet-a00592f7d613c3af1e295abfde86115633972c86.tar.gz
gnunet-a00592f7d613c3af1e295abfde86115633972c86.zip
-fix gnurl checks
Diffstat (limited to 'm4/libgnurl.m4')
-rw-r--r--m4/libgnurl.m420
1 files changed, 10 insertions, 10 deletions
diff --git a/m4/libgnurl.m4 b/m4/libgnurl.m4
index 1cb3f2e2b..5f5410738 100644
--- a/m4/libgnurl.m4
+++ b/m4/libgnurl.m4
@@ -150,13 +150,13 @@ AC_DEFUN([LIBGNURL_CHECK_CONFIG],
150/* Try and use a few common options to force a failure if we are 150/* Try and use a few common options to force a failure if we are
151 missing symbols or can't link. */ 151 missing symbols or can't link. */
152int x; 152int x;
153gnurl_easy_setopt(NULL,GNURLOPT_URL,NULL); 153gnurl_easy_setopt(NULL,CURLOPT_URL,NULL);
154x=GNURL_ERROR_SIZE; 154x=CURL_ERROR_SIZE;
155x=GNURLOPT_WRITEFUNCTION; 155x=CURLOPT_WRITEFUNCTION;
156x=GNURLOPT_FILE; 156x=CURLOPT_FILE;
157x=GNURLOPT_ERRORBUFFER; 157x=CURLOPT_ERRORBUFFER;
158x=GNURLOPT_STDERR; 158x=CURLOPT_STDERR;
159x=GNURLOPT_VERBOSE; 159x=CURLOPT_VERBOSE;
160])],libgnurl_cv_lib_gnurl_usable=yes,libgnurl_cv_lib_gnurl_usable=no) 160])],libgnurl_cv_lib_gnurl_usable=yes,libgnurl_cv_lib_gnurl_usable=no)
161 161
162 CPPFLAGS=$_libgnurl_save_cppflags 162 CPPFLAGS=$_libgnurl_save_cppflags
@@ -175,9 +175,9 @@ x=GNURLOPT_VERBOSE;
175 _libgnurl_save_libs=$LIBS 175 _libgnurl_save_libs=$LIBS
176 LIBS="$LIBS $LIBGNURL" 176 LIBS="$LIBS $LIBGNURL"
177 177
178 AC_CHECK_FUNC(gnurl_free,, 178 AC_CHECK_FUNC(curl_free,,
179 AC_DEFINE(gnurl_free,free, 179 AC_DEFINE(curl_free,free,
180 [Define gnurl_free() as free() if our version of gnurl lacks gnurl_free.])) 180 [Define curl_free() as free() if our version of gnurl lacks curl_free.]))
181 181
182 CPPFLAGS=$_libgnurl_save_cppflags 182 CPPFLAGS=$_libgnurl_save_cppflags
183 LIBS=$_libgnurl_save_libs 183 LIBS=$_libgnurl_save_libs