This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Prevent needless autoconf run in libcpp


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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]