2 A <stdnoreturn.h> that nearly conforms to ISO C11.
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; \
28 stdnoreturn.h: $(top_builddir)/config.status
31 MOSTLYCLEANFILES += stdnoreturn.h stdnoreturn.h-t