diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-30 14:20:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-30 14:20:42 +0000 |
commit | a00592f7d613c3af1e295abfde86115633972c86 (patch) | |
tree | 6065195619b8cc46aa8d5e40aa2addb6dbce6383 /m4/libgnurl.m4 | |
parent | f85265bc3814df31f2a3487252b9a0ffa4c86ac3 (diff) | |
download | gnunet-a00592f7d613c3af1e295abfde86115633972c86.tar.gz gnunet-a00592f7d613c3af1e295abfde86115633972c86.zip |
-fix gnurl checks
Diffstat (limited to 'm4/libgnurl.m4')
-rw-r--r-- | m4/libgnurl.m4 | 20 |
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. */ |
152 | int x; | 152 | int x; |
153 | gnurl_easy_setopt(NULL,GNURLOPT_URL,NULL); | 153 | gnurl_easy_setopt(NULL,CURLOPT_URL,NULL); |
154 | x=GNURL_ERROR_SIZE; | 154 | x=CURL_ERROR_SIZE; |
155 | x=GNURLOPT_WRITEFUNCTION; | 155 | x=CURLOPT_WRITEFUNCTION; |
156 | x=GNURLOPT_FILE; | 156 | x=CURLOPT_FILE; |
157 | x=GNURLOPT_ERRORBUFFER; | 157 | x=CURLOPT_ERRORBUFFER; |
158 | x=GNURLOPT_STDERR; | 158 | x=CURLOPT_STDERR; |
159 | x=GNURLOPT_VERBOSE; | 159 | x=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 |