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: Latest EMACS on BZR trunk does not compile with MinGW Date: Thu, 05 Jun 2014 18:15:44 +0300 Message-ID: <83ppin5qvz.fsf@gnu.org> References: <80sinlu5kt.fsf@gmail.com> <538E2E90.4020706@cs.ucla.edu> <83mwdt8zkw.fsf@gnu.org> <83lhtd892x.fsf@gnu.org> <83tx807qdx.fsf@gnu.org> <83k38w7k7i.fsf@gnu.org> <83ha407j92.fsf@gnu.org> <834n006pcg.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1401981386 21613 80.91.229.3 (5 Jun 2014 15:16:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2014 15:16:26 +0000 (UTC) Cc: vincent.b.1@hotmail.fr, eggert@cs.ucla.edu, emacs-devel@gnu.org, dmoncayo@gmail.com To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 05 17:16:16 2014 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 1WsZOp-0006EK-1s for ged-emacs-devel@m.gmane.org; Thu, 05 Jun 2014 17:16:15 +0200 Original-Received: from localhost ([::1]:42036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsZOo-00008b-7O for ged-emacs-devel@m.gmane.org; Thu, 05 Jun 2014 11:16:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsZOe-00005G-F5 for emacs-devel@gnu.org; Thu, 05 Jun 2014 11:16:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsZOY-00023K-Dl for emacs-devel@gnu.org; Thu, 05 Jun 2014 11:16:04 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:34999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsZOX-00021r-Bq for emacs-devel@gnu.org; Thu, 05 Jun 2014 11:15:58 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N6P00300BC87L00@mtaout25.012.net.il> for emacs-devel@gnu.org; Thu, 05 Jun 2014 18:12:27 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6P002W4BKRNB10@mtaout25.012.net.il>; Thu, 05 Jun 2014 18:12:27 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 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:172366 Archived-At: > From: Stefan Monnier > Cc: dmoncayo@gmail.com, vincent.b.1@hotmail.fr, eggert@cs.ucla.edu, emacs-devel@gnu.org > Date: Thu, 05 Jun 2014 09:31:50 -0400 > > One more thing: what is this test *really* trying to figure out? > You say that the "uname" output is not very useful, but I don't > understand why > > case "$(uname -a)" in > *MINGW* | *MinGW* ) ... > esac > > wouldn't give the right answer. How is that different from what config.guess already does? The problem, as I see it, is that we need to know the results much earlier than config.guess is run. But I'm not an expert on Autotools, so if there's a clean way of calling config.guess early, that might be it. Alternatively, as I wrote elsewhere, we might not try so hard to detect MinGW up front, but just error out when we find out the host is MinGW, but MSYSTEM is not set. That might be a good enough solution with a much smaller footprint.