~ubuntu-branches/debian/squeeze/sdl-ttf2.0/squeeze

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Jerome Marant
  • Date: 2004-01-10 14:59:22 UTC
  • Revision ID: james.westby@ubuntu.com-20040110145922-2ia3lqbxuzo0k7lf
Tags: 2.0.6-5
* debian/control:
  - Changed Section field of libsdl-ttf2.0-dev from libs to libdevel. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
# Configuration validation subroutine script, version 1.1.
3
 
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
4
 
#   Free Software Foundation, Inc.
 
2
# Configuration validation subroutine script.
 
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 
4
#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5
5
 
6
 
version='2000-09-11'
 
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.
60
61
Canonicalize a configuration name.
61
62
 
62
63
Operation modes:
63
 
  -h, --help               print this help, then exit
64
 
  -V, --version            print version number, then exit"
 
64
  -h, --help         print this help, then exit
 
65
  -t, --time-stamp   print date of last modification, then exit
 
66
  -v, --version      print version number, then exit
 
67
 
 
68
Report bugs and patches to <config-patches@gnu.org>."
 
69
 
 
70
version="\
 
71
GNU config.sub ($timestamp)
 
72
 
 
73
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
74
Free Software Foundation, Inc.
 
75
 
 
76
This is free software; see the source for copying conditions.  There is NO
 
77
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
65
78
 
66
79
help="
67
80
Try \`$me --help' for more information."
68
81
 
69
82
# Parse command line
70
83
while test $# -gt 0 ; do
71
 
  case "$1" in
72
 
    --version | --vers* | -V )
 
84
  case $1 in
 
85
    --time-stamp | --time* | -t )
 
86
       echo "$timestamp" ; exit 0 ;;
 
87
    --version | -v )
73
88
       echo "$version" ; exit 0 ;;
74
89
    --help | --h* | -h )
75
90
       echo "$usage"; exit 0 ;;
78
93
    - ) # Use stdin as input.
79
94
       break ;;
80
95
    -* )
81
 
       exec >&2
82
 
       echo "$me: invalid option $1"
83
 
       echo "$help"
 
96
       echo "$me: invalid option $1$help"
84
97
       exit 1 ;;
85
98
 
86
99
    *local*)
105
118
# Here we must recognize all the valid KERNEL-OS combinations.
106
119
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
107
120
case $maybe_os in
108
 
  nto-qnx* | linux-gnu*)
 
121
  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
109
122
    os=-$maybe_os
110
123
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
111
124
    ;;
145
158
                os=-vxworks
146
159
                basic_machine=$1
147
160
                ;;
 
161
        -chorusos*)
 
162
                os=-chorusos
 
163
                basic_machine=$1
 
164
                ;;
 
165
        -chorusrdb)
 
166
                os=-chorusrdb
 
167
                basic_machine=$1
 
168
                ;;
148
169
        -hiux*)
149
170
                os=-hiuxwe2
150
171
                ;;
203
224
case $basic_machine in
204
225
        # Recognize the basic CPU types without company name.
205
226
        # Some are omitted here because they have special meanings below.
206
 
        tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
207
 
                | arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \
208
 
                | 580 | i960 | h8300 \
209
 
                | x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
210
 
                | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
211
 
                | hppa64 \
212
 
                | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
213
 
                | alphaev6[78] \
214
 
                | we32k | ns16k | clipper | i370 | sh | sh[34] \
215
 
                | powerpc | powerpcle \
216
 
                | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
217
 
                | mips64orion | mips64orionel | mipstx39 | mipstx39el \
218
 
                | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
219
 
                | mips64vr5000 | miprs64vr5000el | mcore \
220
 
                | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
221
 
                | thumb | d10v | d30v | fr30 | avr)
 
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)
222
269
                basic_machine=$basic_machine-unknown
223
270
                ;;
224
271
        m6811 | m68hc11 | m6812 | m68hc12)
226
273
                basic_machine=$basic_machine-unknown
227
274
                os=-none
228
275
                ;;
229
 
        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)
230
277
                ;;
231
278
 
232
279
        # We use `pc' rather than `unknown'
233
280
        # because (1) that's what they normally are, and
234
281
        # (2) the word "unknown" tends to confuse beginning users.
235
 
        i[234567]86 | x86_64)
 
282
        i*86 | x86_64)
236
283
          basic_machine=$basic_machine-pc
237
284
          ;;
238
285
        # Object if more than one company name word.
