X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fsched;h=e0a3936b2ec5b0c56014227bb3f3a889b729a9b1;hb=2f0357585d836b7349192ea4276b78adfd551cbc;hp=d126fc761644ffb174b8487152ff31a3163a15de;hpb=4013d14c4b1f18cb4b665a0a47ad80ce3224d25d;p=gnulib.git diff --git a/modules/sched b/modules/sched index d126fc761..e0a3936b2 100644 --- a/modules/sched +++ b/modules/sched @@ -16,7 +16,8 @@ BUILT_SOURCES += $(SCHED_H) # We need the following in order to create a replacement for when # the system doesn't have one. -sched.h: sched.in.h +if GL_GENERATE_SCHED_H +sched.h: sched.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \ @@ -28,6 +29,10 @@ sched.h: sched.in.h < $(srcdir)/sched.in.h; \ } > $@-t && \ mv $@-t $@ +else +sched.h: $(top_builddir)/config.status + rm -f $@ +endif MOSTLYCLEANFILES += sched.h sched.h-t Include: