projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New modules 'at-internal', 'openat-h', split off from module 'openat'.
[gnulib.git]
/
modules
/
stdbool
diff --git
a/modules/stdbool
b/modules/stdbool
index
b8da551
..
cfb9aac
100644
(file)
--- a/
modules/stdbool
+++ b/
modules/stdbool
@@
-3,7
+3,7
@@
An <stdbool.h> that nearly conforms to C99.
(Nearly: casts to bool may not work.)
Files:
(Nearly: casts to bool may not work.)
Files:
-lib/stdbool
_
.h
+lib/stdbool
.in
.h
m4/stdbool.m4
Depends-on:
m4/stdbool.m4
Depends-on:
@@
-16,19
+16,24
@@
BUILT_SOURCES += $(STDBOOL_H)
# We need the following in order to create <stdbool.h> when the system
# doesn't have one that works.
# We need the following in order to create <stdbool.h> when the system
# doesn't have one that works.
-stdbool.h: stdbool_.h
- rm -f $@-t $@
+if GL_GENERATE_STDBOOL_H
+stdbool.h: stdbool.in.h $(top_builddir)/config.status
+ $(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
- sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool
_
.h; \
- } > $@-t
+ sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool
.in
.h; \
+ } > $@-t
&& \
mv $@-t $@
mv $@-t $@
+else
+stdbool.h: $(top_builddir)/config.status
+ rm -f $@
+endif
MOSTLYCLEANFILES += stdbool.h stdbool.h-t
Include:
MOSTLYCLEANFILES += stdbool.h stdbool.h-t
Include:
-
#include
<stdbool.h>
+<stdbool.h>
License:
License:
-LGPL
+LGPL
v2+
Maintainer:
Bruno Haible
Maintainer:
Bruno Haible