[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 204/335: configure: improved checks for function name ma
From: |
gnunet |
Subject: |
[libmicrohttpd] 204/335: configure: improved checks for function name magic-macros |
Date: |
Sat, 27 Jul 2024 22:01:40 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to tag stf-m2
in repository libmicrohttpd.
commit 281ce63f421568b114038cf34f467a55d00749ed
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun May 26 17:53:42 2024 +0200
configure: improved checks for function name magic-macros
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index ff0e57ec..c7acffaf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2373,7 +2373,7 @@ AC_C_VARARRAYS
AC_CACHE_CHECK([[whether __func__ magic-macro is available]],
[[mhd_cv_macro___func___avail]], [dnl
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stddef.h>]],[[const char
*funcname = __func__ ; if (NULL == funcname) return 1;]])],
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[const char *funcname = __func__ ; if
(!funcname) return 1;]])],
[[mhd_cv_macro___func___avail="yes"]],[[mhd_cv_macro___func___avail="no"]])
])
AS_VAR_IF([mhd_cv_macro___func___avail], ["yes"],
@@ -2381,7 +2381,7 @@ AS_VAR_IF([mhd_cv_macro___func___avail], ["yes"],
[
AC_CACHE_CHECK([[whether __FUNCTION__ magic-macro is available]],
[[mhd_cv_macro___function___avail]], [dnl
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stddef.h>]],[[const char
*funcname = __FUNCTION__ ; if (NULL == funcname) return 1;]])],
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[const char *funcname =
__FUNCTION__ ; if (!funcname) return 1;]])],
[[mhd_cv_macro___function___avail="yes"]],[[mhd_cv_macro___function___avail="no"]])
])
AS_VAR_IF([mhd_cv_macro___function___avail], ["yes"],
@@ -2389,7 +2389,7 @@ AS_VAR_IF([mhd_cv_macro___func___avail], ["yes"],
[
AC_CACHE_CHECK([[whether __PRETTY_FUNCTION__ magic-macro is
available]],
[[mhd_cv_macro___pretty_function___avail]], [dnl
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stddef.h>]],[[const char
*funcname = __PRETTY_FUNCTION__ ; if (NULL == funcname) return 1;]])],
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[const char *funcname =
__PRETTY_FUNCTION__ ; if (!funcname) return 1;]])],
[[mhd_cv_macro___pretty_function___avail="yes"]],[[mhd_cv_macro___pretty_function___avail="no"]])
])
AS_VAR_IF([mhd_cv_macro___pretty_function___avail], ["yes"],
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 179/335: microhttpd2_portability.h: lowered scope of included system headers, minor refactoring, (continued)
- [libmicrohttpd] 179/335: microhttpd2_portability.h: lowered scope of included system headers, minor refactoring, gnunet, 2024/07/27
- [libmicrohttpd] 173/335: sys_bool_type.h: new internal header, gnunet, 2024/07/27
- [libmicrohttpd] 196/335: GENERATED: copy some temporal pointers, gnunet, 2024/07/27
- [libmicrohttpd] 175/335: mhd_sys_options.h: improved doxy, gnunet, 2024/07/27
- [libmicrohttpd] 181/335: microhttpd2_portability.h: added FIXME comments, gnunet, 2024/07/27
- [libmicrohttpd] 195/335: GENERATED: use pointer for the daemon settings, gnunet, 2024/07/27
- [libmicrohttpd] 198/335: This API is even more *TERRIBLE*, gnunet, 2024/07/27
- [libmicrohttpd] 201/335: configure: added detection of the binary format of NULL pointers, gnunet, 2024/07/27
- [libmicrohttpd] 183/335: configure: fixed configuration summary, gnunet, 2024/07/27
- [libmicrohttpd] 197/335: GENERATED: use logger directly, gnunet, 2024/07/27
- [libmicrohttpd] 204/335: configure: improved checks for function name magic-macros,
gnunet <=
- [libmicrohttpd] 202/335: configure: added detection of variadic macros support, gnunet, 2024/07/27
- [libmicrohttpd] 190/335: GENERATED: C89/C99, gnunet, 2024/07/27
- [libmicrohttpd] 208/335: .gitignore: updated, gnunet, 2024/07/27
- [libmicrohttpd] 210/335: configure: improved tests for non-standard platforms, gnunet, 2024/07/27
- [libmicrohttpd] 193/335: GENERATED: add missed options, gnunet, 2024/07/27
- [libmicrohttpd] 191/335: GENERATED: fixed options addressing, gnunet, 2024/07/27
- [libmicrohttpd] 211/335: configure: check for AF_UNIX headers, gnunet, 2024/07/27
- [libmicrohttpd] 200/335: configure: rewritten checks for inline and force inline keywords, gnunet, 2024/07/27
- [libmicrohttpd] 199/335: configure: added separate controls for MHD log and HTTP auto replies, gnunet, 2024/07/27
- [libmicrohttpd] 213/335: configure: check for socklen_t and substitute with a replacement if not available, gnunet, 2024/07/27