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 12:19:45 -0400 Message-ID: <87skda84m6.fsf@stupidchicken.com> References: <87vdi61u3d.fsf@meyering.net> <87ws2mrw6z.fsf@stupidchicken.com> <87y6n2xhja.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 1256314806 4050 80.91.229.12 (23 Oct 2009 16:20:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2009 16:20:06 +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 18:19:59 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 1N1Mrs-0002nD-Io for ged-emacs-devel@m.gmane.org; Fri, 23 Oct 2009 18:19:56 +0200 Original-Received: from localhost ([127.0.0.1]:56316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1Mrr-0008Tp-To for ged-emacs-devel@m.gmane.org; Fri, 23 Oct 2009 12:19:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1Mrn-0008Sz-Lf for emacs-devel@gnu.org; Fri, 23 Oct 2009 12:19:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1Mri-0008QS-OT for emacs-devel@gnu.org; Fri, 23 Oct 2009 12:19:51 -0400 Original-Received: from [199.232.76.173] (port=46476 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1Mri-0008QL-I5 for emacs-devel@gnu.org; Fri, 23 Oct 2009 12:19:46 -0400 Original-Received: from pantheon-po39.its.yale.edu ([130.132.50.100]:39371) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N1Mri-0000tf-9y for emacs-devel@gnu.org; Fri, 23 Oct 2009 12:19:46 -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 n9NGJjvb021869 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Oct 2009 12:19:45 -0400 Original-Received: by furry (Postfix, from userid 1000) id A1D97C070; Fri, 23 Oct 2009 12:19:45 -0400 (EDT) In-Reply-To: <87y6n2xhja.fsf@meyering.net> (Jim Meyering's message of "Fri, 23 Oct 2009 17:21:29 +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:116334 Archived-At: Jim Meyering writes: > Chong Yidong wrote: > >> 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? > > I verified that /usr/lib/cpp on Solaris 10 and FreeBSD 6.1 both support -P. > I think it's been in every cpp since the beginning. OK, I've checked in your patch. Thanks.