X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstdbool;h=709981c58a1b59d3e89f9b29f7faeff6881d694f;hb=0a3f7af426469ab51370585e1a3afba66ff24b57;hp=e3e06ab63b36a4b74ae012e8452980c9b20e8190;hpb=9029f098c318e509ee94912bdba51d58c79dd102;p=gnulib.git diff --git a/modules/stdbool b/modules/stdbool index e3e06ab63..709981c58 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,12 +13,14 @@ AM_STDBOOL_H Makefile.am: BUILT_SOURCES += $(STDBOOL_H) -EXTRA_DIST += stdbool_.h # We need the following in order to create when the system # doesn't have one that works. -stdbool.h: stdbool_.h - sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t +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 @@ -26,7 +28,7 @@ Include: #include License: -LGPL +LGPLv2+ Maintainer: Bruno Haible