From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Why and not "config.h" ? Date: Wed, 28 Jul 2010 08:30:31 +0200 Message-ID: <4C4FCE87.4090600@swipnet.se> References: <87wrsgs5t3.fsf@telefonica.net> <87y6cwz6bq.fsf@catnip.gol.com> <87sk34s2ws.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1280298649 1068 80.91.229.12 (28 Jul 2010 06:30:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2010 06:30:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?ISO-8859-1?Q?=D3scar_Fuentes?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 28 08:30:48 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 1Oe0AB-0006Vn-C9 for ged-emacs-devel@m.gmane.org; Wed, 28 Jul 2010 08:30:47 +0200 Original-Received: from localhost ([127.0.0.1]:57254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oe0AA-0006IR-Cv for ged-emacs-devel@m.gmane.org; Wed, 28 Jul 2010 02:30:46 -0400 Original-Received: from [140.186.70.92] (port=46577 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oe0A2-0006H7-3C for emacs-devel@gnu.org; Wed, 28 Jul 2010 02:30:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oe0A0-00084r-Sx for emacs-devel@gnu.org; Wed, 28 Jul 2010 02:30:38 -0400 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]:54375) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe0A0-00084T-K0 for emacs-devel@gnu.org; Wed, 28 Jul 2010 02:30:36 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 744A8E99F6 for ; Wed, 28 Jul 2010 08:30:33 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArE3AAtrT0xV4S0jPGdsb2JhbACHZpgEDAEBAQE1LcA5hTYE X-IronPort-AV: E=Sophos;i="4.55,272,1278280800"; d="scan'208";a="111615615" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb1.telenor.se with ESMTP; 28 Jul 2010 08:30:33 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 762E57FA05A; Wed, 28 Jul 2010 08:30:32 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 In-Reply-To: <87sk34s2ws.fsf@telefonica.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:127911 Archived-At: =D3scar Fuentes skrev 2010-07-28 05.25: > 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 bui= ld >> with an out-of-tree object directory _after_ having previously built i= n >> 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? Yes, I think it should. > >> 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 thos= e > 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. That doesn't happen. elc-files are portable, and DOC should be also. elc-files are in-tree even with an out-tree build, that is one of the nic= e=20 things, not having to do make bootstrap all the time. But for the most part, what starts as an in-tree build gets moved to an=20 out-build tree, mostly because a bug fix became a longer project than jus= t the=20 simple quick-fix. > > So I agree that "don't do that" should be the right answer. > Considering that <> enables a real use-case and "" does not, and the fact= that=20 using "" gives exactly no benefits what so ever, please stick to <>. It = is=20 not even less to type. I can't imagine any reason for switching now. Jan D.