comparison config.sub @ 2651:3580ae2ce979

[xemacs-hg @ 2005-03-11 11:18:44 by malcolmp] Upgrade from autoconf 2.13 to autoconf 2.59.
author malcolmp
date Fri, 11 Mar 2005 11:20:34 +0000
parents c33ae14dd6d0
children 528c4d906843
comparison
equal deleted inserted replaced
2650:fc554bcc59e7 2651:3580ae2ce979
1 #! /bin/sh 1 #! /bin/sh
2 # Configuration validation subroutine script. 2 # Configuration validation subroutine script.
3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4 # Free Software Foundation, Inc. 4 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5 5
6 timestamp='2001-01-12' 6 timestamp='2005-02-10'
7 7
8 # This file is (in principle) common to ALL GNU software. 8 # This file is (in principle) common to ALL GNU software.
9 # The presence of a machine in this file suggests that SOME GNU software 9 # The presence of a machine in this file suggests that SOME GNU software
10 # can handle that machine. It does not imply ALL GNU software can. 10 # can handle that machine. It does not imply ALL GNU software can.
11 # 11 #
27 # As a special exception to the GNU General Public License, if you 27 # As a special exception to the GNU General Public License, if you
28 # distribute this file as part of a program that contains a 28 # distribute this file as part of a program that contains a
29 # configuration script generated by Autoconf, you may include it under 29 # configuration script generated by Autoconf, you may include it under
30 # the same distribution terms that you use for the rest of that program. 30 # the same distribution terms that you use for the rest of that program.
31 31
32 # Please send patches to <config-patches@gnu.org>. 32 # Please send patches to <config-patches@gnu.org>. Submit a context
33 # diff and a properly formatted ChangeLog entry.
33 # 34 #
34 # Configuration subroutine to validate and canonicalize a configuration type. 35 # Configuration subroutine to validate and canonicalize a configuration type.
35 # Supply the specified configuration type as an argument. 36 # Supply the specified configuration type as an argument.
36 # If it is invalid, we print an error message on stderr and exit with code 1. 37 # If it is invalid, we print an error message on stderr and exit with code 1.
37 # Otherwise, we print the canonical config type on stdout and succeed. 38 # Otherwise, we print the canonical config type on stdout and succeed.
67 Report bugs and patches to <config-patches@gnu.org>." 68 Report bugs and patches to <config-patches@gnu.org>."
68 69
69 version="\ 70 version="\
70 GNU config.sub ($timestamp) 71 GNU config.sub ($timestamp)
71 72
72 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
73 Free Software Foundation, Inc. 74 Free Software Foundation, Inc.
74 75
75 This is free software; see the source for copying conditions. There is NO 76 This is free software; see the source for copying conditions. There is NO
76 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 77 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
77 78
115 116
116 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 117 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
117 # Here we must recognize all the valid KERNEL-OS combinations. 118 # Here we must recognize all the valid KERNEL-OS combinations.
118 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 119 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
119 case $maybe_os in 120 case $maybe_os in
120 nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*) 121 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
122 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
121 os=-$maybe_os 123 os=-$maybe_os
122 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
123 ;; 125 ;;
124 *) 126 *)
125 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 127 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
141 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 143 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
142 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 144 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
143 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 145 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
144 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 146 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
145 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 147 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
146 -apple | -axis) 148 -apple | -axis | -knuth | -cray)
147 os= 149 os=
148 basic_machine=$1 150 basic_machine=$1
149 ;; 151 ;;
150 -sim | -cisco | -oki | -wec | -winbond) 152 -sim | -cisco | -oki | -wec | -winbond)
151 os= 153 os=
155 ;; 157 ;;
156 -wrs) 158 -wrs)
157 os=-vxworks 159 os=-vxworks
158 basic_machine=$1 160 basic_machine=$1
159 ;; 161 ;;
162 -chorusos*)
163 os=-chorusos
164 basic_machine=$1
165 ;;
166 -chorusrdb)
167 os=-chorusrdb
168 basic_machine=$1
169 ;;
160 -hiux*) 170 -hiux*)
161 os=-hiuxwe2 171 os=-hiuxwe2
162 ;; 172 ;;
163 -sco5) 173 -sco5)
164 os=-sco3.2v5 174 os=-sco3.2v5
213 223
214 # Decode aliases for certain CPU-COMPANY combinations. 224 # Decode aliases for certain CPU-COMPANY combinations.
215 case $basic_machine in 225 case $basic_machine in
216 # Recognize the basic CPU types without company name. 226 # Recognize the basic CPU types without company name.
217 # Some are omitted here because they have special meanings below. 227 # Some are omitted here because they have special meanings below.
218 tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \ 228 1750a | 580 \
219 | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \ 229 | a29k \
220 | pyramid | mn10200 | mn10300 | tron | a29k \ 230 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
221 | 580 | i960 | h8300 \ 231 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
222 | x86 | ppcbe | mipsbe | mipsle | shbe | shle \ 232 | am33_2.0 \
223 | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ 233 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
224 | hppa64 \ 234 | c4x | clipper \
225 | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ 235 | d10v | d30v | dlx | dsp16xx \
226 | alphaev6[78] \ 236 | fr30 | frv \
227 | we32k | ns16k | clipper | i370 | sh | sh[34] \ 237 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
228 | powerpc | powerpcle \ 238 | i370 | i860 | i960 | ia64 \
229 | 1750a | dsp16xx | pdp10 | pdp11 \ 239 | ip2k | iq2000 \
230 | mips16 | mips64 | mipsel | mips64el \ 240 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
231 | mips64orion | mips64orionel | mipstx39 | mipstx39el \ 241 | mips | mipsbe | mipseb | mipsel | mipsle \
232 | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ 242 | mips16 \
233 | mips64vr5000 | miprs64vr5000el | mcore \ 243 | mips64 | mips64el \
234 | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ 244 | mips64vr | mips64vrel \
235 | thumb | d10v | d30v | fr30 | avr | openrisc) 245 | mips64orion | mips64orionel \
246 | mips64vr4100 | mips64vr4100el \
247 | mips64vr4300 | mips64vr4300el \
248 | mips64vr5000 | mips64vr5000el \
249 | mipsisa32 | mipsisa32el \
250 | mipsisa32r2 | mipsisa32r2el \
251 | mipsisa64 | mipsisa64el \
252 | mipsisa64r2 | mipsisa64r2el \
253 | mipsisa64sb1 | mipsisa64sb1el \
254 | mipsisa64sr71k | mipsisa64sr71kel \
255 | mipstx39 | mipstx39el \
256 | mn10200 | mn10300 \
257 | msp430 \
258 | ns16k | ns32k \
259 | openrisc | or32 \
260 | pdp10 | pdp11 | pj | pjl \
261 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
262 | pyramid \
263 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
264 | sh64 | sh64le \
265 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
266 | strongarm \
267 | tahoe | thumb | tic4x | tic80 | tron \
268 | v850 | v850e \
269 | we32k \
270 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
271 | z8k)
236 basic_machine=$basic_machine-unknown 272 basic_machine=$basic_machine-unknown
237 ;; 273 ;;
238 m6811 | m68hc11 | m6812 | m68hc12) 274 m6811 | m68hc11 | m6812 | m68hc12)
239 # Motorola 68HC11/12. 275 # Motorola 68HC11/12.
240 basic_machine=$basic_machine-unknown 276 basic_machine=$basic_machine-unknown
241 os=-none 277 os=-none
242 ;; 278 ;;
243 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl) 279 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
244 ;; 280 ;;
245 281
246 # We use `pc' rather than `unknown' 282 # We use `pc' rather than `unknown'
247 # because (1) that's what they normally are, and 283 # because (1) that's what they normally are, and
248 # (2) the word "unknown" tends to confuse beginning users. 284 # (2) the word "unknown" tends to confuse beginning users.
249 i[234567]86 | x86_64) 285 i*86 | x86_64)
250 basic_machine=$basic_machine-pc 286 basic_machine=$basic_machine-pc
251 ;; 287 ;;
252 # Object if more than one company name word. 288 # Object if more than one company name word.
253 *-*-*) 289 *-*-*)
254 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 290 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
255 exit 1 291 exit 1
256 ;; 292 ;;
257 # Recognize the basic CPU types with company name. 293 # Recognize the basic CPU types with company name.
258 # FIXME: clean up the formatting here. 294 580-* \
259 vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ 295 | a29k-* \
260 | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \ 296 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
261 | arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \ 297 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
262 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ 298 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
263 | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ 299 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
264 | xmp-* | ymp-* \ 300 | avr-* \
265 | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \ 301 | bs2000-* \
266 | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ 302 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
267 | hppa2.0n-* | hppa64-* \ 303 | clipper-* | craynv-* | cydra-* \
268 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ 304 | d10v-* | d30v-* | dlx-* \
269 | alphaev6[78]-* \ 305 | elxsi-* \
270 | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ 306 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
271 | clipper-* | orion-* \ 307 | h8300-* | h8500-* \
272 | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ 308 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
273 | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \ 309 | i*86-* | i860-* | i960-* | ia64-* \
274 | mips64el-* | mips64orion-* | mips64orionel-* \ 310 | ip2k-* | iq2000-* \
275 | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ 311 | m32r-* | m32rle-* \
276 | mipstx39-* | mipstx39el-* | mcore-* \ 312 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
277 | f30[01]-* | f700-* | s390-* | sv1-* | t3e-* \ 313 | m88110-* | m88k-* | maxq-* | mcore-* \
278 | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ 314 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
279 | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \ 315 | mips16-* \
280 | bs2000-* | tic54x-* | c54x-* | x86_64-*) 316 | mips64-* | mips64el-* \
317 | mips64vr-* | mips64vrel-* \
318 | mips64orion-* | mips64orionel-* \
319 | mips64vr4100-* | mips64vr4100el-* \
320 | mips64vr4300-* | mips64vr4300el-* \
321 | mips64vr5000-* | mips64vr5000el-* \
322 | mipsisa32-* | mipsisa32el-* \
323 | mipsisa32r2-* | mipsisa32r2el-* \
324 | mipsisa64-* | mipsisa64el-* \
325 | mipsisa64r2-* | mipsisa64r2el-* \
326 | mipsisa64sb1-* | mipsisa64sb1el-* \
327 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
328 | mipstx39-* | mipstx39el-* \
329 | mmix-* \
330 | msp430-* \
331 | none-* | np1-* | ns16k-* | ns32k-* \
332 | orion-* \
333 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
334 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
335 | pyramid-* \
336 | romp-* | rs6000-* \
337 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
338 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
339 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
340 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
341 | tahoe-* | thumb-* \
342 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
343 | tron-* \
344 | v850-* | v850e-* | vax-* \
345 | we32k-* \
346 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
347 | xstormy16-* | xtensa-* \
348 | ymp-* \
349 | z8k-*)
281 ;; 350 ;;
282 # Recognize the various machine names and aliases which stand 351 # Recognize the various machine names and aliases which stand
283 # for a CPU type and a company and sometimes even an OS. 352 # for a CPU type and a company and sometimes even an OS.
284 386bsd) 353 386bsd)
285 basic_machine=i386-unknown 354 basic_machine=i386-unknown
293 ;; 362 ;;
294 a29khif) 363 a29khif)
295 basic_machine=a29k-amd 364 basic_machine=a29k-amd
296 os=-udi 365 os=-udi
297 ;; 366 ;;
367 abacus)
368 basic_machine=abacus-unknown
369 ;;
298 adobe68k) 370 adobe68k)
299 basic_machine=m68010-adobe 371 basic_machine=m68010-adobe
300 os=-scout 372 os=-scout
301 ;; 373 ;;
302 alliant | fx80) 374 alliant | fx80)
307 ;; 379 ;;
308 am29k) 380 am29k)
309 basic_machine=a29k-none 381 basic_machine=a29k-none
310 os=-bsd 382 os=-bsd
311 ;; 383 ;;
384 amd64)
385 basic_machine=x86_64-pc
386 ;;
387 amd64-*)
388 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
389 ;;
312 amdahl) 390 amdahl)
313 basic_machine=580-amdahl 391 basic_machine=580-amdahl
314 os=-sysv 392 os=-sysv
315 ;; 393 ;;
316 amiga | amiga-*) 394 amiga | amiga-*)
338 ;; 416 ;;
339 balance) 417 balance)
340 basic_machine=ns32k-sequent 418 basic_machine=ns32k-sequent
341 os=-dynix 419 os=-dynix
342 ;; 420 ;;
421 c90)
422 basic_machine=c90-cray
423 os=-unicos
424 ;;
343 convex-c1) 425 convex-c1)
344 basic_machine=c1-convex 426 basic_machine=c1-convex
345 os=-bsd 427 os=-bsd
346 ;; 428 ;;
347 convex-c2) 429 convex-c2)
358 ;; 440 ;;
359 convex-c38) 441 convex-c38)
360 basic_machine=c38-convex 442 basic_machine=c38-convex
361 os=-bsd 443 os=-bsd
362 ;; 444 ;;
363 cray | ymp) 445 cray | j90)
364 basic_machine=ymp-cray 446 basic_machine=j90-cray
365 os=-unicos 447 os=-unicos
366 ;; 448 ;;
367 cray2) 449 craynv)
368 basic_machine=cray2-cray 450 basic_machine=craynv-cray
369 os=-unicos 451 os=-unicosmp
370 ;; 452 ;;
371 [ctj]90-cray) 453 cr16c)
372 basic_machine=c90-cray 454 basic_machine=cr16c-unknown
373 os=-unicos 455 os=-elf
374 ;; 456 ;;
375 crds | unos) 457 crds | unos)
376 basic_machine=m68k-crds 458 basic_machine=m68k-crds
377 ;; 459 ;;
460 crisv32 | crisv32-* | etraxfs*)
461 basic_machine=crisv32-axis
462 ;;
378 cris | cris-* | etrax*) 463 cris | cris-* | etrax*)
379 basic_machine=cris-axis 464 basic_machine=cris-axis
380 ;; 465 ;;
466 crx)
467 basic_machine=crx-unknown
468 os=-elf
469 ;;
381 da30 | da30-*) 470 da30 | da30-*)
382 basic_machine=m68k-da30 471 basic_machine=m68k-da30
383 ;; 472 ;;
384 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) 473 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
385 basic_machine=mips-dec 474 basic_machine=mips-dec
475 ;;
476 decsystem10* | dec10*)
477 basic_machine=pdp10-dec
478 os=-tops10
479 ;;
480 decsystem20* | dec20*)
481 basic_machine=pdp10-dec
482 os=-tops20
386 ;; 483 ;;
387 delta | 3300 | motorola-3300 | motorola-delta \ 484 delta | 3300 | motorola-3300 | motorola-delta \
388 | 3300-motorola | delta-motorola) 485 | 3300-motorola | delta-motorola)
389 basic_machine=m68k-motorola 486 basic_machine=m68k-motorola
390 ;; 487 ;;
391 delta88) 488 delta88)
392 basic_machine=m88k-motorola 489 basic_machine=m88k-motorola
393 os=-sysv3 490 os=-sysv3
394 ;; 491 ;;
492 djgpp)
493 basic_machine=i586-pc
494 os=-msdosdjgpp
495 ;;
395 dpx20 | dpx20-*) 496 dpx20 | dpx20-*)
396 basic_machine=rs6000-bull 497 basic_machine=rs6000-bull
397 os=-bosx 498 os=-bosx
398 ;; 499 ;;
399 dpx2* | dpx2*-bull) 500 dpx2* | dpx2*-bull)
502 ;; 603 ;;
503 i370-ibm* | ibm*) 604 i370-ibm* | ibm*)
504 basic_machine=i370-ibm 605 basic_machine=i370-ibm
505 ;; 606 ;;
506 # I'm not sure what "Sysv32" means. Should this be sysv3.2? 607 # I'm not sure what "Sysv32" means. Should this be sysv3.2?
507 i[34567]86v32) 608 i*86v32)
508 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 609 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
509 os=-sysv32 610 os=-sysv32
510 ;; 611 ;;
511 i[34567]86v4*) 612 i*86v4*)
512 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 613 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
513 os=-sysv4 614 os=-sysv4
514 ;; 615 ;;
515 i[34567]86v) 616 i*86v)
516 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 617 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
517 os=-sysv 618 os=-sysv
518 ;; 619 ;;
519 i[34567]86sol2) 620 i*86sol2)
520 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 621 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
521 os=-solaris2 622 os=-solaris2
522 ;; 623 ;;
523 i386mach) 624 i386mach)
524 basic_machine=i386-mach 625 basic_machine=i386-mach
562 ;; 663 ;;
563 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) 664 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
564 basic_machine=m68k-atari 665 basic_machine=m68k-atari
565 os=-mint 666 os=-mint
566 ;; 667 ;;
567 mipsel*-linux*)
568 basic_machine=mipsel-unknown
569 os=-linux-gnu
570 ;;
571 mips*-linux*)
572 basic_machine=mips-unknown
573 os=-linux-gnu
574 ;;
575 mips3*-*) 668 mips3*-*)
576 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` 669 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
577 ;; 670 ;;
578 mips3*) 671 mips3*)
579 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown 672 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
580 ;;
581 mmix*)
582 basic_machine=mmix-knuth
583 os=-mmixware
584 ;; 673 ;;
585 monitor) 674 monitor)
586 basic_machine=m68k-rom68k 675 basic_machine=m68k-rom68k
587 os=-coff 676 os=-coff
677 ;;
678 morphos)
679 basic_machine=powerpc-unknown
680 os=-morphos
588 ;; 681 ;;
589 msdos) 682 msdos)
590 basic_machine=i386-pc 683 basic_machine=i386-pc
591 os=-msdos 684 os=-msdos
592 ;; 685 ;;
663 ;; 756 ;;
664 op50n-* | op60c-*) 757 op50n-* | op60c-*)
665 basic_machine=hppa1.1-oki 758 basic_machine=hppa1.1-oki
666 os=-proelf 759 os=-proelf
667 ;; 760 ;;
761 or32 | or32-*)
762 basic_machine=or32-unknown
763 os=-coff
764 ;;
765 os400)
766 basic_machine=powerpc-ibm
767 os=-os400
768 ;;
668 OSE68000 | ose68000) 769 OSE68000 | ose68000)
669 basic_machine=m68000-ericsson 770 basic_machine=m68000-ericsson
670 os=-ose 771 os=-ose
671 ;; 772 ;;
672 os68k) 773 os68k)
685 basic_machine=sparc-tti 786 basic_machine=sparc-tti
686 ;; 787 ;;
687 pbb) 788 pbb)
688 basic_machine=m68k-tti 789 basic_machine=m68k-tti
689 ;; 790 ;;
690 pc532 | pc532-*) 791 pc532 | pc532-*)
691 basic_machine=ns32k-pc532 792 basic_machine=ns32k-pc532
692 ;; 793 ;;
693 pentium | p5 | k5 | k6 | nexgen) 794 pentium | p5 | k5 | k6 | nexgen | viac3)
694 basic_machine=i586-pc 795 basic_machine=i586-pc
695 ;; 796 ;;
696 pentiumpro | p6 | 6x86 | athlon) 797 pentiumpro | p6 | 6x86 | athlon | athlon_*)
697 basic_machine=i686-pc 798 basic_machine=i686-pc
698 ;; 799 ;;
699 pentiumii | pentium2) 800 pentiumii | pentium2 | pentiumiii | pentium3)
700 basic_machine=i686-pc 801 basic_machine=i686-pc
701 ;; 802 ;;
702 pentium-* | p5-* | k5-* | k6-* | nexgen-*) 803 pentium4)
804 basic_machine=i786-pc
805 ;;
806 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
703 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` 807 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
704 ;; 808 ;;
705 pentiumpro-* | p6-* | 6x86-* | athlon-*) 809 pentiumpro-* | p6-* | 6x86-* | athlon-*)
706 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 810 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
707 ;; 811 ;;
708 pentiumii-* | pentium2-*) 812 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
709 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 813 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
814 ;;
815 pentium4-*)
816 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
710 ;; 817 ;;
711 pn) 818 pn)
712 basic_machine=pn-gould 819 basic_machine=pn-gould
713 ;; 820 ;;
714 power) basic_machine=power-ibm 821 power) basic_machine=power-ibm
715 ;; 822 ;;
716 ppc) basic_machine=powerpc-unknown 823 ppc) basic_machine=powerpc-unknown
717 ;; 824 ;;
718 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 825 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
719 ;; 826 ;;
720 ppcle | powerpclittle | ppc-le | powerpc-little) 827 ppcle | powerpclittle | ppc-le | powerpc-little)
721 basic_machine=powerpcle-unknown 828 basic_machine=powerpcle-unknown
722 ;; 829 ;;
723 ppcle-* | powerpclittle-*) 830 ppcle-* | powerpclittle-*)
724 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` 831 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
832 ;;
833 ppc64) basic_machine=powerpc64-unknown
834 ;;
835 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
836 ;;
837 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
838 basic_machine=powerpc64le-unknown
839 ;;
840 ppc64le-* | powerpc64little-*)
841 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
725 ;; 842 ;;
726 ps2) 843 ps2)
727 basic_machine=i386-ibm 844 basic_machine=i386-ibm
728 ;; 845 ;;
729 pw32) 846 pw32)
738 basic_machine=mips-siemens 855 basic_machine=mips-siemens
739 ;; 856 ;;
740 rtpc | rtpc-*) 857 rtpc | rtpc-*)
741 basic_machine=romp-ibm 858 basic_machine=romp-ibm
742 ;; 859 ;;
860 s390 | s390-*)
861 basic_machine=s390-ibm
862 ;;
863 s390x | s390x-*)
864 basic_machine=s390x-ibm
865 ;;
743 sa29200) 866 sa29200)
744 basic_machine=a29k-amd 867 basic_machine=a29k-amd
745 os=-udi 868 os=-udi
746 ;; 869 ;;
870 sb1)
871 basic_machine=mipsisa64sb1-unknown
872 ;;
873 sb1el)
874 basic_machine=mipsisa64sb1el-unknown
875 ;;
876 sei)
877 basic_machine=mips-sei
878 os=-seiux
879 ;;
747 sequent) 880 sequent)
748 basic_machine=i386-sequent 881 basic_machine=i386-sequent
749 ;; 882 ;;
750 sh) 883 sh)
751 basic_machine=sh-hitachi 884 basic_machine=sh-hitachi
752 os=-hms 885 os=-hms
753 ;; 886 ;;
754 sparclite-wrs) 887 sh64)
888 basic_machine=sh64-unknown
889 ;;
890 sparclite-wrs | simso-wrs)
755 basic_machine=sparclite-wrs 891 basic_machine=sparclite-wrs
756 os=-vxworks 892 os=-vxworks
757 ;; 893 ;;
758 sps7) 894 sps7)
759 basic_machine=m68k-bull 895 basic_machine=m68k-bull
816 symmetry) 952 symmetry)
817 basic_machine=i386-sequent 953 basic_machine=i386-sequent
818 os=-dynix 954 os=-dynix
819 ;; 955 ;;
820 t3e) 956 t3e)
821 basic_machine=t3e-cray 957 basic_machine=alphaev5-cray
958 os=-unicos
959 ;;
960 t90)
961 basic_machine=t90-cray
822 os=-unicos 962 os=-unicos
823 ;; 963 ;;
824 tic54x | c54x*) 964 tic54x | c54x*)
825 basic_machine=tic54x-unknown 965 basic_machine=tic54x-unknown
826 os=-coff 966 os=-coff
827 ;; 967 ;;
968 tic55x | c55x*)
969 basic_machine=tic55x-unknown
970 os=-coff
971 ;;
972 tic6x | c6x*)
973 basic_machine=tic6x-unknown
974 os=-coff
975 ;;
828 tx39) 976 tx39)
829 basic_machine=mipstx39-unknown 977 basic_machine=mipstx39-unknown
830 ;; 978 ;;
831 tx39el) 979 tx39el)
832 basic_machine=mipstx39el-unknown 980 basic_machine=mipstx39el-unknown
833 ;; 981 ;;
982 toad1)
983 basic_machine=pdp10-xkl
984 os=-tops20
985 ;;
834 tower | tower-32) 986 tower | tower-32)
835 basic_machine=m68k-ncr 987 basic_machine=m68k-ncr
988 ;;
989 tpf)
990 basic_machine=s390x-ibm
991 os=-tpf
836 ;; 992 ;;
837 udi29k) 993 udi29k)
838 basic_machine=a29k-amd 994 basic_machine=a29k-amd
839 os=-udi 995 os=-udi
840 ;; 996 ;;
853 vms) 1009 vms)
854 basic_machine=vax-dec 1010 basic_machine=vax-dec
855 os=-vms 1011 os=-vms
856 ;; 1012 ;;
857 vpp*|vx|vx-*) 1013 vpp*|vx|vx-*)
858 basic_machine=f301-fujitsu 1014 basic_machine=f301-fujitsu
859 ;; 1015 ;;
860 vxworks960) 1016 vxworks960)
861 basic_machine=i960-wrs 1017 basic_machine=i960-wrs
862 os=-vxworks 1018 os=-vxworks
863 ;; 1019 ;;
864 vxworks68) 1020 vxworks68)
875 ;; 1031 ;;
876 w89k-*) 1032 w89k-*)
877 basic_machine=hppa1.1-winbond 1033 basic_machine=hppa1.1-winbond
878 os=-proelf 1034 os=-proelf
879 ;; 1035 ;;
880 xmp) 1036 xbox)
881 basic_machine=xmp-cray 1037 basic_machine=i686-pc
1038 os=-mingw32
1039 ;;
1040 xps | xps100)
1041 basic_machine=xps100-honeywell
1042 ;;
1043 ymp)
1044 basic_machine=ymp-cray
882 os=-unicos 1045 os=-unicos
883 ;;
884 xps | xps100)
885 basic_machine=xps100-honeywell
886 ;; 1046 ;;
887 z8k-*-coff) 1047 z8k-*-coff)
888 basic_machine=z8k-unknown 1048 basic_machine=z8k-unknown
889 os=-sim 1049 os=-sim
890 ;; 1050 ;;
902 basic_machine=hppa1.1-oki 1062 basic_machine=hppa1.1-oki
903 ;; 1063 ;;
904 op60c) 1064 op60c)
905 basic_machine=hppa1.1-oki 1065 basic_machine=hppa1.1-oki
906 ;; 1066 ;;
907 mips)
908 if [ x$os = x-linux-gnu ]; then
909 basic_machine=mips-unknown
910 else
911 basic_machine=mips-mips
912 fi
913 ;;
914 romp) 1067 romp)
915 basic_machine=romp-ibm 1068 basic_machine=romp-ibm
1069 ;;
1070 mmix)
1071 basic_machine=mmix-knuth
916 ;; 1072 ;;
917 rs6000) 1073 rs6000)
918 basic_machine=rs6000-ibm 1074 basic_machine=rs6000-ibm
919 ;; 1075 ;;
920 vax) 1076 vax)
928 basic_machine=pdp11-dec 1084 basic_machine=pdp11-dec
929 ;; 1085 ;;
930 we32k) 1086 we32k)
931 basic_machine=we32k-att 1087 basic_machine=we32k-att
932 ;; 1088 ;;
933 sh3 | sh4) 1089 sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
934 basic_machine=sh-unknown 1090 basic_machine=sh-unknown
935 ;; 1091 ;;
936 sparc | sparcv9) 1092 sh64)
1093 basic_machine=sh64-unknown
1094 ;;
1095 sparc | sparcv8 | sparcv9 | sparcv9b)
937 basic_machine=sparc-sun 1096 basic_machine=sparc-sun
938 ;; 1097 ;;
939 cydra) 1098 cydra)
940 basic_machine=cydra-cydrome 1099 basic_machine=cydra-cydrome
941 ;; 1100 ;;
942 orion) 1101 orion)
943 basic_machine=orion-highlevel 1102 basic_machine=orion-highlevel
944 ;; 1103 ;;
949 basic_machine=m68k-apple 1108 basic_machine=m68k-apple
950 ;; 1109 ;;
951 pmac | pmac-mpw) 1110 pmac | pmac-mpw)
952 basic_machine=powerpc-apple 1111 basic_machine=powerpc-apple
953 ;; 1112 ;;
954 c4x*) 1113 *-unknown)
955 basic_machine=c4x-none 1114 # Make sure to match an already-canonicalized machine name.
956 os=-coff
957 ;; 1115 ;;
958 *) 1116 *)
959 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 1117 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
960 exit 1 1118 exit 1
961 ;; 1119 ;;
1005 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 1163 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1006 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1164 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1007 | -aos* \ 1165 | -aos* \
1008 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1166 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1009 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1167 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1010 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ 1168 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1011 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1169 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1170 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1012 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1171 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1013 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1172 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1173 | -chorusos* | -chorusrdb* \
1014 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1174 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1015 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ 1175 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1016 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ 1176 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1017 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1177 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1018 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*) 1178 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1179 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1180 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1181 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1019 # Remember, each alternative MUST END IN *, to match a version number. 1182 # Remember, each alternative MUST END IN *, to match a version number.
1020 ;; 1183 ;;
1021 -qnx*) 1184 -qnx*)
1022 case $basic_machine in 1185 case $basic_machine in
1023 x86-* | i[34567]86-*) 1186 x86-* | i*86-*)
1024 ;; 1187 ;;
1025 *) 1188 *)
1026 os=-nto$os 1189 os=-nto$os
1027 ;; 1190 ;;
1028 esac 1191 esac
1029 ;; 1192 ;;
1193 -nto-qnx*)
1194 ;;
1030 -nto*) 1195 -nto*)
1031 os=-nto-qnx 1196 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1032 ;; 1197 ;;
1033 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ 1198 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1034 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ 1199 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1035 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) 1200 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1036 ;; 1201 ;;
1037 -mac*) 1202 -mac*)
1038 os=`echo $os | sed -e 's|mac|macos|'` 1203 os=`echo $os | sed -e 's|mac|macos|'`
1039 ;; 1204 ;;
1205 -linux-dietlibc)
1206 os=-linux-dietlibc
1207 ;;
1040 -linux*) 1208 -linux*)
1041 os=`echo $os | sed -e 's|linux|linux-gnu|'` 1209 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1042 ;; 1210 ;;
1043 -sunos5*) 1211 -sunos5*)
1044 os=`echo $os | sed -e 's|sunos5|solaris2|'` 1212 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1047 os=`echo $os | sed -e 's|sunos6|solaris3|'` 1215 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1048 ;; 1216 ;;
1049 -opened*) 1217 -opened*)
1050 os=-openedition 1218 os=-openedition
1051 ;; 1219 ;;
1220 -os400*)
1221 os=-os400
1222 ;;
1052 -wince*) 1223 -wince*)
1053 os=-wince 1224 os=-wince
1054 ;; 1225 ;;
1055 -osfrose*) 1226 -osfrose*)
1056 os=-osfrose 1227 os=-osfrose
1065 os=-bsd 1236 os=-bsd
1066 ;; 1237 ;;
1067 -acis*) 1238 -acis*)
1068 os=-aos 1239 os=-aos
1069 ;; 1240 ;;
1241 -atheos*)
1242 os=-atheos
1243 ;;
1244 -syllable*)
1245 os=-syllable
1246 ;;
1070 -386bsd) 1247 -386bsd)
1071 os=-bsd 1248 os=-bsd
1072 ;; 1249 ;;
1073 -ctix* | -uts*) 1250 -ctix* | -uts*)
1074 os=-sysv 1251 os=-sysv
1075 ;; 1252 ;;
1253 -nova*)
1254 os=-rtmk-nova
1255 ;;
1076 -ns2 ) 1256 -ns2 )
1077 os=-nextstep2 1257 os=-nextstep2
1078 ;; 1258 ;;
1079 -nsk*) 1259 -nsk*)
1080 os=-nsk 1260 os=-nsk
1081 ;; 1261 ;;
1082 # Preserve the version number of sinix5. 1262 # Preserve the version number of sinix5.
1084 os=`echo $os | sed -e 's|sinix|sysv|'` 1264 os=`echo $os | sed -e 's|sinix|sysv|'`
1085 ;; 1265 ;;
1086 -sinix*) 1266 -sinix*)
1087 os=-sysv4 1267 os=-sysv4
1088 ;; 1268 ;;
1269 -tpf*)
1270 os=-tpf
1271 ;;
1089 -triton*) 1272 -triton*)
1090 os=-sysv3 1273 os=-sysv3
1091 ;; 1274 ;;
1092 -oss*) 1275 -oss*)
1093 os=-sysv3 1276 os=-sysv3
1111 os=-ose 1294 os=-ose
1112 ;; 1295 ;;
1113 -xenix) 1296 -xenix)
1114 os=-xenix 1297 os=-xenix
1115 ;; 1298 ;;
1116 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1299 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1117 os=-mint 1300 os=-mint
1301 ;;
1302 -aros*)
1303 os=-aros
1304 ;;
1305 -kaos*)
1306 os=-kaos
1307 ;;
1308 -zvmoe)
1309 os=-zvmoe
1118 ;; 1310 ;;
1119 -none) 1311 -none)
1120 ;; 1312 ;;
1121 *) 1313 *)
1122 # Get rid of the `-' at the beginning of $os. 1314 # Get rid of the `-' at the beginning of $os.
1145 os=-linux 1337 os=-linux
1146 ;; 1338 ;;
1147 arm*-semi) 1339 arm*-semi)
1148 os=-aout 1340 os=-aout
1149 ;; 1341 ;;
1342 c4x-* | tic4x-*)
1343 os=-coff
1344 ;;
1345 # This must come before the *-dec entry.
1150 pdp10-*) 1346 pdp10-*)
1151 os=-tops20 1347 os=-tops20
1152 ;; 1348 ;;
1153 pdp11-*) 1349 pdp11-*)
1154 os=-none 1350 os=-none
1155 ;; 1351 ;;
1156 *-dec | vax-*) 1352 *-dec | vax-*)
1157 os=-ultrix4.2 1353 os=-ultrix4.2
1158 ;; 1354 ;;
1175 os=-elf 1371 os=-elf
1176 ;; 1372 ;;
1177 mips*-*) 1373 mips*-*)
1178 os=-elf 1374 os=-elf
1179 ;; 1375 ;;
1376 or32-*)
1377 os=-coff
1378 ;;
1180 *-tti) # must be before sparc entry or we get the wrong os. 1379 *-tti) # must be before sparc entry or we get the wrong os.
1181 os=-sysv3 1380 os=-sysv3
1182 ;; 1381 ;;
1183 sparc-* | *-sun) 1382 sparc-* | *-sun)
1184 os=-sunos4.1.1 1383 os=-sunos4.1.1
1187 os=-beos 1386 os=-beos
1188 ;; 1387 ;;
1189 *-ibm) 1388 *-ibm)
1190 os=-aix 1389 os=-aix
1191 ;; 1390 ;;
1391 *-knuth)
1392 os=-mmixware
1393 ;;
1192 *-wec) 1394 *-wec)
1193 os=-proelf 1395 os=-proelf
1194 ;; 1396 ;;
1195 *-winbond) 1397 *-winbond)
1196 os=-proelf 1398 os=-proelf
1238 os=-mvs 1440 os=-mvs
1239 ;; 1441 ;;
1240 *-next) 1442 *-next)
1241 os=-nextstep3 1443 os=-nextstep3
1242 ;; 1444 ;;
1243 *-gould) 1445 *-gould)
1244 os=-sysv 1446 os=-sysv
1245 ;; 1447 ;;
1246 *-highlevel) 1448 *-highlevel)
1247 os=-bsd 1449 os=-bsd
1248 ;; 1450 ;;
1249 *-encore) 1451 *-encore)
1250 os=-bsd 1452 os=-bsd
1251 ;; 1453 ;;
1252 *-sgi) 1454 *-sgi)
1253 os=-irix 1455 os=-irix
1254 ;; 1456 ;;
1255 *-siemens) 1457 *-siemens)
1256 os=-sysv4 1458 os=-sysv4
1257 ;; 1459 ;;
1258 *-masscomp) 1460 *-masscomp)
1259 os=-rtu 1461 os=-rtu
1260 ;; 1462 ;;
1319 vendor=ns 1521 vendor=ns
1320 ;; 1522 ;;
1321 -mvs* | -opened*) 1523 -mvs* | -opened*)
1322 vendor=ibm 1524 vendor=ibm
1323 ;; 1525 ;;
1526 -os400*)
1527 vendor=ibm
1528 ;;
1324 -ptx*) 1529 -ptx*)
1325 vendor=sequent 1530 vendor=sequent
1326 ;; 1531 ;;
1327 -vxsim* | -vxworks*) 1532 -tpf*)
1533 vendor=ibm
1534 ;;
1535 -vxsim* | -vxworks* | -windiss*)
1328 vendor=wrs 1536 vendor=wrs
1329 ;; 1537 ;;
1330 -aux*) 1538 -aux*)
1331 vendor=apple 1539 vendor=apple
1332 ;; 1540 ;;
1336 -mpw* | -macos*) 1544 -mpw* | -macos*)
1337 vendor=apple 1545 vendor=apple
1338 ;; 1546 ;;
1339 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1547 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1340 vendor=atari 1548 vendor=atari
1549 ;;
1550 -vos*)
1551 vendor=stratus
1341 ;; 1552 ;;
1342 esac 1553 esac
1343 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` 1554 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1344 ;; 1555 ;;
1345 esac 1556 esac