From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Latest EMACS on BZR trunk does not compile with MinGW Date: Thu, 05 Jun 2014 12:50:29 -0400 Message-ID: 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> <83ppin5qvz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1401987089 807 80.91.229.3 (5 Jun 2014 16:51:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2014 16:51:29 +0000 (UTC) Cc: vincent.b.1@hotmail.fr, eggert@cs.ucla.edu, emacs-devel@gnu.org, dmoncayo@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 05 18:51:22 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 1Wsasq-0006dq-It for ged-emacs-devel@m.gmane.org; Thu, 05 Jun 2014 18:51:20 +0200 Original-Received: from localhost ([::1]:42676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wsasq-0007a7-9c for ged-emacs-devel@m.gmane.org; Thu, 05 Jun 2014 12:51:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wsasf-0007Kd-Gl for emacs-devel@gnu.org; Thu, 05 Jun 2014 12:51:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsasX-0004iB-U0 for emacs-devel@gnu.org; Thu, 05 Jun 2014 12:51:09 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:52429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsasQ-0004g2-4O; Thu, 05 Jun 2014 12:50:54 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 960D684DEB; Thu, 5 Jun 2014 12:50:53 -0400 (EDT) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 460671E5B8A; Thu, 5 Jun 2014 12:50:30 -0400 (EDT) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 129EBB4167; Thu, 5 Jun 2014 12:50:29 -0400 (EDT) In-Reply-To: <83ppin5qvz.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Jun 2014 18:15:44 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 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:172369 Archived-At: >> case "$(uname -a)" in >> *MINGW* | *MinGW* ) ... >> esac >> wouldn't give the right answer. > How is that different from what config.guess already does? I'm not trying to replace config.guess nor am I trying to avoid duplicating it. I'm just trying to replace the if test "x$MSYSTEM" = "xMINGW32" -o "x$MSYSTEM" = "xMINGW64" in configure.ac since it turns out that $MSYSTEM may not be set. > is MinGW, but MSYSTEM is not set. That might be a good enough Is $MSYSTEM really necessary? I only see it used in the above "test" and in nt/gmake.defs (which I'm not sure we use nowadays). Of course if the /etc/profile thingy that sets MSYSTEM also sets lots of other important things, then we may as well rely on $MSYSTEM, indeed. Stefan