aboutsummaryrefslogtreecommitdiff
path: root/m4/libcurl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/libcurl.m4')
-rw-r--r--m4/libcurl.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/m4/libcurl.m4 b/m4/libcurl.m4
index 7215f44a..d0209207 100644
--- a/m4/libcurl.m4
+++ b/m4/libcurl.m4
@@ -199,9 +199,10 @@ if (x) {;}
199 _libcurl_save_libs=$LIBS 199 _libcurl_save_libs=$LIBS
200 LIBS="$LIBS $LIBCURL" 200 LIBS="$LIBS $LIBCURL"
201 201
202 AC_CHECK_FUNC(curl_free,, 202 AC_CHECK_DECL([curl_free],[],
203 AC_DEFINE(curl_free,free, 203 [AC_DEFINE([curl_free],[free],
204 [Define curl_free() as free() if our version of curl lacks curl_free.])) 204 [Define curl_free() as free() if our version of curl lacks curl_free.])],
205 [[#include <curl/curl.h>]])
205 206
206 CPPFLAGS=$_libcurl_save_cppflags 207 CPPFLAGS=$_libcurl_save_cppflags
207 LIBS=$_libcurl_save_libs 208 LIBS=$_libcurl_save_libs