X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Falloca-opt;h=d4468de5cf52bc0d3ecacd1ab9b490454181f8b4;hb=7ef6c64e210ac0979d7e8ac69bc5b5208c2405ab;hp=9ced93b293aa8eab1c0dbe58aac57ee43facf948;hpb=4013d14c4b1f18cb4b665a0a47ad80ce3224d25d;p=gnulib.git diff --git a/modules/alloca-opt b/modules/alloca-opt index 9ced93b29..d4468de5c 100644 --- a/modules/alloca-opt +++ b/modules/alloca-opt @@ -17,12 +17,17 @@ BUILT_SOURCES += $(ALLOCA_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. -alloca.h: alloca.in.h +if GL_GENERATE_ALLOCA_H +alloca.h: alloca.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat $(srcdir)/alloca.in.h; \ } > $@-t && \ mv -f $@-t $@ +else +alloca.h: $(top_builddir)/config.status + rm -f $@ +endif MOSTLYCLEANFILES += alloca.h alloca.h-t Include: