~ubuntu-branches/debian/sid/unixodbc/sid

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2004-10-15 03:07:52 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041015030752-dzw4vhxlgycz3woj
Tags: 2.2.4-11
Brown paper bag me: conflicts do not write themselves just because
you add a line to the changelog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
 
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4
 
#   Free Software Foundation, Inc.
 
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 
4
#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2001-04-20'
 
6
timestamp='2003-07-17'
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
29
29
# configuration script generated by Autoconf, you may include it under
30
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
35
# Configuration subroutine to validate and canonicalize a configuration type.
35
36
# Supply the specified configuration type as an argument.
117
118
# Here we must recognize all the valid KERNEL-OS combinations.
118
119
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
119
120
case $maybe_os in
120
 
  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*)
 
121
  nto-qnx* | linux-gnu* | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
121
122
    os=-$maybe_os
122
123
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
123
124
    ;;
157
158
                os=-vxworks
158
159
                basic_machine=$1
159
160
                ;;
 
161
        -chorusos*)
 
162
                os=-chorusos
 
163
                basic_machine=$1
 
164
                ;;
 
165
        -chorusrdb)
 
166
                os=-chorusrdb
 
167
                basic_machine=$1
 
168
                ;;
160
169
        -hiux*)
161
170
                os=-hiuxwe2
162
171
                ;;
215
224
case $basic_machine in
216
225
        # Recognize the basic CPU types without company name.
217
226
        # Some are omitted here because they have special meanings below.
218
 
        tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \
219
 
                | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \
220
 
                | pyramid | mn10200 | mn10300 | tron | a29k \
221
 
                | 580 | i960 | h8300 \
222
 
                | x86 | ppcbe | mipsbe | mipsle | shbe | shle \
223
 
                | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
224
 
                | hppa64 \
225
 
                | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
226
 
                | alphaev6[78] \
227
 
                | we32k | ns16k | clipper | i370 | sh | sh[34] \
228
 
                | powerpc | powerpcle \
229
 
                | 1750a | dsp16xx | pdp10 | pdp11 \
230
 
                | mips16 | mips64 | mipsel | mips64el \
231
 
                | mips64orion | mips64orionel | mipstx39 | mipstx39el \
232
 
                | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
233
 
                | mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \
234
 
                | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
235
 
                | v850 | c4x \
236
 
                | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
237
 
                | pj | pjl | h8500)
 
227
        1750a | 580 \
 
228
        | a29k \
 
229
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 
230
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 
231
        | am33_2.0 \
 
232
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
233
        | c4x | clipper \
 
234
        | d10v | d30v | dlx | dsp16xx \
 
235
        | fr30 | frv \
 
236
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 
237
        | i370 | i860 | i960 | ia64 \
 
238
        | ip2k | iq2000 \
 
239
        | m32r | m68000 | m68k | m88k | mcore \
 
240
        | mips | mipsbe | mipseb | mipsel | mipsle \
 
241
        | mips16 \
 
242
        | mips64 | mips64el \
 
243
        | mips64vr | mips64vrel \
 
244
        | mips64orion | mips64orionel \
 
245
        | mips64vr4100 | mips64vr4100el \
 
246
        | mips64vr4300 | mips64vr4300el \
 
247
        | mips64vr5000 | mips64vr5000el \
 
248
        | mipsisa32 | mipsisa32el \
 
249
        | mipsisa32r2 | mipsisa32r2el \
 
250
        | mipsisa64 | mipsisa64el \
 
251
        | mipsisa64sb1 | mipsisa64sb1el \
 
252
        | mipsisa64sr71k | mipsisa64sr71kel \
 
253
        | mipstx39 | mipstx39el \
 
254
        | mn10200 | mn10300 \
 
255
        | msp430 \
 
256
        | ns16k | ns32k \
 
257
        | openrisc | or32 \
 
258
        | pdp10 | pdp11 | pj | pjl \
 
259
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 
260
        | pyramid \
 
261
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
262
        | sh64 | sh64le \
 
263
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
264
        | strongarm \
 
265
        | tahoe | thumb | tic4x | tic80 | tron \
 
266
        | v850 | v850e \
 
267
        | we32k \
 
268
        | x86 | xscale | xstormy16 | xtensa \
 
269
        | z8k)
238
270
                basic_machine=$basic_machine-unknown
239
271
                ;;
240
272
        m6811 | m68hc11 | m6812 | m68hc12)
242
274
                basic_machine=$basic_machine-unknown
243
275
                os=-none
244
276
                ;;
245
 
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65)
 
