From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: preprocessing Makefile Date: Thu, 19 Jul 2007 12:02:26 +0200 Message-ID: <873azkzp71.fsf@ambire.localdomain> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184839428 11957 80.91.229.12 (19 Jul 2007 10:03:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2007 10:03:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alexander Klimov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 19 12:03:45 2007 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.50) id 1IBSrH-0004RH-CU for ged-emacs-devel@m.gmane.org; Thu, 19 Jul 2007 12:03:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBSrF-0000mw-BK for ged-emacs-devel@m.gmane.org; Thu, 19 Jul 2007 06:03:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IBSr0-0000mb-Vk for emacs-devel@gnu.org; Thu, 19 Jul 2007 06:03:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IBSqy-0000m2-EH for emacs-devel@gnu.org; Thu, 19 Jul 2007 06:03:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBSqx-0000lu-GI for emacs-devel@gnu.org; Thu, 19 Jul 2007 06:03:23 -0400 Original-Received: from smtp-out2.libero.it ([212.52.84.42]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IBSqw-0001SZ-Go for emacs-devel@gnu.org; Thu, 19 Jul 2007 06:03:22 -0400 Original-Received: from localhost (172.31.0.51) by smtp-out2.libero.it (7.3.120) id 4688F31B01AF17C2 for emacs-devel@gnu.org; Thu, 19 Jul 2007 12:02:53 +0200 X-Scanned: with antispam and antivirus automated system at libero.it Original-Received: from smtp-out1.libero.it ([172.31.0.37]) by localhost (asav-out10.libero.it [192.168.32.38]) (amavisd-new, port 10024) with ESMTP id AtTxvJiaREWK for ; Thu, 19 Jul 2007 12:02:52 +0200 (CEST) Original-Received: from outrelay08.libero.it (192.168.32.103) by smtp-out1.libero.it (7.3.120) id 4611FC910821C525 for emacs-devel@gnu.org; Thu, 19 Jul 2007 12:02:52 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAPvTnkaXFSCK/2dsb2JhbACBTQ Original-Received: from ppp-138-32.21-151.libero.it (HELO ambire.localdomain) ([151.21.32.138]) by OutRelay-b08.libero.it with ESMTP; 19 Jul 2007 12:03:01 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1IBSq2-0003js-Nt; Thu, 19 Jul 2007 12:02:26 +0200 In-Reply-To: (Alexander Klimov's message of "Thu\, 19 Jul 2007 12\:41\:57 +0300 \(IDT\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:75116 Archived-At: () Alexander Klimov () Thu, 19 Jul 2007 12:41:57 +0300 (IDT) One solution is to set CPP="gcc -E -undef" or at least -Ulinux in my case, but I am not sure if this does not introduce other problems (currently bootstrap fails for me even on a system that does not have this problem with paths). another one is to ditch the preprocessing altogether, shifting such configuration duties fully to autoconf. i wonder why this was never done. too hairy? certainly mucking w/ the preprocessor (generally, build flow) was a large part of the pain for the vms port. i understand that early autoconf was not up to the task of configuring emacs, but perhaps these days it can be cajoled to DTRT. does anyone object to this kind of revamp? if so, why? thi