From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-15?q?J=E9r=F4me_Marant?= Newsgroups: gmane.emacs.devel Subject: [PATCH] [Peter Dyballa] --enable-locallisppath=PATH does not work when PATH contains space Date: Tue, 07 Jun 2005 22:32:47 +0200 Message-ID: <87br6hsya8.fsf@marant.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1118176437 7933 80.91.229.2 (7 Jun 2005 20:33:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2005 20:33:57 +0000 (UTC) Cc: Peter Dyballa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 07 22:33:55 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dfkim-00045s-Pm for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2005 22:30:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfkpM-00067H-Ox for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2005 16:37:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dfkp7-00066Y-LA for emacs-devel@gnu.org; Tue, 07 Jun 2005 16:37:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dfkp4-00064l-LP for emacs-devel@gnu.org; Tue, 07 Jun 2005 16:37:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dfkp4-00064a-Fa for emacs-devel@gnu.org; Tue, 07 Jun 2005 16:37:18 -0400 Original-Received: from [213.228.0.44] (helo=postfix3-1.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DfkoF-0003nh-A1 for emacs-devel@gnu.org; Tue, 07 Jun 2005 16:36:27 -0400 Original-Received: from amboise (mol92-4-82-227-97-206.fbx.proxad.net [82.227.97.206]) by postfix3-1.free.fr (Postfix) with ESMTP id 74C311735B5; Tue, 7 Jun 2005 22:32:54 +0200 (CEST) Original-Received: by amboise (Postfix, from userid 1000) id DFF8A3C243; Tue, 7 Jun 2005 22:32:47 +0200 (CEST) Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (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:38276 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38276 Hi, The following patch seems to fix the problem. Please confirm. Regards, diff -u -r emacs.orig/ChangeLog emacs/ChangeLog --- emacs.orig/ChangeLog 2005-06-07 22:07:31.466158056 +0200 +++ emacs/ChangeLog 2005-06-07 22:26:48.707230672 +0200 @@ -1,3 +1,8 @@ +2005-06-07 J=E9r=F4me Marant + + * Makefile.in (epaths-force): Protect both lisppath + and buildlisppath from whitespaces. + 2005-06-06 Jan Dj=E4rv =20 * configure.in (HAVE_CANCELMENUTRACKING): New test. diff -u -r emacs.orig/Makefile.in emacs/Makefile.in --- emacs.orig/Makefile.in 2004-12-23 22:40:31.000000000 +0100 +++ emacs/Makefile.in 2005-06-07 22:19:39.384497648 +0200 @@ -260,8 +260,8 @@ x_default_search_path=3D`echo ${x_default_search_path}`; \ gamedir=3D`echo ${gamedir}`; \ sed < ${srcdir}/src/epaths.in > epaths.h.$$$$ \ - -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \ - -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \ + -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'"$${lisppath}"'";' \ + -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'"$${buildlisppath}"'";' \ -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \ -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \ -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \ --=20 J=E9r=F4me Marant