277
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
246
278
                ;;
247
279
 
248
280
        # We use `pc' rather than `unknown'
257
289
                exit 1
258
290
                ;;
259
291
        # Recognize the basic CPU types with company name.
260
 
        # FIXME: clean up the formatting here.
261
 
        vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
262
 
              | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
263
 
              | arm-*  | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
264
 
              | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
265
 
              | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
266
 
              | xmp-* | ymp-* \
267
 
              | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \
268
 
              | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
269
 
              | hppa2.0n-* | hppa64-* \
270
 
              | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
271
 
              | alphaev6[78]-* \
272
 
              | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
273
 
              | clipper-* | orion-* \
274
 
              | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
275
 
              | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
276
 
              | mips16-* | mips64-* | mipsel-* \
277
 
              | mips64el-* | mips64orion-* | mips64orionel-* \
278
 
              | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
279
 
              | mipstx39-* | mipstx39el-* | mcore-* \
280
 
              | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
281
 
              | [cjt]90-* \
282
 
              | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
283
 
              | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \
284
 
              | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*)
 
292
        580-* \
 
293
        | a29k-* \
 
294
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
 
295
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
 
296
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 
297
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
 
298
        | avr-* \
 
299
        | bs2000-* \
 
300
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
301
        | clipper-* | cydra-* \
 
302
        | d10v-* | d30v-* | dlx-* \
 
303
        | elxsi-* \
 
304
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
305
        | h8300-* | h8500-* \
 
306
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 
307
        | i*86-* | i860-* | i960-* | ia64-* \
 
308
        | ip2k-* | iq2000-* \
 
309
        | m32r-* \
 
310
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
 
311
        | m88110-* | m88k-* | mcore-* \
 
312
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 
313
        | mips16-* \
 
314
        | mips64-* | mips64el-* \
 
315
        | mips64vr-* | mips64vrel-* \
 
316
        | mips64orion-* | mips64orionel-* \
 
317
        | mips64vr4100-* | mips64vr4100el-* \
 
318
        | mips64vr4300-* | mips64vr4300el-* \
 
319
        | mips64vr5000-* | mips64vr5000el-* \
 
320
        | mipsisa32-* | mipsisa32el-* \
 
321
        | mipsisa32r2-* | mipsisa32r2el-* \
 
322
        | mipsisa64-* | mipsisa64el-* \
 
323
        | mipsisa64sb1-* | mipsisa64sb1el-* \
 
324
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
 
325
        | mipstx39-* | mipstx39el-* \
 
326
        | msp430-* \
 
327
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
328
        | orion-* \
 
329
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
 
330
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 
331
        | pyramid-* \
 
332
        | romp-* | rs6000-* \
 
333
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
334
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 
335
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
 
336
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
337
        | tahoe-* | thumb-* \
 
338
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
339
        | tron-* \
 
340
        | v850-* | v850e-* | vax-* \
 
341
        | we32k-* \
 
342
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
 
343
        | xtensa-* \
 
344
        | ymp-* \
 
345
        | z8k-*)
285
346
                ;;
286
347
        # Recognize the various machine names and aliases which stand
287
348
        # for a CPU type and a company and sometimes even an OS.
313
374
                basic_machine=a29k-none
314
375
                os=-bsd
315
376
                ;;
 
377
        amd64)
 
378
                basic_machine=x86_64-pc
 
379
                ;;
316
380
        amdahl)
317
381
                basic_machine=580-amdahl
318
382
                os=-sysv
344
408
                basic_machine=ns32k-sequent
345
409
                os=-dynix
346
410
                ;;
 
411
        c90)
 
412
                basic_machine=c90-cray
 
413
                os=-unicos
 
414
                ;;
347
415
        convex-c1)
348
416
                basic_machine=c1-convex
349
417
                os=-bsd
364
432
                basic_machine=c38-convex
365
433
                os=-bsd
366
434
                ;;
367
 
        cray | ymp)
368
 
                basic_machine=ymp-cray
369
 
                os=-unicos
370
 
                ;;
371
 
        cray2)
372
 
                basic_machine=cray2-cray
373
 
                os=-unicos
374
 
                ;;
375
 
        [cjt]90)
376
 
                basic_machine=${basic_machine}-cray
 
435
        cray | j90)
 
436
                basic_machine=j90-cray
377
437
                os=-unicos
378
438
                ;;
379
439
        crds | unos)
388
448
        decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
389
449
                basic_machine=mips-dec
390
450
                ;;
 
451
        decsystem10* | dec10*)
 
