a63fcb0575f781a96e8d35c466ccbc43e7aabae5
[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_.h
7 m4/stdbool.m4
8
9 Depends-on:
10
11 configure.ac:
12 AM_STDBOOL_H
13
14 Makefile.am:
15 EXTRA_DIST += stdbool_.h
16
17 # We need the following in order to create an <stdbool.h> when the system
18 # doesn't have one that works.
19 all-local $(lib_OBJECTS): $(STDBOOL_H)
20 stdbool.h: stdbool_.h
21         sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > stdbool.h-t
22         mv stdbool.h-t stdbool.h
23 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
24
25 Include:
26 #include <stdbool.h>
27
28 Maintainer:
29 Bruno Haible
30