241
288
                exit 1
242
289
                ;;
243
290
        # Recognize the basic CPU types with company name.
244
 
        # FIXME: clean up the formatting here.
245
 
        vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
246
 
              | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
247
 
              | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
248
 
              | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
249
 
              | xmp-* | ymp-* \
250
 
              | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
251
 
              | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
252
 
              | hppa2.0n-* | hppa64-* \
253
 
              | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
254
 
              | alphaev6[78]-* \
255
 
              | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
256
 
              | clipper-* | orion-* \
257
 
              | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
258
 
              | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
259
 
              | mips64el-* | mips64orion-* | mips64orionel-* \
260
 
              | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
261
 
              | mipstx39-* | mipstx39el-* | mcore-* \
262
 
              | f301-* | armv*-* | s390-* | sv1-* | t3e-* \
263
 
              | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
264
 
              | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
265
 
              | 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-*)
266
343
                ;;
267
344
        # Recognize the various machine names and aliases which stand
268
345
        # for a CPU type and a company and sometimes even an OS.
325
402
                basic_machine=ns32k-sequent
326
403
                os=-dynix
327
404
                ;;
 
405
        c90)
 
406
                basic_machine=c90-cray
 
407
                os=-unicos
 
408
                ;;
328
409
        convex-c1)
329
410
                basic_machine=c1-convex
330
411
                os=-bsd
345
426
                basic_machine=c38-convex
346
427
                os=-bsd
347
428
                ;;
348
 
        cray | ymp)
349
 
                basic_machine=ymp-cray
350
 
                os=-unicos
351
 
                ;;
352
 
        cray2)
353
 
                basic_machine=cray2-cray
354
 
                os=-unicos
355
 
                ;;
356
 
        [ctj]90-cray)
357
 
                basic_machine=c90-cray
 
429
        cray | j90)
 
430
                basic_machine=j90-cray
358
431
                os=-unicos
359
432
                ;;
360
433
        crds | unos)
369
442
        decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
370
443
                basic_machine=mips-dec
371
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
                ;;
372
453
        delta | 3300 | motorola-3300 | motorola-delta \
373
454
              | 3300-motorola | delta-motorola)
374
455
                basic_machine=m68k-motorola
410
491
                basic_machine=tron-gmicro
411
492
                os=-sysv
412
493
                ;;
 
494
        go32)
 
495
                basic_machine=i386-pc
 
496
                os=-go32
 
497
                ;;
413
498
        h3050r* | hiux*)
414
499
                basic_machine=hppa1.1-hitachi
415
500
                os=-hiuxwe2
485
570
                basic_machine=i370-ibm
486
571
                ;;
487
572
# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
488
 
        i[34567]86v32)
 
573
        i*86v32)
489
574
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
490
575
                os=-sysv32
491
576
                ;;
492
 
        i[34567]86v4*)
 
577
        i*86v4*)
493
578
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
494
579
                os=-sysv4
495
580
                ;;
496
 
        i[34567]86v)
 
581
        i*86v)
497
582
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
498
583
                os=-sysv
499
584
                ;;
500
 
        i[34567]86sol2)
 
585
        i*86sol2)
501
586
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
502
587
                os=-solaris2
503
588
                ;;
509
594
                basic_machine=i386-unknown
510
595
                os=-vsta
511
596
                ;;
512
 
        i386-go32 | go32)
513
 
                basic_machine=i386-unknown
514
 
                os=-go32
515
 
                ;;
516
 
        i386-mingw32 | mingw32)
517
 
                basic_machine=i386-unknown
518
 
                os=-mingw32
519
 
                ;;
520
 
        i[34567]86-pw32 | pw32)
521
 
                basic_machine=i586-unknown
522
 
                os=-pw32
523
 
                ;;
524
597
        iris | iris4d)
525
598
                basic_machine=mips-sgi
526
599
                case $os in
546
619
                basic_machine=ns32k-utek
547
620
                os=-sysv
548
621
                ;;
 
622
        mingw32)
 
623
                basic_machine=i386-pc
 
624
                os=-mingw32
 
625
                ;;
549
626
        miniframe)
550
627
                basic_machine=m68000-convergent
551
628
                ;;
553
630
                basic_machine=m68k-atari
554
631
                os=-mint
555
632
                ;;
556
 
        mipsel*-linux*)
557
 
                basic_machine=mipsel-unknown
558
 
                os=-linux-gnu
559
 
                ;;
