~ubuntu-branches/ubuntu/maverick/texinfo/maverick

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2005-10-28 15:10:30 UTC
  • mto: (2.1.1 dapper) (3.1.4 hardy)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051028151030-9nsf2s2k2z3fktjt
Tags: upstream-4.8
ImportĀ upstreamĀ versionĀ 4.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
 
#   2000, 2001, 2002 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2002-02-22'
 
6
timestamp='2004-11-30'
7
7
 
8
8
# This file is (in principle) common to ALL GNU software.
9
9
# The presence of a machine in this file suggests that SOME GNU software
70
70
version="\
71
71
GNU config.sub ($timestamp)
72
72
 
73
 
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
74
74
Free Software Foundation, Inc.
75
75
 
76
76
This is free software; see the source for copying conditions.  There is NO
118
118
# Here we must recognize all the valid KERNEL-OS combinations.
119
119
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
120
case $maybe_os in
121
 
  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
 
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*)
122
123
    os=-$maybe_os
123
124
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124
125
    ;;
144
145
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145
146
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146
147
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147
 
        -apple | -axis)
 
148
        -apple | -axis | -knuth | -cray)
148
149
                os=
149
150
                basic_machine=$1
150
151
                ;;
228
229
        | a29k \
229
230
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230
231
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 
232
        | am33_2.0 \
231
233
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
232
234
        | c4x | clipper \
233
 
        | d10v | d30v | dsp16xx \
234
 
        | fr30 \
 
235
        | d10v | d30v | dlx | dsp16xx \
 
236
        | fr30 | frv \
235
237
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236
238
        | i370 | i860 | i960 | ia64 \
237
 
        | m32r | m68000 | m68k | m88k | mcore \
238
 
        | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
239
 
        | mips64vr4100 | mips64vr4100el | mips64vr4300 \
240
 
        | mips64vr4300el | mips64vr5000 | mips64vr5000el \
241
 
        | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
242
 
        | mipsisa32 \
 
239
        | ip2k | iq2000 \
 
240
        | m32r | m32rle | m68000 | m68k | m88k | mcore \
 
241
        | mips | mipsbe | mipseb | mipsel | mipsle \
 
242
        | mips16 \
 
243
        | mips64 | mips64el \
 
244
        | mips64vr | mips64vrel \
 
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 \
243
256
        | mn10200 | mn10300 \
 
257
        | msp430 \
244
258
        | ns16k | ns32k \
245
259
        | openrisc | or32 \
246
260
        | pdp10 | pdp11 | pj | pjl \
247
261
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
248
262
        | pyramid \
249
 
        | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \
250
 
        | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
 
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 \
251
266
        | strongarm \
252
 
        | tahoe | thumb | tic80 | tron \
 
267
        | tahoe | thumb | tic4x | tic80 | tron \
253
268
        | v850 | v850e \
254
269
        | we32k \
255
 
        | x86 | xscale | xstormy16 | xtensa \
 
270
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
256
271
        | z8k)
257
272
                basic_machine=$basic_machine-unknown
258
273
                ;;
281
296
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
282
297
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
283
298
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
284
 
        | arm-*  | armbe-* | armle-* | armv*-* \
 
299
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
285
300
        | avr-* \
286
301
        | bs2000-* \
287
 
        | c[123]* | c30-* | [cjt]90-* | c54x-* \
288
 
        | clipper-* | cydra-* \
289
 
        | d10v-* | d30v-* \
 
302
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
303
        | clipper-* | craynv-* | cydra-* \
 
304
        | d10v-* | d30v-* | dlx-* \
290
305
        | elxsi-* \
291
 
        | f30[01]-* | f700-* | fr30-* | fx80-* \
 
306
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
292
307
        | h8300-* | h8500-* \
293
308
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
294
309
        | i*86-* | i860-* | i960-* | ia64-* \
295
 
        | m32r-* \
 
310
        | ip2k-* | iq2000-* \
 
311
        | m32r-* | m32rle-* \
296
312
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
297
313
        | m88110-* | m88k-* | mcore-* \
298
 
        | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
299
 
        | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
300
 
        | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
301
 
        | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
 
314
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 
315
        | mips16-* \
 
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-* \
302
331
        | none-* | np1-* | ns16k-* | ns32k-* \
303
332
        | orion-* \
304
333
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
305
334
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
306
335
        | pyramid-* \
307
336
        | romp-* | rs6000-* \
308
 
        | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \
309
 
        | sparc-* | sparc64-* | sparc86x-* | sparclite-* \
310
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
311
 
        | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
 
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-* \
312
344
        | v850-* | v850e-* | vax-* \
313
345
        | we32k-* \
314
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
315
 
        | xtensa-* \
 
346
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
347
        | xstormy16-* | xtensa-* \
316
348
        | ymp-* \
317
349
        | z8k-*)
318
350
                ;;
332
364
                basic_machine=a29k-amd
333
365
                os=-udi
334
366
                ;;
 
367
        abacus)
 
368
                basic_machine=abacus-unknown
 
369
                ;;
335
370
        adobe68k)
336
371
                basic_machine=m68010-adobe
337
372
                os=-scout
346
381
                basic_machine=a29k-none
347
382
                os=-bsd
348
383
                ;;
 
384
        amd64)
 
385
                basic_machine=x86_64-pc
 
386
                ;;
 
387
        amd64-*)
 
388
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
389
                ;;
349
390
        amdahl)
350
391
                basic_machine=580-amdahl
351
392
                os=-sysv
405
446
                basic_machine=j90-cray
406
447
                os=-unicos
407
448
                ;;
 
449
        craynv)
 
450
                basic_machine=craynv-cray
 
451
                os=-unicosmp
 
452
                ;;
 
453
        cr16c)
 
454
                basic_machine=cr16c-unknown
 
455
                os=-elf
 
456
                ;;
408
457
        crds | unos)
409
458
                basic_machine=m68k-crds
410
459
                ;;
 
460
        crisv32 | crisv32-* | etraxfs*)
 
461
                basic_machine=crisv32-axis
 
462
                ;;
411
463
        cris | cris-* | etrax*)
412
464
                basic_machine=cris-axis
413
465
                ;;
 
466
        crx)
 
467
                basic_machine=crx-unknown
 
468
                os=-elf
 
469
                ;;
414
470
        da30 | da30-*)
415
471
                basic_machine=m68k-da30
416
472
                ;;
433
489
                basic_machine=m88k-motorola
434
490
                os=-sysv3
435
491
                ;;
 
492
        djgpp)
 
493
                basic_machine=i586-pc
 
494
                os=-msdosdjgpp
 
495
                ;;
436
496
        dpx20 | dpx20-*)
437
497
                basic_machine=rs6000-bull
438
498
                os=-bosx
605
665
                basic_machine=m68k-atari
606
666
                os=-mint
607
667
                ;;
608
 
        mipsel*-linux*)
609
 
                basic_machine=mipsel-unknown
610
 
                os=-linux-gnu
611
 
                ;;
612
 
        mips*-linux*)
613
 
                basic_machine=mips-unknown
614
 
                os=-linux-gnu
615
 
                ;;
616
668
        mips3*-*)
617
669
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
618
670
                ;;
619
671
        mips3*)
620
672
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
621
673
                ;;
622
 
        mmix*)
623
 
                basic_machine=mmix-knuth
624
 
                os=-mmixware
625
 
                ;;
626
674
        monitor)
627
675
                basic_machine=m68k-rom68k
628
676
                os=-coff
714
762
                basic_machine=or32-unknown
715
763
                os=-coff
716
764
                ;;
 
765
        os400)
 
766
                basic_machine=powerpc-ibm
 
767
                os=-os400
 
768
                ;;
717
769
        OSE68000 | ose68000)
718
770
                basic_machine=m68000-ericsson
719
771
                os=-ose
736
788
        pbb)
