From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.devel Subject: Re: Latest EMACS on BZR trunk does not compile with MinGW Date: Tue, 10 Jun 2014 21:25:02 +0200 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> <8361kf5ixq.fsf@gnu.org> <5390C673.602@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1402428316 27361 80.91.229.3 (10 Jun 2014 19:25:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2014 19:25:16 +0000 (UTC) Cc: Eli Zaretskii , Emacs development discussions To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 10 21:25:11 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 1WuRfR-00026e-Al for ged-emacs-devel@m.gmane.org; Tue, 10 Jun 2014 21:25:09 +0200 Original-Received: from localhost ([::1]:41912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuRfQ-0004sA-NK for ged-emacs-devel@m.gmane.org; Tue, 10 Jun 2014 15:25:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuRfO-0004q7-43 for emacs-devel@gnu.org; Tue, 10 Jun 2014 15:25:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuRfN-0001Vk-Fi for emacs-devel@gnu.org; Tue, 10 Jun 2014 15:25:06 -0400 Original-Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:33217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuRfM-0001NI-28; Tue, 10 Jun 2014 15:25:04 -0400 Original-Received: by mail-wg0-f49.google.com with SMTP id y10so2023631wgg.32 for ; Tue, 10 Jun 2014 12:25:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1rmVX3/4NYm8PZAWQynhjZIx4QFUf+Cho3TIpuzAeks=; b=cKEqkLkEvXxdBn6nYqc1cnjG14eCVbaFy11d3paRfpvO65KGRgInJ9dJJp1AV4xSSc qHhcZv8xOnQw0a1JkTcbk7vONGmekPXfMgZgKMTyej8OKQc/UFc30ZsSgTz11+cGpmPY 1HCsifK5m9iupEzS5nJfHYl4mwZ4h+KI2Ds8Gge8PtOXMhSstt1Wk2s0H+gdwos+wOn5 9pbyEUnR1m2xGOGCVJs10V0dxRFd+9WkhG+CUEn0YaH6domryi8Mr7Xhb1I/IlWg4NDg gUOvZc10UZ8Ja40mXJT+lZxMUGZev4766Cy8/o9rUPbtNSOhM9PtOrzwdu2WBes3jGA1 v0wg== X-Received: by 10.180.212.77 with SMTP id ni13mr43008457wic.5.1402428302441; Tue, 10 Jun 2014 12:25:02 -0700 (PDT) Original-Received: by 10.217.143.197 with HTTP; Tue, 10 Jun 2014 12:25:02 -0700 (PDT) In-Reply-To: <5390C673.602@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::231 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:172439 Archived-At: On Thu, Jun 5, 2014 at 9:35 PM, Paul Eggert wrote: > On 06/05/2014 11:07 AM, Eli Zaretskii wrote: >> >> Some Autoconf expert should comment on that; >> if they approve, we should do that, because config.guess is reliable. > > We can invoke AC_CANONICAL_HOST early in configure.ac, right after > AC_INIT_AUTOMAKE. The attached patch, for example, should work fine on > non-Microsoft platforms (I haven't tested it on MingW though). I've just tested Paul's patch in my MinGW/MSYS enviroment where I usually build Emacs, and it seems to work flawlessly. In fact, the output of "./autogen.sh && ./configure" is identical with or without the patch. -- Dani Moncayo