X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstdbool;h=80fe2db8d565960ffb83cd3096540c2f7e2e80f8;hb=4c2f21ef4cf49513a19f8ffe4a37b624b74be561;hp=946905fcacd375965cc93bb2f1e7f177a4446cdb;hpb=6f99528a90dc8e6beb07ac5ced73770ed82a0830;p=gnulib.git diff --git a/modules/stdbool b/modules/stdbool index 946905fca..80fe2db8d 100644 --- a/modules/stdbool +++ b/modules/stdbool @@ -3,7 +3,7 @@ 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: @@ -12,18 +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 + $(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 $@ +MOSTLYCLEANFILES += stdbool.h stdbool.h-t Include: -#include + + +License: +LGPLv2+ Maintainer: Bruno Haible -