From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Files in build-aux Date: Mon, 3 May 2021 20:49:25 +0100 Message-ID: References: <83pmy763zi.fsf@gnu.org> <878s4vtygd.fsf@ericabrahamsen.net> <83mttb62mo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26437"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eric Abrahamsen , p.stephani2@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 03 21:52:14 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldec1-0006hw-W0 for ged-emacs-devel@m.gmane-mx.org; Mon, 03 May 2021 21:52:13 +0200 Original-Received: from localhost ([::1]:57060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldec1-0008Qk-0K for ged-emacs-devel@m.gmane-mx.org; Mon, 03 May 2021 15:52:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldebL-000808-KQ for emacs-devel@gnu.org; Mon, 03 May 2021 15:51:31 -0400 Original-Received: from ip6-2001-08b0-03f8-8129-c0f9-54ed-a4fe-67b7.holly.idiocy.org ([2001:8b0:3f8:8129:c0f9:54ed:a4fe:67b7]:50846 helo=breton.holly.idiocy.org) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldebI-0008Mc-RI for emacs-devel@gnu.org; Mon, 03 May 2021 15:51:31 -0400 Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 95DA2202BFFAFB; Mon, 3 May 2021 20:49:25 +0100 (BST) Mail-Followup-To: Alan Third , Eli Zaretskii , Eric Abrahamsen , p.stephani2@gmail.com, emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <83mttb62mo.fsf@gnu.org> Received-SPF: none client-ip=2001:8b0:3f8:8129:c0f9:54ed:a4fe:67b7; envelope-from=alan@breton.holly.idiocy.org; helo=breton.holly.idiocy.org X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268844 Archived-At: On Mon, May 03, 2021 at 10:25:35PM +0300, Eli Zaretskii wrote: > > From: Eric Abrahamsen > > Cc: Eli Zaretskii , Alan Third , Emacs > > developers > > Date: Mon, 03 May 2021 12:21:54 -0700 > > > > >> > > build-aux/config.guess > > >> > > build-aux/config.sub > > >> > > > > What kind of changes does Git report in these two files? Attributes, > perhaps? It looks like it may require a run of autogen.sh to generate the changes. I was sure before that just running plain "make" was enough, but perhaps not. I see these changes: modified build-aux/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2021 Free Software Foundation, Inc. -timestamp='2021-01-01' +timestamp='2021-01-25' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -188,10 +188,9 @@ UNAME_VERSION= # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=$( (uname -p 2>/dev/null || \ - "/sbin/$sysctl" 2>/dev/null || \ - "/usr/sbin/$sysctl" 2>/dev/null || \ + /sbin/sysctl -n hw.machine_arch 2>/dev/null || \ + /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \ echo unknown)) case "$UNAME_MACHINE_ARCH" in aarch64eb) machine=aarch64_be-unknown ;; @@ -1483,8 +1482,8 @@ main () i*86:rdos:*:*) echo "$UNAME_MACHINE"-pc-rdos exit ;; - i*86:AROS:*:*) - echo "$UNAME_MACHINE"-pc-aros + *:AROS:*:*) + echo "$UNAME_MACHINE"-unknown-aros exit ;; x86_64:VMkernel:*:*) echo "$UNAME_MACHINE"-unknown-esx modified build-aux/config.sub @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2021 Free Software Foundation, Inc. -timestamp='2021-01-07' +timestamp='2021-01-08' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -1683,12 +1683,15 @@ kernel= # Now, validate our (potentially fixed-up) OS. case $os in - # Sometimes we do "kernel-abi", so those need to count as OSes. + # Sometimes we do "kernel-libc", so those need to count as OSes. musl* | newlib* | uclibc*) ;; - # Likewise for "kernel-libc" + # Likewise for "kernel-abi" eabi* | gnueabi*) ;; + # VxWorks passes extra cpu info in the 4th filed. + simlinux | simwindows | spe) + ;; # Now accept the basic system types. # The portable systems comes first. # Each alternative MUST end in a * to match a version number. @@ -1751,6 +1754,8 @@ kernel= ;; kfreebsd*-gnu* | kopensolaris*-gnu*) ;; + vxworks-simlinux | vxworks-simwindows | vxworks-spe) + ;; nto-qnx*) ;; os2-emx) -- Alan Third