annotate modules/stdbool @ 17632:86af85d364e1 default tip

unistd: port readlink to Mac OS X 10.3.9 * lib/unistd.in.h (_GL_INCLUDING_UNISTD_H): New macro, to work around self-include problem in Mac OS X 10.3.9 when combined with readlink module. Problem reported by Klaus Zietler in <http://bugs.gnu.org/16825>.
author Paul Eggert <eggert@penguin.cs.ucla.edu>
date Tue, 25 Feb 2014 11:16:27 -0800
parents 662ae53d8d37
children 6758fa38915e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
4172
5321105558d8 Add module descriptions.
Bruno Haible <bruno@clisp.org>
parents: 4171
diff changeset
2 An <stdbool.h> that nearly conforms to C99.
5321105558d8 Add module descriptions.
Bruno Haible <bruno@clisp.org>
parents: 4171
diff changeset
3 (Nearly: casts to bool may not work.)
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 Files:
9260
14891e011037 Rename stdbool_.h to stdbool.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9102
diff changeset
6 lib/stdbool.in.h
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 m4/stdbool.m4
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Depends-on:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 configure.ac:
4151
3a0c83552f0e Make it possible to #include <stdbool.h> without any #ifdefs.
Bruno Haible <bruno@clisp.org>
parents: 4110
diff changeset
12 AM_STDBOOL_H
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 Makefile.am:
4596
fed81fcab071 * modules/stdbool: Add BUILT_SOURCES. Prefer $@ to target name
Paul Eggert <eggert@cs.ucla.edu>
parents: 4383
diff changeset
15 BUILT_SOURCES += $(STDBOOL_H)
4151
3a0c83552f0e Make it possible to #include <stdbool.h> without any #ifdefs.
Bruno Haible <bruno@clisp.org>
parents: 4110
diff changeset
16
6001
322a0918d54a * modules/alloca-opt (Makefile.am): Remove explicit dependency on
Paul Eggert <eggert@cs.ucla.edu>
parents: 5251
diff changeset
17 # We need the following in order to create <stdbool.h> when the system
4151
3a0c83552f0e Make it possible to #include <stdbool.h> without any #ifdefs.
Bruno Haible <bruno@clisp.org>
parents: 4110
diff changeset
18 # doesn't have one that works.
14528
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
19 if GL_GENERATE_STDBOOL_H
14527
049942251f65 Ensure to rebuild generated .h files when config.status has changed.
Bruno Haible <bruno@clisp.org>
parents: 14273
diff changeset
20 stdbool.h: stdbool.in.h $(top_builddir)/config.status
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 9260
diff changeset
21 $(AM_V_GEN)rm -f $@-t $@ && \
7421
8bace4b08db5 Mark generated files as "DO NOT EDIT".
Bruno Haible <bruno@clisp.org>
parents: 7274
diff changeset
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
9260
14891e011037 Rename stdbool_.h to stdbool.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9102
diff changeset
23 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 9260
diff changeset
24 } > $@-t && \
4596
fed81fcab071 * modules/stdbool: Add BUILT_SOURCES. Prefer $@ to target name
Paul Eggert <eggert@cs.ucla.edu>
parents: 4383
diff changeset
25 mv $@-t $@
14528
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
26 else
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
27 stdbool.h: $(top_builddir)/config.status
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
28 rm -f $@
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
29 endif
4366
4f2163710712 Rename stdbool.h.in to stdbool_.h, for DOS and VMS's sake.
Bruno Haible <bruno@clisp.org>
parents: 4197
diff changeset
30 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 Include:
12008
18ea6ab4e81d maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
33 <stdbool.h>
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4596
diff changeset
35 License:
9102
404dc8725caf Use the synonymous term LGPLv2.
Bruno Haible <bruno@clisp.org>
parents: 7497
diff changeset
36 LGPLv2+
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4596
diff changeset
37
4197
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
38 Maintainer:
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
39 Bruno Haible