From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ben Key Newsgroups: gmane.emacs.devel Subject: Re: Bootstrap failure with new configure.bat (was Re: Proposed change to nt/INSTALL) Date: Fri, 6 May 2011 00:39:09 -0500 Message-ID: References: <4DC230CF.8070803@gmail.com> <4DC2994D.8020103@gmail.com> <83iptpm68b.fsf@gnu.org> <83fwosnb69.fsf@gnu.org> <4DC33355.7050100@gmail.com> <4DC36ADD.6070808@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf30364013dbbf8f04a294e95d X-Trace: dough.gmane.org 1304660382 24558 80.91.229.12 (6 May 2011 05:39:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 May 2011 05:39:42 +0000 (UTC) Cc: Eli Zaretskii , Emacs-devel@gnu.org To: Christoph Scholtes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 06 07:39:38 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QIDlJ-0003ut-El for ged-emacs-devel@m.gmane.org; Fri, 06 May 2011 07:39:37 +0200 Original-Received: from localhost ([::1]:59729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIDlI-00073Q-5o for ged-emacs-devel@m.gmane.org; Fri, 06 May 2011 01:39:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIDlF-00073L-Kp for Emacs-devel@gnu.org; Fri, 06 May 2011 01:39:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QIDlE-0003s5-Or for Emacs-devel@gnu.org; Fri, 06 May 2011 01:39:33 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:50233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIDlD-0003rl-4v; Fri, 06 May 2011 01:39:31 -0400 Original-Received: by bwz17 with SMTP id 17so3124290bwz.0 for ; Thu, 05 May 2011 22:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=v4NB/ysTDVmQ8KT24H5KUfa2DJAEFQ61qBJJO96MAAA=; b=S2Mz3NqtPkl60yTON++UNW+kP8zLRn7Ow11wwra6jvxIhbUFnZTswMkz05CaVasU0w OYFUHkNFU8f0pMaGc03cB40Z77KKFFGhq5fXnJbUW1SlmMfjU+m+6fpKaClnyaOamgv4 0ey/rYDqVc40E9GzaWuNkMVh2joF2ergj9x0k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=FV1q3Acj8oosPfi037nC8y6gmrOBZyk0z61LqoAARA14rhQ7IwM57nfwRmgL4pJaFk WaOBlVPXufPyMh4XIVvRHbQz1wduQRJA84kKhrjjBP9vfKPYuYwsC/tKT4RGLTVdxaUl IDkAby+5dYdlr9jpcaeBIOUCVJZOh3vDn9rmg= Original-Received: by 10.205.24.9 with SMTP id rc9mr3103497bkb.92.1304660369194; Thu, 05 May 2011 22:39:29 -0700 (PDT) Original-Received: by 10.204.126.85 with HTTP; Thu, 5 May 2011 22:39:09 -0700 (PDT) In-Reply-To: <4DC36ADD.6070808@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139168 Archived-At: --20cf30364013dbbf8f04a294e95d Content-Type: text/plain; charset=ISO-8859-1 Hello Christoph, You gave me the vital clue that I needed to figure out why my change works for me but not for you. You are absolutely correct that the $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE) line is the one that is causing the problem. Your pointing out that line along with the fact that you do not have sh.exe on your PATH helped me to figure it out. I do have sh.exe in my path. And it turns out mingw32-make does use sh if it is available. The key is that, when sh is in use, ARGQUOTE is defined as ', not ". So my change works for me because I am using sh. Now, as for your suggestion to simply escape the quotes in the flag arguments, that would be possible, but it would only work if sh is not being used. So now I need to come up with a fix that will work for both sh and cmd. I have one in mind but I need to think it over a little more before I try it. I will submit a fix either tomorrow evening or sometime Saturday. --20cf30364013dbbf8f04a294e95d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Christoph,

You gave me the vital clue that I = needed to figure out why my change works for me but not for you.=A0 You are= absolutely correct that the
=A0 =A0 =A0=A0 $(MA= KE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=3D$(ARGQUOTE)$(CFLAGS) -DPURESIZE=3D= 5000000$(ARGQUOTE)
line is the one that is causing the problem.=A0 Your point= ing out that line along with the fact that you do not have sh.exe on your P= ATH helped me to figure it out.

I do have sh.exe in my path.=A0 And = it turns out mingw32-make does use sh if it is available.=A0 The key is tha= t, when sh is in use, ARGQUOTE is defined as ', not ".=A0 So my ch= ange works for me because I am using sh.

Now, as for your suggestion to simply escape the quotes in the flag arg= uments, that would be possible, but it would only work if sh is not being u= sed.

So now I need to come up with a fix that will work for both sh = and cmd.=A0 I have one in mind but I need to think it over a little more be= fore I try it.=A0 I will submit a fix either tomorrow evening or sometime S= aturday.

--20cf30364013dbbf8f04a294e95d--