[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/02: configure: improved compatibility with shells
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/02: configure: improved compatibility with shells |
Date: |
Sat, 11 Dec 2021 11:53:51 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 6fc74f24da0e1c1a92f5f238b254882004eeace8
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Fri Dec 10 18:58:42 2021 +0300
configure: improved compatibility with shells
---
configure.ac | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index a46bc53f..9011654d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -335,7 +335,8 @@ save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $errattr_CFLAGS"
inln_prfx="none"
# Prefer always inline functions
-for inln_prfx_chk in InlineWithAttr __forceinline inline __inline__ __inline
_inline _Inline; do
+for inln_prfx_chk in InlineWithAttr __forceinline inline __inline__ __inline
_inline _Inline
+do
# Try to link to avoid "symbol undefined" problems at build time
AS_IF([[test "x$inln_prfx_chk" = "xInlineWithAttr"]],
[
@@ -1184,7 +1185,8 @@ AC_CACHE_CHECK([for suported 'noreturn' keyword],
[mhd_cv_decl_noreturn],
mhd_cv_decl_noreturn="none"
save_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} ${errattr_CFLAGS}"
- for decl_noret in '_Noreturn' '__attribute__((__noreturn__))'
'__declspec(noreturn)'; do
+ for decl_noret in '_Noreturn' '__attribute__((__noreturn__))'
'__declspec(noreturn)'
+ do
AC_LINK_IFELSE([AC_LANG_SOURCE(
[[
#ifdef HAVE_STDLIB_H
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.