+2011-07-12 Paul Eggert <eggert@cs.ucla.edu>
+
+ * m4/gnulib-common.m4 (gl_COMMON_BODY): Add _Noreturn.
+
2011-07-11 Eric Blake <eblake@redhat.com>
ffs: new module
-# gnulib-common.m4 serial 26
+# gnulib-common.m4 serial 27
dnl Copyright (C) 2007-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_REQUIRE([gl_COMMON_BODY])
])
AC_DEFUN([gl_COMMON_BODY], [
+ AH_VERBATIM([_Noreturn],
+[/* The _Noreturn keyword of draft C1X. */
+#if ! defined _Noreturn && __STDC_VERSION__ < 201000L
+# if (3 <= __GNUC__ || __GNUC__ == 2 && 8 <= __GNUC_MINOR__ \
+ || 0x5110 <= __SUNPRO_C)
+# define _Noreturn __attribute__ ((__noreturn__))
+# else
+# define _Noreturn
+# endif
+#endif
+])
AH_VERBATIM([isoc99_inline],
[/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of