X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstdbool;h=80fe2db8d565960ffb83cd3096540c2f7e2e80f8;hb=afc6cbe4fe4892c5ee4166cab87fede6f294a27d;hp=ae5e21634549e5415c6b0d91439b50b5e79e38a9;hpb=f5371e09c4a06a0993a7d9c302e60717507e70c6;p=gnulib.git diff --git a/modules/stdbool b/modules/stdbool index ae5e21634..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 +lib/stdbool.in.h m4/stdbool.m4 Depends-on: @@ -13,19 +13,22 @@ AM_STDBOOL_H Makefile.am: BUILT_SOURCES += $(STDBOOL_H) -EXTRA_DIST += stdbool_.h -# We need the following 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 - sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t +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 -