verify: new macro 'assume'
[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 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; \
24         } > $@-t && \
25         mv $@-t $@
26 else
27 stdbool.h: $(top_builddir)/config.status
28         rm -f $@
29 endif
30 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
31
32 Include:
33 <stdbool.h>
34
35 License:
36 LGPLv2+
37
38 Maintainer:
39 Bruno Haible