X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstdbool;h=709981c58a1b59d3e89f9b29f7faeff6881d694f;hb=0a3f7af426469ab51370585e1a3afba66ff24b57;hp=c3f1d30fc7063ab5b7e027d24d103d03e9485e96;hpb=1febe996b02fceaf0cab2ec89607a713cd09caf8;p=gnulib.git diff --git a/modules/stdbool b/modules/stdbool index c3f1d30fc..709981c58 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.in.h m4/stdbool.m4 Depends-on: @@ -10,15 +12,23 @@ configure.ac: AM_STDBOOL_H Makefile.am: -EXTRA_DIST += stdbool.h.in +BUILT_SOURCES += $(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 $(lib_OBJECTS): @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.in.h + rm -f $@-t $@ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ + } > $@-t + mv $@-t $@ +MOSTLYCLEANFILES += stdbool.h stdbool.h-t Include: #include +License: +LGPLv2+ + +Maintainer: +Bruno Haible