X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstdbool;h=709981c58a1b59d3e89f9b29f7faeff6881d694f;hb=679b14d8851a364efdffbdf50d4aa43921762076;hp=a63fcb0575f781a96e8d35c466ccbc43e7aabae5;hpb=b1b2c3c4f7044468da7cd4c99b7cfa594c5c9c9c;p=gnulib.git diff --git a/modules/stdbool b/modules/stdbool index a63fcb057..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: @@ -12,19 +12,23 @@ configure.ac: AM_STDBOOL_H Makefile.am: -EXTRA_DIST += stdbool_.h +BUILT_SOURCES += $(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 > stdbool.h-t - mv stdbool.h-t 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 -