From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Meyering Newsgroups: gmane.emacs.devel Subject: Re: build from source fails on fedora-12 (with gcc 4.4.2) Date: Fri, 23 Oct 2009 17:21:29 +0200 Message-ID: <87y6n2xhja.fsf@meyering.net> References: <87vdi61u3d.fsf@meyering.net> <87ws2mrw6z.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1256311318 24693 80.91.229.12 (23 Oct 2009 15:21:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2009 15:21:58 +0000 (UTC) Cc: Emacs development discussions To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 23 17:21:51 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 1N1Lxc-0008GC-RD for ged-emacs-devel@m.gmane.org; Fri, 23 Oct 2009 17:21:49 +0200 Original-Received: from localhost ([127.0.0.1]:49217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1Lxb-0001iE-Ti for ged-emacs-devel@m.gmane.org; Fri, 23 Oct 2009 11:21:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1LxW-0001he-Hz for emacs-devel@gnu.org; Fri, 23 Oct 2009 11:21:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1LxR-0001fm-As for emacs-devel@gnu.org; Fri, 23 Oct 2009 11:21:41 -0400 Original-Received: from [199.232.76.173] (port=41967 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1LxR-0001fj-4r for emacs-devel@gnu.org; Fri, 23 Oct 2009 11:21:37 -0400 Original-Received: from smtp3-g21.free.fr ([212.27.42.3]:48885) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N1LxQ-0000bI-BR for emacs-devel@gnu.org; Fri, 23 Oct 2009 11:21:37 -0400 Original-Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id BDDEF81803B for ; Fri, 23 Oct 2009 17:21:32 +0200 (CEST) Original-Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp3-g21.free.fr (Postfix) with ESMTP id E2337818147 for ; Fri, 23 Oct 2009 17:21:29 +0200 (CEST) Original-Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id C456D59936; Fri, 23 Oct 2009 17:21:29 +0200 (CEST) In-Reply-To: <87ws2mrw6z.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 23 Oct 2009 11:01:24 -0400") Original-Lines: 20 X-detected-operating-system: by monty-python.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:116331 Archived-At: 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.