summaryrefslogtreecommitdiff
path: root/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
parentf85265bc3814df31f2a3487252b9a0ffa4c86ac3 (diff)
-fix gnurl checks
Diffstat (limited to '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],
/* Try and use a few common options to force a failure if we are
missing symbols or can't link. */
int x;
-gnurl_easy_setopt(NULL,GNURLOPT_URL,NULL);
-x=GNURL_ERROR_SIZE;
-x=GNURLOPT_WRITEFUNCTION;
-x=GNURLOPT_FILE;
-x=GNURLOPT_ERRORBUFFER;
-x=GNURLOPT_STDERR;
-x=GNURLOPT_VERBOSE;
+gnurl_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,libgnurl_cv_lib_gnurl_usable=no)
CPPFLAGS=$_libgnurl_save_cppflags
@@ -175,9 +175,9 @@ x=GNURLOPT_VERBOSE;
_libgnurl_save_libs=$LIBS
LIBS="$LIBS $LIBGNURL"
- AC_CHECK_FUNC(gnurl_free,,
- AC_DEFINE(gnurl_free,free,
- [Define gnurl_free() as free() if our version of gnurl lacks gnurl_free.]))
+ AC_CHECK_FUNC(curl_free,,
+ AC_DEFINE(curl_free,free,
+ [Define curl_free() as free() if our version of gnurl lacks curl_free.]))
CPPFLAGS=$_libgnurl_save_cppflags
LIBS=$_libgnurl_save_libs