Mercurial > emacs
annotate config.sub @ 4872:628cbf7e7005
(comint-after-partial-file-name-command):
Renamed from comint-after-partial-pathname-command.
(comint-match-partial-file-name, comint-after-partial-file-name):
Renamed from comint-match-partial-pathname, etc.
(comint-last-output-start): New variable to record
where most recent process output started from.
(comint-mode): Initialise it.
(comint-output-filter): Set it.
(comint-previous-matching-input-string): Moved to
comint-previous-matching-input-position.
(comint-previous-matching-input-string): Use it.
(comint-search-arg, comint-search-start,
comint-previous-input-string): New subroutines.
(comint-previous-input, comint-next-input,
comint-previous-matching-input, comint-next-matching-input,
comint-previous-matching-input-from-input,
comint-next-matching-input-from-input): Use them.
(comint-mode-map): Added signal menu-bar. Moved
comint-backward/forward-matching-input to output menu-bar, since
they move within the buffer rather than do input.
(comint-send-input, comint-after-pmark-p,
comint-kill-input, comint-proc-query): Removed serialisation of
obtaining the process mark's marker-position.
Commented out comint-load-hooks.
(comint-dynamic-simple-complete): New subroutine.
(comint-dynamic-complete-filename-command): New variable.
(comint-after-partial-pathname-command): New variable.
(comint-after-partial-pathname): New subroutine.
(comint-dynamic-complete): Use them.
(comint-mode): Make them local.
Renamed comint-dynamic-complete-command to
comint-dynamic-complete-command-command for consistency.
Renamed comint-file-name-addsuffix/autolist/recexact to
comint-completion-addsuffix/autolist/recexact for consistency.
(comint-replace-by-expanded-history): Check if input
ring size is not big enough for relative reference.
(comint-read-input-ring, comint-input-ring-file-name):
From shell.el.
(shell-write-input-ring): New subroutine.
(comint-file-name-prefix): New variable.
(comint-directory): New inline subroutine.
(comint-dynamic-complete-filename, comint-dynamic-complete-variable,
comint-dynamic-list-filename-completions): Use it.
(comint-dynamic-complete-filename,
comint-dynamic-complete-variable,
comint-dynamic-list-filename-completions): Make sure local
completion-ignore-case is nil.
(comint-next-prompt, comint-previous-prompt): Use
paragraph-start and paragraph motion commands rather than
re-search-forward and re-search-backward commands.
(comint-dynamic-list-input-ring,
comint-previous-matching-input-string): Use ring-empty-p rather
than zerop and ring-length.
(comint-input-ignoredups): New variable.
(comint-send-input, shell-read-input-ring): Use it.
(comint-mode): Make comint-input-ignoredups local. Doc fix.
(comint-scroll-to-bottom-on-input): New variable.
(comint-scroll-to-bottom-on-output): New variable.
(comint-scroll-show-maximum-output): New variable.
(comint-output-filter-hook): New variable, defaults to
comint-postoutput-scroll-to-bottom.
(comint-output-filter): Renamed from comint-filter
for consistency. Now calls comint-output-filter-hook.
(comint-preinput-scroll-to-bottom): New subroutine.
(comint-postoutput-scroll-to-bottom): New subroutine.
(comint-show-maximum-output): New command.
(comint-copy-old-input): New command.
(comint-send-input): Run comint-output-filter-hook if
necessary as a kludge to prevent messy redisplays.
(comint-mode-map): Added comint-show-maximum-output to
C-c C-e and menu-bar output, and comint-copy-old-input to C-c C-i
and menu-bar input.
(comint-mode): Make local variables
comint-scroll-to-bottom-on-input, before-change-function,
comint-scroll-to-bottom-on-output, comint-scroll-show-maximum-output,
and comint-output-filter-hook.
(comint-version): Deleted--no need for separate version.
(comint-input-ring-index): Make this a permanent local.
(comint-mode): Don't alter comint-input-ring-index or comint-input-ring
if already set meaningfully.
(comint-mode-map): Added keys M-R/S for
comint-previous/next-matching-input-from-input and to completion
menu-bar. Added comint-forward/backward-matching-input and
comint-previous/next-matching-input to completion menu-bar.
(comint-mode): Doc fix for functionality.
(comint-exec-1): Uses setenv.
(comint-update-env): Removed.
(comint-input-ring-size): Incremented to 32, as with
command history.
(comint-dynamic-list-input-ring): Check for zero
length ring. Use ring length, not ring size, when generating
list. Use buffer " *Input History*".
(comint-previous-matching-input-string): Check for zero-length ring.
Check last item in case at end of cycle and it's a match.
(comint-searching-input-ring): New subroutine.
(comint-regexp-arg): New subroutine.
(comint-previous-matching-input-from-input): New command.
(comint-next-matching-input-from-input): New command.
(comint-replace-by-expanded-history): Fix for matching
inside quotes. Fix to allow argument subrange specifiers. Fix to
identify and reject absolute input number references.
(comint-within-quotes): New subroutine.
(comint-how-many-region): New subroutine.
(comint-args): New subroutine.
(comint-delim-arg): New subroutine.
(comint-arguments): New subroutine.
(comint-delimiter-argument-list): New variable.
(comint-send-input): Inserts input arguments into ring
separated by single spaces.
(comint-filter): Checks the buffer's process to make
sure it's still there. Otherwise, set-buffer will fail.
(comint-backward-matching-input): New command.
(comint-forward-matching-input): New command.
(comint-next-prompt, comint-previous-prompt):
Error if reach beg/end of buffer.
(comint-dynamic-complete): Fix for absolute input
number references.
(comint-dynamic-complete-filename): Changed listings
function to comint-dynamic-list-filename-completions. Uses
file-directory-p rather than string-match to test for directories.
(comint-dynamic-list-completions): Changed to list the
list of completions supplied as the function argument. Use buffer
" *Completions*".
(comint-match-partial-pathname): New subroutine.
(comint-dynamic-complete-variable): New command.
(comint-dynamic-list-filename-completions): New function.
(comint-previous-input):
Don't use replace-match; just insert before deleting.
(comint-magic-space): Use self-insert command.
(comint-history-file-name): New variable.
(comint-mode): Initialize comint-input-ring before
running comint-mode-hook.
(comint-input-autoexpand): New variable.
(comint-dynamic-complete-command): New variable.
(comint-get-current-command): New variable.
(comint-read-input-ring): New function.
(comint-send-input): Handle history expansion.
(comint-input-sentinel): Doc fix.
(comint-mode-map): Added key binding for C-c C-h.
Added menu bars for completion, input and output.
(comint-dynamic-list-input-ring): New function.
(comint-previous-input-string): New subroutine.
(comint-previous-input): Use it.
(comint-previous-matching-input-string): New subroutine.
(comint-previous-matching-input): Use it.
(comint-replace-by-expanded-history): New command.
(comint-magic-space): New command.
(comint-replace-by-expanded-filename): Now replaces
expanded match for a filename, and then calls filename completion
comint-dynamic-complete-filename to do file name completion.
(comint-kill-output): Don't kill prompt.
(comint-show-output): Don't move point if it's
visible where it is, and if point is moved, put it after prompt.
(comint-dynamic-complete): Totally new definition.
(comint-dynamic-complete-filename): New name for old
function comint-dynamic-complete, completes files and lists
candidates, souped up for configurability.
(comint-dynamic-complete-variable): New command.
(comint-file-name-autolist): New variable.
(comint-file-name-addsuffix): New variable,
(comint-file-name-recexact): New variable.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 22 Oct 1993 02:57:36 +0000 |
parents | aa1a42c0b779 |
children | a9faadbe66cf |
rev | line source |
---|---|
576 | 1 #!/bin/sh |
653
f3531d3d57c9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
652
diff
changeset
|
2 # Configuration validation subroutine script, version 1.1. |
3934
0bd0d7678a09
Recognize `gnu' as a valid operating system. Sheesh.
Roland McGrath <roland@gnu.org>
parents:
3914
diff
changeset
|
3 # Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. |
645
57295fc40ac3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
631
diff
changeset
|
4 # This file is (in principle) common to ALL GNU software. |
57295fc40ac3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
631
diff
changeset
|
5 # The presence of a machine in this file suggests that SOME GNU software |
57295fc40ac3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
631
diff
changeset
|
6 # can handle that machine. It does not imply ALL GNU software can. |
576 | 7 |
8 #This file is free software; you can redistribute it and/or modify | |
9 #it under the terms of the GNU General Public License as published by | |
10 #the Free Software Foundation; either version 2 of the License, or | |
11 #(at your option) any later version. | |
12 | |
13 #This program is distributed in the hope that it will be useful, | |
14 #but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 #GNU General Public License for more details. | |
17 | |
18 #You should have received a copy of the GNU General Public License | |
19 #along with this program; if not, write to the Free Software | |
20 #Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
21 | |
22 | |
23 # Configuration subroutine to validate and canonicalize a configuration type. | |
24 # Supply the specified configuration type as an argument. | |
25 # If it is invalid, we print an error message on stderr and exit with code 1. | |
26 # Otherwise, we print the canonical config type on stdout and succeed. | |
27 | |
28 # This file is supposed to be the same for all GNU packages | |
29 # and recognize all the CPU types, system types and aliases | |
30 # that are meaningful with *any* GNU software. | |
31 # Each package is responsible for reporting which valid configurations | |
32 # it does not support. The user should be able to distinguish | |
33 # a failure to support a valid configuration from a meaningless | |
34 # configuration. | |
35 | |
36 # The goal of this file is to map all the various variations of a given | |
37 # machine specification into a single specification in the form: | |
38 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
39 # It is wrong to echo any other type of specification. |
576 | 40 |
41 # First pass through any local machine types. | |
42 case $1 in | |
43 *local*) | |
44 echo $1 | |
45 exit 0 | |
46 ;; | |
47 *) | |
48 ;; | |
49 esac | |
50 | |
51 # Separate what the user gave into CPU-COMPANY and OS (if any). | |
52 basic_machine=`echo $1 | sed 's/-[^-]*$//'` | |
53 if [ $basic_machine != $1 ] | |
54 then os=`echo $1 | sed 's/.*-/-/'` | |
55 else os=; fi | |
56 | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
57 ### Let's recognize common machines as not being operating systems so |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
58 ### that things like config.sub decstation-3100 work. We also |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
59 ### recognize some manufacturers as not being operating systems, so we |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
60 ### can provide default operating systems below. |
576 | 61 case $os in |
1961
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
62 -sun*os*) |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
63 # Prevent following clause from handling this invalid input. |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
64 ;; |
576 | 65 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ |
66 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ | |
67 -unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \ | |
2616 | 68 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi | \ |
576 | 69 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
70 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp ) |
576 | 71 os= |
72 basic_machine=$1 | |
73 ;; | |
3904
6c98b9e2a213
Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
3896
diff
changeset
|
74 -sco4) |
6c98b9e2a213
Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
3896
diff
changeset
|
75 os=-sco3.2v4 |
6c98b9e2a213
Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
3896
diff
changeset
|
76 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` |
6c98b9e2a213
Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
3896
diff
changeset
|
77 ;; |
6c98b9e2a213
Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
3896
diff
changeset
|
78 -sco3.2.[4-9]*) |
6c98b9e2a213
Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
3896
diff
changeset
|
79 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` |
6c98b9e2a213
Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
3896
diff
changeset
|
80 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` |
6c98b9e2a213
Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
3896
diff
changeset
|
81 ;; |
1545
9ff238dd8a35
Don't discard SCO version number if it's 3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
1415
diff
changeset
|
82 -sco3.2v[4-9]*) |
9ff238dd8a35
Don't discard SCO version number if it's 3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
1415
diff
changeset
|
83 # Don't forget version if it is 3.2v4 or newer. |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
84 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` |
1545
9ff238dd8a35
Don't discard SCO version number if it's 3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
1415
diff
changeset
|
85 ;; |
576 | 86 -sco*) |
646
e283d4164aca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
645
diff
changeset
|
87 os=-sco3.2v2 |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
88 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` |
576 | 89 ;; |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
90 -isc) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
91 os=-isc2.2 |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
92 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
93 ;; |
2344
d21c82eba8ab
Default to clipper-intergraph if system is clix.
Richard M. Stallman <rms@gnu.org>
parents:
2204
diff
changeset
|
94 -clix*) |
d21c82eba8ab
Default to clipper-intergraph if system is clix.
Richard M. Stallman <rms@gnu.org>
parents:
2204
diff
changeset
|
95 basic_machine=clipper-intergraph |
d21c82eba8ab
Default to clipper-intergraph if system is clix.
Richard M. Stallman <rms@gnu.org>
parents:
2204
diff
changeset
|
96 ;; |
576 | 97 -isc*) |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
98 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` |
576 | 99 ;; |
4204 | 100 -lynx) |
101 os=-lynxos | |
102 ;; | |
576 | 103 esac |
104 | |
105 # Decode aliases for certain CPU-COMPANY combinations. | |
106 case $basic_machine in | |
4829 | 107 # Recognize the basic CPU types without company name. |
576 | 108 # Some are omitted here because they have special meanings below. |
589
03fd51103bc3
*** empty log message ***
Michael Meissner <gnu@the-meissners.org>
parents:
576
diff
changeset
|
109 tahoe | i[34]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \ |
993 | 110 | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \ |
4859 | 111 | alpha | we32k | ns16k | clipper | sparclite | i370 | sh \ |
112 | powerpc) | |
576 | 113 basic_machine=$basic_machine-unknown |
114 ;; | |
1961
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
115 # Object if more than one company name word. |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
116 *-*-*) |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
117 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
118 exit 1 |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
119 ;; |
4829 | 120 # Recognize the basic CPU types with company name. |
607
e0ce539246b8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
589
diff
changeset
|
121 vax-* | tahoe-* | i[34]86-* | i860-* | m68k-* | m68000-* | m88k-* \ |
576 | 122 | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ |
123 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ | |
124 | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
125 | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \ |
2614 | 126 | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \ |
4859 | 127 | sh-* | powerpc-*) |
576 | 128 ;; |
129 # Recognize the various machine names and aliases which stand | |
130 # for a CPU type and a company and sometimes even an OS. | |
131 vaxv) | |
132 basic_machine=vax-dec | |
133 os=-sysv | |
134 ;; | |
135 vms) | |
136 basic_machine=vax-dec | |
137 os=-vms | |
138 ;; | |
2495 | 139 i370-ibm* | ibm*) |
140 basic_machine=i370-ibm | |
141 os=-mvs | |
142 ;; | |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
143 # I'm not sure what "Sysv32" means. Should this be sysv3.2? |
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
144 i[34]86v32) |
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
145 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` |
738
81cd2a003397
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
674
diff
changeset
|
146 os=-sysv32 |
81cd2a003397
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
674
diff
changeset
|
147 ;; |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
148 i[34]86v4*) |
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
149 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` |
576 | 150 os=-sysv4 |
151 ;; | |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
152 i[34]86v) |
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
153 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` |
738
81cd2a003397
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
674
diff
changeset
|
154 os=-sysv |
81cd2a003397
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
674
diff
changeset
|
155 ;; |
1840
b00ada422354
(i[34]86sol2): New abbrev for i[34]86-unknown-solaris2.
Jim Wilson <wilson@gnu.org>
parents:
1735
diff
changeset
|
156 i[34]86sol2) |
b00ada422354
(i[34]86sol2): New abbrev for i[34]86-unknown-solaris2.
Jim Wilson <wilson@gnu.org>
parents:
1735
diff
changeset
|
157 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` |
b00ada422354
(i[34]86sol2): New abbrev for i[34]86-unknown-solaris2.
Jim Wilson <wilson@gnu.org>
parents:
1735
diff
changeset
|
158 os=-solaris2 |
b00ada422354
(i[34]86sol2): New abbrev for i[34]86-unknown-solaris2.
Jim Wilson <wilson@gnu.org>
parents:
1735
diff
changeset
|
159 ;; |
576 | 160 spur) |
161 basic_machine=spur-unknown | |
162 ;; | |
163 alliant | fx80) | |
164 basic_machine=fx80-alliant | |
165 ;; | |
166 convex-c1) | |
167 basic_machine=c1-convex | |
168 os=-bsd | |
169 ;; | |
170 convex-c2) | |
171 basic_machine=c2-convex | |
172 os=-bsd | |
173 ;; | |
174 convex-c32) | |
175 basic_machine=c32-convex | |
176 os=-bsd | |
177 ;; | |
178 convex-c34) | |
179 basic_machine=c34-convex | |
180 os=-bsd | |
181 ;; | |
182 convex-c38) | |
183 basic_machine=c38-convex | |
184 os=-bsd | |
185 ;; | |
186 m88k-omron*) | |
187 basic_machine=m88k-omron | |
188 ;; | |
189 merlin) | |
190 basic_machine=ns32k-utek | |
191 os=-sysv | |
192 ;; | |
193 crds | unos) | |
194 basic_machine=m68k-crds | |
195 ;; | |
1415
1b82f79c4eb4
Add support for a new 64 bit CPU type. Elxsi.
Mike Stump <mrs@apple.com>
parents:
1270
diff
changeset
|
196 elxsi) |
1b82f79c4eb4
Add support for a new 64 bit CPU type. Elxsi.
Mike Stump <mrs@apple.com>
parents:
1270
diff
changeset
|
197 basic_machine=elxsi-elxsi |
1b82f79c4eb4
Add support for a new 64 bit CPU type. Elxsi.
Mike Stump <mrs@apple.com>
parents:
1270
diff
changeset
|
198 os=-bsd |
1b82f79c4eb4
Add support for a new 64 bit CPU type. Elxsi.
Mike Stump <mrs@apple.com>
parents:
1270
diff
changeset
|
199 ;; |
576 | 200 encore | umax | mmax) |
201 basic_machine=ns32k-encore | |
202 ;; | |
203 genix) | |
204 basic_machine=ns32k-ns | |
205 ;; | |
206 iris | iris4d) | |
207 basic_machine=mips-sgi | |
651
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
208 case $os in |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
209 -irix*) |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
210 ;; |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
211 *) |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
212 os=-irix4 |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
213 ;; |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
214 esac |
576 | 215 ;; |
216 news | news700 | news800 | news900) | |
217 basic_machine=m68k-sony | |
218 os=-newsos | |
219 ;; | |
220 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) | |
221 basic_machine=m68000-att | |
222 ;; | |
629
e47f9ff356ea
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
613
diff
changeset
|
223 3b*) |
652
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
224 basic_machine=we32k-att |
629
e47f9ff356ea
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
613
diff
changeset
|
225 ;; |
576 | 226 delta | 3300 | motorola-3300 | motorola-delta \ |
227 | 3300-motorola | delta-motorola) | |
228 basic_machine=m68k-motorola | |
229 ;; | |
230 balance) | |
231 basic_machine=ns32k-sequent | |
232 os=-dynix | |
233 ;; | |
234 pc532) | |
235 basic_machine=ns32k-pc532 | |
236 ;; | |
237 symmetry) | |
238 basic_machine=i386-sequent | |
239 os=-dynix | |
240 ;; | |
241 sun2) | |
242 basic_machine=m68000-sun | |
243 ;; | |
244 sun2os3) | |
245 basic_machine=m68000-sun | |
246 os=-sunos3 | |
247 ;; | |
248 sun2os4) | |
249 basic_machine=m68000-sun | |
250 os=-sunos4 | |
251 ;; | |
252 sun3os3) | |
253 basic_machine=m68k-sun | |
254 os=-sunos3 | |
255 ;; | |
256 sun3os4) | |
257 basic_machine=m68k-sun | |
258 os=-sunos4 | |
259 ;; | |
260 sun4os3) | |
261 basic_machine=sparc-sun | |
262 os=-sunos3 | |
263 ;; | |
264 sun4os4) | |
265 basic_machine=sparc-sun | |
266 os=-sunos4 | |
267 ;; | |
268 sun3) | |
269 basic_machine=m68k-sun | |
270 ;; | |
271 sun4) | |
272 basic_machine=sparc-sun | |
273 ;; | |
274 pbd) | |
275 basic_machine=sparc-tti | |
276 ;; | |
277 pbb) | |
278 basic_machine=m68k-tti | |
279 ;; | |
280 sun386 | sun386i | roadrunner) | |
281 basic_machine=i386-sun | |
282 ;; | |
283 ps2) | |
284 basic_machine=i386-ibm | |
285 ;; | |
652
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
286 fx2800) |
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
287 basic_machine=i860-alliant |
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
288 ;; |
576 | 289 next) |
290 basic_machine=m68k-next | |
631
3c7da8664d12
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
629
diff
changeset
|
291 os=-bsd |
576 | 292 ;; |
293 amiga) | |
294 basic_machine=m68k-cbm | |
295 ;; | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
296 amigados) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
297 basic_machine=m68k-cbm |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
298 os=-amigados |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
299 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
300 amigaunix | amix) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
301 basic_machine=m68k-cbm |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
302 os=-sysv4 |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
303 ;; |
576 | 304 hp9k3[2-9][0-9]) |
305 basic_machine=m68k-hp | |
306 ;; | |
307 hp9k31[0-9] | hp9k2[0-9][0-9]) | |
308 basic_machine=m68000-hp | |
309 ;; | |
610
5f2f551fc367
*** empty log message ***
Torbjorn Granlund <tege@swox.com>
parents:
607
diff
changeset
|
310 hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7) |
5f2f551fc367
*** empty log message ***
Torbjorn Granlund <tege@swox.com>
parents:
607
diff
changeset
|
311 basic_machine=hppa1.1-hp |
576 | 312 ;; |
610
5f2f551fc367
*** empty log message ***
Torbjorn Granlund <tege@swox.com>
parents:
607
diff
changeset
|
313 hp9k8[0-9][0-9] | hp8[0-9][0-9]) |
5f2f551fc367
*** empty log message ***
Torbjorn Granlund <tege@swox.com>
parents:
607
diff
changeset
|
314 basic_machine=hppa1.0-hp |
607
e0ce539246b8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
589
diff
changeset
|
315 ;; |
576 | 316 isi68 | isi) |
317 basic_machine=m68k-isi | |
318 os=-sysv | |
319 ;; | |
320 apollo68) | |
321 basic_machine=m68k-apollo | |
322 os=-sysv | |
323 ;; | |
324 altos | altos3068) | |
325 basic_machine=m68k-altos | |
326 ;; | |
327 miniframe) | |
328 basic_machine=m68000-convergent | |
329 ;; | |
330 tower | tower-32) | |
331 basic_machine=m68k-ncr | |
332 ;; | |
333 news-3600 | risc-news) | |
334 basic_machine=mips-sony | |
335 os=-newsos | |
336 ;; | |
652
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
337 decstation | decstation-3100 | pmax | pmin | dec3100 | decstatn) |
576 | 338 basic_machine=mips-dec |
339 ;; | |
340 magnum | m3230) | |
341 basic_machine=mips-mips | |
342 os=-sysv | |
343 ;; | |
344 gmicro) | |
345 basic_machine=tron-gmicro | |
346 os=-sysv | |
347 ;; | |
348 rtpc | rtpc-*) | |
349 basic_machine=romp-ibm | |
350 ;; | |
351 am29k) | |
352 basic_machine=a29k-none | |
353 os=-bsd | |
354 ;; | |
355 amdahl) | |
356 basic_machine=580-amdahl | |
357 os=-sysv | |
358 ;; | |
359 cray | ymp) | |
360 basic_machine=ymp-cray | |
361 os=-unicos | |
362 ;; | |
363 cray2) | |
364 basic_machine=cray2-cray | |
365 os=-unicos | |
366 ;; | |
367 xmp) | |
368 basic_machine=xmp-cray | |
369 os=-unicos | |
370 ;; | |
371 delta88) | |
372 basic_machine=m88k-motorola | |
1852
93cf37057957
removed m88kbcs, changed delta88 and harris to
John Hassey <hassey@dg-rtp.dg.com>
parents:
1840
diff
changeset
|
373 os=-sysv3 |
576 | 374 ;; |
4084
1e9a4f812fc1
* config.sub: Add case for Bull dpx/2.
Jim Blandy <jimb@redhat.com>
parents:
4055
diff
changeset
|
375 dpx2* | dpx2*-bull) |
576 | 376 basic_machine=m68k-bull |
4084
1e9a4f812fc1
* config.sub: Add case for Bull dpx/2.
Jim Blandy <jimb@redhat.com>
parents:
4055
diff
changeset
|
377 os=-sysv3 |
1e9a4f812fc1
* config.sub: Add case for Bull dpx/2.
Jim Blandy <jimb@redhat.com>
parents:
4055
diff
changeset
|
378 ;; |
1e9a4f812fc1
* config.sub: Add case for Bull dpx/2.
Jim Blandy <jimb@redhat.com>
parents:
4055
diff
changeset
|
379 sps7) |
1e9a4f812fc1
* config.sub: Add case for Bull dpx/2.
Jim Blandy <jimb@redhat.com>
parents:
4055
diff
changeset
|
380 basic_machine=m68k-bull |
1e9a4f812fc1
* config.sub: Add case for Bull dpx/2.
Jim Blandy <jimb@redhat.com>
parents:
4055
diff
changeset
|
381 os=-sysv2 |
576 | 382 ;; |
383 ebmon29k) | |
384 basic_machine=a29k-amd | |
385 os=-ebmon | |
386 ;; | |
2009
755588575884
(h8300hds): Change hds to hms.
Steve Chamberlain <sac@transmeta.com>
parents:
1961
diff
changeset
|
387 h8300hms) |
576 | 388 basic_machine=h8300-hitachi |
2009
755588575884
(h8300hds): Change hds to hms.
Steve Chamberlain <sac@transmeta.com>
parents:
1961
diff
changeset
|
389 os=-hms |
576 | 390 ;; |
2614 | 391 sh) |
392 basic_machine=sh-hitachi | |
393 os=-hms | |
394 ;; | |
576 | 395 harris) |
396 basic_machine=m88k-harris | |
1852
93cf37057957
removed m88kbcs, changed delta88 and harris to
John Hassey <hassey@dg-rtp.dg.com>
parents:
1840
diff
changeset
|
397 os=-sysv3 |
576 | 398 ;; |
399 hp300bsd) | |
400 basic_machine=m68k-hp | |
401 os=-bsd | |
402 ;; | |
403 hp300hpux) | |
404 basic_machine=m68k-hp | |
405 os=-hpux | |
406 ;; | |
407 hp9k2[0-9][0-9] | hp9k31[0-9]) | |
408 basic_machine=m68000-hp | |
409 os=-hpux | |
410 ;; | |
411 hp9k3[2-9][0-9]) | |
412 basic_machine=m68k-hp | |
413 os=-hpux | |
414 ;; | |
415 ncr3000) | |
607
e0ce539246b8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
589
diff
changeset
|
416 basic_machine=i486-ncr |
576 | 417 os=-sysv4 |
418 ;; | |
419 news1000) | |
420 basic_machine=m68030-sony | |
421 os=-newsos | |
422 ;; | |
423 nindy960) | |
424 basic_machine=i960-intel | |
425 os=-nindy | |
426 ;; | |
427 pn) | |
428 basic_machine=pn-gould | |
429 ;; | |
430 np1) | |
431 basic_machine=np1-gould | |
432 ;; | |
433 ultra3) | |
434 basic_machine=a29k-nyu | |
435 os=-sym1 | |
436 ;; | |
437 vxworks960) | |
438 basic_machine=i960-wrs | |
439 os=-vxworks | |
440 ;; | |
441 vxworks68) | |
442 basic_machine=m68k-wrs | |
443 os=-vxworks | |
444 ;; | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
445 xps | xps100) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
446 basic_machine=xps100-honeywell |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
447 ;; |
576 | 448 none) |
449 basic_machine=none-none | |
450 os=-none | |
451 ;; | |
452 | |
453 # Here we handle the default manufacturer of certain CPU types. It is in | |
454 # some cases the only manufacturer, in others, it is the most popular. | |
455 mips) | |
456 basic_machine=mips-mips | |
457 ;; | |
458 romp) | |
459 basic_machine=romp-ibm | |
460 ;; | |
461 rs6000) | |
462 basic_machine=rs6000-ibm | |
463 ;; | |
464 vax) | |
465 basic_machine=vax-dec | |
466 ;; | |
652
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
467 we32k) |
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
468 basic_machine=we32k-att |
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
469 ;; |
576 | 470 sparc) |
471 basic_machine=sparc-sun | |
472 ;; | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
473 cydra) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
474 basic_machine=cydra-cydrome |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
475 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
476 orion) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
477 basic_machine=orion-highlevel |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
478 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
479 orion105) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
480 basic_machine=clipper-highlevel |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
481 ;; |
576 | 482 *) |
483 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
484 exit 1 | |
485 ;; | |
486 esac | |
487 | |
488 # Here we canonicalize certain aliases for manufacturers. | |
489 case $basic_machine in | |
490 *-digital*) | |
491 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` | |
492 ;; | |
493 *-commodore*) | |
494 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` | |
495 ;; | |
496 *) | |
497 ;; | |
498 esac | |
499 | |
500 # Decode manufacturer-specific aliases for certain operating systems. | |
501 | |
4109
76f746324590
if [ "$os" ] --> if [ x"$os" != x"" ]
Doug Evans <dje@gnu.org>
parents:
4084
diff
changeset
|
502 if [ x"$os" != x"" ] |
576 | 503 then |
504 case $os in | |
1732
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
505 # -solaris* is a basic system type, with this one exception. |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
506 -solaris1 | -solaris1.*) |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
507 os=`echo $os | sed -e 's|solaris1|sunos4|'` |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
508 ;; |
4055
e5d455b14d82
Make `solaris' reflect the most recent major release.
Doug Evans <dje@gnu.org>
parents:
3934
diff
changeset
|
509 -solaris) |
e5d455b14d82
Make `solaris' reflect the most recent major release.
Doug Evans <dje@gnu.org>
parents:
3934
diff
changeset
|
510 os=-solaris2 |
e5d455b14d82
Make `solaris' reflect the most recent major release.
Doug Evans <dje@gnu.org>
parents:
3934
diff
changeset
|
511 ;; |
576 | 512 # First accept the basic system types. |
513 # The portable systems comes first. | |
514 # Each alternative must end in a *, to match a version number. | |
3914
a16c11d3670f
Recognize -sysv* after -sysvr4.
Richard M. Stallman <rms@gnu.org>
parents:
3904
diff
changeset
|
515 # -sysv* is not here because it comes later, after sysvr4. |
3934
0bd0d7678a09
Recognize `gnu' as a valid operating system. Sheesh.
Roland McGrath <roland@gnu.org>
parents:
3914
diff
changeset
|
516 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1732
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
517 | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]* | -hpux* \ |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
518 | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
610
5f2f551fc367
*** empty log message ***
Torbjorn Granlund <tege@swox.com>
parents:
607
diff
changeset
|
519 | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \ |
2675 | 520 | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \ |
3382 | 521 | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \ |
4806
d48a4664d92a
Recognize operating system "riscix*"; recognize acorn as vendor
Erich Stefan Boleyn <erich@uruk.org>
parents:
4689
diff
changeset
|
522 | -386bsd* | -netbsd* | -riscix* | -lynxos*) |
576 | 523 ;; |
1732
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
524 -sunos5*) |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
525 os=`echo $os | sed -e 's|sunos5|solaris2|'` |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
526 ;; |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
527 -sunos6*) |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
528 os=`echo $os | sed -e 's|sunos6|solaris3|'` |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
529 ;; |
576 | 530 -osfrose*) |
674
d5c90f190057
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
654
diff
changeset
|
531 os=-osfrose |
576 | 532 ;; |
533 -osf*) | |
674
d5c90f190057
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
654
diff
changeset
|
534 os=-osf |
576 | 535 ;; |
742 | 536 -utek*) |
537 os=-bsd | |
538 ;; | |
576 | 539 -dynix*) |
540 os=-bsd | |
541 ;; | |
542 -acis*) | |
543 os=-aos | |
544 ;; | |
545 -ctix* | -uts*) | |
546 os=-sysv | |
547 ;; | |
548 -triton*) | |
549 os=-sysv3 | |
550 ;; | |
551 -oss*) | |
552 os=-sysv3 | |
553 ;; | |
554 -svr4) | |
555 os=-sysv4 | |
556 ;; | |
3914
a16c11d3670f
Recognize -sysv* after -sysvr4.
Richard M. Stallman <rms@gnu.org>
parents:
3904
diff
changeset
|
557 -svr3) |
a16c11d3670f
Recognize -sysv* after -sysvr4.
Richard M. Stallman <rms@gnu.org>
parents:
3904
diff
changeset
|
558 os=-sysv3 |
a16c11d3670f
Recognize -sysv* after -sysvr4.
Richard M. Stallman <rms@gnu.org>
parents:
3904
diff
changeset
|
559 ;; |
3896
bea021b3124a
Convert ...-sysvr4 into ...-sysv4.
Richard M. Stallman <rms@gnu.org>
parents:
3382
diff
changeset
|
560 -sysvr4) |
bea021b3124a
Convert ...-sysvr4 into ...-sysv4.
Richard M. Stallman <rms@gnu.org>
parents:
3382
diff
changeset
|
561 os=-sysv4 |
bea021b3124a
Convert ...-sysvr4 into ...-sysv4.
Richard M. Stallman <rms@gnu.org>
parents:
3382
diff
changeset
|
562 ;; |
3914
a16c11d3670f
Recognize -sysv* after -sysvr4.
Richard M. Stallman <rms@gnu.org>
parents:
3904
diff
changeset
|
563 # This must come after -sysvr4. |
a16c11d3670f
Recognize -sysv* after -sysvr4.
Richard M. Stallman <rms@gnu.org>
parents:
3904
diff
changeset
|
564 -sysv*) |
576 | 565 ;; |
1627
1c2f6bc3d8fe
* config.sub: Added Xenix operating system.
Jim Blandy <jimb@redhat.com>
parents:
1545
diff
changeset
|
566 -xenix) |
1c2f6bc3d8fe
* config.sub: Added Xenix operating system.
Jim Blandy <jimb@redhat.com>
parents:
1545
diff
changeset
|
567 os=-xenix |
1c2f6bc3d8fe
* config.sub: Added Xenix operating system.
Jim Blandy <jimb@redhat.com>
parents:
1545
diff
changeset
|
568 ;; |
645
57295fc40ac3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
631
diff
changeset
|
569 -none) |
57295fc40ac3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
631
diff
changeset
|
570 ;; |
576 | 571 *) |
572 # Get rid of the `-' at the beginning of $os. | |
573 os=`echo $1 | sed 's/[^-]*-//'` | |
574 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 | |
575 exit 1 | |
576 ;; | |
577 esac | |
578 else | |
579 | |
580 # Here we handle the default operating systems that come with various machines. | |
581 # The value should be what the vendor currently ships out the door with their | |
582 # machine or put another way, the most popular os provided with the machine. | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
583 |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
584 # Note that if you're going to try to match "-MANUFACTURER" here (say, |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
585 # "-sun"), then you have to tell the case statement up towards the top |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
586 # that MANUFACTURER isn't an operating system. Otherwise, code above |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
587 # will signal an error saying that MANUFACTURER isn't an operating |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
588 # system, and we'll never get to this point. |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
589 |
576 | 590 case $basic_machine in |
4806
d48a4664d92a
Recognize operating system "riscix*"; recognize acorn as vendor
Erich Stefan Boleyn <erich@uruk.org>
parents:
4689
diff
changeset
|
591 *-acorn) |
d48a4664d92a
Recognize operating system "riscix*"; recognize acorn as vendor
Erich Stefan Boleyn <erich@uruk.org>
parents:
4689
diff
changeset
|
592 os=-riscix1.2 |
d48a4664d92a
Recognize operating system "riscix*"; recognize acorn as vendor
Erich Stefan Boleyn <erich@uruk.org>
parents:
4689
diff
changeset
|
593 ;; |
576 | 594 *-dec | vax-*) |
654
6d56ce1261a7
*** empty log message ***
Michael Meissner <gnu@the-meissners.org>
parents:
653
diff
changeset
|
595 os=-ultrix4.2 |
576 | 596 ;; |
597 i386-sun) | |
654
6d56ce1261a7
*** empty log message ***
Michael Meissner <gnu@the-meissners.org>
parents:
653
diff
changeset
|
598 os=-sunos4.0.2 |
576 | 599 ;; |
600 m68000-sun) | |
601 os=-sunos3 | |
602 # This also exists in the configure program, but was not the | |
603 # default. | |
604 # os=-sunos4 | |
605 ;; | |
606 *-tti) # must be before sparc entry or we get the wrong os. | |
607 os=-sysv3 | |
608 ;; | |
609 sparc-* | *-sun) | |
654
6d56ce1261a7
*** empty log message ***
Michael Meissner <gnu@the-meissners.org>
parents:
653
diff
changeset
|
610 os=-sunos4.1.1 |
576 | 611 ;; |
612 *-ibm) | |
613 os=-aix | |
614 ;; | |
615 *-hp) | |
616 os=-hpux | |
617 ;; | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
618 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) |
576 | 619 os=-sysv |
620 ;; | |
621 *-cbm) | |
622 os=-amigados | |
623 ;; | |
624 *-dg) | |
625 os=-dgux | |
626 ;; | |
627 *-dolphin) | |
628 os=-sysv3 | |
629 ;; | |
630 m88k-omron*) | |
631 os=-luna | |
632 ;; | |
1726
e44b2de1b698
Default to bsd for *-sequent.
Richard M. Stallman <rms@gnu.org>
parents:
1631
diff
changeset
|
633 *-sequent) |
e44b2de1b698
Default to bsd for *-sequent.
Richard M. Stallman <rms@gnu.org>
parents:
1631
diff
changeset
|
634 os=-bsd |
e44b2de1b698
Default to bsd for *-sequent.
Richard M. Stallman <rms@gnu.org>
parents:
1631
diff
changeset
|
635 ;; |
576 | 636 *-crds) |
637 os=-unos | |
638 ;; | |
639 *-ns) | |
640 os=-genix | |
641 ;; | |
2495 | 642 i370-*) |
643 os=-mvs | |
644 ;; | |
2497
55f73883303f
> Default to bsd if vendor is next.
Tom Wood <wood@next.com>
parents:
2495
diff
changeset
|
645 *-next) |
55f73883303f
> Default to bsd if vendor is next.
Tom Wood <wood@next.com>
parents:
2495
diff
changeset
|
646 os=-bsd |
55f73883303f
> Default to bsd if vendor is next.
Tom Wood <wood@next.com>
parents:
2495
diff
changeset
|
647 ;; |
738
81cd2a003397
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
674
diff
changeset
|
648 i[34]86-*) |
646
e283d4164aca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
645
diff
changeset
|
649 os=-sco3.2v2 |
576 | 650 ;; |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
651 *-gould) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
652 os=-sysv |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
653 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
654 *-highlevel) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
655 os=-bsd |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
656 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
657 *-encore) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
658 os=-bsd |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
659 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
660 *-sgi) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
661 os=-irix |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
662 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
663 *-masscomp) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
664 os=-rtu |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
665 ;; |
576 | 666 *) |
667 os=-none | |
668 ;; | |
669 esac | |
670 fi | |
671 | |
672 # Here we handle the case where we know the os, and the CPU type, but not the | |
673 # manufacturer. We pick the logical manufacturer. | |
674 vendor=unknown | |
675 case $basic_machine in | |
676 *-unknown) | |
677 case $os in | |
4806
d48a4664d92a
Recognize operating system "riscix*"; recognize acorn as vendor
Erich Stefan Boleyn <erich@uruk.org>
parents:
4689
diff
changeset
|
678 -riscix*) |
d48a4664d92a
Recognize operating system "riscix*"; recognize acorn as vendor
Erich Stefan Boleyn <erich@uruk.org>
parents:
4689
diff
changeset
|
679 vendor=acorn |
d48a4664d92a
Recognize operating system "riscix*"; recognize acorn as vendor
Erich Stefan Boleyn <erich@uruk.org>
parents:
4689
diff
changeset
|
680 ;; |
576 | 681 -sunos*) |
682 vendor=sun | |
683 ;; | |
4204 | 684 -lynxos*) |
685 vendor=lynx | |
686 ;; | |
576 | 687 -aix*) |
688 vendor=ibm | |
689 ;; | |
690 -hpux*) | |
691 vendor=hp | |
692 ;; | |
693 -unos*) | |
694 vendor=crds | |
695 ;; | |
696 -dgux*) | |
697 vendor=dg | |
698 ;; | |
699 -luna*) | |
700 vendor=omron | |
701 ;; | |
702 -genix*) | |
703 vendor=ns | |
704 ;; | |
2495 | 705 -mvs*) |
706 vendor=ibm | |
707 ;; | |
576 | 708 esac |
709 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` | |
710 ;; | |
711 esac | |
712 | |
713 echo $basic_machine$os |