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