452
                basic_machine=pdp10-dec
 
453
                os=-tops10
 
454
                ;;
 
455
        decsystem20* | dec20*)
 
456
                basic_machine=pdp10-dec
 
457
                os=-tops20
 
458
                ;;
391
459
        delta | 3300 | motorola-3300 | motorola-delta \
392
460
              | 3300-motorola | delta-motorola)
393
461
                basic_machine=m68k-motorola
568
636
                basic_machine=m68k-atari
569
637
                os=-mint
570
638
                ;;
571
 
        mipsel*-linux*)
572
 
                basic_machine=mipsel-unknown
573
 
                os=-linux-gnu
574
 
                ;;
575
 
        mips*-linux*)
576
 
                basic_machine=mips-unknown
577
 
                os=-linux-gnu
578
 
                ;;
579
639
        mips3*-*)
580
640
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
581
641
                ;;
590
650
                basic_machine=m68k-rom68k
591
651
                os=-coff
592
652
                ;;
 
653
        morphos)
 
654
                basic_machine=powerpc-unknown
 
655
                os=-morphos
 
656
                ;;
593
657
        msdos)
594
658
                basic_machine=i386-pc
595
659
                os=-msdos
662
726
        np1)
663
727
                basic_machine=np1-gould
664
728
                ;;
 
729
        nv1)
 
730
                basic_machine=nv1-cray
 
731
                os=-unicosmp
 
732
                ;;
665
733
        nsr-tandem)
666
734
                basic_machine=nsr-tandem
667
735
                ;;
669
737
                basic_machine=hppa1.1-oki
670
738
                os=-proelf
671
739
                ;;
 
740
        or32 | or32-*)
 
741
                basic_machine=or32-unknown
 
742
                os=-coff
 
743
                ;;
672
744
        OSE68000 | ose68000)
673
745
                basic_machine=m68000-ericsson
674
746
                os=-ose
691
763
        pbb)
692
764
                basic_machine=m68k-tti
693
765
                ;;
694
 
        pc532 | pc532-*)
 
766
        pc532 | pc532-*)
695
767
                basic_machine=ns32k-pc532
696
768
                ;;
697
 
        pentium | p5 | k5 | k6 | nexgen)
 
769
        pentium | p5 | k5 | k6 | nexgen | viac3)
698
770
                basic_machine=i586-pc
699
771
                ;;
700
 
        pentiumpro | p6 | 6x86 | athlon)
701
 
                basic_machine=i686-pc
702
 
                ;;
703
 
        pentiumii | pentium2)
704
 
                basic_machine=i686-pc
705
 
                ;;
706
 
        pentium-* | p5-* | k5-* | k6-* | nexgen-*)
 
772
        pentiumpro | p6 | 6x86 | athlon | athlon_*)
 
773
                basic_machine=i686-pc
 
774
                ;;
 
775
        pentiumii | pentium2 | pentiumiii | pentium3)
 
776
                basic_machine=i686-pc
 
777
                ;;
 
778
        pentium4)
 
779
                basic_machine=i786-pc
 
780
                ;;
 
781
        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
707
782
                basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
708
783
                ;;
709
784
        pentiumpro-* | p6-* | 6x86-* | athlon-*)
710
785
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
711
786
                ;;
712
 
        pentiumii-* | pentium2-*)
 
787
        pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
713
788
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
714
789
                ;;
 
790
        pentium4-*)
 
791
                basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
 
792
                ;;
715
793
        pn)
716
794
                basic_machine=pn-gould
717
795
                ;;
718
796
        power)  basic_machine=power-ibm
719
797
                ;;
720
798
        ppc)    basic_machine=powerpc-unknown
721
 
                ;;
 
799
                ;;
722
800
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
723
801
                ;;
724
802
        ppcle | powerpclittle | ppc-le | powerpc-little)
725
803
                basic_machine=powerpcle-unknown
726
 
                ;;
 
804
                ;;
727
805
        ppcle-* | powerpclittle-*)
728
806
                basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
729
807
                ;;
 
808
        ppc64)  basic_machine=powerpc64-unknown
 
809
                ;;
 
810
        ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
811
                ;;
 
812
        ppc64le | powerpc64little | ppc64-le | powerpc64-little)
 
813
                basic_machine=powerpc64le-unknown
 
814
                ;;
 
815
        ppc64le-* | powerpc64little-*)
 
816
                basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
 
817
                ;;
730
818
        ps2)
731
819
                basic_machine=i386-ibm
732
820
                ;;
744
832
        rtpc | rtpc-*)
745
833
                basic_machine=romp-ibm
746
834
                ;;
 
835
        s390 | s390-*)
 
836
                basic_machine=s390-ibm
 
837
                ;;
 
838
        s390x | s390x-*)
 
839
                basic_machine=s390x-ibm
 
840
                ;;
747
841
        sa29200)
748
842
                basic_machine=a29k-amd
749
843
                os=-udi
750
844
                ;;
 
845
        sb1)
 
846
                basic_machine=mipsisa64sb1-unknown
 
847
                ;;
 
848
        sb1el)
 
849
                basic_machine=mipsisa64sb1el-unknown
 
850
                ;;
 
851
        sei)
 
852
                basic_machine=mips-sei
 
853
                os=-seiux
 
854
                ;;
751
855
        sequent)
752
856
                basic_machine=i386-sequent
753
857
                ;;
755
859
                basic_machine=sh-hitachi
756
860
                os=-hms
757
861
                ;;
758
 
        sparclite-wrs)
 
862
        sh64)
 
863
                basic_machine=sh64-unknown
 
864
                ;;
 
865
        sparclite-wrs | simso-wrs)
759
866
                basic_machine=sparclite-wrs
760
867
                os=-vxworks
761
868
                ;;
822
929
                os=-dynix
823
930
                ;;
824
931
        t3e)
825
 
                basic_machine=t3e-cray
 
932
                basic_machine=alphaev5-cray
 
933
                os=-unicos
 
934
                ;;
 
935
        t90)
 
936
                basic_machine=t90-cray
826
937
                os=-unicos
827
938
                ;;
828
939
        tic54x | c54x*)
829
940
                basic_machine=tic54x-unknown
830
941
                os=-coff
831
942
                ;;
 
943
        tic55x | c55x*)
 
944
                basic_machine=tic55x-unknown
 
945
                os=-coff
 
946
                ;;
 
947
        tic6x | c6x*)
 
948
                basic_machine=tic6x-unknown
 
949
                os=-coff
 
950
                ;;
832
951
        tx39)
833
952
                basic_machine=mipstx39-unknown
834
953
                ;;
835
954
        tx39el)
836
955
                basic_machine=mipstx39el-unknown
837
956
                ;;
 
957
        toad1)
 
958
                basic_machine=pdp10-xkl
 
959
                os=-tops20
 
960
                ;;
838
961
        tower | tower-32)
839
962
                basic_machine=m68k-ncr
840
963
                ;;
859
982
                os=-vms
860
983
                ;;
861
984
        vpp*|vx|vx-*)
862
 
               basic_machine=f301-fujitsu
863
 
               ;;
 
985
                basic_machine=f301-fujitsu
 
986
                ;;
864
987
        vxworks960)
865
988
                basic_machine=i960-wrs
866
989
                os=-vxworks
881
1004
                basic_machine=hppa1.1-winbond
882
1005
                os=-proelf
883
1006
                ;;
884
 
        xmp)
885
 
                basic_machine=xmp-cray
886
 
                os=-unicos
887
 
                ;;
888
 
        xps | xps100)
 
1007
        xps | xps100)
889
1008
                basic_machine=xps100-honeywell
890
1009
                ;;
 
1010
        ymp)
 
1011
                basic_machine=ymp-cray
 
1012
                os=-unicos
 
1013
                ;;
891
1014
        z8k-*-coff)
892
1015
                basic_machine=z8k-unknown
893
1016
                os=-sim
908
1031
        op60c)
909
1032
                basic_machine=hppa1.1-oki
910
1033
                ;;
911
 
        mips)
912
 
                if [ x$os = x-linux-gnu ]; then
913
 
                        basic_machine=mips-unknown
914
 
                else
915
 
                        basic_machine=mips-mips
916
 
                fi
917
 
                ;;
918
1034
        romp)
919
1035
                basic_machine=romp-ibm
920
1036
                ;;
934
1050
        we32k)
935
1051
                basic_machine=we32k-att
936
1052
                ;;
937
 
        sh3 | sh4)
 
1053
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
938
1054
                basic_machine=sh-unknown
939
1055
                ;;
 
1056
        sh64)
 
1057
                basic_machine=sh64-unknown
 
1058
                ;;
940
1059
        sparc | sparcv9 | sparcv9b)
941
1060
                basic_machine=sparc-sun
942
1061
                ;;
943
 
        cydra)
 
1062
        cydra)
944
1063
                basic_machine=cydra-cydrome
945
1064
                ;;
946
1065
        orion)
955
1074
        pmac | pmac-mpw)
956
1075
                basic_machine=powerpc-apple
957
1076
                ;;
958
 
        c4x*)
959
 
                basic_machine=c4x-none
960
 
                os=-coff
961
 
                ;;
962
1077
        *-unknown)
963
1078
                # Make sure to match an already-canonicalized machine name.
964
1079
                ;;
1014
1129
              | -aos* \
1015
1130
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1016
1131
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1017
 
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
 
1132
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1018
1133
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1019
1134
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1020
1135
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 
1136
              | -chorusos* | -chorusrdb* \
1021
1137
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1022
1138
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1023
 
              | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
 
1139
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1024
1140
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1025
 
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*)
 
1141
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 
1142
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 
1143
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 
1144
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
1026
1145
        # Remember, each alternative MUST END IN *, to match a version number.
1027
1146
                ;;
1028
1147
        -qnx*)
1034
1153
                        ;;
1035
1154
                esac
1036
1155
                ;;
 
1156
        -nto-qnx*)
 
1157
                ;;
1037
1158
        -nto*)
1038
 
                os=-nto-qnx
 
1159
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1039
1160
                ;;
1040
1161
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1041
1162
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1074
1195
        -acis*)
1075
1196
                os=-aos
1076
1197
                ;;
 
1198
        -atheos*)
 
1199
                os=-atheos
 
1200
                ;;
1077
1201
        -386bsd)
1078
1202
                os=-bsd
1079
1203
                ;;
1080
1204
        -ctix* | -uts*)
1081
1205
                os=-sysv
1082
1206
                ;;
 
1207
        -nova*)
 
1208
                os=-rtmk-nova
 
1209
                ;;
1083
1210
        -ns2 )
1084
 
                os=-nextstep2
 
1211
                os=-nextstep2
1085
1212
                ;;
1086
1213
        -nsk*)
1087
1214
                os=-nsk
1120
1247
        -xenix)
1121
1248
                os=-xenix
1122
1249
                ;;
1123
 
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1124
 
                os=-mint
 
1250
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 
1251
                os=-mint
 
1252
                ;;
 
1253
        -aros*)
 
1254
                os=-aros
 
1255
                ;;
 
1256
        -kaos*)
 
1257
                os=-kaos
1125
1258
                ;;
1126
1259
        -none)
1127
1260
                ;;
1154
1287
        arm*-semi)
1155
1288
                os=-aout
1156
1289
                ;;
 
1290
    c4x-* | tic4x-*)
 
1291
        os=-coff
 
1292
        ;;
 
1293
        # This must come before the *-dec entry.
1157
1294
        pdp10-*)
1158
1295
                os=-tops20
1159
1296
                ;;
1160
 
        pdp11-*)
 
1297
        pdp11-*)
1161
1298
                os=-none
1162
1299
                ;;
1163
1300
        *-dec | vax-*)
1184
1321
        mips*-*)
1185
1322
                os=-elf
1186
1323
                ;;
 
1324
        or32-*)
 
1325
                os=-coff
 
1326
                ;;
1187
1327
        *-tti)  # must be before sparc entry or we get the wrong os.
1188
1328
                os=-sysv3
1189
1329
                ;;
1247
1387
        *-next)
1248
1388
                os=-nextstep3
1249
1389
                ;;
1250
 
        *-gould)
 
1390
        *-gould)
1251
1391
                os=-sysv
1252
1392
                ;;
1253
 
        *-highlevel)
 
1393
        *-highlevel)
1254
1394
                os=-bsd
1255
1395
                ;;
1256
1396
        *-encore)
1257
1397
                os=-bsd
1258
1398
                ;;
1259
 
        *-sgi)
 
1399
        *-sgi)
1260
1400
                os=-irix
1261
1401
                ;;
1262
 
        *-siemens)
 
1402
        *-siemens)
1263
1403
                os=-sysv4
1264
1404
                ;;
1265
1405
        *-masscomp)
1331
1471
                        -ptx*)
1332
1472
                                vendor=sequent
1333
1473
                                ;;
1334
 
                        -vxsim* | -vxworks*)
 
1474
                        -vxsim* | -vxworks* | -windiss*)
1335
1475
                                vendor=wrs
1336
1476
                                ;;
1337
1477
                        -aux*)
1346
1486
                        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1347
1487
                                vendor=atari
1348
1488
                                ;;
 
1489
                        -vos*)
 
1490
                                vendor=stratus
 
1491
                                ;;
1349
1492
                esac
1350
1493
                basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1351
1494
                ;;