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: Pretest Date: Mon, 30 Oct 2006 17:04:50 -0500 Message-ID: <87fyd5ihod.fsf@stupidchicken.com> References: <87lkn1tzav.fsf@stupidchicken.com> <87wt6ka3ij.fsf@stupidchicken.com> <87ejssjhh0.fsf@furball.mit.edu> <878xiysrf7.fsf@furball.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162246169 31478 80.91.229.2 (30 Oct 2006 22:09:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2006 22:09:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 30 23:09:26 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GefFT-00048N-LX for ged-emacs-devel@m.gmane.org; Mon, 30 Oct 2006 23:04:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GefFS-00010f-VM for ged-emacs-devel@m.gmane.org; Mon, 30 Oct 2006 17:04:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GefFJ-00010Z-1Y for emacs-devel@gnu.org; Mon, 30 Oct 2006 17:04:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GefFD-0000zt-Or for emacs-devel@gnu.org; Mon, 30 Oct 2006 17:04:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GefFD-0000zq-LV for emacs-devel@gnu.org; Mon, 30 Oct 2006 17:04:35 -0500 Original-Received: from [18.19.1.138] (helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GefF7-0004t3-VD; Mon, 30 Oct 2006 17:04:30 -0500 Original-Received: by cyd (Postfix, from userid 1000) id CFE2B4E437; Mon, 30 Oct 2006 17:04:50 -0500 (EST) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Mon\, 30 Oct 2006 23\:50\:45 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) 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:61433 Archived-At: Eli Zaretskii writes: > Something very strange is going on here: I unpacked the pretest > tarball in a different directory, and it builds there even with the > original configure script. > > So I think the configure script is not the problem here. I will try > to look deeper when I have time; in the meantime, let's continue the > pretest as if this problem never happened. I wonder if this is related to the problem reported by Martin Ebourne in the thread "Small fix to configure.in in CVS". He said: > > The problem I had was that I was building to a prefix directory that > > included the word 'linux'. The emacs configure was preprocessing the > > Makefile through the C preprocessor, and this was substituting > > 'linux' to 1, thus making all the paths invalid. I haven't checked in the patch he supplied yet, since I was trying to figure out whether the problem really exists. However, if the patch fixes the problem for you, I guess we should check it in. --- emacs/configure.in~ 2006-09-28 06:47:26.000000000 +0100 +++ emacs/configure.in 2006-10-25 13:50:29.000000000 +0100 @@ -3230,7 +3230,7 @@ # 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. -[undefs="`echo $top_srcdir $configuration $canonical | +[undefs="`echo $ac_top_srcdir $configuration $canonical | sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \ `"]