Rename stdbool_.h to stdbool.in.h.
[gnulib.git] / modules / stdbool
1 Description:
2 An <stdbool.h> that nearly conforms to C99.
3 (Nearly: casts to bool may not work.)
4
5 Files:
6 lib/stdbool.in.h
7 m4/stdbool.m4
8
9 Depends-on:
10
11 configure.ac:
12 AM_STDBOOL_H
13
14 Makefile.am:
15 BUILT_SOURCES += $(STDBOOL_H)
16
17 # We need the following in order to create <stdbool.h> when the system
18 # doesn't have one that works.
19 stdbool.h: stdbool.in.h
20         rm -f $@-t $@
21         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
22           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
23         } > $@-t
24         mv $@-t $@
25 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
26
27 Include:
28 #include <stdbool.h>
29
30 License:
31 LGPLv2+
32
33 Maintainer:
34 Bruno Haible