comparison config.sub @ 380:8626e4521993 r21-2-5

Import from CVS: tag r21-2-5
author cvs
date Mon, 13 Aug 2007 11:07:10 +0200
parents a300bb07d72d
children 74fd4e045ea6
comparison
equal deleted inserted replaced
379:76b7d63099ad 380:8626e4521993
1 #! /bin/sh 1 #! /bin/sh
2 # Configuration validation subroutine script, version 1.1. 2 # Configuration validation subroutine script, version 1.1.
3 # Copyright (C) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc. 3 # Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc.
4 # This file is (in principle) common to ALL GNU software. 4 # This file is (in principle) common to ALL GNU software.
5 # The presence of a machine in this file suggests that SOME GNU software 5 # The presence of a machine in this file suggests that SOME GNU software
6 # can handle that machine. It does not imply ALL GNU software can. 6 # can handle that machine. It does not imply ALL GNU software can.
7 # 7 #
8 # This file is free software; you can redistribute it and/or modify 8 # This file is free software; you can redistribute it and/or modify
18 # You should have received a copy of the GNU General Public License 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 19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, 20 # Foundation, Inc., 59 Temple Place - Suite 330,
21 # Boston, MA 02111-1307, USA. 21 # Boston, MA 02111-1307, USA.
22 22
23 # Synched up with: FSF 19.31.
24
25 # As a special exception to the GNU General Public License, if you 23 # As a special exception to the GNU General Public License, if you
26 # distribute this file as part of a program that contains a 24 # distribute this file as part of a program that contains a
27 # configuration script generated by Autoconf, you may include it under 25 # configuration script generated by Autoconf, you may include it under
28 # the same distribution terms that you use for the rest of that program. 26 # the same distribution terms that you use for the rest of that program.
29 27
41 # configuration. 39 # configuration.
42 40
43 # The goal of this file is to map all the various variations of a given 41 # The goal of this file is to map all the various variations of a given
44 # machine specification into a single specification in the form: 42 # machine specification into a single specification in the form:
45 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 43 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
44 # or in some cases, the newer four-part form:
45 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
46 # It is wrong to echo any other type of specification. 46 # It is wrong to echo any other type of specification.
47 47
48 if [ x$1 = x ] 48 if [ x$1 = x ]
49 then 49 then
50 echo Configuration name missing. 1>&2 50 echo Configuration name missing. 1>&2
62 ;; 62 ;;
63 *) 63 *)
64 ;; 64 ;;
65 esac 65 esac
66 66
67 # Separate what the user gave into CPU-COMPANY and OS (if any). 67 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
68 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 68 # Here we must recognize all the valid KERNEL-OS combinations.
69 if [ $basic_machine != $1 ] 69 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
70 then os=`echo $1 | sed 's/.*-/-/'` 70 case $maybe_os in
71 else os=; fi 71 linux-gnu*)
72 os=-$maybe_os
73 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
74 ;;
75 *)
76 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
77 if [ $basic_machine != $1 ]
78 then os=`echo $1 | sed 's/.*-/-/'`
79 else os=; fi
80 ;;
81 esac
72 82
73 ### Let's recognize common machines as not being operating systems so 83 ### Let's recognize common machines as not being operating systems so
74 ### that things like config.sub decstation-3100 work. We also 84 ### that things like config.sub decstation-3100 work. We also
75 ### recognize some manufacturers as not being operating systems, so we 85 ### recognize some manufacturers as not being operating systems, so we
76 ### can provide default operating systems below. 86 ### can provide default operating systems below.
91 -hiux*) 101 -hiux*)
92 os=-hiuxwe2 102 os=-hiuxwe2
93 ;; 103 ;;
94 -sco5) 104 -sco5)
95 os=sco3.2v5 105 os=sco3.2v5
96 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` 106 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
97 ;; 107 ;;
98 -sco4) 108 -sco4)
99 os=-sco3.2v4 109 os=-sco3.2v4
100 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` 110 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
101 ;; 111 ;;
102 -sco3.2.[4-9]*) 112 -sco3.2.[4-9]*)
103 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 113 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
104 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` 114 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
105 ;; 115 ;;
106 -sco3.2v[4-9]*) 116 -sco3.2v[4-9]*)
107 # Don't forget version if it is 3.2v4 or newer. 117 # Don't forget version if it is 3.2v4 or newer.
108 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` 118 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
109 ;; 119 ;;
110 -sco*) 120 -sco*)
111 os=-sco3.2v2 121 os=-sco3.2v2
112 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` 122 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
113 ;; 123 ;;
114 -isc) 124 -isc)
115 os=-isc2.2 125 os=-isc2.2
116 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` 126 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
117 ;; 127 ;;
118 -clix*) 128 -clix*)
119 basic_machine=clipper-intergraph 129 basic_machine=clipper-intergraph
120 ;; 130 ;;
121 -isc*) 131 -isc*)
122 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` 132 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
123 ;; 133 ;;
124 -lynx*) 134 -lynx*)
125 os=-lynxos 135 os=-lynxos
126 ;; 136 ;;
127 -ptx*) 137 -ptx*)
137 147
138 # Decode aliases for certain CPU-COMPANY combinations. 148 # Decode aliases for certain CPU-COMPANY combinations.
139 case $basic_machine in 149 case $basic_machine in
140 # Recognize the basic CPU types without company name. 150 # Recognize the basic CPU types without company name.
141 # Some are omitted here because they have special meanings below. 151 # Some are omitted here because they have special meanings below.
142 tahoe | i[3-9]86 | i860 | m68k | m68000 | m88k | ns32k | arm \ 152 tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
143 | arme[lb] | pyramid \ 153 | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
144 | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \ 154 | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 | hppa2.0 \
145 | alpha | we32k | mab | ns16k | clipper | i370 | sh \ 155 | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
146 | powerpc | powerpcle | 1750a | dsp16xx | mips64 | mipsel \ 156 | i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
147 | pdp11 | mips64el | mips64orion | mips64orionel \ 157 | mips64 | mipsel | mips64el | mips64orion | mips64orionel \
148 | sparc | sparclet | sparclite | sparc64) 158 | mipstx39 | mipstx39el \
159 | sparc | sparclet | sparclite | sparc64 | v850)
149 basic_machine=$basic_machine-unknown 160 basic_machine=$basic_machine-unknown
150 ;; 161 ;;
162 # We use `pc' rather than `unknown'
163 # because (1) that's what they normally are, and
164 # (2) the word "unknown" tends to confuse beginning users.
165 i[34567]86)
166 basic_machine=$basic_machine-pc
167 ;;
151 # Object if more than one company name word. 168 # Object if more than one company name word.
152 *-*-*) 169 *-*-*)
153 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 170 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
154 exit 1 171 exit 1
155 ;; 172 ;;
156 # Recognize the basic CPU types with company name. 173 # Recognize the basic CPU types with company name.
157 vax-* | tahoe-* | i[3-9]86-* | i860-* | m68k-* | m68000-* | m88k-* \ 174 vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \
158 | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ 175 | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
159 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \ 176 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
160 | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ 177 | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
161 | hppa1.0-* | hppa1.1-* | alpha*-* | we32k-* | cydra-* | ns16k-* \ 178 | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* \
162 | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \ 179 | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
163 | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \ 180 | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
164 | mips64el-* | mips64orion-* | mips64orionel-* | mab-*) 181 | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
165 ;; 182 | sparc64-* | mips64-* | mipsel-* \
166 # Recognize names of some NetBSD ports. 183 | mips64el-* | mips64orion-* | mips64orionel-* \
167 amiga-* | hp300-* | mac68k-* | sun3-* | pmax-*) 184 | mipstx39-* | mipstx39el-* \
185 | f301-*)
168 ;; 186 ;;
169 # Recognize the various machine names and aliases which stand 187 # Recognize the various machine names and aliases which stand
170 # for a CPU type and a company and sometimes even an OS. 188 # for a CPU type and a company and sometimes even an OS.
171 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) 189 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
172 basic_machine=m68000-att 190 basic_machine=m68000-att
189 os=-sysv 207 os=-sysv
190 ;; 208 ;;
191 amiga | amiga-*) 209 amiga | amiga-*)
192 basic_machine=m68k-cbm 210 basic_machine=m68k-cbm
193 ;; 211 ;;
194 amigados) 212 amigaos | amigados)
195 basic_machine=m68k-cbm 213 basic_machine=m68k-cbm
196 os=-amigados 214 os=-amigaos
197 ;; 215 ;;
198 amigaunix | amix) 216 amigaunix | amix)
199 basic_machine=m68k-cbm 217 basic_machine=m68k-cbm
200 os=-sysv4 218 os=-sysv4
201 ;; 219 ;;
205 ;; 223 ;;
206 aux) 224 aux)
207 basic_machine=m68k-apple 225 basic_machine=m68k-apple
208 os=-aux 226 os=-aux
209 ;; 227 ;;
210 aux)
211 basic_machine=m68k-apple
212 os=-aux
213 ;;
214 balance) 228 balance)
215 basic_machine=ns32k-sequent 229 basic_machine=ns32k-sequent
216 os=-dynix 230 os=-dynix
217 ;; 231 ;;
218 convex-c1) 232 convex-c1)
326 basic_machine=hppa1.1-hp 340 basic_machine=hppa1.1-hp
327 ;; 341 ;;
328 hp9k8[0-9][0-9] | hp8[0-9][0-9]) 342 hp9k8[0-9][0-9] | hp8[0-9][0-9])
329 basic_machine=hppa1.0-hp 343 basic_machine=hppa1.0-hp
330 ;; 344 ;;
345 hppa-next)
346 os=-nextstep3
347 ;;
331 i370-ibm* | ibm*) 348 i370-ibm* | ibm*)
332 basic_machine=i370-ibm 349 basic_machine=i370-ibm
333 os=-mvs 350 os=-mvs
334 ;; 351 ;;
335 # I'm not sure what "Sysv32" means. Should this be sysv3.2? 352 # I'm not sure what "Sysv32" means. Should this be sysv3.2?
336 i[3-9]86v32) 353 i[34567]86v32)
337 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` 354 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
338 os=-sysv32 355 os=-sysv32
339 ;; 356 ;;
340 i[3-9]86v4*) 357 i[34567]86v4*)
341 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` 358 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
342 os=-sysv4 359 os=-sysv4
343 ;; 360 ;;
344 i[3-9]86v) 361 i[34567]86v)
345 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` 362 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
346 os=-sysv 363 os=-sysv
347 ;; 364 ;;
348 i[3-9]86sol2) 365 i[34567]86sol2)
349 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` 366 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
350 os=-solaris2 367 os=-solaris2
351 ;; 368 ;;
352 iris | iris4d) 369 iris | iris4d)
353 basic_machine=mips-sgi 370 basic_machine=mips-sgi
354 case $os in 371 case $os in
374 basic_machine=ns32k-utek 391 basic_machine=ns32k-utek
375 os=-sysv 392 os=-sysv
376 ;; 393 ;;
377 miniframe) 394 miniframe)
378 basic_machine=m68000-convergent 395 basic_machine=m68000-convergent
396 ;;
397 mipsel*-linux*)
398 basic_machine=mipsel-unknown
399 os=-linux-gnu
400 ;;
401 mips*-linux*)
402 basic_machine=mips-unknown
403 os=-linux-gnu
379 ;; 404 ;;
380 mips3*-*) 405 mips3*-*)
381 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` 406 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
382 ;; 407 ;;
383 mips3*) 408 mips3*)
440 ;; 465 ;;
441 pbb) 466 pbb)
442 basic_machine=m68k-tti 467 basic_machine=m68k-tti
443 ;; 468 ;;
444 pc532 | pc532-*) 469 pc532 | pc532-*)
445 case $os in 470 basic_machine=ns32k-pc532
446 -netbsd*) 471 ;;
447 basic_machine=pc532-unknown 472 pentium | p5 | k5 | nexen)
448 ;; 473 basic_machine=i586-pc
449 *) 474 ;;
450 basic_machine=ns32k-pc532 475 pentiumpro | p6 | k6 | 6x86)
451 ;; 476 basic_machine=i686-pc
452 esac 477 ;;
453 ;; 478 pentiumii | pentium2)
454 pentium | p5) 479 basic_machine=i786-pc
455 basic_machine=i586-intel 480 ;;
456 ;; 481 pentium-* | p5-* | k5-* | nexen-*)
457 pentiumpro | p6)
458 basic_machine=i686-intel
459 ;;
460 pentium-* | p5-*)
461 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` 482 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
462 ;; 483 ;;
463 pentiumpro-* | p6-*) 484 pentiumpro-* | p6-* | k6-* | 6x86-*)
464 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 485 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
465 ;; 486 ;;
466 k5) 487 pentiumii-* | pentium2-*)
467 # We don't have specific support for AMD's K5 yet, so just call it a Pentium 488 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
468 basic_machine=i586-amd
469 ;;
470 nexen)
471 # We don't have specific support for Nexgen yet, so just call it a Pentium
472 basic_machine=i586-nexgen
473 ;; 489 ;;
474 pn) 490 pn)
475 basic_machine=pn-gould 491 basic_machine=pn-gould
476 ;; 492 ;;
477 power) basic_machine=rs6000-ibm 493 power) basic_machine=rs6000-ibm
551 ;; 567 ;;
552 symmetry) 568 symmetry)
553 basic_machine=i386-sequent 569 basic_machine=i386-sequent
554 os=-dynix 570 os=-dynix
555 ;; 571 ;;
572 tx39)
573 basic_machine=mipstx39-unknown
574 ;;
575 tx39el)
576 basic_machine=mipstx39el-unknown
577 ;;
556 tower | tower-32) 578 tower | tower-32)
557 basic_machine=m68k-ncr 579 basic_machine=m68k-ncr
558 ;; 580 ;;
559 udi29k) 581 udi29k)
560 basic_machine=a29k-amd 582 basic_machine=a29k-amd
570 ;; 592 ;;
571 vms) 593 vms)
572 basic_machine=vax-dec 594 basic_machine=vax-dec
573 os=-vms 595 os=-vms
574 ;; 596 ;;
597 vpp*|vx|vx-*)
598 basic_machine=f301-fujitsu
599 ;;
575 vxworks960) 600 vxworks960)
576 basic_machine=i960-wrs 601 basic_machine=i960-wrs
577 os=-vxworks 602 os=-vxworks
578 ;; 603 ;;
579 vxworks68) 604 vxworks68)
597 ;; 622 ;;
598 623
599 # Here we handle the default manufacturer of certain CPU types. It is in 624 # Here we handle the default manufacturer of certain CPU types. It is in
600 # some cases the only manufacturer, in others, it is the most popular. 625 # some cases the only manufacturer, in others, it is the most popular.
601 mips) 626 mips)
602 basic_machine=mips-mips 627 if [ x$os = x-linux-gnu ]; then
628 basic_machine=mips-unknown
629 else
630 basic_machine=mips-mips
631 fi
603 ;; 632 ;;
604 romp) 633 romp)
605 basic_machine=romp-ibm 634 basic_machine=romp-ibm
606 ;; 635 ;;
607 rs6000) 636 rs6000)
649 # Decode manufacturer-specific aliases for certain operating systems. 678 # Decode manufacturer-specific aliases for certain operating systems.
650 679
651 if [ x"$os" != x"" ] 680 if [ x"$os" != x"" ]
652 then 681 then
653 case $os in 682 case $os in
683 # First match some system type aliases
684 # that might get confused with valid system types.
654 # -solaris* is a basic system type, with this one exception. 685 # -solaris* is a basic system type, with this one exception.
655 -solaris1 | -solaris1.*) 686 -solaris1 | -solaris1.*)
656 os=`echo $os | sed -e 's|solaris1|sunos4|'` 687 os=`echo $os | sed -e 's|solaris1|sunos4|'`
657 ;; 688 ;;
658 -solaris) 689 -solaris)
659 os=-solaris2 690 os=-solaris2
660 ;; 691 ;;
661 -unixware* | svr4*) 692 -svr4*)
662 os=-sysv4 693 os=-sysv4
663 ;; 694 ;;
695 -unixware*)
696 os=-sysv4.2uw
697 ;;
664 -gnu/linux*) 698 -gnu/linux*)
665 os=`echo $os | sed -e 's|gnu/linux|linux|'` 699 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
666 ;; 700 ;;
667 # First accept the basic system types. 701 # First accept the basic system types.
668 # The portable systems comes first. 702 # The portable systems comes first.
669 # Each alternative MUST END IN A *, to match a version number. 703 # Each alternative MUST END IN A *, to match a version number.
670 # -sysv* is not here because it comes later, after sysvr4. 704 # -sysv* is not here because it comes later, after sysvr4.
671 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 705 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
672 | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[345]* \ 706 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
673 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 707 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
674 | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \ 708 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
675 | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \ 709 | -aos* \
676 | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \ 710 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
677 | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \ 711 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
712 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
678 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ 713 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
679 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 714 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
680 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 715 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
681 | -cygwin32* | -pe* | -psos* | -moss* | -openbsd* ) 716 | -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
717 | -mingw32* | -linux-gnu* | -uxpv* | -beos*)
682 # Remember, each alternative MUST END IN *, to match a version number. 718 # Remember, each alternative MUST END IN *, to match a version number.
719 ;;
720 -linux*)
721 os=`echo $os | sed -e 's|linux|linux-gnu|'`
683 ;; 722 ;;
684 -sunos5*) 723 -sunos5*)
685 os=`echo $os | sed -e 's|sunos5|solaris2|'` 724 os=`echo $os | sed -e 's|sunos5|solaris2|'`
686 ;; 725 ;;
687 -sunos6*) 726 -sunos6*)
786 os=-sysv3 825 os=-sysv3
787 ;; 826 ;;
788 sparc-* | *-sun) 827 sparc-* | *-sun)
789 os=-sunos4.1.1 828 os=-sunos4.1.1
790 ;; 829 ;;
830 *-be)
831 os=-beos
832 ;;
791 *-ibm) 833 *-ibm)
792 os=-aix 834 os=-aix
793 ;; 835 ;;
794 *-hp) 836 *-hp)
795 os=-hpux 837 os=-hpux
799 ;; 841 ;;
800 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) 842 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
801 os=-sysv 843 os=-sysv
802 ;; 844 ;;
803 *-cbm) 845 *-cbm)
804 os=-amigados 846 os=-amigaos
805 ;; 847 ;;
806 *-dg) 848 *-dg)
807 os=-dgux 849 os=-dgux
808 ;; 850 ;;
809 *-dolphin) 851 *-dolphin)
848 *-siemens) 890 *-siemens)
849 os=-sysv4 891 os=-sysv4
850 ;; 892 ;;
851 *-masscomp) 893 *-masscomp)
852 os=-rtu 894 os=-rtu
895 ;;
896 f301-fujitsu)
897 os=-uxpv
853 ;; 898 ;;
854 *) 899 *)
855 os=-none 900 os=-none
856 ;; 901 ;;
857 esac 902 esac
867 vendor=acorn 912 vendor=acorn
868 ;; 913 ;;
869 -sunos*) 914 -sunos*)
870 vendor=sun 915 vendor=sun
871 ;; 916 ;;
872 -lynxos*)
873 vendor=lynx
874 ;;
875 -aix*) 917 -aix*)
876 vendor=ibm 918 vendor=ibm
877 ;; 919 ;;
878 -hpux*) 920 -hpux*)
879 vendor=hp 921 vendor=hp
897 vendor=ibm 939 vendor=ibm
898 ;; 940 ;;
899 -ptx*) 941 -ptx*)
900 vendor=sequent 942 vendor=sequent
901 ;; 943 ;;
902 -vxworks*) 944 -vxsim* | -vxworks*)
903 vendor=wrs 945 vendor=wrs
904 ;; 946 ;;
905 -aux*) 947 -aux*)
906 vendor=apple 948 vendor=apple
907 ;; 949 ;;
908 -aux*)
909 vendor=apple
910 esac 950 esac
911 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` 951 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
912 ;; 952 ;;
913 esac 953 esac
914 954