737
789
                basic_machine=m68k-tti
738
790
                ;;
739
 
        pc532 | pc532-*)
 
791
        pc532 | pc532-*)
740
792
                basic_machine=ns32k-pc532
741
793
                ;;
742
794
        pentium | p5 | k5 | k6 | nexgen | viac3)
743
795
                basic_machine=i586-pc
744
796
                ;;
745
 
        pentiumpro | p6 | 6x86 | athlon)
746
 
                basic_machine=i686-pc
747
 
                ;;
748
 
        pentiumii | pentium2)
749
 
                basic_machine=i686-pc
 
797
        pentiumpro | p6 | 6x86 | athlon | athlon_*)
 
798
                basic_machine=i686-pc
 
799
                ;;
 
800
        pentiumii | pentium2 | pentiumiii | pentium3)
 
801
                basic_machine=i686-pc
 
802
                ;;
 
803
        pentium4)
 
804
                basic_machine=i786-pc
750
805
                ;;
751
806
        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
752
807
                basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
754
809
        pentiumpro-* | p6-* | 6x86-* | athlon-*)
755
810
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
756
811
                ;;
757
 
        pentiumii-* | pentium2-*)
 
812
        pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
758
813
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
759
814
                ;;
 
815
        pentium4-*)
 
816
                basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
 
817
                ;;
760
818
        pn)
761
819
                basic_machine=pn-gould
762
820
                ;;
763
821
        power)  basic_machine=power-ibm
764
822
                ;;
765
823
        ppc)    basic_machine=powerpc-unknown
766
 
                ;;
 
824
                ;;
767
825
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
768
826
                ;;
769
827
        ppcle | powerpclittle | ppc-le | powerpc-little)
770
828
                basic_machine=powerpcle-unknown
771
 
                ;;
 
829
                ;;
772
830
        ppcle-* | powerpclittle-*)
773
831
                basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
774
832
                ;;
775
833
        ppc64)  basic_machine=powerpc64-unknown
776
 
                ;;
 
834
                ;;
777
835
        ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
778
836
                ;;
779
837
        ppc64le | powerpc64little | ppc64-le | powerpc64-little)
780
838
                basic_machine=powerpc64le-unknown
781
 
                ;;
 
839
                ;;
782
840
        ppc64le-* | powerpc64little-*)
783
841
                basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
784
842
                ;;
809
867
                basic_machine=a29k-amd
810
868
                os=-udi
811
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
                ;;
812
880
        sequent)
813
881
                basic_machine=i386-sequent
814
882
                ;;
816
884
                basic_machine=sh-hitachi
817
885
                os=-hms
818
886
                ;;
 
887
        sh64)
 
888
                basic_machine=sh64-unknown
 
889
                ;;
819
890
        sparclite-wrs | simso-wrs)
820
891
                basic_machine=sparclite-wrs
821
892
                os=-vxworks
874
945
        sun386 | sun386i | roadrunner)
875
946
                basic_machine=i386-sun
876
947
                ;;
877
 
        sv1)
 
948
        sv1)
878
949
                basic_machine=sv1-cray
879
950
                os=-unicos
880
951
                ;;
882
953
                basic_machine=i386-sequent
883
954
                os=-dynix
884
955
                ;;
885
 
        t3d)
886
 
                basic_machine=alpha-cray
887
 
                os=-unicos
888
 
                ;;
889
956
        t3e)
890
957
                basic_machine=alphaev5-cray
891
958
                os=-unicos
898
965
                basic_machine=tic54x-unknown
899
966
                os=-coff
900
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
                ;;
901
976
        tx39)
902
977
                basic_machine=mipstx39-unknown
903
978
                ;;
911
986
        tower | tower-32)
912
987
                basic_machine=m68k-ncr
913
988
                ;;
 
989
        tpf)
 
990
                basic_machine=s390x-ibm
 
991
                os=-tpf
 
992
                ;;
914
993
        udi29k)
915
994
                basic_machine=a29k-amd
916
995
                os=-udi
932
1011
                os=-vms
933
1012
                ;;
934
1013
        vpp*|vx|vx-*)
935
 
               basic_machine=f301-fujitsu
936
 
               ;;
 
1014
                basic_machine=f301-fujitsu
 
1015
                ;;
937
1016
        vxworks960)
938
1017
                basic_machine=i960-wrs
939
1018
                os=-vxworks
954
1033
                basic_machine=hppa1.1-winbond
955
1034
                os=-proelf
956
1035
                ;;
957
 
        windows32)
958
 
                basic_machine=i386-pc
959
 
                os=-windows32-msvcrt
 
1036
        xbox)
 
1037
                basic_machine=i686-pc
 
1038
                os=-mingw32
960
1039
                ;;
961
 
        xps | xps100)
 
1040
        xps | xps100)
962
1041
                basic_machine=xps100-honeywell
963
1042
                ;;
964
1043
        ymp)
985
1064
        op60c)
986
1065
                basic_machine=hppa1.1-oki
987
1066
                ;;
988
 
        mips)
989
 
                if [ x$os = x-linux-gnu ]; then
990
 
                        basic_machine=mips-unknown
991
 
                else
992
 
                        basic_machine=mips-mips
993
 
                fi
994
 
                ;;
995
1067
        romp)
996
1068
                basic_machine=romp-ibm
997
1069
                ;;
 
1070
        mmix)
 
1071
                basic_machine=mmix-knuth
 
1072
                ;;
998
1073
        rs6000)
999
1074
                basic_machine=rs6000-ibm
1000
1075
                ;;
1011
1086
        we32k)
1012
1087
                basic_machine=we32k-att
1013
1088
                ;;
1014
 
        sh3 | sh4 | sh3eb | sh4eb)
 
1089
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1015
1090
                basic_machine=sh-unknown
1016
1091
                ;;
1017
1092
        sh64)
1018
1093
                basic_machine=sh64-unknown
1019
1094
                ;;
1020
 
        sparc | sparcv9 | sparcv9b)
 
1095
        sparc | sparcv8 | sparcv9 | sparcv9b)
1021
1096
                basic_machine=sparc-sun
1022
1097
                ;;
1023
 
        cydra)
 
1098
        cydra)
1024
1099
                basic_machine=cydra-cydrome
1025
1100
                ;;
1026
1101
        orion)
1035
1110
        pmac | pmac-mpw)
1036
1111
                basic_machine=powerpc-apple
1037
1112
                ;;
1038
 
        c4x*)
1039
 
                basic_machine=c4x-none
1040
 
                os=-coff
1041
 
                ;;
1042
1113
        *-unknown)
1043
1114
                # Make sure to match an already-canonicalized machine name.
1044
1115
                ;;
1094
1165
              | -aos* \
1095
1166
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1096
1167
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1097
 
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1098
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1168
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1169
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1170
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1099
1171
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1100
1172
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1101
1173
              | -chorusos* | -chorusrdb* \
1102
1174
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1103
 
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1104
 
              | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
 
1175
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1176
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1105
1177
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1106
1178
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1107
1179
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1108
 
              | -morphos* | -superux* | -rtmk* | -rtmk-nova*)
 
1180
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 
1181
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1109
1182
        # Remember, each alternative MUST END IN *, to match a version number.
1110
1183
                ;;
1111
1184
        -qnx*)
1117
1190
                        ;;
1118
1191
                esac
1119
1192
                ;;
 
1193
        -nto-qnx*)
 
1194
                ;;
1120
1195
        -nto*)
1121
 
                os=-nto-qnx
 
1196
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1122
1197
                ;;
1123
1198
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1124
1199
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1127
1202
        -mac*)
1128
1203
                os=`echo $os | sed -e 's|mac|macos|'`
1129
1204
                ;;
 
1205
        -linux-dietlibc)
 
1206
                os=-linux-dietlibc
 
1207
                ;;
1130
1208
        -linux*)
1131
1209
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
1132
1210
                ;;
1139
1217
        -opened*)
1140
1218
                os=-openedition
1141
1219
                ;;
 
1220
        -os400*)
 
1221
                os=-os400
 
1222
                ;;
1142
1223
        -wince*)
1143
1224
                os=-wince
1144
1225
                ;;
1160
1241
        -atheos*)
1161
1242
                os=-atheos
1162
1243
                ;;
 
1244
        -syllable*)
 
1245
                os=-syllable
 
1246
                ;;
1163
1247
        -386bsd)
1164
1248
                os=-bsd
1165
1249
                ;;
1170
1254
                os=-rtmk-nova
1171
1255
                ;;
1172
1256
        -ns2 )
1173
 
                os=-nextstep2
 
1257
                os=-nextstep2
1174
1258
                ;;
1175
1259
        -nsk*)
1176
1260
                os=-nsk
1182
1266
        -sinix*)
1183
1267
                os=-sysv4
1184
1268
                ;;
 
1269
        -tpf*)
 
1270
                os=-tpf
 
1271
                ;;
1185
1272
        -triton*)
1186
1273
                os=-sysv3
1187
1274
                ;;
1209
1296
        -xenix)
1210
1297
                os=-xenix
1211
1298
                ;;
1212
 
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1213
 
                os=-mint
 
1299
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 
1300
                os=-mint
 
1301
                ;;
 
1302
        -aros*)
 
1303
                os=-aros
 
1304
                ;;
 
1305
        -kaos*)
 
1306
                os=-kaos
 
1307
                ;;
 
1308
        -zvmoe)
 
1309
                os=-zvmoe
1214
1310
                ;;
1215
1311
        -none)
1216
1312
                ;;
1243
1339
        arm*-semi)
1244
1340
                os=-aout
1245
1341
                ;;
 
1342
    c4x-* | tic4x-*)
 
1343
        os=-coff
 
1344
        ;;
1246
1345
        # This must come before the *-dec entry.
1247
1346
        pdp10-*)
1248
1347
                os=-tops20
1249
1348
                ;;
1250
 
        pdp11-*)
 
1349
        pdp11-*)
1251
1350
                os=-none
1252
1351
                ;;
1253
1352
        *-dec | vax-*)
1289
1388
        *-ibm)
1290
1389
                os=-aix
1291
1390
                ;;
 
1391
        *-knuth)
 
1392
                os=-mmixware
 
1393
                ;;
1292
1394
        *-wec)
1293
1395
                os=-proelf
1294
1396
                ;;
1340
1442
        *-next)
1341
1443
                os=-nextstep3
1342
1444
                ;;
1343
 
        *-gould)
 
1445
        *-gould)
1344
1446
                os=-sysv
1345
1447
                ;;
1346
 
        *-highlevel)
 
1448
        *-highlevel)
1347
1449
                os=-bsd
1348
1450
                ;;
1349
1451
        *-encore)
1350
1452
                os=-bsd
1351
1453
                ;;
1352
 
        *-sgi)
 
1454
        *-sgi)
1353
1455
                os=-irix
1354
1456
                ;;
1355
 
        *-siemens)
 
1457
        *-siemens)
1356
1458
                os=-sysv4
1357
1459
                ;;
1358
1460
        *-masscomp)
1421
1523
                        -mvs* | -opened*)
1422
1524
                                vendor=ibm
1423
1525
                                ;;
 
1526
                        -os400*)
 
1527
                                vendor=ibm
 
1528
                                ;;
1424
1529
                        -ptx*)
1425
1530
                                vendor=sequent
1426
1531
                                ;;
1427
 
                        -vxsim* | -vxworks*)
 
1532
                        -tpf*)
 
1533
                                vendor=ibm
 
1534
                                ;;
 
1535
                        -vxsim* | -vxworks* | -windiss*)
1428
1536
                                vendor=wrs
1429
1537
                                ;;
1430
1538
                        -aux*)