From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#8497: Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS) Date: Fri, 15 Apr 2011 21:51:00 -0400 Message-ID: References: <20110404090605.9635.62532.reportbug@virgil.dodds.net> <87sjtl4hbg.fsf@raven.defaultvalue.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1302919654 11541 80.91.229.12 (16 Apr 2011 02:07:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Apr 2011 02:07:34 +0000 (UTC) Cc: Steve Langasek , 8497@debbugs.gnu.org To: Rob Browning Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 16 04:07:29 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QAuv2-0005en-Ed for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Apr 2011 04:07:28 +0200 Original-Received: from localhost ([::1]:57491 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAuv1-00082X-UG for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Apr 2011 22:07:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAuuz-00082D-EO for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2011 22:07:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAuuy-0005XN-8T for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2011 22:07:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAuuy-0005XJ-5c for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2011 22:07:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QAug5-0008T7-TP; Fri, 15 Apr 2011 21:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Apr 2011 01:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8497 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8497-submit@debbugs.gnu.org id=B8497.130291866732492 (code B ref 8497); Sat, 16 Apr 2011 01:52:01 +0000 Original-Received: (at 8497) by debbugs.gnu.org; 16 Apr 2011 01:51:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAufD-0008S1-KW for submit@debbugs.gnu.org; Fri, 15 Apr 2011 21:51:07 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAufC-0008RZ-De for 8497@debbugs.gnu.org; Fri, 15 Apr 2011 21:51:06 -0400 Original-Received: from localhost ([127.0.0.1]:42668) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAuf6-0004IZ-UH; Fri, 15 Apr 2011 21:51:01 -0400 X-Spook: nuclear Compsec FSF counter intelligence counter X-Ran: HwNccTd:Hoc"FIRQkV2]gbCvAN-XV~x%y~u#n,b~k*|Kc]zB>$}qk!"TNeA~\a?OEoY1`u X-Hue: yellow X-Attribution: GM In-Reply-To: <87sjtl4hbg.fsf@raven.defaultvalue.org> (Rob Browning's message of "Wed, 13 Apr 2011 22:56:03 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 15 Apr 2011 21:52:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45832 Archived-At: Rob Browning wrote: > (If possible, please preserve the 620795-forwarded address in any replies.) Sorry, not so long as bug#63995 exists. >> The attached patch partially addresses this by undefining any macros that >> happen to exist for the portion of the architecture triplet. Note the following in configure.in attempts to do this kind of thing already: # Now get this: Some word that is part of the ${srcdir} directory name # or the ${configuration} value might, just might, happen to be an # identifier like `sun4' or `i386' or something, and be predefined by # the C preprocessor to some helpful value like 1, or maybe the empty # string. Needless to say consequent macro substitutions are less # than conducive to the makefile finding the correct directory. [cpp_undefs="`echo $srcdir $configuration $canonical unix | sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"] so it's not obvious to me why you need to do more (maybe $canonical is i686-something but your directories are i386-something?).