560
 
        mips*-linux*)
561
 
                basic_machine=mips-unknown
562
 
                os=-linux-gnu
563
 
                ;;
564
633
        mips3*-*)
565
634
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
566
635
                ;;
575
644
                basic_machine=m68k-rom68k
576
645
                os=-coff
577
646
                ;;
 
647
        morphos)
 
648
                basic_machine=powerpc-unknown
 
649
                os=-morphos
 
650
                ;;
578
651
        msdos)
579
 
                basic_machine=i386-unknown
 
652
                basic_machine=i386-pc
580
653
                os=-msdos
581
654
                ;;
582
655
        mvs)
640
713
                basic_machine=i960-intel
641
714
                os=-mon960
642
715
                ;;
 
716
        nonstopux)
 
717
                basic_machine=mips-compaq
 
718
                os=-nonstopux
 
719
                ;;
643
720
        np1)
644
721
                basic_machine=np1-gould
645
722
                ;;
 
723
        nv1)
 
724
                basic_machine=nv1-cray
 
725
                os=-unicosmp
 
726
                ;;
646
727
        nsr-tandem)
647
728
                basic_machine=nsr-tandem
648
729
                ;;
650
731
                basic_machine=hppa1.1-oki
651
732
                os=-proelf
652
733
                ;;
 
734
        or32 | or32-*)
 
735
                basic_machine=or32-unknown
 
736
                os=-coff
 
737
                ;;
653
738
        OSE68000 | ose68000)
654
739
                basic_machine=m68000-ericsson
655
740
                os=-ose
672
757
        pbb)
673
758
                basic_machine=m68k-tti
674
759
                ;;
675
 
        pc532 | pc532-*)
 
760
        pc532 | pc532-*)
676
761
                basic_machine=ns32k-pc532
677
762
                ;;
678
 
        pentium | p5 | k5 | k6 | nexen)
 
763
        pentium | p5 | k5 | k6 | nexgen | viac3)
679
764
                basic_machine=i586-pc
680
765
                ;;
681
 
        pentiumpro | p6 | 6x86 | athlon)
 
766
        pentiumpro | p6 | 6x86 | athlon | athlon_*)
682
767
                basic_machine=i686-pc
683
768
                ;;
684
769
        pentiumii | pentium2)
685
 
                basic_machine=i786-pc
 
770
                basic_machine=i686-pc
686
771
                ;;
687
 
        pentium-* | p5-* | k5-* | k6-* | nexen-*)
 
772
        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
688
773
                basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
689
774
                ;;
690
775
        pentiumpro-* | p6-* | 6x86-* | athlon-*)
691
776
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
692
777
                ;;
693
778
        pentiumii-* | pentium2-*)
694
 
                basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
 
779
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
695
780
                ;;
696
781
        pn)
697
782
                basic_machine=pn-gould
698
783
                ;;
699
 
        power)  basic_machine=rs6000-ibm
 
784
        power)  basic_machine=power-ibm
700
785
                ;;
701
786
        ppc)    basic_machine=powerpc-unknown
702
 
                ;;
 
787
                ;;
703
788
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
704
789
                ;;
705
790
        ppcle | powerpclittle | ppc-le | powerpc-little)
706
791
                basic_machine=powerpcle-unknown
707
 
                ;;
 
792
                ;;
708
793
        ppcle-* | powerpclittle-*)
709
794
                basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
710
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
                ;;
711
806
        ps2)
712
807
                basic_machine=i386-ibm
713
808
                ;;
 
809
        pw32)
 
810
                basic_machine=i586-unknown
 
811
                os=-pw32
 
812
                ;;
714
813
        rom68k)
715
814
                basic_machine=m68k-rom68k
716
815
                os=-coff
721
820
        rtpc | rtpc-*)
722
821
                basic_machine=romp-ibm
723
822
                ;;
 
823
        s390 | s390-*)
 
824
                basic_machine=s390-ibm
 
825
                ;;
 
826
        s390x | s390x-*)
 
827
                basic_machine=s390x-ibm
 
828
                ;;
724
829
        sa29200)
725
830
                basic_machine=a29k-amd
726
831
                os=-udi
727
832
                ;;
 
833
        sb1)
 
834
                basic_machine=mipsisa64sb1-unknown
 
835
                ;;
 
836
        sb1el)
 
837
                basic_machine=mipsisa64sb1el-unknown
 
838
                ;;
728
839
        sequent)
729
840
                basic_machine=i386-sequent
730
841
                ;;
732
843
                basic_machine=sh-hitachi
733
844
                os=-hms
734
845
                ;;
735
 
        sparclite-wrs)
 
846
        sparclite-wrs | simso-wrs)
736
847
                basic_machine=sparclite-wrs
737
848
                os=-vxworks
738
849
                ;;
799
910
                os=-dynix
800
911
                ;;
801
912
        t3e)
802
 
                basic_machine=t3e-cray
803
 
                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
804
923
                ;;
805
924
        tic54x | c54x*)
806
925
                basic_machine=tic54x-unknown
812
931
        tx39el)
813
932
                basic_machine=mipstx39el-unknown
814
933
                ;;
 
934
        toad1)
 
935
                basic_machine=pdp10-xkl
 
936
                os=-tops20
 
937
                ;;
815
938
        tower | tower-32)
816
939
                basic_machine=m68k-ncr
817
940
                ;;
836
959
                os=-vms
837
960
                ;;
838
961
        vpp*|vx|vx-*)
839
 
               basic_machine=f301-fujitsu
840
 
               ;;
 
962
                basic_machine=f301-fujitsu
 
963
                ;;
841
964
        vxworks960)
842
965
                basic_machine=i960-wrs
843
966
                os=-vxworks
858
981
                basic_machine=hppa1.1-winbond
859
982
                os=-proelf
860
983
                ;;
861
 
        xmp)
862
 
                basic_machine=xmp-cray
863
 
                os=-unicos
864
 
                ;;
865
 
        xps | xps100)
 
984
        xps | xps100)
866
985
                basic_machine=xps100-honeywell
867
986
                ;;
 
987
        ymp)
 
988
                basic_machine=ymp-cray
 
989
                os=-unicos
 
990
                ;;
868
991
        z8k-*-coff)
869
992
                basic_machine=z8k-unknown
870
993
                os=-sim
885
1008
        op60c)
886
1009
                basic_machine=hppa1.1-oki
887
1010
                ;;
888
 
        mips)
889
 
                if [ x$os = x-linux-gnu ]; then
890
 
                        basic_machine=mips-unknown
891
 
                else
892
 
                        basic_machine=mips-mips
893
 
                fi
894
 
                ;;
895
1011
        romp)
896
1012
                basic_machine=romp-ibm
897
1013
                ;;
901
1017
        vax)
902
1018
                basic_machine=vax-dec
903
1019
                ;;
 
1020
        pdp10)
 
1021
                # there are many clones, so DEC is not a safe bet
 
1022
                basic_machine=pdp10-unknown
 
1023
                ;;
904
1024
        pdp11)
905
1025
                basic_machine=pdp11-dec
906
1026
                ;;
907
1027
        we32k)
908
1028
                basic_machine=we32k-att
909
1029
                ;;
910
 
        sh3 | sh4)
911
 
                base_machine=sh-unknown
912
 
                ;;
913
 
        sparc | sparcv9)
 
1030
        sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
 
1031
                basic_machine=sh-unknown
 
1032
                ;;
 
1033
        sh64)
 
1034
                basic_machine=sh64-unknown
 
1035
                ;;
 
1036
        sparc | sparcv9 | sparcv9b)
914
1037
                basic_machine=sparc-sun
915
1038
                ;;
916
 
        cydra)
 
1039
        cydra)
917
1040
                basic_machine=cydra-cydrome
918
1041
                ;;
919
1042
        orion)
928
1051
        pmac | pmac-mpw)
929
1052
                basic_machine=powerpc-apple
930
1053
                ;;
931
 
        c4x*)
932
 
                basic_machine=c4x-none
933
 
                os=-coff
 
1054
        *-unknown)
 
1055
                # Make sure to match an already-canonicalized machine name.
934
1056
                ;;
935
1057
        *)
936
1058
                echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
988
1110
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
989
1111
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
990
1112
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 
1113
              | -chorusos* | -chorusrdb* \
991
1114
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
992
1115
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
993
 
              | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
994
 
              | -openstep* | -oskit* | -conix* | -pw32*)
 
1116
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 
1117
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
 
1118
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 
1119
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 
1120
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 
1121
              | -powermax* | -dnix* | -microbsd*)
995
1122
        # Remember, each alternative MUST END IN *, to match a version number.
996
1123
                ;;
997
1124
        -qnx*)
998
1125
                case $basic_machine in
999
 
                    x86-* | i[34567]86-*)
 
1126
                    x86-* | i*86-*)
1000
1127
                        ;;
1001
1128
                    *)
1002
1129
                        os=-nto$os
1003
1130
                        ;;
1004
1131
                esac
1005
1132
                ;;
 
1133
        -nto-qnx*)
 
1134
                ;;
1006
1135
        -nto*)
1007
 
                os=-nto-qnx
 
1136
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1008
1137
                ;;
1009
1138
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1010
1139
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1043
1172
        -acis*)
1044
1173
                os=-aos
1045
1174
                ;;
 
1175
        -atheos*)
 
1176
                os=-atheos
 
1177
                ;;
1046
1178
        -386bsd)
1047
1179
                os=-bsd
1048
1180
                ;;
1049
1181
        -ctix* | -uts*)
1050
1182
                os=-sysv
1051
1183
                ;;
 
1184
        -nova*)
 
1185
                os=-rtmk-nova
 
1186
                ;;
1052
1187
        -ns2 )
1053
 
                os=-nextstep2
 
1188
                os=-nextstep2
1054
1189
                ;;
1055
1190
        -nsk*)
1056
1191
                os=-nsk
1089
1224
        -xenix)
1090
1225
                os=-xenix
1091
1226
                ;;
1092
 
        -*mint | -*MiNT)
1093
 
                os=-mint
 
1227
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 
1228
                os=-mint
1094
1229
                ;;
1095
1230
        -none)
1096
1231
                ;;
1123
1258
        arm*-semi)
1124
1259
                os=-aout
1125
1260
                ;;
1126
 
        pdp11-*)
 
1261
        # This must come before the *-dec entry.
 
1262
        pdp10-*)
 
1263
                os=-tops20
 
1264
                ;;
 
1265
        pdp11-*)
1127
1266
                os=-none
1128
1267
                ;;
1129
1268
        *-dec | vax-*)
1150
1289
        mips*-*)
1151
1290
                os=-elf
1152
1291
                ;;
 
1292
        or32-*)
 
1293
                os=-coff
 
1294
                ;;
1153
1295
        *-tti)  # must be before sparc entry or we get the wrong os.
1154
1296
                os=-sysv3
1155
1297
                ;;
1213
1355
        *-next)
1214
1356
                os=-nextstep3
1215
1357
                ;;
1216
 
        *-gould)
 
1358
        *-gould)
1217
1359
                os=-sysv
1218
1360
                ;;
1219
 
        *-highlevel)
 
1361
        *-highlevel)
1220
1362
                os=-bsd
1221
1363
                ;;
1222
1364
        *-encore)
1223
1365
                os=-bsd
1224
1366
                ;;
1225
 
        *-sgi)
 
1367
        *-sgi)
1226
1368
                os=-irix
1227
1369
                ;;
1228
 
        *-siemens)
 
1370
        *-siemens)
1229
1371
                os=-sysv4
1230
1372
                ;;
1231
1373
        *-masscomp)
1232
1374
                os=-rtu
1233
1375
                ;;
1234
 
        f301-fujitsu)
 
1376
        f30[01]-fujitsu | f700-fujitsu)
1235
1377
                os=-uxpv
1236
1378
                ;;
1237
1379
        *-rom68k)
1297
1439
                        -ptx*)
1298
1440
                                vendor=sequent
1299
1441
                                ;;
1300
 
                        -vxsim* | -vxworks*)
 
1442
                        -vxsim* | -vxworks* | -windiss*)
1301
1443
                                vendor=wrs
1302
1444
                                ;;
1303
1445
                        -aux*)
1309
1451
                        -mpw* | -macos*)
1310
1452
                                vendor=apple
1311
1453
                                ;;
1312
 
                        -*mint | -*MiNT)
 
1454
                        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1313
1455
                                vendor=atari
1314
1456
                                ;;
 
1457
                        -vos*)
 
1458
                                vendor=stratus
 
1459
                                ;;
1315
1460
                esac
1316
1461
                basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1317
1462
                ;;
1322
1467
 
1323
1468
# Local variables:
1324
1469
# eval: (add-hook 'write-file-hooks 'time-stamp)
1325
 
# time-stamp-start: "version='"
 
1470
# time-stamp-start: "timestamp='"
1326
1471
# time-stamp-format: "%:y-%02m-%02d"
1327
1472
# time-stamp-end: "'"
1328
1473
# End: