~ubuntu-branches/ubuntu/quantal/sdlgfx/quantal

« back to all changes in this revision

Viewing changes to Test/config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hocevar (Debian packages)
  • Date: 2004-01-31 04:12:47 UTC
  • Revision ID: james.westby@ubuntu.com-20040131041247-5086l7oxof4rqxbm
Tags: 2.0.9-3
* Makefile.am:
  + Moved headers to /usr/include/SDL (was /usr/include) (Closes: #222395).

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-01-12'
 
6
timestamp='2003-01-03'
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* | freebsd*-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 \
234
 
                | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
235
 
                | thumb | d10v | d30v | fr30 | avr | openrisc)
 
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
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
232
        | clipper \
 
233
        | d10v | d30v | dlx | dsp16xx \
 
234
        | fr30 | frv \
 
235
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 
236
        | i370 | i860 | i960 | ia64 \
 
237
        | ip2k \
 
238
        | m32r | m68000 | m68k | m88k | mcore \
 
239
        | mips | mipsbe | mipseb | mipsel | mipsle \
 
240
        | mips16 \
 
241
        | mips64 | mips64el \
 
242
        | mips64vr | mips64vrel \
 
243
        | mips64orion | mips64orionel \
 
244
        | mips64vr4100 | mips64vr4100el \
 
245
        | mips64vr4300 | mips64vr4300el \
 
246
        | mips64vr5000 | mips64vr5000el \
 
247
        | mipsisa32 | mipsisa32el \
 
248
        | mipsisa32r2 | mipsisa32r2el \
 
249
        | mipsisa64 | mipsisa64el \
 
250
        | mipsisa64sb1 | mipsisa64sb1el \
 
251
        | mipsisa64sr71k | mipsisa64sr71kel \
 
252
        | mipstx39 | mipstx39el \
 
253
        | mn10200 | mn10300 \
 
254
        | msp430 \
 
255
        | ns16k | ns32k \
 
256
        | openrisc | or32 \
 
257
        | pdp10 | pdp11 | pj | pjl \
 
258
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 
259
        | pyramid \
 
260
        | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
261
        | sh64 | sh64le \
 
262
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
263
        | strongarm \
 
264
        | tahoe | thumb | tic80 | tron \
 
265
        | v850 | v850e \
 
266
        | we32k \
 
267
        | x86 | xscale | xstormy16 | xtensa \
 
268
        | z8k)
236
269
                basic_machine=$basic_machine-unknown
237
270
                ;;
238
271
        m6811 | m68hc11 | m6812 | m68hc12)
240
273
                basic_machine=$basic_machine-unknown
241
274
                os=-none
242
275
                ;;
243
 
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
 
276
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
244
277
                ;;
245
278
 
246
279
        # We use `pc' rather than `unknown'
247
280
        # because (1) that's what they normally are, and
248
281
        # (2) the word "unknown" tends to confuse beginning users.
249
 
        i[234567]86 | x86_64)
 
282
        i*86 | x86_64)
250
283
          basic_machine=$basic_machine-pc
251
284
          ;;
252
285
        # Object if more than one company name word.
255
288
                exit 1
256
289
                ;;
257
290
        # Recognize the basic CPU types with company name.
258
 
        # FIXME: clean up the formatting here.
259
 
        vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
260
 
              | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
261
 
              | arm-*  | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
262
 
              | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
263
 
              | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
264
 
              | xmp-* | ymp-* \
265
 
              | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \
266
 
              | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
267
 
              | hppa2.0n-* | hppa64-* \
268
 
              | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
269
 
              | alphaev6[78]-* \
270
 
              | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
271
 
              | clipper-* | orion-* \
272
 
              | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
273
 
              | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
274
 
              | mips64el-* | mips64orion-* | mips64orionel-* \
275
 
              | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
276
 
              | mipstx39-* | mipstx39el-* | mcore-* \
277
 
              | f30[01]-* | f700-* | s390-* | sv1-* | t3e-* \
278
 
              | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
279
 
              | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
280
 
              | bs2000-* | tic54x-* | c54x-* | x86_64-*)
 
291
        580-* \
 
292
        | a29k-* \
 
293
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
 
294
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
 
295
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 
296
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
 
297
        | avr-* \
 
298
        | bs2000-* \
 
299
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
 
