X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstdbool;h=e3e06ab63b36a4b74ae012e8452980c9b20e8190;hb=946b14c12a890a95944f8610302c43fd94ecfd27;hp=bda2d93692aefa32419f8f192ecea4758bc8e414;hpb=ea50ac89b5659810e187414696ec3e45b09c1129;p=gnulib.git diff --git a/modules/stdbool b/modules/stdbool index bda2d9369..e3e06ab63 100644 --- a/modules/stdbool +++ b/modules/stdbool @@ -1,7 +1,9 @@ Description: +An that nearly conforms to C99. +(Nearly: casts to bool may not work.) Files: -lib/stdbool.h.in +lib/stdbool_.h m4/stdbool.m4 Depends-on: @@ -10,15 +12,21 @@ configure.ac: AM_STDBOOL_H Makefile.am: -EXTRA_DIST += stdbool.h.in +BUILT_SOURCES += $(STDBOOL_H) +EXTRA_DIST += stdbool_.h -# The following is needed in order to create an when the system +# We need the following in order to create when the system # doesn't have one that works. -all-local: @STDBOOL_H@ -stdbool.h: stdbool.h.in - sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' < $(srcdir)/stdbool.h.in > stdbool.h -MOSTLYCLEANFILES += stdbool.h +stdbool.h: stdbool_.h + sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t + mv $@-t $@ +MOSTLYCLEANFILES += stdbool.h stdbool.h-t Include: #include +License: +LGPL + +Maintainer: +Bruno Haible