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: Building Emacs from a new MinGW environment Date: Thu, 19 Sep 2013 11:45:08 +0300 Message-ID: <83bo3pmc8b.fsf@gnu.org> References: <83sixwfdjk.fsf@gnu.org> <834n9nhhp6.fsf@gnu.org> <83ppsbfoe7.fsf@gnu.org> <83mwnffkom.fsf@gnu.org> <83k3ijfhk0.fsf@gnu.org> <83hadnf7gs.fsf@gnu.org> <83hadmqvql.fsf@gnu.org> <83txhkpszv.fsf@gnu.org> <83pps8pnc9.fsf@gnu.org> <83ob7splia.fsf@gnu.org> <83k3ifq5o5.fsf@gnu.org> <83d2o7q28r.fsf@gnu.org> <8338p3pded.fsf@gnu.org> <83r4cmo9m2.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1379580318 1238 80.91.229.3 (19 Sep 2013 08:45:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Sep 2013 08:45:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 19 10:45:21 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VMZrV-0006Eq-3l for ged-emacs-devel@m.gmane.org; Thu, 19 Sep 2013 10:45:21 +0200 Original-Received: from localhost ([::1]:50149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMZrU-0004H5-NS for ged-emacs-devel@m.gmane.org; Thu, 19 Sep 2013 04:45:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMZrN-0004Gy-Oy for emacs-devel@gnu.org; Thu, 19 Sep 2013 04:45:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMZrI-0004sf-O3 for emacs-devel@gnu.org; Thu, 19 Sep 2013 04:45:13 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:49828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMZrI-0004sB-HB for emacs-devel@gnu.org; Thu, 19 Sep 2013 04:45:08 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MTD00F006O8KO00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Thu, 19 Sep 2013 11:45:07 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MTD00F316Z62U60@a-mtaout23.012.net.il>; Thu, 19 Sep 2013 11:45:06 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:163456 Archived-At: > Date: Wed, 18 Sep 2013 11:32:09 +0200 > From: Dani Moncayo > Cc: Emacs development discussions > > > test "$MSYSTEM" = "MINGW32" && srcdir=`(cd "$srcdir"; pwd -W | sed -e 's,^\([A-Za-z]\):,/\1,')` > > > > It should produce srcdir in the /d/foo/bar format. > > It didn't produce that format, because the configure script generated > by "autogen.sh" a slightly different version of that line: the square > brackets in "[A-Za-z]" were removed. > > I managed to get the intended conversion with this line in "configure.ac": > > test "$MSYSTEM" = "MINGW32" && srcdir=`(cd "$srcdir"; pwd -W | sed > -e 's,^\([[A-Za-z]]\):,/\1,')` > > With that change, now the only problems remaining are the crashes I > get much later in the bootstraping, when Emacs compiles certain Elisp > files. I have now installed this change in configure.ac, with a suitable commentary. Thanks.