From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Supporting parameters that include the = character in configure.bat Date: Sun, 10 Apr 2011 04:14:40 -0400 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1302423299 18185 80.91.229.12 (10 Apr 2011 08:14:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2011 08:14:59 +0000 (UTC) Cc: Emacs-devel@gnu.org To: Ben Key Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 10 10:14:55 2011 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.69) (envelope-from ) id 1Q8pnL-0004SU-1j for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2011 10:14:55 +0200 Original-Received: from localhost ([127.0.0.1]:33290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8pnJ-0005SB-Bs for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2011 04:14:53 -0400 Original-Received: from [140.186.70.92] (port=34298 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8pn8-0005Rg-Qv for Emacs-devel@gnu.org; Sun, 10 Apr 2011 04:14:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8pn7-0005op-18 for Emacs-devel@gnu.org; Sun, 10 Apr 2011 04:14:42 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:43353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8pn6-0005ok-TK for Emacs-devel@gnu.org; Sun, 10 Apr 2011 04:14:40 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Q8pn6-0004dX-Oi; Sun, 10 Apr 2011 04:14:40 -0400 In-reply-to: (message from Ben Key on Sun, 10 Apr 2011 02:51:34 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:138347 Archived-At: > From: Ben Key > Date: Sun, 10 Apr 2011 02:51:34 -0500 > Cc: > > The key here is the usage of the ~ character between the % and the 1. This > essentially causes " characters around the parameter to be removed. Thus > when this batch file is called as follows > test.bat --cflags "-DSITELOAD_PURESIZE_EXTRA=100000" --cflags "-DTEST=1" > the output is as follows > usercflags=-DSITELOAD_PURESIZE_EXTRA=100000 -DTEST=1 > > As long as the parameter is surrounded by " characters, the = character will > not be treated as a separator. Thanks! > The major drawback of this is that it will not work on Windows 9x because > command.com does not support this functionality. This isn't a problem, because we don't support building Emacs on Windows 9X anyway. So please prepare a patch along these lines. It should include a corresponding addition to the "usage" text in the batch file and a similar addition to instructions in nt/INSTALL. Thanks again for working on this.