Mercurial > hg > octave-shane > gnulib-hg
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 |
rev | line source |
---|---|
4110 | 1 Description: |
4172 | 2 An <stdbool.h> that nearly conforms to C99. |
3 (Nearly: casts to bool may not work.) | |
4110 | 4 |
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 | 7 m4/stdbool.m4 |
8 | |
9 Depends-on: | |
10 | |
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 | 13 |
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 | 31 |
32 Include: | |
12008
18ea6ab4e81d
maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents:
11868
diff
changeset
|
33 <stdbool.h> |
4110 | 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 | 38 Maintainer: |
39 Bruno Haible |