annotate config.guess @ 1938:77bc00dcc19f default tip main master

Bump version to 2022.82
author Matt Johnston <matt@ucc.asn.au>
date Fri, 01 Apr 2022 14:43:27 +0800
parents 315dbcef7293
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 #! /bin/sh
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2 # Attempt to guess a canonical system name.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
3 # Copyright 1992-2022 Free Software Foundation, Inc.
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
5 # shellcheck disable=SC2006,SC2268 # see below for rationale
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
6
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
7 timestamp='2022-01-09'
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
8
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
9 # This file is free software; you can redistribute it and/or modify it
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
10 # under the terms of the GNU General Public License as published by
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
11 # the Free Software Foundation, either version 3 of the License, or
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
12 # (at your option) any later version.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
13 #
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
14 # This program is distributed in the hope that it will be useful, but
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
15 # WITHOUT ANY WARRANTY; without even the implied warranty of
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
17 # General Public License for more details.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
18 #
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
19 # You should have received a copy of the GNU General Public License
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
20 # along with this program; if not, see <https://www.gnu.org/licenses/>.
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
21 #
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
22 # As a special exception to the GNU General Public License, if you
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
23 # distribute this file as part of a program that contains a
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
24 # configuration script generated by Autoconf, you may include it under
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
25 # the same distribution terms that you use for the rest of that
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
26 # program. This Exception is an additional permission under section 7
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
27 # of the GNU General Public License, version 3 ("GPLv3").
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
28 #
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
29 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
30 #
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
31 # You can get the latest version of this script from:
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
32 # https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
33 #
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
34 # Please send patches to <[email protected]>.
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
35
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
36
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
37 # The "shellcheck disable" line above the timestamp inhibits complaints
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
38 # about features and limitations of the classic Bourne shell that were
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
39 # superseded or lifted in POSIX. However, this script identifies a wide
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
40 # variety of pre-POSIX systems that do not have POSIX shells at all, and
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
41 # even some reasonably current systems (Solaris 10 as case-in-point) still
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
42 # have a pre-POSIX /bin/sh.
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
43
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
44
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
45 me=`echo "$0" | sed -e 's,.*/,,'`
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
46
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
47 usage="\
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
48 Usage: $0 [OPTION]
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
49
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
50 Output the configuration name of the system \`$me' is run on.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
51
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
52 Options:
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
53 -h, --help print this help, then exit
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
54 -t, --time-stamp print date of last modification, then exit
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
55 -v, --version print version number, then exit
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
56
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
57 Report bugs and patches to <[email protected]>."
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
58
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
59 version="\
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
60 GNU config.guess ($timestamp)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
61
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
62 Originally written by Per Bothner.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
63 Copyright 1992-2022 Free Software Foundation, Inc.
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
64
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
65 This is free software; see the source for copying conditions. There is NO
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
66 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
67
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
68 help="
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
69 Try \`$me --help' for more information."
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
70
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
71 # Parse command line
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
72 while test $# -gt 0 ; do
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
73 case $1 in
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
74 --time-stamp | --time* | -t )
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
75 echo "$timestamp" ; exit ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
76 --version | -v )
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
77 echo "$version" ; exit ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
78 --help | --h* | -h )
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
79 echo "$usage"; exit ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
80 -- ) # Stop option processing
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
81 shift; break ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
82 - ) # Use stdin as input.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
83 break ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
84 -* )
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
85 echo "$me: invalid option $1$help" >&2
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
86 exit 1 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
87 * )
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
88 break ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
89 esac
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
90 done
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
91
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
92 if test $# != 0; then
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
93 echo "$me: too many arguments$help" >&2
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
94 exit 1
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
95 fi
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
96
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
97 # Just in case it came from the environment.
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
98 GUESS=
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
99
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
100 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
101 # compiler to aid in system detection is discouraged as it requires
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
102 # temporary files to be created and, as you can see below, it is a
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
103 # headache to deal with in a portable fashion.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
104
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
105 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
106 # use `HOST_CC' if defined, but it is deprecated.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
107
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
108 # Portable tmp directory creation inspired by the Autoconf team.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
109
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
110 tmp=
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
111 # shellcheck disable=SC2172
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
112 trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
113
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
114 set_cc_for_build() {
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
115 # prevent multiple calls if $tmp is already set
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
116 test "$tmp" && return 0
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
117 : "${TMPDIR=/tmp}"
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
118 # shellcheck disable=SC2039,SC3028
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
119 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
120 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
121 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
122 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
123 dummy=$tmp/dummy
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
124 case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
125 ,,) echo "int x;" > "$dummy.c"
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
126 for driver in cc gcc c89 c99 ; do
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
127 if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
128 CC_FOR_BUILD=$driver
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
129 break
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
130 fi
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
131 done
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
132 if test x"$CC_FOR_BUILD" = x ; then
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
133 CC_FOR_BUILD=no_compiler_found
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
134 fi
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
135 ;;
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
136 ,,*) CC_FOR_BUILD=$CC ;;
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
137 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
138 esac
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
139 }
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
140
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
141 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
142 # ([email protected] 1994-08-24)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
143 if test -f /.attbin/uname ; then
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
144 PATH=$PATH:/.attbin ; export PATH
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
145 fi
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
146
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
147 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
148 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
149 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
150 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
151
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
152 case $UNAME_SYSTEM in
859
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
153 Linux|GNU|GNU/*)
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
154 LIBC=unknown
859
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
155
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
156 set_cc_for_build
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
157 cat <<-EOF > "$dummy.c"
859
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
158 #include <features.h>
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
159 #if defined(__UCLIBC__)
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
160 LIBC=uclibc
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
161 #elif defined(__dietlibc__)
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
162 LIBC=dietlibc
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
163 #elif defined(__GLIBC__)
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
164 LIBC=gnu
859
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
165 #else
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
166 #include <stdarg.h>
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
167 /* First heuristic to detect musl libc. */
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
168 #ifdef __DEFINED_va_list
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
169 LIBC=musl
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
170 #endif
859
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
171 #endif
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
172 EOF
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
173 cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
174 eval "$cc_set_libc"
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
175
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
176 # Second heuristic to detect musl libc.
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
177 if [ "$LIBC" = unknown ] &&
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
178 command -v ldd >/dev/null &&
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
179 ldd --version 2>&1 | grep -q ^musl; then
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
180 LIBC=musl
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
181 fi
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
182
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
183 # If the system lacks a compiler, then just pick glibc.
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
184 # We could probably try harder.
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
185 if [ "$LIBC" = unknown ]; then
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
186 LIBC=gnu
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
187 fi
859
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
188 ;;
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
189 esac
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
190
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
191 # Note: order is significant - the case branches are not exclusive.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
192
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
193 case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
194 *:NetBSD:*:*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
195 # NetBSD (nbsd) targets should (where applicable) match one or
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
196 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
197 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
198 # switched to ELF, *-*-netbsd* would select the old
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
199 # object file format. This provides both forward
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
200 # compatibility and a consistent mechanism for selecting the
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
201 # object file format.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
202 #
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
203 # Note: NetBSD doesn't particularly care about the vendor
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
204 # portion of the name. We always set it to "unknown".
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
205 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
206 /sbin/sysctl -n hw.machine_arch 2>/dev/null || \
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
207 /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
208 echo unknown)`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
209 case $UNAME_MACHINE_ARCH in
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
210 aarch64eb) machine=aarch64_be-unknown ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
211 armeb) machine=armeb-unknown ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
212 arm*) machine=arm-unknown ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
213 sh3el) machine=shl-unknown ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
214 sh3eb) machine=sh-unknown ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
215 sh5el) machine=sh5le-unknown ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
216 earmv*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
217 arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
218 endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
219 machine=${arch}${endian}-unknown
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
220 ;;
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
221 *) machine=$UNAME_MACHINE_ARCH-unknown ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
222 esac
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
223 # The Operating System including object format, if it has switched
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
224 # to ELF recently (or will in the future) and ABI.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
225 case $UNAME_MACHINE_ARCH in
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
226 earm*)
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
227 os=netbsdelf
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
228 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
229 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
230 set_cc_for_build
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
231 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
232 | grep -q __ELF__
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
233 then
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
234 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
235 # Return netbsd for either. FIX?
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
236 os=netbsd
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
237 else
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
238 os=netbsdelf
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
239 fi
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
240 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
241 *)
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
242 os=netbsd
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
243 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
244 esac
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
245 # Determine ABI tags.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
246 case $UNAME_MACHINE_ARCH in
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
247 earm*)
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
248 expr='s/^earmv[0-9]/-eabi/;s/eb$//'
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
249 abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
250 ;;
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
251 esac
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
252 # The OS release
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
253 # Debian GNU/NetBSD machines have a different userland, and
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
254 # thus, need a distinct triplet. However, they do not need
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
255 # kernel version information, so it can be replaced with a
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
256 # suitable tag, in the style of linux-gnu.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
257 case $UNAME_VERSION in
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
258 Debian*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
259 release='-gnu'
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
260 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
261 *)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
262 release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
263 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
264 esac
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
265 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
266 # contains redundant information, the shorter form:
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
267 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
268 GUESS=$machine-${os}${release}${abi-}
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
269 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
270 *:Bitrig:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
271 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
272 GUESS=$UNAME_MACHINE_ARCH-unknown-bitrig$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
273 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
274 *:OpenBSD:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
275 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
276 GUESS=$UNAME_MACHINE_ARCH-unknown-openbsd$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
277 ;;
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
278 *:SecBSD:*:*)
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
279 UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
280 GUESS=$UNAME_MACHINE_ARCH-unknown-secbsd$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
281 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
282 *:LibertyBSD:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
283 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
284 GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
285 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
286 *:MidnightBSD:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
287 GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
288 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
289 *:ekkoBSD:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
290 GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
291 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
292 *:SolidBSD:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
293 GUESS=$UNAME_MACHINE-unknown-solidbsd$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
294 ;;
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
295 *:OS108:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
296 GUESS=$UNAME_MACHINE-unknown-os108_$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
297 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
298 macppc:MirBSD:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
299 GUESS=powerpc-unknown-mirbsd$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
300 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
301 *:MirBSD:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
302 GUESS=$UNAME_MACHINE-unknown-mirbsd$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
303 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
304 *:Sortix:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
305 GUESS=$UNAME_MACHINE-unknown-sortix
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
306 ;;
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
307 *:Twizzler:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
308 GUESS=$UNAME_MACHINE-unknown-twizzler
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
309 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
310 *:Redox:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
311 GUESS=$UNAME_MACHINE-unknown-redox
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
312 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
313 mips:OSF1:*.*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
314 GUESS=mips-dec-osf1
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
315 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
316 alpha:OSF1:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
317 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
318 trap '' 0
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
319 case $UNAME_RELEASE in
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
320 *4.0)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
321 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
322 ;;
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
323 *5.*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
324 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
325 ;;
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
326 esac
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
327 # According to Compaq, /usr/sbin/psrinfo has been available on
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
328 # OSF/1 and Tru64 systems produced since 1995. I hope that
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
329 # covers most systems running today. This code pipes the CPU
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
330 # types through head -n 1, so we only detect the type of CPU 0.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
331 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
332 case $ALPHA_CPU_TYPE in
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
333 "EV4 (21064)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
334 UNAME_MACHINE=alpha ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
335 "EV4.5 (21064)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
336 UNAME_MACHINE=alpha ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
337 "LCA4 (21066/21068)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
338 UNAME_MACHINE=alpha ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
339 "EV5 (21164)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
340 UNAME_MACHINE=alphaev5 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
341 "EV5.6 (21164A)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
342 UNAME_MACHINE=alphaev56 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
343 "EV5.6 (21164PC)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
344 UNAME_MACHINE=alphapca56 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
345 "EV5.7 (21164PC)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
346 UNAME_MACHINE=alphapca57 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
347 "EV6 (21264)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
348 UNAME_MACHINE=alphaev6 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
349 "EV6.7 (21264A)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
350 UNAME_MACHINE=alphaev67 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
351 "EV6.8CB (21264C)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
352 UNAME_MACHINE=alphaev68 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
353 "EV6.8AL (21264B)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
354 UNAME_MACHINE=alphaev68 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
355 "EV6.8CX (21264D)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
356 UNAME_MACHINE=alphaev68 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
357 "EV6.9A (21264/EV69A)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
358 UNAME_MACHINE=alphaev69 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
359 "EV7 (21364)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
360 UNAME_MACHINE=alphaev7 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
361 "EV7.9 (21364A)")
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
362 UNAME_MACHINE=alphaev79 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
363 esac
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
364 # A Pn.n version is a patched version.
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
365 # A Vn.n version is a released version.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
366 # A Tn.n version is a released field test version.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
367 # A Xn.n version is an unreleased experimental baselevel.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
368 # 1.2 uses "1.2" for uname -r.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
369 OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
370 GUESS=$UNAME_MACHINE-dec-osf$OSF_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
371 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
372 Amiga*:UNIX_System_V:4.0:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
373 GUESS=m68k-unknown-sysv4
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
374 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
375 *:[Aa]miga[Oo][Ss]:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
376 GUESS=$UNAME_MACHINE-unknown-amigaos
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
377 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
378 *:[Mm]orph[Oo][Ss]:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
379 GUESS=$UNAME_MACHINE-unknown-morphos
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
380 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
381 *:OS/390:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
382 GUESS=i370-ibm-openedition
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
383 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
384 *:z/VM:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
385 GUESS=s390-ibm-zvmoe
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
386 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
387 *:OS400:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
388 GUESS=powerpc-ibm-os400
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
389 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
390 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
391 GUESS=arm-acorn-riscix$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
392 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
393 arm*:riscos:*:*|arm*:RISCOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
394 GUESS=arm-unknown-riscos
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
395 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
396 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
397 GUESS=hppa1.1-hitachi-hiuxmpp
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
398 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
399 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
400 # [email protected] (Earle F. Ake) contributed MIS and NILE.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
401 case `(/bin/universe) 2>/dev/null` in
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
402 att) GUESS=pyramid-pyramid-sysv3 ;;
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
403 *) GUESS=pyramid-pyramid-bsd ;;
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
404 esac
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
405 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
406 NILE*:*:*:dcosx)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
407 GUESS=pyramid-pyramid-svr4
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
408 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
409 DRS?6000:unix:4.0:6*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
410 GUESS=sparc-icl-nx6
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
411 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
412 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
413 case `/usr/bin/uname -p` in
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
414 sparc) GUESS=sparc-icl-nx7 ;;
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
415 esac
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
416 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
417 s390x:SunOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
418 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
419 GUESS=$UNAME_MACHINE-ibm-solaris2$SUN_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
420 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
421 sun4H:SunOS:5.*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
422 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
423 GUESS=sparc-hal-solaris2$SUN_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
424 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
425 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
426 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
427 GUESS=sparc-sun-solaris2$SUN_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
428 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
429 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
430 GUESS=i386-pc-auroraux$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
431 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
432 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
433 set_cc_for_build
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
434 SUN_ARCH=i386
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
435 # If there is a compiler, see if it is configured for 64-bit objects.
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
436 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
437 # This test works for both compilers.
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
438 if test "$CC_FOR_BUILD" != no_compiler_found; then
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
439 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
440 (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
441 grep IS_64BIT_ARCH >/dev/null
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
442 then
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
443 SUN_ARCH=x86_64
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
444 fi
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
445 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
446 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
447 GUESS=$SUN_ARCH-pc-solaris2$SUN_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
448 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
449 sun4*:SunOS:6*:*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
450 # According to config.sub, this is the proper way to canonicalize
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
451 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
452 # it's likely to be more like Solaris than SunOS4.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
453 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
454 GUESS=sparc-sun-solaris3$SUN_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
455 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
456 sun4*:SunOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
457 case `/usr/bin/arch -k` in
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
458 Series*|S4*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
459 UNAME_RELEASE=`uname -v`
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
460 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
461 esac
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
462 # Japanese Language versions have a version number like `4.1.3-JL'.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
463 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
464 GUESS=sparc-sun-sunos$SUN_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
465 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
466 sun3*:SunOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
467 GUESS=m68k-sun-sunos$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
468 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
469 sun*:*:4.2BSD:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
470 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
471 test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
472 case `/bin/arch` in
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
473 sun3)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
474 GUESS=m68k-sun-sunos$UNAME_RELEASE
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
475 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
476 sun4)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
477 GUESS=sparc-sun-sunos$UNAME_RELEASE
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
478 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
479 esac
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
480 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
481 aushp:SunOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
482 GUESS=sparc-auspex-sunos$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
483 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
484 # The situation for MiNT is a little confusing. The machine name
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
485 # can be virtually everything (everything which is not
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
486 # "atarist" or "atariste" at least should have a processor
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
487 # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
488 # to the lowercase version "mint" (or "freemint"). Finally
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
489 # the system name "TOS" denotes a system which is actually not
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
490 # MiNT. But MiNT is downward compatible to TOS, so this should
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
491 # be no problem.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
492 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
493 GUESS=m68k-atari-mint$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
494 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
495 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
496 GUESS=m68k-atari-mint$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
497 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
498 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
499 GUESS=m68k-atari-mint$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
500 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
501 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
502 GUESS=m68k-milan-mint$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
503 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
504 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
505 GUESS=m68k-hades-mint$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
506 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
507 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
508 GUESS=m68k-unknown-mint$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
509 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
510 m68k:machten:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
511 GUESS=m68k-apple-machten$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
512 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
513 powerpc:machten:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
514 GUESS=powerpc-apple-machten$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
515 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
516 RISC*:Mach:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
517 GUESS=mips-dec-mach_bsd4.3
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
518 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
519 RISC*:ULTRIX:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
520 GUESS=mips-dec-ultrix$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
521 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
522 VAX*:ULTRIX*:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
523 GUESS=vax-dec-ultrix$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
524 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
525 2020:CLIX:*:* | 2430:CLIX:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
526 GUESS=clipper-intergraph-clix$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
527 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
528 mips:*:*:UMIPS | mips:*:*:RISCos)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
529 set_cc_for_build
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
530 sed 's/^ //' << EOF > "$dummy.c"
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
531 #ifdef __cplusplus
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
532 #include <stdio.h> /* for printf() prototype */
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
533 int main (int argc, char *argv[]) {
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
534 #else
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
535 int main (argc, argv) int argc; char *argv[]; {
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
536 #endif
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
537 #if defined (host_mips) && defined (MIPSEB)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
538 #if defined (SYSTYPE_SYSV)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
539 printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
540 #endif
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
541 #if defined (SYSTYPE_SVR4)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
542 printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
543 #endif
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
544 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
545 printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
546 #endif
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
547 #endif
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
548 exit (-1);
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
549 }
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
550 EOF
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
551 $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
552 dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
553 SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
554 { echo "$SYSTEM_NAME"; exit; }
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
555 GUESS=mips-mips-riscos$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
556 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
557 Motorola:PowerMAX_OS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
558 GUESS=powerpc-motorola-powermax
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
559 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
560 Motorola:*:4.3:PL8-*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
561 GUESS=powerpc-harris-powermax
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
562 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
563 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
564 GUESS=powerpc-harris-powermax
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
565 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
566 Night_Hawk:Power_UNIX:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
567 GUESS=powerpc-harris-powerunix
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
568 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
569 m88k:CX/UX:7*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
570 GUESS=m88k-harris-cxux7
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
571 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
572 m88k:*:4*:R4*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
573 GUESS=m88k-motorola-sysv4
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
574 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
575 m88k:*:3*:R3*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
576 GUESS=m88k-motorola-sysv3
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
577 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
578 AViiON:dgux:*:*)
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
579 # DG/UX returns AViiON for all architectures
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
580 UNAME_PROCESSOR=`/usr/bin/uname -p`
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
581 if test "$UNAME_PROCESSOR" = mc88100 || test "$UNAME_PROCESSOR" = mc88110
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
582 then
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
583 if test "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx || \
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
584 test "$TARGET_BINARY_INTERFACE"x = x
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
585 then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
586 GUESS=m88k-dg-dgux$UNAME_RELEASE
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
587 else
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
588 GUESS=m88k-dg-dguxbcs$UNAME_RELEASE
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
589 fi
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
590 else
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
591 GUESS=i586-dg-dgux$UNAME_RELEASE
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
592 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
593 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
594 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
595 GUESS=m88k-dolphin-sysv3
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
596 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
597 M88*:*:R3*:*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
598 # Delta 88k system running SVR3
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
599 GUESS=m88k-motorola-sysv3
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
600 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
601 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
602 GUESS=m88k-tektronix-sysv3
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
603 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
604 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
605 GUESS=m68k-tektronix-bsd
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
606 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
607 *:IRIX*:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
608 IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
609 GUESS=mips-sgi-irix$IRIX_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
610 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
611 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
612 GUESS=romp-ibm-aix # uname -m gives an 8 hex-code CPU id
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
613 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
614 i*86:AIX:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
615 GUESS=i386-ibm-aix
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
616 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
617 ia64:AIX:*:*)
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
618 if test -x /usr/bin/oslevel ; then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
619 IBM_REV=`/usr/bin/oslevel`
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
620 else
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
621 IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
622 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
623 GUESS=$UNAME_MACHINE-ibm-aix$IBM_REV
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
624 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
625 *:AIX:2:3)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
626 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
627 set_cc_for_build
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
628 sed 's/^ //' << EOF > "$dummy.c"
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
629 #include <sys/systemcfg.h>
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
630
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
631 main()
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
632 {
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
633 if (!__power_pc())
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
634 exit(1);
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
635 puts("powerpc-ibm-aix3.2.5");
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
636 exit(0);
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
637 }
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
638 EOF
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
639 if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
640 then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
641 GUESS=$SYSTEM_NAME
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
642 else
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
643 GUESS=rs6000-ibm-aix3.2.5
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
644 fi
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
645 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
646 GUESS=rs6000-ibm-aix3.2.4
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
647 else
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
648 GUESS=rs6000-ibm-aix3.2
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
649 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
650 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
651 *:AIX:*:[4567])
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
652 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
653 if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
654 IBM_ARCH=rs6000
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
655 else
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
656 IBM_ARCH=powerpc
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
657 fi
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
658 if test -x /usr/bin/lslpp ; then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
659 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | \
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
660 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
661 else
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
662 IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
663 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
664 GUESS=$IBM_ARCH-ibm-aix$IBM_REV
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
665 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
666 *:AIX:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
667 GUESS=rs6000-ibm-aix
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
668 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
669 ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
670 GUESS=romp-ibm-bsd4.4
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
671 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
672 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
673 GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
674 ;; # report: romp-ibm BSD 4.3
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
675 *:BOSX:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
676 GUESS=rs6000-bull-bosx
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
677 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
678 DPX/2?00:B.O.S.:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
679 GUESS=m68k-bull-sysv3
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
680 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
681 9000/[34]??:4.3bsd:1.*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
682 GUESS=m68k-hp-bsd
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
683 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
684 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
685 GUESS=m68k-hp-bsd4.4
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
686 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
687 9000/[34678]??:HP-UX:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
688 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
689 case $UNAME_MACHINE in
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
690 9000/31?) HP_ARCH=m68000 ;;
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
691 9000/[34]??) HP_ARCH=m68k ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
692 9000/[678][0-9][0-9])
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
693 if test -x /usr/bin/getconf; then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
694 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
695 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
696 case $sc_cpu_version in
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
697 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
698 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
699 532) # CPU_PA_RISC2_0
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
700 case $sc_kernel_bits in
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
701 32) HP_ARCH=hppa2.0n ;;
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
702 64) HP_ARCH=hppa2.0w ;;
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
703 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
704 esac ;;
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
705 esac
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
706 fi
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
707 if test "$HP_ARCH" = ""; then
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
708 set_cc_for_build
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
709 sed 's/^ //' << EOF > "$dummy.c"
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
710
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
711 #define _HPUX_SOURCE
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
712 #include <stdlib.h>
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
713 #include <unistd.h>
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
714
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
715 int main ()
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
716 {
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
717 #if defined(_SC_KERNEL_BITS)
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
718 long bits = sysconf(_SC_KERNEL_BITS);
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
719 #endif
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
720 long cpu = sysconf (_SC_CPU_VERSION);
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
721
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
722 switch (cpu)
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
723 {
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
724 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
725 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
726 case CPU_PA_RISC2_0:
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
727 #if defined(_SC_KERNEL_BITS)
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
728 switch (bits)
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
729 {
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
730 case 64: puts ("hppa2.0w"); break;
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
731 case 32: puts ("hppa2.0n"); break;
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
732 default: puts ("hppa2.0"); break;
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
733 } break;
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
734 #else /* !defined(_SC_KERNEL_BITS) */
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
735 puts ("hppa2.0"); break;
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
736 #endif
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
737 default: puts ("hppa1.0"); break;
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
738 }
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
739 exit (0);
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
740 }
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
741 EOF
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
742 (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
743 test -z "$HP_ARCH" && HP_ARCH=hppa
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
744 fi ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
745 esac
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
746 if test "$HP_ARCH" = hppa2.0w
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
747 then
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
748 set_cc_for_build
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
749
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
750 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
751 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
752 # generating 64-bit code. GNU and HP use different nomenclature:
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
753 #
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
754 # $ CC_FOR_BUILD=cc ./config.guess
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
755 # => hppa2.0w-hp-hpux11.23
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
756 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
757 # => hppa64-hp-hpux11.23
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
758
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
759 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
760 grep -q __LP64__
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
761 then
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
762 HP_ARCH=hppa2.0w
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
763 else
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
764 HP_ARCH=hppa64
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
765 fi
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
766 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
767 GUESS=$HP_ARCH-hp-hpux$HPUX_REV
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
768 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
769 ia64:HP-UX:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
770 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
771 GUESS=ia64-hp-hpux$HPUX_REV
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
772 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
773 3050*:HI-UX:*:*)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
774 set_cc_for_build
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
775 sed 's/^ //' << EOF > "$dummy.c"
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
776 #include <unistd.h>
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
777 int
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
778 main ()
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
779 {
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
780 long cpu = sysconf (_SC_CPU_VERSION);
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
781 /* The order matters, because CPU_IS_HP_MC68K erroneously returns
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
782 true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
783 results, however. */
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
784 if (CPU_IS_PA_RISC (cpu))
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
785 {
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
786 switch (cpu)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
787 {
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
788 case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
789 case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
790 case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
791 default: puts ("hppa-hitachi-hiuxwe2"); break;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
792 }
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
793 }
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
794 else if (CPU_IS_HP_MC68K (cpu))
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
795 puts ("m68k-hitachi-hiuxwe2");
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
796 else puts ("unknown-hitachi-hiuxwe2");
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
797 exit (0);
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
798 }
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
799 EOF
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
800 $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
801 { echo "$SYSTEM_NAME"; exit; }
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
802 GUESS=unknown-hitachi-hiuxwe2
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
803 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
804 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
805 GUESS=hppa1.1-hp-bsd
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
806 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
807 9000/8??:4.3bsd:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
808 GUESS=hppa1.0-hp-bsd
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
809 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
810 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
811 GUESS=hppa1.0-hp-mpeix
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
812 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
813 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
814 GUESS=hppa1.1-hp-osf
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
815 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
816 hp8??:OSF1:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
817 GUESS=hppa1.0-hp-osf
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
818 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
819 i*86:OSF1:*:*)
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
820 if test -x /usr/sbin/sysversion ; then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
821 GUESS=$UNAME_MACHINE-unknown-osf1mk
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
822 else
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
823 GUESS=$UNAME_MACHINE-unknown-osf1
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
824 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
825 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
826 parisc*:Lites*:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
827 GUESS=hppa1.1-hp-lites
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
828 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
829 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
830 GUESS=c1-convex-bsd
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
831 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
832 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
833 if getsysinfo -f scalar_acc
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
834 then echo c32-convex-bsd
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
835 else echo c2-convex-bsd
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
836 fi
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
837 exit ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
838 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
839 GUESS=c34-convex-bsd
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
840 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
841 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
842 GUESS=c38-convex-bsd
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
843 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
844 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
845 GUESS=c4-convex-bsd
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
846 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
847 CRAY*Y-MP:*:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
848 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
849 GUESS=ymp-cray-unicos$CRAY_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
850 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
851 CRAY*[A-Z]90:*:*:*)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
852 echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
853 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
854 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
855 -e 's/\.[^.]*$/.X/'
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
856 exit ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
857 CRAY*TS:*:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
858 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
859 GUESS=t90-cray-unicos$CRAY_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
860 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
861 CRAY*T3E:*:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
862 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
863 GUESS=alphaev5-cray-unicosmk$CRAY_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
864 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
865 CRAY*SV1:*:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
866 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
867 GUESS=sv1-cray-unicos$CRAY_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
868 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
869 *:UNICOS/mp:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
870 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
871 GUESS=craynv-cray-unicosmp$CRAY_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
872 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
873 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
874 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
875 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
876 FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
877 GUESS=${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
878 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
879 5000:UNIX_System_V:4.*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
880 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
881 FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
882 GUESS=sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
883 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
884 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
885 GUESS=$UNAME_MACHINE-pc-bsdi$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
886 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
887 sparc*:BSD/OS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
888 GUESS=sparc-unknown-bsdi$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
889 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
890 *:BSD/OS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
891 GUESS=$UNAME_MACHINE-unknown-bsdi$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
892 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
893 arm:FreeBSD:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
894 UNAME_PROCESSOR=`uname -p`
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
895 set_cc_for_build
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
896 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
897 | grep -q __ARM_PCS_VFP
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
898 then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
899 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
900 GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabi
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
901 else
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
902 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
903 GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabihf
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
904 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
905 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
906 *:FreeBSD:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
907 UNAME_PROCESSOR=`/usr/bin/uname -p`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
908 case $UNAME_PROCESSOR in
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
909 amd64)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
910 UNAME_PROCESSOR=x86_64 ;;
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
911 i386)
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
912 UNAME_PROCESSOR=i586 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
913 esac
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
914 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
915 GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
916 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
917 i*:CYGWIN*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
918 GUESS=$UNAME_MACHINE-pc-cygwin
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
919 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
920 *:MINGW64*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
921 GUESS=$UNAME_MACHINE-pc-mingw64
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
922 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
923 *:MINGW*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
924 GUESS=$UNAME_MACHINE-pc-mingw32
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
925 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
926 *:MSYS*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
927 GUESS=$UNAME_MACHINE-pc-msys
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
928 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
929 i*:PW*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
930 GUESS=$UNAME_MACHINE-pc-pw32
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
931 ;;
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
932 *:SerenityOS:*:*)
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
933 GUESS=$UNAME_MACHINE-pc-serenity
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
934 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
935 *:Interix*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
936 case $UNAME_MACHINE in
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
937 x86)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
938 GUESS=i586-pc-interix$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
939 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
940 authenticamd | genuineintel | EM64T)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
941 GUESS=x86_64-unknown-interix$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
942 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
943 IA64)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
944 GUESS=ia64-unknown-interix$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
945 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
946 esac ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
947 i*:UWIN*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
948 GUESS=$UNAME_MACHINE-pc-uwin
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
949 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
950 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
951 GUESS=x86_64-pc-cygwin
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
952 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
953 prep*:SunOS:5.*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
954 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
955 GUESS=powerpcle-unknown-solaris2$SUN_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
956 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
957 *:GNU:*:*)
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
958 # the GNU system
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
959 GNU_ARCH=`echo "$UNAME_MACHINE" | sed -e 's,[-/].*$,,'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
960 GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's,/.*$,,'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
961 GUESS=$GNU_ARCH-unknown-$LIBC$GNU_REL
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
962 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
963 *:GNU/*:*:*)
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
964 # other systems with GNU libc and userland
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
965 GNU_SYS=`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
966 GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
967 GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
968 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
969 *:Minix:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
970 GUESS=$UNAME_MACHINE-unknown-minix
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
971 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
972 aarch64:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
973 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
974 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
975 aarch64_be:Linux:*:*)
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
976 UNAME_MACHINE=aarch64_be
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
977 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
978 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
979 alpha:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
980 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
981 EV5) UNAME_MACHINE=alphaev5 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
982 EV56) UNAME_MACHINE=alphaev56 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
983 PCA56) UNAME_MACHINE=alphapca56 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
984 PCA57) UNAME_MACHINE=alphapca56 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
985 EV6) UNAME_MACHINE=alphaev6 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
986 EV67) UNAME_MACHINE=alphaev67 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
987 EV68*) UNAME_MACHINE=alphaev68 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
988 esac
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
989 objdump --private-headers /bin/sh | grep -q ld.so.1
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
990 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
991 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
992 ;;
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
993 arc:Linux:*:* | arceb:Linux:*:* | arc32:Linux:*:* | arc64:Linux:*:*)
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
994 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
995 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
996 arm*:Linux:*:*)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
997 set_cc_for_build
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
998 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
999 | grep -q __ARM_EABI__
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1000 then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1001 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1002 else
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1003 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1004 | grep -q __ARM_PCS_VFP
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1005 then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1006 GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabi
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1007 else
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1008 GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabihf
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1009 fi
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1010 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1011 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1012 avr32*:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1013 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1014 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1015 cris:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1016 GUESS=$UNAME_MACHINE-axis-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1017 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1018 crisv32:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1019 GUESS=$UNAME_MACHINE-axis-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1020 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1021 e2k:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1022 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1023 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1024 frv:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1025 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1026 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1027 hexagon:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1028 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1029 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1030 i*86:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1031 GUESS=$UNAME_MACHINE-pc-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1032 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1033 ia64:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1034 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1035 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1036 k1om:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1037 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1038 ;;
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
1039 loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1040 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1041 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1042 m32r*:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1043 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1044 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1045 m68*:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1046 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1047 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1048 mips:Linux:*:* | mips64:Linux:*:*)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1049 set_cc_for_build
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1050 IS_GLIBC=0
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1051 test x"${LIBC}" = xgnu && IS_GLIBC=1
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1052 sed 's/^ //' << EOF > "$dummy.c"
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1053 #undef CPU
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1054 #undef mips
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1055 #undef mipsel
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1056 #undef mips64
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1057 #undef mips64el
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1058 #if ${IS_GLIBC} && defined(_ABI64)
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1059 LIBCABI=gnuabi64
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1060 #else
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1061 #if ${IS_GLIBC} && defined(_ABIN32)
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1062 LIBCABI=gnuabin32
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1063 #else
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1064 LIBCABI=${LIBC}
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1065 #endif
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1066 #endif
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1067
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1068 #if ${IS_GLIBC} && defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1069 CPU=mipsisa64r6
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1070 #else
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1071 #if ${IS_GLIBC} && !defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1072 CPU=mipsisa32r6
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1073 #else
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1074 #if defined(__mips64)
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1075 CPU=mips64
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1076 #else
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1077 CPU=mips
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1078 #endif
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1079 #endif
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1080 #endif
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1081
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1082 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1083 MIPS_ENDIAN=el
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1084 #else
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1085 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1086 MIPS_ENDIAN=
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1087 #else
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1088 MIPS_ENDIAN=
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1089 #endif
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1090 #endif
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1091 EOF
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1092 cc_set_vars=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU\|^MIPS_ENDIAN\|^LIBCABI'`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1093 eval "$cc_set_vars"
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1094 test "x$CPU" != x && { echo "$CPU${MIPS_ENDIAN}-unknown-linux-$LIBCABI"; exit; }
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1095 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1096 mips64el:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1097 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1098 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1099 openrisc*:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1100 GUESS=or1k-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1101 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1102 or32:Linux:*:* | or1k*:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1103 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1104 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1105 padre:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1106 GUESS=sparc-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1107 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1108 parisc64:Linux:*:* | hppa64:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1109 GUESS=hppa64-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1110 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1111 parisc:Linux:*:* | hppa:Linux:*:*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1112 # Look for CPU level
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1113 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1114 PA7*) GUESS=hppa1.1-unknown-linux-$LIBC ;;
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1115 PA8*) GUESS=hppa2.0-unknown-linux-$LIBC ;;
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1116 *) GUESS=hppa-unknown-linux-$LIBC ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1117 esac
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1118 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1119 ppc64:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1120 GUESS=powerpc64-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1121 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1122 ppc:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1123 GUESS=powerpc-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1124 ;;
859
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
1125 ppc64le:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1126 GUESS=powerpc64le-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1127 ;;
859
4891acd7ab4f another new config.guess 2013-06-10
Matt Johnston <matt@ucc.asn.au>
parents: 792
diff changeset
1128 ppcle:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1129 GUESS=powerpcle-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1130 ;;
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
1131 riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1132 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1133 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1134 s390:Linux:*:* | s390x:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1135 GUESS=$UNAME_MACHINE-ibm-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1136 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
1137 sh64*:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1138 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1139 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1140 sh*:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1141 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1142 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1143 sparc:Linux:*:* | sparc64:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1144 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1145 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1146 tile*:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1147 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1148 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
1149 vax:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1150 GUESS=$UNAME_MACHINE-dec-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1151 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1152 x86_64:Linux:*:*)
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
1153 set_cc_for_build
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
1154 LIBCABI=$LIBC
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
1155 if test "$CC_FOR_BUILD" != no_compiler_found; then
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
1156 if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
1157 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
1158 grep IS_X32 >/dev/null
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
1159 then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1160 LIBCABI=${LIBC}x32
1813
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
1161 fi
b63f1e803f70 Update config.sub and config.guess to latest
Matt Johnston <matt@ucc.asn.au>
parents: 1644
diff changeset
1162 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1163 GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1164 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1165 xtensa*:Linux:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1166 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1167 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1168 i*86:DYNIX/ptx:4*:*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1169 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1170 # earlier versions are messed up and put the nodename in both
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1171 # sysname and nodename.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1172 GUESS=i386-sequent-sysv4
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1173 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1174 i*86:UNIX_SV:4.2MP:2.*)
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1175 # Unixware is an offshoot of SVR4, but it has its own version
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1176 # number series starting with 2...
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1177 # I am not positive that other SVR4 systems won't match this,
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1178 # I just have to hope. -- rms.
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1179 # Use sysv4.2uw... so that sysv4* matches it.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1180 GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1181 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1182 i*86:OS/2:*:*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1183 # If we were able to find `uname', then EMX Unix compatibility
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1184 # is probably installed.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1185 GUESS=$UNAME_MACHINE-pc-os2-emx
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1186 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1187 i*86:XTS-300:*:STOP)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1188 GUESS=$UNAME_MACHINE-unknown-stop
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1189 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1190 i*86:atheos:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1191 GUESS=$UNAME_MACHINE-unknown-atheos
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1192 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
1193 i*86:syllable:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1194 GUESS=$UNAME_MACHINE-pc-syllable
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1195 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1196 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1197 GUESS=i386-unknown-lynxos$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1198 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1199 i*86:*DOS:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1200 GUESS=$UNAME_MACHINE-pc-msdosdjgpp
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1201 ;;
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1202 i*86:*:4.*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1203 UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1204 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1205 GUESS=$UNAME_MACHINE-univel-sysv$UNAME_REL
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1206 else
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1207 GUESS=$UNAME_MACHINE-pc-sysv$UNAME_REL
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1208 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1209 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
1210 i*86:*:5:[678]*)
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1211 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1212 case `/bin/uname -X | grep "^Machine"` in
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1213 *486*) UNAME_MACHINE=i486 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1214 *Pentium) UNAME_MACHINE=i586 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1215 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1216 esac
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1217 GUESS=$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1218 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1219 i*86:*:3.2:*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1220 if test -f /usr/options/cb.name; then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1221 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1222 GUESS=$UNAME_MACHINE-pc-isc$UNAME_REL
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1223 elif /bin/uname -X 2>/dev/null >/dev/null ; then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1224 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1225 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1226 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1227 && UNAME_MACHINE=i586
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1228 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1229 && UNAME_MACHINE=i686
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1230 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1231 && UNAME_MACHINE=i686
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1232 GUESS=$UNAME_MACHINE-pc-sco$UNAME_REL
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1233 else
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1234 GUESS=$UNAME_MACHINE-pc-sysv32
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1235 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1236 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1237 pc:*:*:*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1238 # Left here for compatibility:
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1239 # uname -m prints for DJGPP always 'pc', but it prints nothing about
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1240 # the processor, so we play safe by assuming i586.
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1241 # Note: whatever this is, it MUST be the same as what config.sub
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1242 # prints for the "djgpp" host, or else GDB configure will decide that
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1243 # this is a cross-build.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1244 GUESS=i586-pc-msdosdjgpp
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1245 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1246 Intel:Mach:3*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1247 GUESS=i386-pc-mach3
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1248 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1249 paragon:*:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1250 GUESS=i860-intel-osf1
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1251 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1252 i860:*:4.*:*) # i860-SVR4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1253 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1254 GUESS=i860-stardent-sysv$UNAME_RELEASE # Stardent Vistra i860-SVR4
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1255 else # Add other i860-SVR4 vendors below as they are discovered.
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1256 GUESS=i860-unknown-sysv$UNAME_RELEASE # Unknown i860-SVR4
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1257 fi
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1258 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1259 mini*:CTIX:SYS*5:*)
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1260 # "miniframe"
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1261 GUESS=m68010-convergent-sysv
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1262 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1263 mc68k:UNIX:SYSTEM5:3.51m)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1264 GUESS=m68k-convergent-sysv
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1265 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1266 M680?0:D-NIX:5.3:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1267 GUESS=m68k-diab-dnix
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1268 ;;
393
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
1269 M68*:*:R3V[5678]*:*)
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
1270 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
5587d151d5a2 Update to latest
Matt Johnston <matt@ucc.asn.au>
parents: 4
diff changeset
1271 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)
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1272 OS_REL=''
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1273 test -r /etc/.relid \
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1274 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1275 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1276 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1277 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1278 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1279 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1280 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1281 && { echo i486-ncr-sysv4; exit; } ;;
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1282 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1283 OS_REL='.3'
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1284 test -r /etc/.relid \
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1285 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1286 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1287 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1288 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1289 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1290 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1644
b3196c46f780 Update config.sub to 2019-01-05 and config.guess to 2019-03-04
Matt Johnston <matt@ucc.asn.au>
parents: 859
diff changeset
1291 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1292 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1293 GUESS=m68k-unknown-lynxos$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1294 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1295 mc68030:UNIX_System_V:4.*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1296 GUESS=m68k-atari-sysv4
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1297 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1298 TSUNAMI:LynxOS:2.*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1299 GUESS=sparc-unknown-lynxos$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1300 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1301 rs6000:LynxOS:2.*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1302 GUESS=rs6000-unknown-lynxos$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1303 ;;
792
239ede24d54f Update config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 393
diff changeset
1304 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1305 GUESS=powerpc-unknown-lynxos$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1306 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1307 SM[BE]S:UNIX_SV:*:*)
1929
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1308 GUESS=mips-dde-sysv$UNAME_RELEASE
315dbcef7293 Update to latest config.guess and config.sub
Matt Johnston <matt@ucc.asn.au>
parents: 1813
diff changeset
1309 ;;
4
fe6bca95afa7 Makefile.in contains updated files required
Matt Johnston <matt@ucc.asn.au>
parents:
diff