X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstdbool;h=cfb9aac84c681984d8452308a339d74f67a6e43e;hb=644c40496cf7d5a705a73c9dd32b035fcecc2ab1;hp=5c1fe3ce36619513cc5da8c724a1d46bec87b847;hpb=abac9b73490cd4d59a1e454c6ade5fd2073f2d2f;p=gnulib.git diff --git a/modules/stdbool b/modules/stdbool index 5c1fe3ce3..cfb9aac84 100644 --- a/modules/stdbool +++ b/modules/stdbool @@ -12,19 +12,21 @@ configure.ac: AM_STDBOOL_H Makefile.am: -nodist_pkginclude_HEADERS += $(STDBOOL_H) -EXTRA_HEADERS += stdbool.h - BUILT_SOURCES += $(STDBOOL_H) # We need the following in order to create when the system # doesn't have one that works. -stdbool.h: stdbool.in.h +if GL_GENERATE_STDBOOL_H +stdbool.h: stdbool.in.h $(top_builddir)/config.status $(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 $@ +else +stdbool.h: $(top_builddir)/config.status + rm -f $@ +endif MOSTLYCLEANFILES += stdbool.h stdbool.h-t Include: