[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 12/21: libcurl.m4: patched to fix compiler warning
From: |
gnunet |
Subject: |
[libmicrohttpd] 12/21: libcurl.m4: patched to fix compiler warning |
Date: |
Tue, 14 Mar 2023 19:36:57 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit d088b940a9bbf58d0817d270e6fa070b8e0f7ac8
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Mar 14 20:45:01 2023 +0300
libcurl.m4: patched to fix compiler warning
---
m4/libcurl.m4 | 7 ++++---
1 file 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) {;}
_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
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 01/21: daemon.c: fixed heap manipulations with mutex held, (continued)
- [libmicrohttpd] 01/21: daemon.c: fixed heap manipulations with mutex held, gnunet, 2023/03/14
- [libmicrohttpd] 03/21: configure: reordered checks for compiler flags, gnunet, 2023/03/14
- [libmicrohttpd] 06/21: Makefile: fixed build with 'make' without nested vars support, gnunet, 2023/03/14
- [libmicrohttpd] 08/21: mhd_shutdown_socket_trigger.m4: fixed compiler warning, gnunet, 2023/03/14
- [libmicrohttpd] 05/21: configure: fixed checks for tsearch() and related, gnunet, 2023/03/14
- [libmicrohttpd] 07/21: mhd_check_func.m4: updated, gnunet, 2023/03/14
- [libmicrohttpd] 09/21: configure: fixed some compiler warnings for checks, gnunet, 2023/03/14
- [libmicrohttpd] 10/21: mhd_check_func.m4: added check for function declaration, gnunet, 2023/03/14
- [libmicrohttpd] 11/21: libcurl.m4: updated to the latest version, gnunet, 2023/03/14
- [libmicrohttpd] 13/21: mhd_find_lib.m4: added new autoconf macro, gnunet, 2023/03/14
- [libmicrohttpd] 12/21: libcurl.m4: patched to fix compiler warning,
gnunet <=
- [libmicrohttpd] 18/21: configure: cosmetics, gnunet, 2023/03/14
- [libmicrohttpd] 14/21: configure: fixed checking for system libs, fixed .pc file, gnunet, 2023/03/14
- [libmicrohttpd] 15/21: configure: removed check for unused lib and function, gnunet, 2023/03/14
- [libmicrohttpd] 02/21: tsearch.{h,c}: updated to the latest fixed version, gnunet, 2023/03/14
- [libmicrohttpd] 04/21: mhd_check_link_run.m4: fixed typo in comment, gnunet, 2023/03/14
- [libmicrohttpd] 16/21: configure: fixed more compiler warnings in log, gnunet, 2023/03/14
- [libmicrohttpd] 17/21: configure: fixed potential compiler warnings, added usage of cache vars, gnunet, 2023/03/14
- [libmicrohttpd] 19/21: configure: improved compatibility with POSIX, gnunet, 2023/03/14
- [libmicrohttpd] 20/21: configure: cosmetics: deleted extra spaces, gnunet, 2023/03/14
- [libmicrohttpd] 21/21: mhd_check_func_gettimeofday.m4: added new autoconf macro, gnunet, 2023/03/14