From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9106: 24.0.50; ./configure causes massive recompilation Date: Mon, 18 Jul 2011 21:37:02 +0300 Message-ID: <83livv77w1.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1311014799 1789 80.91.229.12 (18 Jul 2011 18:46:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 18:46:39 +0000 (UTC) Cc: 9106@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 18 20:46:33 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qispt-0004wq-BB for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 20:46:33 +0200 Original-Received: from localhost ([::1]:43624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qisps-0006cZ-Fp for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 14:46:32 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qishl-0004Bl-BQ for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 14:38:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qishh-00082I-69 for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 14:38:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qishg-00081u-Ok for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 14:38:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qishe-0001wd-W9; Mon, 18 Jul 2011 14:38:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Jul 2011 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9106 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9106-submit@debbugs.gnu.org id=B9106.13110142407421 (code B ref 9106); Mon, 18 Jul 2011 18:38:02 +0000 Original-Received: (at 9106) by debbugs.gnu.org; 18 Jul 2011 18:37:20 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qisgt-0001vb-Vt for submit@debbugs.gnu.org; Mon, 18 Jul 2011 14:37:19 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qisgl-0001ts-PA for 9106@debbugs.gnu.org; Mon, 18 Jul 2011 14:37:11 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LOJ00J00L03S600@a-mtaout22.012.net.il> for 9106@debbugs.gnu.org; Mon, 18 Jul 2011 21:37:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.133.66]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LOJ00JDML1P8B70@a-mtaout22.012.net.il>; Mon, 18 Jul 2011 21:37:02 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 18 Jul 2011 14:38:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49420 Archived-At: > From: Glenn Morris > Cc: 9106@debbugs.gnu.org > Date: Mon, 18 Jul 2011 13:48:45 -0400 > > Eli Zaretskii wrote: > > > Invocation of the `configure' script causes recompilation of many > > source files, even though nothing has really changed. > > Why do you want to re-run configure - can you get away with just `make'? How can I know? I just did a "bzr up", and I don't want to analyze every file that got updated to see if a mere "make" will do. E.g., what if some Makefile.in got updated? It used to be the case that if the results of running `configure' didn't change anything of essence, "make" would do nothing. This worked by producing the generated files under temporary names and by using move-if-change to overwrite the old files if the new ones were different. Why cannot we extend this method to the additional files we generate now? > In principle, almost anything could have changed if you have re-run > configure (?). Eg you could in principle be compiling for a different > arch now. I'm not sure it's possible to distinguish those cases from > cases where nothing has really changed. Of course, it's possible: several files, such as src/config.h, will be different. We just need to compare them before we overwrite the old ones with new.