Skip to content

Commit

Permalink
Import latest version from master repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickclifton committed Sep 4, 2004
1 parent c8d8a4c commit ca0a08e
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 61 deletions.
91 changes: 91 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,94 @@
2004-09-04 Nick Clifton <nickc@redhat.com>

* config.sub: Import latest version from master repository.
* config.guess: Likewise.
This includes these changes:

2004-08-27 Hans-Peter Nilsson <hp@axis.com>

* config.sub: Handle crisv32, alias etraxfs.
* config.guess (crisv32:Linux:*:*): Handle.

2004-08-13 Brad Smith <brad@comstyle.com>

* config.guess (*:OpenBSD:*:*): Remove defunct MIPS machines.
(sgi:OpenBSD:*:*): Emit mips64, not mipseb.

2004-08-11 Paul Eggert <eggert@cs.ucla.edu>

* config.guess (*:Darwin:*:*): If uname -p reports "unknown",
assume the processor is a powerpc. This is because coreutils
uname (at least versions 4.5.7 through 5.2.1) outputs "unknown"
in this case, due to a MacOS X bug that causes
sysctl ((int[]) {CTL_HW, HW_MACHINE_ARCH}, 2, buffer, &bufsize, 0, 0)
to return a negative number.
Problem reported by Petter Reinholdtsen in:
http://lists.gnu.org/archive/html/bug-gnu-utils/2003-02/msg00201.html

2004-07-19 Ben Elliston <bje@gnu.org>

* config.guess (S7501:*:4.0:3.0): Handle NCR System V UNIX machine.

2004-06-24 Ben Elliston <bje@gnu.org>

* config.guess: Update copyright years.
* config.sub: Likewise.

2004-06-22 Robert Millan <robertmh@gnu.org>

