2 An <stdbool.h> that nearly conforms to C99.
3 (Nearly: casts to bool may not work.)
15 BUILT_SOURCES += $(STDBOOL_H)
17 # We need the following in order to create <stdbool.h> when the system
18 # doesn't have one that works.
19 if GL_GENERATE_STDBOOL_H
20 stdbool.h: stdbool.in.h $(top_builddir)/config.status
21 $(AM_V_GEN)rm -f $@-t $@ && \
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
27 stdbool.h: $(top_builddir)/config.status
30 MOSTLYCLEANFILES += stdbool.h stdbool.h-t