300
        | clipper-* | cydra-* \
 
301
        | d10v-* | d30v-* | dlx-* \
 
302
        | elxsi-* \
 
303
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
304
        | h8300-* | h8500-* \
 
305
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 
306
        | i*86-* | i860-* | i960-* | ia64-* \
 
307
        | ip2k-* \
 
308
        | m32r-* \
 
309
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
 
310
        | m88110-* | m88k-* | mcore-* \
 
311
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 
312
        | mips16-* \
 
313
        | mips64-* | mips64el-* \
 
314
        | mips64vr-* | mips64vrel-* \
 
315
        | mips64orion-* | mips64orionel-* \
 
316
        | mips64vr4100-* | mips64vr4100el-* \
 
317
        | mips64vr4300-* | mips64vr4300el-* \
 
318
        | mips64vr5000-* | mips64vr5000el-* \
 
319
        | mipsisa32-* | mipsisa32el-* \
 
320
        | mipsisa32r2-* | mipsisa32r2el-* \
 
321
        | mipsisa64-* | mipsisa64el-* \
 
322
        | mipsisa64sb1-* | mipsisa64sb1el-* \
 
323
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
 
324
        | mipstx39-* | mipstx39el-* \
 
325
        | msp430-* \
 
326
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
327
        | orion-* \
 
328
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
 
329
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 
330
        | pyramid-* \
 
331
        | romp-* | rs6000-* \
 
332
        | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
 
333
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 
334
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
 
335
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
336
        | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
 
337
        | v850-* | v850e-* | vax-* \
 
338
        | we32k-* \
 
339
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
 
340
        | xtensa-* \
 
341
        | ymp-* \
 
342
        | z8k-*)
281
343
                ;;
282
344
        # Recognize the various machine names and aliases which stand
283
345
        # for a CPU type and a company and sometimes even an OS.
340
402
                basic_machine=ns32k-sequent
341
403
                os=-dynix
342
404
                ;;
 
405
        c90)
 
406
                basic_machine=c90-cray
 
407
                os=-unicos
 
408
                ;;
343
409
        convex-c1)
344
410
                basic_machine=c1-convex
345
411
                os=-bsd
360
426
                basic_machine=c38-convex
361
427
                os=-bsd
362
428
                ;;
363
 
        cray | ymp)
364
 
                basic_machine=ymp-cray
365
 
                os=-unicos
366
 
                ;;
367
 
        cray2)
368
 
                basic_machine=cray2-cray
369
 
                os=-unicos
370
 
                ;;
371
 
        [ctj]90-cray)
372
 
                basic_machine=c90-cray
 
429
        cray | j90)
 
430
                basic_machine=j90-cray
373
431
                os=-unicos
374
432
                ;;
375
433
        crds | unos)
384
442
        decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
385
443
                basic_machine=mips-dec
386
444
                ;;
 
445
        decsystem10* | dec10*)
 
446
                basic_machine=pdp10-dec
 
447
                os=-tops10
 
448
                ;;
 
449
        decsystem20* | dec20*)
 
450
                basic_machine=pdp10-dec
 
451
                os=-tops20
 
452
                ;;
387
453
        delta | 3300 | motorola-3300 | motorola-delta \
388
454
              | 3300-motorola | delta-motorola)
389
455
                basic_machine=m68k-motorola
425
491
                basic_machine=tron-gmicro
426
492
                os=-sysv
427
493
                ;;
 
494
        go32)
 
495
                basic_machine=i386-pc
 
496
                os=-go32
 
497
                ;;
428
498
        h3050r* | hiux*)
429
499
                basic_machine=hppa1.1-hitachi
430
500
                os=-hiuxwe2
500
570
                basic_machine=i370-ibm
501
571
                ;;
502
572
# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
503
 
        i[34567]86v32)
 
573
        i*86v32)
504
574
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
505
575
                os=-sysv32
506
576
                ;;
507
 
        i[34567]86v4*)
 
577
        i*86v4*)
508
578
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
509
579
                os=-sysv4
510
580
                ;;
511
 
        i[34567]86v)
 
581
        i*86v)
512
582
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
513
583
                os=-sysv
514
584
                ;;
515
 
        i[34567]86sol2)
 
585
        i*86sol2)
516
586
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
517
587
                os=-solaris2
518
588
                ;;
524
594
                basic_machine=i386-unknown
525
595
                os=-vsta
526
596
                ;;
527
 
        i386-go32 | go32)
528
 
                basic_machine=i386-unknown
529
 
                os=-go32
530
 
                ;;
531
 
        i386-mingw32 | mingw32)
532
 
                basic_machine=i386-unknown
533
 
                os=-mingw32
534
 
                ;;
535
 
        i[34567]86-pw32 | pw32)
536
 
                basic_machine=i586-unknown
537
 
                os=-pw32
538
 
                ;;
539
597
        iris | iris4d)
540
598
                basic_machine=mips-sgi
541
599
                case $os in
561
619
                basic_machine=ns32k-utek
562
620
                os=-sysv
563
621
                ;;
 
622
        mingw32)
 
623
                basic_machine=i386-pc
 
624
                os=-mingw32
 
625
                ;;
564
626
        miniframe)
565
627
                basic_machine=m68000-convergent
566
628
                ;;
568
630
                basic_machine=m68k-atari
569
631
                os=-mint
570
632
                ;;
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
633
        mips3*-*)
580
634
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
581
635
                ;;
590
644
                basic_machine=m68k-rom68k
591
645
                os=-coff
592
646
                ;;
 
647
        morphos)
 
648
                basic_machine=powerpc-unknown
 
649
                os=-morphos
 
650
                ;;
593
651
        msdos)
594
 
                basic_machine=i386-unknown
 
652
                basic_machine=i386-pc
595
653
                os=-msdos
596
654
                ;;
597
655
        mvs)
662
720
        np1)
663
721
                basic_machine=np1-gould
664
722
                ;;
 
723
        nv1)
 
724
                basic_machine=nv1-cray
 
725
                os=-unicosmp
 
726
                ;;
665
727
        nsr-tandem)
666
728
                basic_machine=nsr-tandem
667
729
                ;;
669
731
                basic_machine=hppa1.1-oki
670
732
                os=-proelf
671
733
                ;;
 
734
        or32 | or32-*)
 
735
                basic_machine=or32-unknown
 
736
                os=-coff
 
737
                ;;
672
738
        OSE68000 | ose68000)
673
739
                basic_machine=m68000-ericsson
674
740
                os=-ose
691
757
        pbb)
692
758
                basic_machine=m68k-tti
693
759
                ;;
694
 
        pc532 | pc532-*)
 
760
        pc532 | pc532-*)
695
761
                basic_machine=ns32k-pc532
696
762
                ;;
697
 
        pentium | p5 | k5 | k6 | nexgen)
 
763
        pentium | p5 | k5 | k6 | nexgen | viac3)
698
764
                basic_machine=i586-pc
699
765
                ;;
700
 
        pentiumpro | p6 | 6x86 | athlon)
 
766
        pentiumpro | p6 | 6x86 | athlon | athlon_*)
701
767
                basic_machine=i686-pc
702
768
                ;;
703
769
        pentiumii | pentium2)
704
770
                basic_machine=i686-pc
705
771
                ;;
706
 
        pentium-* | p5-* | k5-* | k6-* | nexgen-*)
 
772
        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
707
773
                basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
708
774
                ;;
709
775
        pentiumpro-* | p6-* | 6x86-* | athlon-*)
718
784
        power)  basic_machine=power-ibm
719
785
                ;;
720
786
        ppc)    basic_machine=powerpc-unknown
721
 
                ;;
 
787
                ;;
722
788
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
723
789
                ;;
724
790
        ppcle | powerpclittle | ppc-le | powerpc-little)
725
791
                basic_machine=powerpcle-unknown
726
 
                ;;
 
792
                ;;
727
793
        ppcle-* | powerpclittle-*)
728
794
                basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
729
795
                ;;
 
796
        ppc64)  basic_machine=powerpc64-unknown
 
797
                ;;
 
798
        ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
799
                ;;
 
800
        ppc64le | powerpc64little | ppc64-le | powerpc64-little)
 
801
                basic_machine=powerpc64le-unknown
 
802
                ;;
 
803
        ppc64le-* | powerpc64little-*)
 
804
                basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
 
805
                ;;
730
806
        ps2)
731
807
                basic_machine=i386-ibm
732
808
                ;;
 
809
        pw32)
 
810
                basic_machine=i586-unknown
 
811
                os=-pw32
 
812
                ;;
733
813
        rom68k)
734
814
                basic_machine=m68k-rom68k
735
815
                os=-coff
740
820
        rtpc | rtpc-*)
741
821
                basic_machine=romp-ibm
742
822
                ;;
 
823
        s390 | s390-*)
 
824
                basic_machine=s390-ibm
 
825
                ;;
 
826
        s390x | s390x-*)
 
827
                basic_machine=s390x-ibm
 
828
                ;;
743
829
        sa29200)
744
830
                basic_machine=a29k-amd
745
831
                os=-udi
746
832
                ;;
 
833
        sb1)
 
834
                basic_machine=mipsisa64sb1-unknown
 
835
                ;;
 
836
        sb1el)
 
837
                basic_machine=mipsisa64sb1el-unknown
 
838
                ;;
747
839
        sequent)
748
840
                basic_machine=i386-sequent
749
841
                ;;
751
843
                basic_machine=sh-hitachi
752
844
                os=-hms
753
845
                ;;
754
 
        sparclite-wrs)
 
846
        sparclite-wrs | simso-wrs)
755
847
                basic_machine=sparclite-wrs
756
848
                os=-vxworks
757
849
                ;;
818
910
                os=-dynix
819
911
                ;;
820
912
        t3e)
821
 
                basic_machine=t3e-cray
822
 
                os=-unicos
 
913
                basic_machine=alphaev5-cray
 
914
                os=-unicos
 
915
                ;;
 
916
        t90)
 
917
                basic_machine=t90-cray
 
918
                os=-unicos
 
919
                ;;
 
920
        tic4x | c4x*)
 
921
                basic_machine=tic4x-unknown
 
922
                os=-coff
823
923
                ;;
824
924
        tic54x | c54x*)
825
925
                basic_machine=tic54x-unknown
831
931
        tx39el)
832
932
                basic_machine=mipstx39el-unknown
833
933
                ;;
 
934
        toad1)
 
935
                basic_machine=pdp10-xkl
 
936
                os=-tops20
 
937
                ;;
834
938
        tower | tower-32)
835
939
                basic_machine=m68k-ncr
836
940
                ;;
855
959
                os=-vms
856
960
                ;;
857
961
        vpp*|vx|vx-*)
858
 
               basic_machine=f301-fujitsu
859
 
               ;;
 
962
                basic_machine=f301-fujitsu
 
963
                ;;
860
964
        vxworks960)
861
965
                basic_machine=i960-wrs
862
966
                os=-vxworks
877
981
                basic_machine=hppa1.1-winbond
878
982
                os=-proelf
879
983
                ;;
880
 
        xmp)
881
 
                basic_machine=xmp-cray
882
 
                os=-unicos
883
 
                ;;
884
 
        xps | xps100)
 
984
        xps | xps100)
885
985
                basic_machine=xps100-honeywell
886
986
                ;;
 
987
        ymp)
 
988
                basic_machine=ymp-cray
 
989
                os=-unicos
 
990
                ;;
887
991
        z8k-*-coff)
888
992
                basic_machine=z8k-unknown
889
993
                os=-sim
904
1008
        op60c)
905
1009
                basic_machine=hppa1.1-oki
906
1010
                ;;
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
1011
        romp)
915
1012
                basic_machine=romp-ibm
916
1013
                ;;
930
1027
        we32k)
931
1028
                basic_machine=we32k-att
932
1029
                ;;
933
 
        sh3 | sh4)
 
1030
        sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
934
1031
                basic_machine=sh-unknown
935
1032
                ;;
936
 
        sparc | sparcv9)
 
1033
        sh64)
 
1034
                basic_machine=sh64-unknown
 
1035
                ;;
 
1036
        sparc | sparcv9 | sparcv9b)
937
1037
                basic_machine=sparc-sun
938
1038
                ;;
939
 
        cydra)
 
1039
        cydra)
940
1040
                basic_machine=cydra-cydrome
941
1041
                ;;
942
1042
        orion)
951
1051
        pmac | pmac-mpw)
952
1052
                basic_machine=powerpc-apple
953
1053
                ;;
954
 
        c4x*)
955
 
                basic_machine=c4x-none
956
 
                os=-coff
 
1054
        *-unknown)
 
1055
                # Make sure to match an already-canonicalized machine name.
957
1056
                ;;
958
1057
        *)
959
1058
                echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1011
1110
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1012
1111
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1013
1112
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 
1113
              | -chorusos* | -chorusrdb* \
1014
1114
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1015
1115
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1016
 
              | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
 
1116
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1017
1117
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1018
 
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*)
 
1118
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 
1119
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 
1120
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 
1121
              | -powermax* | -dnix* | -microbsd*)
1019
1122
        # Remember, each alternative MUST END IN *, to match a version number.
1020
1123
                ;;
1021
1124
        -qnx*)
1022
1125
                case $basic_machine in
1023
 
                    x86-* | i[34567]86-*)
 
1126
                    x86-* | i*86-*)
1024
1127
                        ;;
1025
1128
                    *)
1026
1129
                        os=-nto$os
1027
1130
                        ;;
1028
1131
                esac
1029
1132
                ;;
 
1133
        -nto-qnx*)
 
1134
                ;;
1030
1135
        -nto*)
1031
 
                os=-nto-qnx
 
1136
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1032
1137
                ;;
1033
1138
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1034
1139
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1067
1172
        -acis*)
1068
1173
                os=-aos
1069
1174
                ;;
 
1175
        -atheos*)
 
1176
                os=-atheos
 
1177
                ;;
1070
1178
        -386bsd)
1071
1179
                os=-bsd
1072
1180
                ;;
1073
1181
        -ctix* | -uts*)
1074
1182
                os=-sysv
1075
1183
                ;;
 
1184
        -nova*)
 
1185
                os=-rtmk-nova
 
1186
                ;;
1076
1187
        -ns2 )
1077
 
                os=-nextstep2
 
1188
                os=-nextstep2
1078
1189
                ;;
1079
1190
        -nsk*)
1080
1191
                os=-nsk
1113
1224
        -xenix)
1114
1225
                os=-xenix
1115
1226
                ;;
1116
 
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1117
 
                os=-mint
 
1227
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 
1228
                os=-mint
1118
1229
                ;;
1119
1230
        -none)
1120
1231
                ;;
1147
1258
        arm*-semi)
1148
1259
                os=-aout
1149
1260
                ;;
 
1261
        # This must come before the *-dec entry.
1150
1262
        pdp10-*)
1151
1263
                os=-tops20
1152
1264
                ;;
1153
 
        pdp11-*)
 
1265
        pdp11-*)
1154
1266
                os=-none
1155
1267
                ;;
1156
1268
        *-dec | vax-*)
1177
1289
        mips*-*)
1178
1290
                os=-elf
1179
1291
                ;;
 
1292
        or32-*)
 
1293
                os=-coff
 
1294
                ;;
1180
1295
        *-tti)  # must be before sparc entry or we get the wrong os.
1181
1296
                os=-sysv3
1182
1297
                ;;
1240
1355
        *-next)
1241
1356
                os=-nextstep3
1242
1357
                ;;
1243
 
        *-gould)
 
1358
        *-gould)
1244
1359
                os=-sysv
1245
1360
                ;;
1246
 
        *-highlevel)
 
1361
        *-highlevel)
1247
1362
                os=-bsd
1248
1363
                ;;
1249
1364
        *-encore)
1250
1365
                os=-bsd
1251
1366
                ;;
1252
 
        *-sgi)
 
1367
        *-sgi)
1253
1368
                os=-irix
1254
1369
                ;;
1255
 
        *-siemens)
 
1370
        *-siemens)
1256
1371
                os=-sysv4
1257
1372
                ;;
1258
1373
        *-masscomp)
1324
1439
                        -ptx*)
1325
1440
                                vendor=sequent
1326
1441
                                ;;
1327
 
                        -vxsim* | -vxworks*)
 
1442
                        -vxsim* | -vxworks* | -windiss*)
1328
1443
                                vendor=wrs
1329
1444
                                ;;
1330
1445
                        -aux*)
1339
1454
                        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1340
1455
                                vendor=atari
1341
1456
                                ;;
 
1457
                        -vos*)
 
1458
                                vendor=stratus
 
1459
                                ;;
1342
1460
                esac
1343
1461
                basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1344
1462
                ;;