mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
libcurl.m4: patched to fix compiler warning
This commit is contained in:
+4
-3
@@ -199,9 +199,10 @@ if (x) {;}
|
||||
_libcurl_save_libs=$LIBS
|
||||
LIBS="$LIBS $LIBCURL"
|
||||
|
||||
AC_CHECK_FUNC(curl_free,,
|
||||
AC_DEFINE(curl_free,free,
|
||||
[Define curl_free() as free() if our version of curl lacks curl_free.]))
|
||||
AC_CHECK_DECL([curl_free],[],
|
||||
[AC_DEFINE([curl_free],[free],
|
||||
[Define curl_free() as free() if our version of curl lacks curl_free.])],
|
||||
[[#include <curl/curl.h>]])
|
||||
|
||||
CPPFLAGS=$_libcurl_save_cppflags
|
||||
LIBS=$_libcurl_save_libs
|
||||
|
||||
Reference in New Issue
Block a user