From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: build from source fails on fedora-12 (with gcc 4.4.2) Date: Fri, 23 Oct 2009 11:01:24 -0400 Message-ID: <87ws2mrw6z.fsf@stupidchicken.com> References: <87vdi61u3d.fsf@meyering.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1256310671 22511 80.91.229.12 (23 Oct 2009 15:11:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2009 15:11:11 +0000 (UTC) Cc: Emacs development discussions To: Jim Meyering Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 23 17:11:04 2009 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 1N1Ln9-0002yB-Ld for ged-emacs-devel@m.gmane.org; Fri, 23 Oct 2009 17:10:59 +0200 Original-Received: from localhost ([127.0.0.1]:51857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1Ln9-0005VW-2L for ged-emacs-devel@m.gmane.org; Fri, 23 Oct 2009 11:10:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1Le3-0001c1-1a for emacs-devel@gnu.org; Fri, 23 Oct 2009 11:01:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1Ldw-0001YM-C4 for emacs-devel@gnu.org; Fri, 23 Oct 2009 11:01:34 -0400 Original-Received: from [199.232.76.173] (port=60821 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1Ldw-0001YE-3f for emacs-devel@gnu.org; Fri, 23 Oct 2009 11:01:28 -0400 Original-Received: from pantheon-po39.its.yale.edu ([130.132.50.100]:55369) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N1Ldv-00068O-LI for emacs-devel@gnu.org; Fri, 23 Oct 2009 11:01:27 -0400 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po39.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9NF1Pd4006805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Oct 2009 11:01:26 -0400 Original-Received: by furry (Postfix, from userid 1000) id ED838C070; Fri, 23 Oct 2009 11:01:24 -0400 (EDT) In-Reply-To: <87vdi61u3d.fsf@meyering.net> (Jim Meyering's message of "Fri, 23 Oct 2009 08:51:18 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/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:116330 Archived-At: Jim Meyering writes: > Here's the patch: > > FYI, at first I thought it was a bug in gcc and reported it, > but Jakub Jelinek explained that it is a feature, and > suggested the work-around of using -P. > > * configure.in: Use $CPP's -P option when creating Makefile and > src/Makefile. This is required with at least by gcc 4.4.2, which > is part of fedora 12. Otherwise, each backslash-newline pair in > the input would be mistakenly converted to a bare newline, yielding > invalid Makefiles. Is this backward compatible with older gcc/cpp's?