warnings: fix compilation with old autoconf
[gnulib/ericb.git] / modules / stdnoreturn
blobacd661b28213f08919397c50a0761e1ca9938935
1 Description:
2 A <stdnoreturn.h> that nearly conforms to ISO C11.
4 Files:
5 lib/stdnoreturn.in.h
6 m4/stdnoreturn.m4
8 Depends-on:
9 snippet/_Noreturn
11 configure.ac:
12 gl_STDNORETURN_H
14 Makefile.am:
15 BUILT_SOURCES += $(STDNORETURN_H)
17 # We need the following in order to create <stdnoreturn.h> when the system
18 # doesn't have one that works.
19 if GL_GENERATE_STDNORETURN_H
20 stdnoreturn.h: stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H)
21         $(AM_V_GEN)rm -f $@-t $@ && \
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e '/definition of _Noreturn/r $(_NORETURN_H)' \
24               < $(srcdir)/stdnoreturn.in.h; \
25         } > $@-t && \
26         mv $@-t $@
27 else
28 stdnoreturn.h: $(top_builddir)/config.status
29         rm -f $@
30 endif
31 MOSTLYCLEANFILES += stdnoreturn.h stdnoreturn.h-t
33 Include:
34 <stdnoreturn.h>
36 License:
37 LGPLv2+
39 Maintainer:
40 Paul Eggert