* config.guess (*:FreeBSD:*:*): Remove check for glibc (unneeded
since GNU/kFreeBSD systems match *:GNU/*:*:* instead).

2004-06-22 Stanley F. Quayle <stan@stanq.com>

* config.guess (*:*VMS:*:*): New entry. Replaces
Alpha:OpenVMS:*. Recognize and advertise all VMS flavors as dec
manufacturer.

2004-06-22 Ben Elliston <bje@gnu.org>

* config.guess: Cray fixes from Wendy Palm <wendyp@cray.com>.
* config.sub: Likewise.

2004-06-22 Ben Elliston <bje@gnu.org>

Reported by Hans-Peter Nilsson <hp@bitrange.com>:
* config.sub: Correctly handle mmix-knuth and mmix-knuth-mmixware.

2004-06-11 Ben Elliston <bje@gnu.org>

* config.guess (pegasos:OpenBSD:*:*): Remove.

2004-06-11 Ben Elliston <bje@gnu.org>

From Wouter Verhelst <wouter@grep.be>:
* config.guess (M68*:*:R3V[5678]:*): Detect R3V8.

2004-06-11 Ben Elliston <bje@gnu.org>

* config.guess (luna88k:OpenBSD:*:*): New.

2004-03-12 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

* config.guess (m32r*:Linux:*:*): New case.
* config.sub: Handle m32rle.

2004-03-12 Ben Elliston <bje@wasabisystems.com>

From Jens Petersen <petersen@redhat.com>:
* config.sub: Handle sparcv8.

2004-03-03 Ben Elliston <bje@wasabisystems.com>

From Tom Smith <smith@cag.lkg.hp.com>:
* config.guess: Version suffixes are equally significant on Tru64
V4.* and V5.*, so do not ignore them on V5.*. Handle a version
prefix of "P" (patched kernel).

2004-02-23 Tal Agmon <Tal.Agmon@nsc.com>

* config.sub: Add support for National Semiconductor CRX target.

2004-09-03 Jan Beulich <jbeulich@novell.com>

* configure.in: Remove target-libstdc++-v3 from noconfigdirs for
Expand Down
78 changes: 36 additions & 42 deletions config.guess
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.

timestamp='2004-02-16'
timestamp='2004-08-29'

# 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
Expand Down Expand Up @@ -53,7 +53,7 @@ version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
Expand Down Expand Up @@ -203,15 +203,15 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
amiga:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
arc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
cats:OpenBSD:*:*)
echo arm-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
hp300:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
luna88k:OpenBSD:*:*)
echo m88k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
mac68k:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
Expand All @@ -227,21 +227,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
mvmeppc:OpenBSD:*:*)
echo powerpc-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
pegasos:OpenBSD:*:*)
echo powerpc-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
pmax:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
sgi:OpenBSD:*:*)
echo mipseb-unknown-openbsd${UNAME_RELEASE}
echo mips64-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
sun3:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
wgrisc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
*:OpenBSD:*:*)
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
Expand All @@ -255,9 +246,14 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
exit 0 ;;
alpha:OSF1:*:*)
if test $UNAME_RELEASE = "V4.0"; then
case $UNAME_RELEASE in
*4.0)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
fi
;;
*5.*)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
;;
esac
# According to Compaq, /usr/sbin/psrinfo has been available on
# OSF/1 and Tru64 systems produced since 1995. I hope that
# covers most systems running today. This code pipes the CPU
Expand Down Expand Up @@ -295,14 +291,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
"EV7.9 (21364A)")
UNAME_MACHINE="alphaev79" ;;
esac
# A Pn.n version is a patched version.
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
exit 0 ;;
Alpha*:OpenVMS:*:*)
echo alpha-hp-vms
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
exit 0 ;;
Alpha\ *:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
Expand Down Expand Up @@ -758,7 +752,7 @@ EOF
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
*:UNICOS/mp:*:*)
echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
Expand All @@ -781,21 +775,7 @@ EOF
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
exit 0 ;;
*:FreeBSD:*:*)
# Determine whether the default compiler uses glibc.
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#include <features.h>
#if __GLIBC__ >= 2
LIBC=gnu
#else
LIBC=
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
# GNU/KFreeBSD systems have a "k" prefix to indicate we are using
# FreeBSD's kernel, but not the complete OS.
case ${LIBC} in gnu) kernel_only='k' ;; esac
echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
Expand Down Expand Up @@ -844,9 +824,15 @@ EOF
cris:Linux:*:*)
echo cris-axis-linux-gnu
exit 0 ;;
crisv32:Linux:*:*)
echo crisv32-axis-linux-gnu
exit 0 ;;
ia64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;;
m32r*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;;
m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;;
Expand Down Expand Up @@ -1087,9 +1073,9 @@ EOF
M680?0:D-NIX:5.3:*)
echo m68k-diab-dnix
exit 0 ;;
M68*:*:R3V[567]*:*)
M68*:*:R3V[5678]*:*)
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
OS_REL=''
test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
Expand Down Expand Up @@ -1187,9 +1173,10 @@ EOF
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
exit 0 ;;
*:Darwin:*:*)
case `uname -p` in
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
case $UNAME_PROCESSOR in
*86) UNAME_PROCESSOR=i686 ;;
powerpc) UNAME_PROCESSOR=powerpc ;;
unknown) UNAME_PROCESSOR=powerpc ;;
esac
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
exit 0 ;;
Expand Down Expand Up @@ -1251,6 +1238,13 @@ EOF
*:DragonFly:*:*)
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
*:*VMS:*:*)
UNAME_MACHINE=`(uname -p) 2>/dev/null`
case "${UNAME_MACHINE}" in
A*) echo alpha-dec-vms && exit 0 ;;
I*) echo ia64-dec-vms && exit 0 ;;
V*) echo vax-dec-vms && exit 0 ;;
esac
esac

#echo '(No uname command or uname output not recognized.)' 1>&2
Expand Down
Loading

0 comments on commit ca0a08e

Please sign in to comment.