annotate tools/config.sub @ 7225:48e5a8cd5086 default tip @

Qt6: Update to version 6.7.1 * qt6-qtbase.mk: Update version and checksum. Remove no longer recognized configure switch. * qt6-qtbase-1-fixes.patch: Adjust patch for reorganized CMake files. Remove hunk that is no longer needed. * qt6-qtbase-2-6.7.0-opengl-header.patch: Add new patch. * dist-files.mk: Add new file to list. * qt6-qt5compat.mk, qt6-qtimageformats.mk, qt6-qtsvg.mk, qt6-qttools.mk, qt6-qttranslations.mk: Update checksum.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 31 May 2024 10:58:54 +0200
parents 698a649c0375
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 #! /bin/sh
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # Configuration validation subroutine script.
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
3 # Copyright 1992-2017 Free Software Foundation, Inc.
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
5 timestamp='2017-04-02'
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 # This file is free software; you can redistribute it and/or modify it
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 # under the terms of the GNU General Public License as published by
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 # the Free Software Foundation; either version 3 of the License, or
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 # (at your option) any later version.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 #
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 # This program is distributed in the hope that it will be useful, but
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 # General Public License for more details.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 #
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 # along with this program; if not, see <http://www.gnu.org/licenses/>.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 #
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 # As a special exception to the GNU General Public License, if you
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 # distribute this file as part of a program that contains a
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 # configuration script generated by Autoconf, you may include it under
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 # the same distribution terms that you use for the rest of that
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 # program. This Exception is an additional permission under section 7
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 # of the GNU General Public License, version 3 ("GPLv3").
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
28 # Please send patches to <config-patches@gnu.org>.
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 #
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 # Configuration subroutine to validate and canonicalize a configuration type.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 # Supply the specified configuration type as an argument.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 # If it is invalid, we print an error message on stderr and exit with code 1.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 # Otherwise, we print the canonical config type on stdout and succeed.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 # You can get the latest version of this script from:
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
36 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 # This file is supposed to be the same for all GNU packages
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39 # and recognize all the CPU types, system types and aliases
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 # that are meaningful with *any* GNU software.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 # Each package is responsible for reporting which valid configurations
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 # it does not support. The user should be able to distinguish
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 # a failure to support a valid configuration from a meaningless
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44 # configuration.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46 # The goal of this file is to map all the various variations of a given
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 # machine specification into a single specification in the form:
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49 # or in some cases, the newer four-part form:
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51 # It is wrong to echo any other type of specification.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53 me=`echo "$0" | sed -e 's,.*/,,'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 usage="\
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
56 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 Canonicalize a configuration name.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
59
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60 Operation modes:
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61 -h, --help print this help, then exit
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62 -t, --time-stamp print date of last modification, then exit
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63 -v, --version print version number, then exit
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65 Report bugs and patches to <config-patches@gnu.org>."
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67 version="\
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68 GNU config.sub ($timestamp)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
70 Copyright 1992-2017 Free Software Foundation, Inc.
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72 This is free software; see the source for copying conditions. There is NO
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75 help="
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76 Try \`$me --help' for more information."
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
78 # Parse command line
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79 while test $# -gt 0 ; do
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
80 case $1 in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81 --time-stamp | --time* | -t )
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
82 echo "$timestamp" ; exit ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
83 --version | -v )
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
84 echo "$version" ; exit ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
85 --help | --h* | -h )
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
86 echo "$usage"; exit ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
87 -- ) # Stop option processing
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
88 shift; break ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
89 - ) # Use stdin as input.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
90 break ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
91 -* )
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
92 echo "$me: invalid option $1$help"
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
93 exit 1 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
94
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
95 *local*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
96 # First pass through any local machine types.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
97 echo $1
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
98 exit ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
99
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100 * )
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
101 break ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
102 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
103 done
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
104
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
105 case $# in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
106 0) echo "$me: missing argument$help" >&2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
107 exit 1;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
108 1) ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
109 *) echo "$me: too many arguments$help" >&2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
110 exit 1;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
111 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
112
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
114 # Here we must recognize all the valid KERNEL-OS combinations.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
115 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
116 case $maybe_os in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
119 knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
120 kopensolaris*-gnu* | cloudabi*-eabi* | \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
121 storm-chaos* | os2-emx* | rtmk-nova*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
122 os=-$maybe_os
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
124 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
125 android-linux)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
126 os=-linux-android
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
128 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
129 *)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
130 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
131 if [ $basic_machine != $1 ]
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
132 then os=`echo $1 | sed 's/.*-/-/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
133 else os=; fi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
134 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
135 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
136
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
137 ### Let's recognize common machines as not being operating systems so
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
138 ### that things like config.sub decstation-3100 work. We also
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
139 ### recognize some manufacturers as not being operating systems, so we
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
140 ### can provide default operating systems below.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
141 case $os in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
142 -sun*os*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
143 # Prevent following clause from handling this invalid input.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
144 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
145 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
146 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
147 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
148 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
149 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
150 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
151 -apple | -axis | -knuth | -cray | -microblaze*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
152 os=
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
153 basic_machine=$1
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
154 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
155 -bluegene*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
156 os=-cnk
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
157 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
158 -sim | -cisco | -oki | -wec | -winbond)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
159 os=
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
160 basic_machine=$1
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
161 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
162 -scout)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
163 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
164 -wrs)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
165 os=-vxworks
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
166 basic_machine=$1
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
167 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
168 -chorusos*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
169 os=-chorusos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
170 basic_machine=$1
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
171 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
172 -chorusrdb)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
173 os=-chorusrdb
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
174 basic_machine=$1
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
175 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
176 -hiux*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
177 os=-hiuxwe2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
178 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
179 -sco6)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
180 os=-sco5v6
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
181 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
182 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
183 -sco5)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
184 os=-sco3.2v5
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
185 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
186 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
187 -sco4)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
188 os=-sco3.2v4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
189 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
190 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
191 -sco3.2.[4-9]*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
192 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
194 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
195 -sco3.2v[4-9]*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
196 # Don't forget version if it is 3.2v4 or newer.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
198 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
199 -sco5v6*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
200 # Don't forget version if it is 3.2v4 or newer.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
201 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
202 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
203 -sco*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
204 os=-sco3.2v2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
205 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
206 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
207 -udk*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
208 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
209 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
210 -isc)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211 os=-isc2.2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
212 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
213 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
214 -clix*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
215 basic_machine=clipper-intergraph
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
216 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
217 -isc*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
218 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
219 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
220 -lynx*178)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
221 os=-lynxos178
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
222 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
223 -lynx*5)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
224 os=-lynxos5
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
225 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
226 -lynx*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
227 os=-lynxos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
228 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
229 -ptx*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
230 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
231 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
232 -windowsnt*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
233 os=`echo $os | sed -e 's/windowsnt/winnt/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
234 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
235 -psos*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
236 os=-psos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
237 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
238 -mint | -mint[0-9]*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
239 basic_machine=m68k-atari
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
240 os=-mint
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
241 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
242 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
243
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
244 # Decode aliases for certain CPU-COMPANY combinations.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
245 case $basic_machine in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
246 # Recognize the basic CPU types without company name.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
247 # Some are omitted here because they have special meanings below.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
248 1750a | 580 \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
249 | a29k \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
250 | aarch64 | aarch64_be \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
251 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
252 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
253 | am33_2.0 \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
254 | arc | arceb \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
255 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
256 | avr | avr32 \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
257 | ba \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
258 | be32 | be64 \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
259 | bfin \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
260 | c4x | c8051 | clipper \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
261 | d10v | d30v | dlx | dsp16xx \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
262 | e2k | epiphany \
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
263 | fido | fr30 | frv | ft32 \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
264 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
265 | hexagon \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
266 | i370 | i860 | i960 | ia16 | ia64 \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
267 | ip2k | iq2000 \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
268 | k1om \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
269 | le32 | le64 \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
270 | lm32 \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
271 | m32c | m32r | m32rle | m68000 | m68k | m88k \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
272 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
273 | mips | mipsbe | mipseb | mipsel | mipsle \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
274 | mips16 \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
275 | mips64 | mips64el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
276 | mips64octeon | mips64octeonel \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
277 | mips64orion | mips64orionel \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
278 | mips64r5900 | mips64r5900el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
279 | mips64vr | mips64vrel \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
280 | mips64vr4100 | mips64vr4100el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
281 | mips64vr4300 | mips64vr4300el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
282 | mips64vr5000 | mips64vr5000el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
283 | mips64vr5900 | mips64vr5900el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
284 | mipsisa32 | mipsisa32el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
285 | mipsisa32r2 | mipsisa32r2el \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
286 | mipsisa32r6 | mipsisa32r6el \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
287 | mipsisa64 | mipsisa64el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
288 | mipsisa64r2 | mipsisa64r2el \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
289 | mipsisa64r6 | mipsisa64r6el \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
290 | mipsisa64sb1 | mipsisa64sb1el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
291 | mipsisa64sr71k | mipsisa64sr71kel \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
292 | mipsr5900 | mipsr5900el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
293 | mipstx39 | mipstx39el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
294 | mn10200 | mn10300 \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
295 | moxie \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
296 | mt \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
297 | msp430 \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
298 | nds32 | nds32le | nds32be \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
299 | nios | nios2 | nios2eb | nios2el \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
300 | ns16k | ns32k \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
301 | open8 | or1k | or1knd | or32 \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
302 | pdp10 | pdp11 | pj | pjl \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
303 | powerpc | powerpc64 | powerpc64le | powerpcle \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
304 | pru \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
305 | pyramid \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
306 | riscv32 | riscv64 \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
307 | rl78 | rx \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
308 | score \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
309 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
310 | sh64 | sh64le \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
311 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
312 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
313 | spu \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
314 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
315 | ubicom32 \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
316 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
317 | visium \
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
318 | wasm32 \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
319 | we32k \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
320 | x86 | xc16x | xstormy16 | xtensa \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
321 | z8k | z80)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
322 basic_machine=$basic_machine-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
323 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
324 c54x)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
325 basic_machine=tic54x-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
326 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
327 c55x)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
328 basic_machine=tic55x-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
329 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
330 c6x)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
331 basic_machine=tic6x-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
332 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
333 leon|leon[3-9])
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
334 basic_machine=sparc-$basic_machine
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
335 ;;
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
336 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
337 basic_machine=$basic_machine-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
338 os=-none
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
339 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
340 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
341 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
342 ms1)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
343 basic_machine=mt-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
344 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
345
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
346 strongarm | thumb | xscale)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
347 basic_machine=arm-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
348 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
349 xgate)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
350 basic_machine=$basic_machine-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
351 os=-none
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
352 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
353 xscaleeb)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
354 basic_machine=armeb-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
355 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
356
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
357 xscaleel)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
358 basic_machine=armel-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
359 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
360
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
361 # We use `pc' rather than `unknown'
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
362 # because (1) that's what they normally are, and
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
363 # (2) the word "unknown" tends to confuse beginning users.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
364 i*86 | x86_64)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
365 basic_machine=$basic_machine-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
366 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
367 # Object if more than one company name word.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
368 *-*-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
369 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
370 exit 1
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
371 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
372 # Recognize the basic CPU types with company name.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
373 580-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
374 | a29k-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
375 | aarch64-* | aarch64_be-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
376 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
377 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
378 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
379 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
380 | avr-* | avr32-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
381 | ba-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
382 | be32-* | be64-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
383 | bfin-* | bs2000-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
384 | c[123]* | c30-* | [cjt]90-* | c4x-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
385 | c8051-* | clipper-* | craynv-* | cydra-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
386 | d10v-* | d30v-* | dlx-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
387 | e2k-* | elxsi-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
388 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
389 | h8300-* | h8500-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
390 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
391 | hexagon-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
392 | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
393 | ip2k-* | iq2000-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
394 | k1om-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
395 | le32-* | le64-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
396 | lm32-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
397 | m32c-* | m32r-* | m32rle-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
398 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
399 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
400 | microblaze-* | microblazeel-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
401 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
402 | mips16-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
403 | mips64-* | mips64el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
404 | mips64octeon-* | mips64octeonel-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
405 | mips64orion-* | mips64orionel-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
406 | mips64r5900-* | mips64r5900el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
407 | mips64vr-* | mips64vrel-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
408 | mips64vr4100-* | mips64vr4100el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
409 | mips64vr4300-* | mips64vr4300el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
410 | mips64vr5000-* | mips64vr5000el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
411 | mips64vr5900-* | mips64vr5900el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
412 | mipsisa32-* | mipsisa32el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
413 | mipsisa32r2-* | mipsisa32r2el-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
414 | mipsisa32r6-* | mipsisa32r6el-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
415 | mipsisa64-* | mipsisa64el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
416 | mipsisa64r2-* | mipsisa64r2el-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
417 | mipsisa64r6-* | mipsisa64r6el-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
418 | mipsisa64sb1-* | mipsisa64sb1el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
419 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
420 | mipsr5900-* | mipsr5900el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
421 | mipstx39-* | mipstx39el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
422 | mmix-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
423 | mt-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
424 | msp430-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
425 | nds32-* | nds32le-* | nds32be-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
426 | nios-* | nios2-* | nios2eb-* | nios2el-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
427 | none-* | np1-* | ns16k-* | ns32k-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
428 | open8-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
429 | or1k*-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
430 | orion-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
431 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
432 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
433 | pru-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
434 | pyramid-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
435 | riscv32-* | riscv64-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
436 | rl78-* | romp-* | rs6000-* | rx-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
437 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
438 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
439 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
440 | sparclite-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
441 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
442 | tahoe-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
443 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
444 | tile*-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
445 | tron-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
446 | ubicom32-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
447 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
448 | vax-* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
449 | visium-* \
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
450 | wasm32-* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
451 | we32k-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
452 | x86-* | x86_64-* | xc16x-* | xps100-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
453 | xstormy16-* | xtensa*-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
454 | ymp-* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
455 | z8k-* | z80-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
456 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
457 # Recognize the basic CPU types without company name, with glob match.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
458 xtensa*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
459 basic_machine=$basic_machine-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
460 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
461 # Recognize the various machine names and aliases which stand
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
462 # for a CPU type and a company and sometimes even an OS.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
463 386bsd)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
464 basic_machine=i386-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
465 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
466 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
467 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
468 basic_machine=m68000-att
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
469 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
470 3b*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
471 basic_machine=we32k-att
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
472 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
473 a29khif)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
474 basic_machine=a29k-amd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
475 os=-udi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
476 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
477 abacus)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
478 basic_machine=abacus-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
479 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
480 adobe68k)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
481 basic_machine=m68010-adobe
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
482 os=-scout
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
483 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
484 alliant | fx80)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
485 basic_machine=fx80-alliant
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
486 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
487 altos | altos3068)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
488 basic_machine=m68k-altos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
489 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
490 am29k)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
491 basic_machine=a29k-none
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
492 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
493 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
494 amd64)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
495 basic_machine=x86_64-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
496 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
497 amd64-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
498 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
499 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
500 amdahl)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
501 basic_machine=580-amdahl
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
502 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
503 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
504 amiga | amiga-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
505 basic_machine=m68k-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
506 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
507 amigaos | amigados)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
508 basic_machine=m68k-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
509 os=-amigaos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
510 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
511 amigaunix | amix)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
512 basic_machine=m68k-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
513 os=-sysv4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
514 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
515 apollo68)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
516 basic_machine=m68k-apollo
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
517 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
518 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
519 apollo68bsd)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
520 basic_machine=m68k-apollo
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
521 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
522 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
523 aros)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
524 basic_machine=i386-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
525 os=-aros
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
526 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
527 asmjs)
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
528 basic_machine=asmjs-unknown
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
529 ;;
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
530 aux)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
531 basic_machine=m68k-apple
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
532 os=-aux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
533 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
534 balance)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
535 basic_machine=ns32k-sequent
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
536 os=-dynix
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
537 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
538 blackfin)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
539 basic_machine=bfin-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
540 os=-linux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
541 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
542 blackfin-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
543 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
544 os=-linux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
545 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
546 bluegene*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
547 basic_machine=powerpc-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
548 os=-cnk
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
549 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
550 c54x-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
551 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
552 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
553 c55x-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
554 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
555 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
556 c6x-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
557 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
558 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
559 c90)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
560 basic_machine=c90-cray
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
561 os=-unicos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
562 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
563 cegcc)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
564 basic_machine=arm-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
565 os=-cegcc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
566 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
567 convex-c1)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
568 basic_machine=c1-convex
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
569 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
570 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
571 convex-c2)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
572 basic_machine=c2-convex
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
573 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
574 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
575 convex-c32)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
576 basic_machine=c32-convex
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
577 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
578 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
579 convex-c34)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
580 basic_machine=c34-convex
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
581 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
582 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
583 convex-c38)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
584 basic_machine=c38-convex
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
585 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
586 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
587 cray | j90)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
588 basic_machine=j90-cray
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
589 os=-unicos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
590 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
591 craynv)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
592 basic_machine=craynv-cray
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
593 os=-unicosmp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
594 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
595 cr16 | cr16-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
596 basic_machine=cr16-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
597 os=-elf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
598 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
599 crds | unos)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
600 basic_machine=m68k-crds
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
601 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
602 crisv32 | crisv32-* | etraxfs*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
603 basic_machine=crisv32-axis
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
604 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
605 cris | cris-* | etrax*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
606 basic_machine=cris-axis
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
607 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
608 crx)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
609 basic_machine=crx-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
610 os=-elf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
611 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
612 da30 | da30-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
613 basic_machine=m68k-da30
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
614 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
615 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
616 basic_machine=mips-dec
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
617 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
618 decsystem10* | dec10*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
619 basic_machine=pdp10-dec
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
620 os=-tops10
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
621 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
622 decsystem20* | dec20*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
623 basic_machine=pdp10-dec
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
624 os=-tops20
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
625 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
626 delta | 3300 | motorola-3300 | motorola-delta \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
627 | 3300-motorola | delta-motorola)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
628 basic_machine=m68k-motorola
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
629 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
630 delta88)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
631 basic_machine=m88k-motorola
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
632 os=-sysv3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
633 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
634 dicos)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
635 basic_machine=i686-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
636 os=-dicos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
637 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
638 djgpp)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
639 basic_machine=i586-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
640 os=-msdosdjgpp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
641 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
642 dpx20 | dpx20-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
643 basic_machine=rs6000-bull
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
644 os=-bosx
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
645 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
646 dpx2* | dpx2*-bull)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
647 basic_machine=m68k-bull
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
648 os=-sysv3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
649 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
650 e500v[12])
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
651 basic_machine=powerpc-unknown
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
652 os=$os"spe"
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
653 ;;
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
654 e500v[12]-*)
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
655 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
656 os=$os"spe"
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
657 ;;
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
658 ebmon29k)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
659 basic_machine=a29k-amd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
660 os=-ebmon
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
661 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
662 elxsi)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
663 basic_machine=elxsi-elxsi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
664 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
665 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
666 encore | umax | mmax)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
667 basic_machine=ns32k-encore
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
668 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
669 es1800 | OSE68k | ose68k | ose | OSE)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
670 basic_machine=m68k-ericsson
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
671 os=-ose
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
672 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
673 fx2800)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
674 basic_machine=i860-alliant
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
675 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
676 genix)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
677 basic_machine=ns32k-ns
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
678 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
679 gmicro)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
680 basic_machine=tron-gmicro
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
681 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
682 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
683 go32)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
684 basic_machine=i386-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
685 os=-go32
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
686 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
687 h3050r* | hiux*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
688 basic_machine=hppa1.1-hitachi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
689 os=-hiuxwe2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
690 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
691 h8300hms)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
692 basic_machine=h8300-hitachi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
693 os=-hms
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
694 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
695 h8300xray)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
696 basic_machine=h8300-hitachi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
697 os=-xray
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
698 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
699 h8500hms)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
700 basic_machine=h8500-hitachi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
701 os=-hms
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
702 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
703 harris)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
704 basic_machine=m88k-harris
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
705 os=-sysv3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
706 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
707 hp300-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
708 basic_machine=m68k-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
709 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
710 hp300bsd)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
711 basic_machine=m68k-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
712 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
713 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
714 hp300hpux)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
715 basic_machine=m68k-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
716 os=-hpux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
717 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
718 hp3k9[0-9][0-9] | hp9[0-9][0-9])
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
719 basic_machine=hppa1.0-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
720 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
721 hp9k2[0-9][0-9] | hp9k31[0-9])
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
722 basic_machine=m68000-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
723 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
724 hp9k3[2-9][0-9])
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
725 basic_machine=m68k-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
726 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
727 hp9k6[0-9][0-9] | hp6[0-9][0-9])
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
728 basic_machine=hppa1.0-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
729 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
730 hp9k7[0-79][0-9] | hp7[0-79][0-9])
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
731 basic_machine=hppa1.1-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
732 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
733 hp9k78[0-9] | hp78[0-9])
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
734 # FIXME: really hppa2.0-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
735 basic_machine=hppa1.1-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
736 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
737 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
738 # FIXME: really hppa2.0-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
739 basic_machine=hppa1.1-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
740 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
741 hp9k8[0-9][13679] | hp8[0-9][13679])
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
742 basic_machine=hppa1.1-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
743 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
744 hp9k8[0-9][0-9] | hp8[0-9][0-9])
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
745 basic_machine=hppa1.0-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
746 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
747 hppa-next)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
748 os=-nextstep3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
749 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
750 hppaosf)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
751 basic_machine=hppa1.1-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
752 os=-osf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
753 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
754 hppro)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
755 basic_machine=hppa1.1-hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
756 os=-proelf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
757 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
758 i370-ibm* | ibm*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
759 basic_machine=i370-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
760 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
761 i*86v32)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
762 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
763 os=-sysv32
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
764 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
765 i*86v4*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
766 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
767 os=-sysv4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
768 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
769 i*86v)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
770 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
771 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
772 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
773 i*86sol2)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
774 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
775 os=-solaris2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
776 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
777 i386mach)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
778 basic_machine=i386-mach
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
779 os=-mach
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
780 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
781 i386-vsta | vsta)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
782 basic_machine=i386-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
783 os=-vsta
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
784 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
785 iris | iris4d)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
786 basic_machine=mips-sgi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
787 case $os in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
788 -irix*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
789 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
790 *)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
791 os=-irix4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
792 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
793 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
794 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
795 isi68 | isi)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
796 basic_machine=m68k-isi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
797 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
798 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
799 leon-*|leon[3-9]-*)
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
800 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
801 ;;
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
802 m68knommu)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
803 basic_machine=m68k-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
804 os=-linux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
805 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
806 m68knommu-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
807 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
808 os=-linux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
809 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
810 m88k-omron*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
811 basic_machine=m88k-omron
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
812 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
813 magnum | m3230)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
814 basic_machine=mips-mips
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
815 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
816 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
817 merlin)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
818 basic_machine=ns32k-utek
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
819 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
820 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
821 microblaze*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
822 basic_machine=microblaze-xilinx
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
823 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
824 mingw64)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
825 basic_machine=x86_64-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
826 os=-mingw64
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
827 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
828 mingw32)
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
829 basic_machine=i686-pc
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
830 os=-mingw32
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
831 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
832 mingw32ce)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
833 basic_machine=arm-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
834 os=-mingw32ce
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
835 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
836 miniframe)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
837 basic_machine=m68000-convergent
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
838 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
839 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
840 basic_machine=m68k-atari
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
841 os=-mint
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
842 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
843 mips3*-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
844 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
845 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
846 mips3*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
847 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
848 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
849 monitor)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
850 basic_machine=m68k-rom68k
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
851 os=-coff
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
852 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
853 morphos)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
854 basic_machine=powerpc-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
855 os=-morphos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
856 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
857 moxiebox)
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
858 basic_machine=moxie-unknown
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
859 os=-moxiebox
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
860 ;;
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
861 msdos)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
862 basic_machine=i386-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
863 os=-msdos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
864 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
865 ms1-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
866 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
867 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
868 msys)
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
869 basic_machine=i686-pc
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
870 os=-msys
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
871 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
872 mvs)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
873 basic_machine=i370-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
874 os=-mvs
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
875 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
876 nacl)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
877 basic_machine=le32-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
878 os=-nacl
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
879 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
880 ncr3000)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
881 basic_machine=i486-ncr
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
882 os=-sysv4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
883 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
884 netbsd386)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
885 basic_machine=i386-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
886 os=-netbsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
887 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
888 netwinder)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
889 basic_machine=armv4l-rebel
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
890 os=-linux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
891 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
892 news | news700 | news800 | news900)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
893 basic_machine=m68k-sony
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
894 os=-newsos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
895 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
896 news1000)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
897 basic_machine=m68030-sony
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
898 os=-newsos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
899 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
900 news-3600 | risc-news)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
901 basic_machine=mips-sony
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
902 os=-newsos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
903 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
904 necv70)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
905 basic_machine=v70-nec
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
906 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
907 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
908 next | m*-next )
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
909 basic_machine=m68k-next
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
910 case $os in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
911 -nextstep* )
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
912 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
913 -ns2*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
914 os=-nextstep2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
915 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
916 *)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
917 os=-nextstep3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
918 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
919 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
920 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
921 nh3000)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
922 basic_machine=m68k-harris
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
923 os=-cxux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
924 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
925 nh[45]000)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
926 basic_machine=m88k-harris
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
927 os=-cxux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
928 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
929 nindy960)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
930 basic_machine=i960-intel
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
931 os=-nindy
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
932 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
933 mon960)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
934 basic_machine=i960-intel
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
935 os=-mon960
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
936 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
937 nonstopux)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
938 basic_machine=mips-compaq
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
939 os=-nonstopux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
940 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
941 np1)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
942 basic_machine=np1-gould
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
943 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
944 neo-tandem)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
945 basic_machine=neo-tandem
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
946 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
947 nse-tandem)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
948 basic_machine=nse-tandem
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
949 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
950 nsr-tandem)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
951 basic_machine=nsr-tandem
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
952 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
953 nsx-tandem)
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
954 basic_machine=nsx-tandem
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
955 ;;
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
956 op50n-* | op60c-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
957 basic_machine=hppa1.1-oki
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
958 os=-proelf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
959 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
960 openrisc | openrisc-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
961 basic_machine=or32-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
962 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
963 os400)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
964 basic_machine=powerpc-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
965 os=-os400
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
966 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
967 OSE68000 | ose68000)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
968 basic_machine=m68000-ericsson
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
969 os=-ose
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
970 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
971 os68k)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
972 basic_machine=m68k-none
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
973 os=-os68k
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
974 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
975 pa-hitachi)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
976 basic_machine=hppa1.1-hitachi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
977 os=-hiuxwe2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
978 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
979 paragon)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
980 basic_machine=i860-intel
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
981 os=-osf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
982 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
983 parisc)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
984 basic_machine=hppa-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
985 os=-linux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
986 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
987 parisc-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
988 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
989 os=-linux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
990 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
991 pbd)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
992 basic_machine=sparc-tti
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
993 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
994 pbb)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
995 basic_machine=m68k-tti
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
996 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
997 pc532 | pc532-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
998 basic_machine=ns32k-pc532
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
999 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1000 pc98)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1001 basic_machine=i386-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1002 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1003 pc98-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1004 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1005 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1006 pentium | p5 | k5 | k6 | nexgen | viac3)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1007 basic_machine=i586-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1008 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1009 pentiumpro | p6 | 6x86 | athlon | athlon_*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1010 basic_machine=i686-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1011 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1012 pentiumii | pentium2 | pentiumiii | pentium3)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1013 basic_machine=i686-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1014 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1015 pentium4)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1016 basic_machine=i786-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1017 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1018 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1019 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1020 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1021 pentiumpro-* | p6-* | 6x86-* | athlon-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1022 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1023 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1024 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1025 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1026 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1027 pentium4-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1028 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1029 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1030 pn)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1031 basic_machine=pn-gould
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1032 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1033 power) basic_machine=power-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1034 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1035 ppc | ppcbe) basic_machine=powerpc-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1036 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1037 ppc-* | ppcbe-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1038 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1039 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1040 ppcle | powerpclittle)
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1041 basic_machine=powerpcle-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1042 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1043 ppcle-* | powerpclittle-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1044 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1045 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1046 ppc64) basic_machine=powerpc64-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1047 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1048 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1049 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1050 ppc64le | powerpc64little)
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1051 basic_machine=powerpc64le-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1052 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1053 ppc64le-* | powerpc64little-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1054 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1055 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1056 ps2)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1057 basic_machine=i386-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1058 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1059 pw32)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1060 basic_machine=i586-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1061 os=-pw32
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1062 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1063 rdos | rdos64)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1064 basic_machine=x86_64-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1065 os=-rdos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1066 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1067 rdos32)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1068 basic_machine=i386-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1069 os=-rdos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1070 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1071 rom68k)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1072 basic_machine=m68k-rom68k
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1073 os=-coff
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1074 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1075 rm[46]00)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1076 basic_machine=mips-siemens
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1077 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1078 rtpc | rtpc-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1079 basic_machine=romp-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1080 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1081 s390 | s390-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1082 basic_machine=s390-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1083 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1084 s390x | s390x-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1085 basic_machine=s390x-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1086 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1087 sa29200)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1088 basic_machine=a29k-amd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1089 os=-udi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1090 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1091 sb1)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1092 basic_machine=mipsisa64sb1-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1093 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1094 sb1el)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1095 basic_machine=mipsisa64sb1el-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1096 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1097 sde)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1098 basic_machine=mipsisa32-sde
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1099 os=-elf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1100 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1101 sei)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1102 basic_machine=mips-sei
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1103 os=-seiux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1104 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1105 sequent)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1106 basic_machine=i386-sequent
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1107 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1108 sh)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1109 basic_machine=sh-hitachi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1110 os=-hms
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1111 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1112 sh5el)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1113 basic_machine=sh5le-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1114 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1115 sh64)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1116 basic_machine=sh64-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1117 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1118 sparclite-wrs | simso-wrs)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1119 basic_machine=sparclite-wrs
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1120 os=-vxworks
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1121 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1122 sps7)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1123 basic_machine=m68k-bull
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1124 os=-sysv2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1125 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1126 spur)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1127 basic_machine=spur-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1128 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1129 st2000)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1130 basic_machine=m68k-tandem
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1131 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1132 stratus)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1133 basic_machine=i860-stratus
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1134 os=-sysv4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1135 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1136 strongarm-* | thumb-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1137 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1138 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1139 sun2)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1140 basic_machine=m68000-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1141 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1142 sun2os3)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1143 basic_machine=m68000-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1144 os=-sunos3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1145 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1146 sun2os4)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1147 basic_machine=m68000-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1148 os=-sunos4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1149 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1150 sun3os3)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1151 basic_machine=m68k-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1152 os=-sunos3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1153 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1154 sun3os4)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1155 basic_machine=m68k-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1156 os=-sunos4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1157 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1158 sun4os3)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1159 basic_machine=sparc-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1160 os=-sunos3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1161 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1162 sun4os4)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1163 basic_machine=sparc-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1164 os=-sunos4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1165 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1166 sun4sol2)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1167 basic_machine=sparc-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1168 os=-solaris2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1169 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1170 sun3 | sun3-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1171 basic_machine=m68k-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1172 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1173 sun4)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1174 basic_machine=sparc-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1175 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1176 sun386 | sun386i | roadrunner)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1177 basic_machine=i386-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1178 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1179 sv1)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1180 basic_machine=sv1-cray
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1181 os=-unicos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1182 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1183 symmetry)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1184 basic_machine=i386-sequent
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1185 os=-dynix
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1186 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1187 t3e)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1188 basic_machine=alphaev5-cray
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1189 os=-unicos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1190 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1191 t90)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1192 basic_machine=t90-cray
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1193 os=-unicos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1194 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1195 tile*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1196 basic_machine=$basic_machine-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1197 os=-linux-gnu
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1198 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1199 tx39)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1200 basic_machine=mipstx39-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1201 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1202 tx39el)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1203 basic_machine=mipstx39el-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1204 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1205 toad1)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1206 basic_machine=pdp10-xkl
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1207 os=-tops20
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1208 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1209 tower | tower-32)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1210 basic_machine=m68k-ncr
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1211 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1212 tpf)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1213 basic_machine=s390x-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1214 os=-tpf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1215 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1216 udi29k)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1217 basic_machine=a29k-amd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1218 os=-udi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1219 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1220 ultra3)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1221 basic_machine=a29k-nyu
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1222 os=-sym1
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1223 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1224 v810 | necv810)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1225 basic_machine=v810-nec
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1226 os=-none
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1227 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1228 vaxv)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1229 basic_machine=vax-dec
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1230 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1231 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1232 vms)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1233 basic_machine=vax-dec
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1234 os=-vms
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1235 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1236 vpp*|vx|vx-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1237 basic_machine=f301-fujitsu
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1238 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1239 vxworks960)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1240 basic_machine=i960-wrs
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1241 os=-vxworks
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1242 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1243 vxworks68)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1244 basic_machine=m68k-wrs
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1245 os=-vxworks
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1246 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1247 vxworks29k)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1248 basic_machine=a29k-wrs
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1249 os=-vxworks
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1250 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1251 wasm32)
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1252 basic_machine=wasm32-unknown
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1253 ;;
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1254 w65*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1255 basic_machine=w65-wdc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1256 os=-none
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1257 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1258 w89k-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1259 basic_machine=hppa1.1-winbond
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1260 os=-proelf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1261 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1262 xbox)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1263 basic_machine=i686-pc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1264 os=-mingw32
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1265 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1266 xps | xps100)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1267 basic_machine=xps100-honeywell
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1268 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1269 xscale-* | xscalee[bl]-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1270 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1271 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1272 ymp)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1273 basic_machine=ymp-cray
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1274 os=-unicos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1275 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1276 z8k-*-coff)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1277 basic_machine=z8k-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1278 os=-sim
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1279 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1280 z80-*-coff)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1281 basic_machine=z80-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1282 os=-sim
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1283 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1284 none)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1285 basic_machine=none-none
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1286 os=-none
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1287 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1288
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1289 # Here we handle the default manufacturer of certain CPU types. It is in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1290 # some cases the only manufacturer, in others, it is the most popular.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1291 w89k)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1292 basic_machine=hppa1.1-winbond
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1293 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1294 op50n)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1295 basic_machine=hppa1.1-oki
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1296 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1297 op60c)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1298 basic_machine=hppa1.1-oki
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1299 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1300 romp)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1301 basic_machine=romp-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1302 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1303 mmix)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1304 basic_machine=mmix-knuth
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1305 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1306 rs6000)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1307 basic_machine=rs6000-ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1308 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1309 vax)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1310 basic_machine=vax-dec
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1311 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1312 pdp10)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1313 # there are many clones, so DEC is not a safe bet
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1314 basic_machine=pdp10-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1315 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1316 pdp11)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1317 basic_machine=pdp11-dec
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1318 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1319 we32k)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1320 basic_machine=we32k-att
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1321 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1322 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1323 basic_machine=sh-unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1324 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1325 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1326 basic_machine=sparc-sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1327 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1328 cydra)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1329 basic_machine=cydra-cydrome
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1330 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1331 orion)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1332 basic_machine=orion-highlevel
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1333 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1334 orion105)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1335 basic_machine=clipper-highlevel
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1336 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1337 mac | mpw | mac-mpw)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1338 basic_machine=m68k-apple
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1339 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1340 pmac | pmac-mpw)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1341 basic_machine=powerpc-apple
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1342 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1343 *-unknown)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1344 # Make sure to match an already-canonicalized machine name.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1345 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1346 *)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1347 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1348 exit 1
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1349 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1350 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1351
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1352 # Here we canonicalize certain aliases for manufacturers.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1353 case $basic_machine in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1354 *-digital*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1355 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1356 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1357 *-commodore*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1358 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1359 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1360 *)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1361 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1362 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1363
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1364 # Decode manufacturer-specific aliases for certain operating systems.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1365
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1366 if [ x"$os" != x"" ]
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1367 then
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1368 case $os in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1369 # First match some system type aliases
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1370 # that might get confused with valid system types.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1371 # -solaris* is a basic system type, with this one exception.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1372 -auroraux)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1373 os=-auroraux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1374 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1375 -solaris1 | -solaris1.*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1376 os=`echo $os | sed -e 's|solaris1|sunos4|'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1377 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1378 -solaris)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1379 os=-solaris2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1380 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1381 -svr4*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1382 os=-sysv4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1383 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1384 -unixware*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1385 os=-sysv4.2uw
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1386 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1387 -gnu/linux*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1388 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1389 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1390 # First accept the basic system types.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1391 # The portable systems comes first.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1392 # Each alternative MUST END IN A *, to match a version number.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1393 # -sysv* is not here because it comes later, after sysvr4.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1394 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1395 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1396 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1397 | -sym* | -kopensolaris* | -plan9* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1398 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1399 | -aos* | -aros* | -cloudabi* | -sortix* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1400 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1401 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1402 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1403 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1404 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1405 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1406 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1407 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1408 | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1409 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1410 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1411 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1412 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1413 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1414 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1415 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1416 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1417 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1418 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1419 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1420 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1421 # Remember, each alternative MUST END IN *, to match a version number.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1422 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1423 -qnx*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1424 case $basic_machine in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1425 x86-* | i*86-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1426 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1427 *)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1428 os=-nto$os
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1429 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1430 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1431 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1432 -nto-qnx*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1433 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1434 -nto*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1435 os=`echo $os | sed -e 's|nto|nto-qnx|'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1436 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1437 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1438 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1439 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1440 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1441 -mac*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1442 os=`echo $os | sed -e 's|mac|macos|'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1443 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1444 -linux-dietlibc)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1445 os=-linux-dietlibc
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1446 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1447 -linux*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1448 os=`echo $os | sed -e 's|linux|linux-gnu|'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1449 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1450 -sunos5*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1451 os=`echo $os | sed -e 's|sunos5|solaris2|'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1452 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1453 -sunos6*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1454 os=`echo $os | sed -e 's|sunos6|solaris3|'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1455 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1456 -opened*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1457 os=-openedition
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1458 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1459 -os400*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1460 os=-os400
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1461 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1462 -wince*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1463 os=-wince
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1464 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1465 -osfrose*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1466 os=-osfrose
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1467 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1468 -osf*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1469 os=-osf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1470 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1471 -utek*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1472 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1473 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1474 -dynix*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1475 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1476 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1477 -acis*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1478 os=-aos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1479 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1480 -atheos*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1481 os=-atheos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1482 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1483 -syllable*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1484 os=-syllable
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1485 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1486 -386bsd)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1487 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1488 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1489 -ctix* | -uts*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1490 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1491 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1492 -nova*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1493 os=-rtmk-nova
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1494 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1495 -ns2 )
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1496 os=-nextstep2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1497 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1498 -nsk*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1499 os=-nsk
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1500 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1501 # Preserve the version number of sinix5.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1502 -sinix5.*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1503 os=`echo $os | sed -e 's|sinix|sysv|'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1504 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1505 -sinix*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1506 os=-sysv4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1507 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1508 -tpf*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1509 os=-tpf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1510 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1511 -triton*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1512 os=-sysv3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1513 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1514 -oss*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1515 os=-sysv3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1516 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1517 -svr4)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1518 os=-sysv4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1519 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1520 -svr3)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1521 os=-sysv3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1522 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1523 -sysvr4)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1524 os=-sysv4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1525 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1526 # This must come after -sysvr4.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1527 -sysv*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1528 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1529 -ose*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1530 os=-ose
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1531 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1532 -es1800*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1533 os=-ose
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1534 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1535 -xenix)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1536 os=-xenix
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1537 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1538 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1539 os=-mint
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1540 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1541 -aros*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1542 os=-aros
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1543 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1544 -zvmoe)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1545 os=-zvmoe
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1546 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1547 -dicos*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1548 os=-dicos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1549 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1550 -nacl*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1551 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1552 -ios)
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1553 ;;
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1554 -none)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1555 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1556 *)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1557 # Get rid of the `-' at the beginning of $os.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1558 os=`echo $os | sed 's/[^-]*-//'`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1559 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1560 exit 1
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1561 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1562 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1563 else
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1564
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1565 # Here we handle the default operating systems that come with various machines.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1566 # The value should be what the vendor currently ships out the door with their
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1567 # machine or put another way, the most popular os provided with the machine.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1568
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1569 # Note that if you're going to try to match "-MANUFACTURER" here (say,
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1570 # "-sun"), then you have to tell the case statement up towards the top
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1571 # that MANUFACTURER isn't an operating system. Otherwise, code above
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1572 # will signal an error saying that MANUFACTURER isn't an operating
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1573 # system, and we'll never get to this point.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1574
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1575 case $basic_machine in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1576 score-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1577 os=-elf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1578 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1579 spu-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1580 os=-elf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1581 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1582 *-acorn)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1583 os=-riscix1.2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1584 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1585 arm*-rebel)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1586 os=-linux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1587 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1588 arm*-semi)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1589 os=-aout
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1590 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1591 c4x-* | tic4x-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1592 os=-coff
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1593 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1594 c8051-*)
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1595 os=-elf
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1596 ;;
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1597 hexagon-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1598 os=-elf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1599 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1600 tic54x-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1601 os=-coff
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1602 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1603 tic55x-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1604 os=-coff
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1605 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1606 tic6x-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1607 os=-coff
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1608 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1609 # This must come before the *-dec entry.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1610 pdp10-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1611 os=-tops20
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1612 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1613 pdp11-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1614 os=-none
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1615 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1616 *-dec | vax-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1617 os=-ultrix4.2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1618 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1619 m68*-apollo)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1620 os=-domain
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1621 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1622 i386-sun)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1623 os=-sunos4.0.2
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1624 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1625 m68000-sun)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1626 os=-sunos3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1627 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1628 m68*-cisco)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1629 os=-aout
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1630 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1631 mep-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1632 os=-elf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1633 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1634 mips*-cisco)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1635 os=-elf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1636 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1637 mips*-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1638 os=-elf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1639 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1640 or32-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1641 os=-coff
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1642 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1643 *-tti) # must be before sparc entry or we get the wrong os.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1644 os=-sysv3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1645 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1646 sparc-* | *-sun)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1647 os=-sunos4.1.1
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1648 ;;
4459
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1649 pru-*)
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1650 os=-elf
698a649c0375 sync config.guess and config.sub from upstream
Mike Miller <mtmiller@octave.org>
parents: 2997
diff changeset
1651 ;;
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1652 *-be)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1653 os=-beos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1654 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1655 *-haiku)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1656 os=-haiku
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1657 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1658 *-ibm)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1659 os=-aix
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1660 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1661 *-knuth)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1662 os=-mmixware
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1663 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1664 *-wec)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1665 os=-proelf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1666 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1667 *-winbond)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1668 os=-proelf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1669 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1670 *-oki)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1671 os=-proelf
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1672 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1673 *-hp)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1674 os=-hpux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1675 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1676 *-hitachi)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1677 os=-hiux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1678 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1679 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1680 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1681 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1682 *-cbm)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1683 os=-amigaos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1684 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1685 *-dg)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1686 os=-dgux
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1687 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1688 *-dolphin)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1689 os=-sysv3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1690 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1691 m68k-ccur)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1692 os=-rtu
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1693 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1694 m88k-omron*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1695 os=-luna
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1696 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1697 *-next )
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1698 os=-nextstep
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1699 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1700 *-sequent)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1701 os=-ptx
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1702 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1703 *-crds)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1704 os=-unos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1705 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1706 *-ns)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1707 os=-genix
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1708 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1709 i370-*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1710 os=-mvs
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1711 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1712 *-next)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1713 os=-nextstep3
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1714 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1715 *-gould)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1716 os=-sysv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1717 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1718 *-highlevel)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1719 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1720 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1721 *-encore)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1722 os=-bsd
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1723 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1724 *-sgi)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1725 os=-irix
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1726 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1727 *-siemens)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1728 os=-sysv4
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1729 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1730 *-masscomp)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1731 os=-rtu
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1732 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1733 f30[01]-fujitsu | f700-fujitsu)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1734 os=-uxpv
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1735 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1736 *-rom68k)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1737 os=-coff
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1738 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1739 *-*bug)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1740 os=-coff
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1741 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1742 *-apple)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1743 os=-macos
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1744 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1745 *-atari*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1746 os=-mint
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1747 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1748 *)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1749 os=-none
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1750 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1751 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1752 fi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1753
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1754 # Here we handle the case where we know the os, and the CPU type, but not the
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1755 # manufacturer. We pick the logical manufacturer.
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1756 vendor=unknown
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1757 case $basic_machine in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1758 *-unknown)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1759 case $os in
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1760 -riscix*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1761 vendor=acorn
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1762 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1763 -sunos*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1764 vendor=sun
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1765 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1766 -cnk*|-aix*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1767 vendor=ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1768 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1769 -beos*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1770 vendor=be
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1771 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1772 -hpux*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1773 vendor=hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1774 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1775 -mpeix*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1776 vendor=hp
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1777 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1778 -hiux*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1779 vendor=hitachi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1780 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1781 -unos*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1782 vendor=crds
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1783 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1784 -dgux*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1785 vendor=dg
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1786 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1787 -luna*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1788 vendor=omron
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1789 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1790 -genix*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1791 vendor=ns
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1792 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1793 -mvs* | -opened*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1794 vendor=ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1795 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1796 -os400*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1797 vendor=ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1798 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1799 -ptx*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1800 vendor=sequent
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1801 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1802 -tpf*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1803 vendor=ibm
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1804 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1805 -vxsim* | -vxworks* | -windiss*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1806 vendor=wrs
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1807 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1808 -aux*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1809 vendor=apple
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1810 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1811 -hms*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1812 vendor=hitachi
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1813 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1814 -mpw* | -macos*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1815 vendor=apple
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1816 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1817 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1818 vendor=atari
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1819 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1820 -vos*)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1821 vendor=stratus
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1822 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1823 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1824 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1825 ;;
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1826 esac
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1827
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1828 echo $basic_machine$os
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1829 exit
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1830
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1831 # Local variables:
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1832 # eval: (add-hook 'write-file-hooks 'time-stamp)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1833 # time-stamp-start: "timestamp='"
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1834 # time-stamp-format: "%:y-%02m-%02d"
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1835 # time-stamp-end: "'"
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1836 # End: