[PATCH] Prevent needless autoconf run in libcpp
Thiemo Seufer
ths@networkno.de
Mon Feb 25 19:18:00 GMT 2008
libcpp:Makefile.in currently defines a dependency of config.in on
configure. This, in conjunction with the stamp rule immediately
above, causes a re-run of autoconf for the _second_ make invocation,
i.e. for "make install" after a successful build. I believe the
dependency should be on configure.ac.
This problem persists since at least GCC 4.2, I haven't checked
earlier versions.
Thiemo
2008-02-25 Thiemo Seufer <ths@mips.com>
Makefile.in ($(srcdir)/config.in): Depend on configure.ac.
Index: libcpp/Makefile.in
===================================================================
--- libcpp/Makefile.in (revision 132632)
+++ libcpp/Makefile.in (working copy)
@@ -119,7 +119,7 @@
-rm -f stamp-h1
$(SHELL) ./config.status config.h
-$(srcdir)/config.in: @MAINT@ $(srcdir)/configure
+$(srcdir)/config.in: @MAINT@ $(srcdir)/configure.ac
cd $(srcdir) && $(AUTOHEADER)
-rm -f stamp-h1
More information about the Gcc-patches
mailing list