X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstdbool;h=cfb9aac84c681984d8452308a339d74f67a6e43e;hb=c9f0960c2cd1acf9c29b27860589698ea54fa4ec;hp=80fe2db8d565960ffb83cd3096540c2f7e2e80f8;hpb=6a9b156fdf9c71c0bbc8bb0b3aa0262df5674dda;p=gnulib.git diff --git a/modules/stdbool b/modules/stdbool index 80fe2db8d..cfb9aac84 100644 --- a/modules/stdbool +++ b/modules/stdbool @@ -16,12 +16,17 @@ 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: