2011-07-12 Paul Eggert <eggert@cs.ucla.edu>
+ _Noreturn: new module
+ * MODULES.html.sh (Support for systems lacking draft ISO C 1X):
+ New section, mentioning it.
+ * build-aux/_Noreturn.h, modules/_Noreturn: New files.
+
* m4/gnulib-common.m4 (gl_COMMON_BODY): Add _Noreturn.
2011-07-11 Eric Blake <eblake@redhat.com>
func_module mbfile
func_end_table
+ element="Support for systems lacking draft ISO C 1X"
+ func_section_wrap c1x_sup
+ func_wrap H2
+ func_echo "$element"
+
+ element="Core language properties"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap c1x_core_properties
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module _Noreturn
+ func_end_table
+
element="Support for obsolete systems lacking POSIX:2008"
func_section_wrap posix_sup_obsolete
func_wrap H2
--- /dev/null
+#if ! defined _Noreturn && __STDC_VERSION__ < 201000
+# if (3 <= __GNUC__ || __GNUC__ == 2 && 8 <= __GNUC_MINOR__ \
+ || 0x5110 <= __SUNPRO_C)
+# define _Noreturn __attribute__ ((__noreturn__))
+# else
+# define _Noreturn
+# endif
+#endif
--- /dev/null
+Description:
+The _Noreturn keyword of C1X.
+
+Applicability:
+all
+
+Files:
+build-aux/_Noreturn.h
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+# Because this Makefile snippet defines a variable used by other
+# gnulib Makefile snippets, it must be present in all Makefile.am that
+# need it. This is ensured by the applicability 'all' defined above.
+
+_NORETURN_H=$(top_srcdir)/build-aux/_Noreturn.h
+
+Include:
+
+License:
+LGPLv2+
+
+Maintainer:
+all