From: Andreas Jaeger Date: Thu, 17 May 2001 08:47:10 +0000 (+0200) Subject: Makefile.in: Add rules to rebuild config.h.in when needed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0314a6ce8ba2b844056660c66d8cb6149faf1419;p=gcc.git Makefile.in: Add rules to rebuild config.h.in when needed. * libI77/Makefile.in: Add rules to rebuild config.h.in when needed. From-SVN: r42191 --- diff --git a/libf2c/ChangeLog b/libf2c/ChangeLog index 5bc46653512..5e684aa83ef 100644 --- a/libf2c/ChangeLog +++ b/libf2c/ChangeLog @@ -1,3 +1,8 @@ +2001-05-17 Andreas Jaeger + + * libI77/Makefile.in: Add rules to rebuild config.h.in when + needed. + 2001-05-16 Andreas Jaeger * libI77/backspace.c: Include "config.h". diff --git a/libf2c/libI77/Makefile.in b/libf2c/libI77/Makefile.in index 397474c9911..01902f03ca6 100644 --- a/libf2c/libI77/Makefile.in +++ b/libf2c/libI77/Makefile.in @@ -81,6 +81,17 @@ ${srcdir}/configure: configure.in rm -f config.cache cd ${srcdir} && autoconf +# autoheader might not change config.h.in, so touch a stamp file. +${srcdir}/config.h.in: stamp-h.in +${srcdir}/stamp-h.in: configure.in + (cd ${srcdir} && autoheader) + @rm -f ${srcdir}/stamp-h.in + echo timestamp > ${srcdir}/stamp-h.in + +config.h: stamp-h; @true +stamp-h: config.h.in config.status + $(SHELL) config.status + VersionI.o: Version.c $(CC) -c $(ALL_CFLAGS) -o $@ $(srcdir)/Version.c