X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstdbool;h=b8da55106a0a27b3bf0b6dd7c72fc991bfe93e2a;hb=b432ad197bb6b96fecde723e9eac6f78f148fd31;hp=08aa225156c475a706a34f2cbec62cb47647fbd6;hpb=2e82f91f46dc3f93963b1e4fdcbc441c129df213;p=gnulib.git diff --git a/modules/stdbool b/modules/stdbool index 08aa22515..b8da55106 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_.h m4/stdbool.m4 Depends-on: @@ -12,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_.h + rm -f $@-t $@ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + 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