+Thu Sep 7 12:48:01 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * Makefile.in (do_distclean): Remove config.h and stamp-h.
+ (Makefile): Just rebuild Makefile.
+ (config.h, stamp-h): New targets.
+ * configure.in: Create stamp-h when rebuilding config.h.
+ * configure: Rebuild.
+
Wed Sep 6 15:00:33 1995 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Call AC_CONFIG_HEADER. Substitute
rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles \
elf32-target.h elf64-target.h
do_distclean: do_clean
- rm -f Makefile config.status config.cache
+ rm -f Makefile config.status config.cache config.h stamp-h
# Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
# make-stds.texi says it depends on whether they can be regenerated using
fi
Makefile: Makefile.in config.status
- $(SHELL) config.status
+ CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
+
+config.h: stamp-h ; @true
+stamp-h: config.h.in config.status
+ CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
config.status: configure configure.host config.bfd
$(SHELL) config.status --recheck
AC_SUBST(tdefaults)
rm -f doc/config.status
-AC_OUTPUT(Makefile doc/Makefile)
+AC_OUTPUT(Makefile doc/Makefile,
+[case x$CONFIG_HEADERS in xconfig.h) echo > stamp-h ;; esac])