Re: update config.guess/sub

2018-01-03 Thread Jeff Law
On 01/02/2018 09:24 PM, Ben Elliston wrote:
> It's a new year, time to update these scripts.
> 
> Ben
> 
> 
> 2018-01-03  Ben Elliston  
> 
>   * config.guess: Import latest version.
>   * config.sub: Likewise.
Seems reasonable.  I did a quick looksie and nothing looked unreasonable.

jeff


update config.guess/sub

2018-01-02 Thread Ben Elliston
It's a new year, time to update these scripts.

Ben


2018-01-03  Ben Elliston  

* config.guess: Import latest version.
* config.sub: Likewise.

Index: config.guess
===
--- config.guess(revision 256121)
+++ config.guess(working copy)
@@ -1,8 +1,8 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
-#   Copyright 1992-2017 Free Software Foundation, Inc.
+#   Copyright 1992-2018 Free Software Foundation, Inc.
 
-timestamp='2017-03-05'
+timestamp='2018-01-01'
 
 # 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
@@ -15,7 +15,7 @@
 # General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, see .
+# along with this program; if not, see .
 #
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -27,7 +27,7 @@
 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
 #
 # You can get the latest version of this script from:
-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
+# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
 #
 # Please send patches to .
 
@@ -39,7 +39,7 @@
 
 Output the configuration name of the system \`$me' is run on.
 
-Operation modes:
+Options:
   -h, --help print this help, then exit
   -t, --time-stamp   print date of last modification, then exit
   -v, --version  print version number, then exit
@@ -50,7 +50,7 @@
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright 1992-2017 Free Software Foundation, Inc.
+Copyright 1992-2018 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -244,6 +244,9 @@
UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
exit ;;
+*:MidnightBSD:*:*)
+   echo ${UNAME_MACHINE}-unknown-midnightbsd${UNAME_RELEASE}
+   exit ;;
 *:ekkoBSD:*:*)
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
exit ;;
@@ -259,6 +262,12 @@
 *:Sortix:*:*)
echo ${UNAME_MACHINE}-unknown-sortix
exit ;;
+*:Redox:*:*)
+   echo ${UNAME_MACHINE}-unknown-redox
+   exit ;;
+mips:OSF1:*.*)
+echo mips-dec-osf1
+exit ;;
 alpha:OSF1:*:*)
case $UNAME_RELEASE in
*4.0)
@@ -315,15 +324,6 @@
exitcode=$?
trap '' 0
exit $exitcode ;;
-Alpha\ *:Windows_NT*:*)
-   # How do we know it's Interix rather than the generic POSIX subsystem?
-   # Should we change UNAME_MACHINE based on the output of uname instead
-   # of the specific Alpha model?
-   echo alpha-pc-interix
-   exit ;;
-21064:Windows_NT:50:3)
-   echo alpha-dec-winnt3.5
-   exit ;;
 Amiga*:UNIX_System_V:4.0:*)
echo m68k-unknown-sysv4
exit ;;
@@ -485,13 +485,13 @@
 #endif
#if defined (host_mips) && defined (MIPSEB)
#if defined (SYSTYPE_SYSV)
- printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
+ printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_SVR4)
- printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
+ printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
- printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
+ printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
#endif
#endif
  exit (-1);
@@ -614,7 +614,7 @@
 *:AIX:*:*)
echo rs6000-ibm-aix
exit ;;
-ibmrt:4.4BSD:*|romp-ibm:BSD:*)
+ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
echo romp-ibm-bsd4.4
exit ;;
 ibmrt:*BSD:*|romp-ibm:BSD:*)# covers RT/PC BSD and
@@ -635,8 +635,8 @@
 9000/[34678]??:HP-UX:*:*)
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
case "${UNAME_MACHINE}" in
-   9000/31? )HP_ARCH=m68000 ;;
-   9000/[34]?? ) HP_ARCH=m68k ;;
+   9000/31?)HP_ARCH=m68000 ;;
+   9000/[34]??) HP_ARCH=m68k ;;
9000/[678][0-9][0-9])
if [ -x /usr/bin/getconf ]; then
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
@@ -749,7 +749,7 @@
{ echo "$SYSTEM_NAME"; exit; }
echo unknown-hitachi-hiuxwe2
exit ;;
-9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
+9000/7??:4.3bsd:*:* |