diff options
Diffstat (limited to 'gnulib/modules/stdbool')
m--------- | gnulib | 0 | ||||
-rw-r--r-- | gnulib/modules/stdbool | 39 |
2 files changed, 39 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/modules/stdbool b/gnulib/modules/stdbool new file mode 100644 index 0000000..cfb9aac --- /dev/null +++ b/gnulib/modules/stdbool @@ -0,0 +1,39 @@ +Description: +An <stdbool.h> that nearly conforms to C99. +(Nearly: casts to bool may not work.) + +Files: +lib/stdbool.in.h +m4/stdbool.m4 + +Depends-on: + +configure.ac: +AM_STDBOOL_H + +Makefile.am: +BUILT_SOURCES += $(STDBOOL_H) + +# We need the following in order to create <stdbool.h> when the system +# doesn't have one that works. +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! */'; \ + sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +stdbool.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += stdbool.h stdbool.h-t + +Include: +<stdbool.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible |