From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Why and not "config.h" ? Date: Wed, 28 Jul 2010 05:25:55 +0200 Message-ID: <87sk34s2ws.fsf@telefonica.net> References: <87wrsgs5t3.fsf@telefonica.net> <87y6cwz6bq.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280287586 9070 80.91.229.12 (28 Jul 2010 03:26:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2010 03:26:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 28 05:26:25 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OdxHi-00063d-UQ for ged-emacs-devel@m.gmane.org; Wed, 28 Jul 2010 05:26:24 +0200 Original-Received: from localhost ([127.0.0.1]:50210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdxHf-0006Ie-Hn for ged-emacs-devel@m.gmane.org; Tue, 27 Jul 2010 23:26:19 -0400 Original-Received: from [140.186.70.92] (port=58003 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdxHX-0006HI-J6 for emacs-devel@gnu.org; Tue, 27 Jul 2010 23:26:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdxHU-0004Wv-Uy for emacs-devel@gnu.org; Tue, 27 Jul 2010 23:26:09 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:41885) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdxHU-0004Wm-KC for emacs-devel@gnu.org; Tue, 27 Jul 2010 23:26:08 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OdxHR-0005z1-Hk for emacs-devel@gnu.org; Wed, 28 Jul 2010 05:26:05 +0200 Original-Received: from 83.42.13.171 ([83.42.13.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jul 2010 05:26:05 +0200 Original-Received: from ofv by 83.42.13.171 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jul 2010 05:26:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 83.42.13.171 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:IrHjnxJi49UkRZPUqlKXmPnnb5g= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:127906 Archived-At: Miles Bader writes: > I think this was discussed recently, and I seem to recall that the > reason given was that "config.h" doesn't work if the user tries to build > with an out-of-tree object directory _after_ having previously built in > the source tree (without an intervening "make distclean" in the source > dir). Thanks. BTW, following that logic, shouldn't buildobj.h be included with curly braces as well? > Seems very silly to me ("don't do that!") but ... At this point I wonder how dangerous is to make that (an out of source build after an in-source build) since the out of source build puts lots of products on the source tree directory (.el, .elc, DOC...) Maybe those are identical on most cases, but think on the possibility of a bug on the Elisp machinary of the emacs executable created by one of the builds, being masked by the .el[c] files created by the other. So I agree that "don't do that" should be the right answer.