about summary refs log tree commit diff stats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2021-03-28 15:36:23 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2021-03-28 15:36:23 +0000
commit2773f4619fb08478b6a174b2c87b03307349309d (patch)
treeb02e9995fe431c2d4ef9c2714768d4a9f2ae1797 /aclocal.m4
parent7c7ff9bd2d0334289b1a705c94d7a14046fb9a8a (diff)
downloadlynx-snapshots-2773f4619fb08478b6a174b2c87b03307349309d.tar.gz
snapshot of project "lynx", label v2-9-0dev_6h
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m49
1 files changed, 5 insertions, 4 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 189c5f9a..1d3abff7 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,4 +1,4 @@
-dnl $LynxId: aclocal.m4,v 1.296 2021/03/23 00:37:21 tom Exp $
+dnl $LynxId: aclocal.m4,v 1.297 2021/03/28 15:36:23 tom Exp $
 dnl Macros for auto-configure script.
 dnl by Thomas E. Dickey <dickey@invisible-island.net>
 dnl and Jim Spath <jspath@mail.bcpl.lib.md.us>
@@ -1404,7 +1404,7 @@ if test "$USE_INCLUDED_LIBINTL" = yes ; then
 fi
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_C11_NORETURN version: 2 updated: 2021/03/22 20:37:21
+dnl CF_C11_NORETURN version: 3 updated: 2021/03/28 11:36:23
 dnl ---------------
 AC_DEFUN([CF_C11_NORETURN],
 [
@@ -1421,7 +1421,7 @@ AC_CACHE_CHECK([for C11 _Noreturn feature], cf_cv_c11_noreturn,
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdnoreturn.h>
-static void giveup(void) { exit(0); }
+static _Noreturn void giveup(void) { exit(0); }
 	],
 	[if (feof(stdin)) giveup()],
 	cf_cv_c11_noreturn=yes,
@@ -1432,7 +1432,7 @@ else
 fi
 
 if test "$cf_cv_c11_noreturn" = yes; then
-	AC_DEFINE(HAVE_STDNORETURN_H, 1)
+	AC_DEFINE(HAVE_STDNORETURN_H, 1,[Define if <stdnoreturn.h> header is available and working])
 	AC_DEFINE_UNQUOTED(STDC_NORETURN,_Noreturn,[Define if C11 _Noreturn keyword is supported])
 	HAVE_STDNORETURN_H=1
 else
@@ -1440,6 +1440,7 @@ else
 fi
 
 AC_SUBST(HAVE_STDNORETURN_H)
+AC_SUBST(STDC_NORETURN)
 ])dnl
 dnl ---------------------------------------------------------------------------
 dnl CF_CC_ENV_FLAGS version: 10 updated: 2020/12/31 18:40:20