X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstdbool;h=cfb9aac84c681984d8452308a339d74f67a6e43e;hb=05e8da350f850e41a7671f58824554415f2b6b95;hp=709981c58a1b59d3e89f9b29f7faeff6881d694f;hpb=67b5f8454f6e0c74cd65228e9f48aa6f1a825daa;p=gnulib.git diff --git a/modules/stdbool b/modules/stdbool index 709981c58..cfb9aac84 100644 --- a/modules/stdbool +++ b/modules/stdbool @@ -16,16 +16,21 @@ 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 - rm -f $@-t $@ +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 + } > $@-t && \ mv $@-t $@ +else +stdbool.h: $(top_builddir)/config.status + rm -f $@ +endif MOSTLYCLEANFILES += stdbool.h stdbool.h-t Include: -#include + License: LGPLv2+