~ubuntu-branches/ubuntu/intrepid/cdrdao/intrepid

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-06-20 09:58:00 UTC
  • mfrom: (2.1.13 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080620095800-dus8dgw8xzcc520l
Tags: 1:1.2.2-16
* Updating cross build handling in rules.
* Change clean target definition in rules (Closes: #450752, #471224).
* Updating to standards 3.8.0.

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, 2003, 2004, 2005, 2006 Free Software Foundation,
5
 
#   Inc.
 
4
#   2000, 2001, 2002 Free Software Foundation, Inc.
6
5
 
7
 
timestamp='2006-09-20'
 
6
timestamp='2002-09-05'
8
7
 
9
8
# This file is (in principle) common to ALL GNU software.
10
9
# The presence of a machine in this file suggests that SOME GNU software
22
21
#
23
22
# You should have received a copy of the GNU General Public License
24
23
# along with this program; if not, write to the Free Software
25
 
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26
 
# 02110-1301, USA.
27
 
#
 
24
# Foundation, Inc., 59 Temple Place - Suite 330,
 
25
# Boston, MA 02111-1307, USA.
 
26
 
28
27
# As a special exception to the GNU General Public License, if you
29
28
# distribute this file as part of a program that contains a
30
29
# configuration script generated by Autoconf, you may include it under
31
30
# the same distribution terms that you use for the rest of that program.
32
31
 
33
 
 
34
32
# Please send patches to <config-patches@gnu.org>.  Submit a context
35
33
# diff and a properly formatted ChangeLog entry.
36
34
#
72
70
version="\
73
71
GNU config.sub ($timestamp)
74
72
 
75
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
73
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
76
74
Free Software Foundation, Inc.
77
75
 
78
76
This is free software; see the source for copying conditions.  There is NO
85
83
while test $# -gt 0 ; do
86
84
  case $1 in
87
85
    --time-stamp | --time* | -t )
88
 
       echo "$timestamp" ; exit ;;
 
86
       echo "$timestamp" ; exit 0 ;;
89
87
    --version | -v )
90
 
       echo "$version" ; exit ;;
 
88
       echo "$version" ; exit 0 ;;
91
89
    --help | --h* | -h )
92
 
       echo "$usage"; exit ;;
 
90
       echo "$usage"; exit 0 ;;
93
91
    -- )     # Stop option processing
94
92
       shift; break ;;
95
93
    - ) # Use stdin as input.
101
99
    *local*)
102
100
       # First pass through any local machine types.
103
101
       echo $1
104
 
       exit ;;
 
102
       exit 0;;
105
103
 
106
104
    * )
107
105
       break ;;
120
118
# Here we must recognize all the valid KERNEL-OS combinations.
121
119
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
122
120
case $maybe_os in
123
 
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
 
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
125
 
  storm-chaos* | os2-emx* | rtmk-nova*)
 
121
  nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
126
122
    os=-$maybe_os
127
123
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
128
124
    ;;
148
144
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149
145
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150
146
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151
 
        -apple | -axis | -knuth | -cray)
 
147
        -apple | -axis)
152
148
                os=
153
149
                basic_machine=$1
154
150
                ;;
173
169
        -hiux*)
174
170
                os=-hiuxwe2
175
171
                ;;
176
 
        -sco6)
177
 
                os=-sco5v6
178
 
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
179
 
                ;;
180
172
        -sco5)
181
173
                os=-sco3.2v5
182
174
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
193
185
                # Don't forget version if it is 3.2v4 or newer.
194
186
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
195
187
                ;;
196
 
        -sco5v6*)
197
 
                # Don't forget version if it is 3.2v4 or newer.
198
 
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
199
 
                ;;
200
188
        -sco*)
201
189
                os=-sco3.2v2
202
190
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
240
228
        | a29k \
241
229
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
242
230
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
243
 
        | am33_2.0 \
244
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
245
 
        | bfin \
246
 
        | c4x | clipper \
 
231
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
232
        | clipper \
247
233
        | d10v | d30v | dlx | dsp16xx \
248
234
        | fr30 | frv \
249
235
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
236
        | i370 | i860 | i960 | ia64 \
251
 
        | ip2k | iq2000 \
252
 
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore \
 
237
        | ip2k \
 
238
        | m32r | m68000 | m68k | m88k | mcore \
254
239
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
240
        | mips16 \
256
241
        | mips64 | mips64el \
259
244
        | mips64vr4100 | mips64vr4100el \
260
245
        | mips64vr4300 | mips64vr4300el \
261
246
        | mips64vr5000 | mips64vr5000el \
262
 
        | mips64vr5900 | mips64vr5900el \
263
247
        | mipsisa32 | mipsisa32el \
264
 
        | mipsisa32r2 | mipsisa32r2el \
265
248
        | mipsisa64 | mipsisa64el \
266
 
        | mipsisa64r2 | mipsisa64r2el \
267
249
        | mipsisa64sb1 | mipsisa64sb1el \
268
250
        | mipsisa64sr71k | mipsisa64sr71kel \
269
251
        | mipstx39 | mipstx39el \
270
252
        | mn10200 | mn10300 \
271
 
        | mt \
272
 
        | msp430 \
273
 
        | nios | nios2 \
274
253
        | ns16k | ns32k \
275
 
        | or32 \
 
254
        | openrisc | or32 \
276
255
        | pdp10 | pdp11 | pj | pjl \
277
256
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
257
        | pyramid \
279
 
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
258
        | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
281
259
        | sh64 | sh64le \
282
 
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
 
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284
 
        | spu | strongarm \
285
 
        | tahoe | thumb | tic4x | tic80 | tron \
 
260
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
261
        | strongarm \
 
262
        | tahoe | thumb | tic80 | tron \
286
263
        | v850 | v850e \
287
264
        | we32k \
288
 
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
265
        | x86 | xscale | xstormy16 | xtensa \
289
266
        | z8k)
290
267
                basic_machine=$basic_machine-unknown
291
268
                ;;
296
273
                ;;
297
274
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
298
275
                ;;
299
 
        ms1)
300
 
                basic_machine=mt-unknown
301
 
                ;;
302
276
 
303
277
        # We use `pc' rather than `unknown'
304
278
        # because (1) that's what they normally are, and
318
292
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
319
293
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
320
294
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
321
 
        | avr-* | avr32-* \
322
 
        | bfin-* | bs2000-* \
323
 
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
324
 
        | clipper-* | craynv-* | cydra-* \
 
295
        | avr-* \
 
296
        | bs2000-* \
 
297
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
 
298
        | clipper-* | cydra-* \
325
299
        | d10v-* | d30v-* | dlx-* \
326
300
        | elxsi-* \
327
301
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
328
302
        | h8300-* | h8500-* \
329
303
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
304
        | i*86-* | i860-* | i960-* | ia64-* \
331
 
        | ip2k-* | iq2000-* \
332
 
        | m32c-* | m32r-* | m32rle-* \
 
305
        | ip2k-* \
 
306
        | m32r-* \
333
307
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
308
        | m88110-* | m88k-* | mcore-* \
335
309
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
310
        | mips16-* \
337
311
        | mips64-* | mips64el-* \
340
314
        | mips64vr4100-* | mips64vr4100el-* \
341
315
        | mips64vr4300-* | mips64vr4300el-* \
342
316
        | mips64vr5000-* | mips64vr5000el-* \
343
 
        | mips64vr5900-* | mips64vr5900el-* \
344
317
        | mipsisa32-* | mipsisa32el-* \
345
 
        | mipsisa32r2-* | mipsisa32r2el-* \
346
318
        | mipsisa64-* | mipsisa64el-* \
347
 
        | mipsisa64r2-* | mipsisa64r2el-* \
348
319
        | mipsisa64sb1-* | mipsisa64sb1el-* \
349
320
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
350
 
        | mipstx39-* | mipstx39el-* \
351
 
        | mmix-* \
352
 
        | mt-* \
353
 
        | msp430-* \
354
 
        | nios-* | nios2-* \
 
321
        | mipstx39 | mipstx39el \
355
322
        | none-* | np1-* | ns16k-* | ns32k-* \
356
323
        | orion-* \
357
324
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358
325
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
326
        | pyramid-* \
360
327
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
328
        | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
362
329
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
 
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364
 
        | sparclite-* \
365
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366
 
        | tahoe-* | thumb-* \
367
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
368
 
        | tron-* \
 
330
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
 
331
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
332
        | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
369
333
        | v850-* | v850e-* | vax-* \
370
334
        | we32k-* \
371
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372
 
        | xstormy16-* | xtensa-* \
 
335
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
 
336
        | xtensa-* \
373
337
        | ymp-* \
374
338
        | z8k-*)
375
339
                ;;
389
353
                basic_machine=a29k-amd
390
354
                os=-udi
391
355
                ;;
392
 
        abacus)
393
 
                basic_machine=abacus-unknown
394
 
                ;;
395
356
        adobe68k)
396
357
                basic_machine=m68010-adobe
397
358
                os=-scout
406
367
                basic_machine=a29k-none
407
368
                os=-bsd
408
369
                ;;
409
 
        amd64)
410
 
                basic_machine=x86_64-pc
411
 
                ;;
412
 
        amd64-*)
413
 
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
414
 
                ;;
415
370
        amdahl)
416
371
                basic_machine=580-amdahl
417
372
                os=-sysv
471
426
                basic_machine=j90-cray
472
427
                os=-unicos
473
428
                ;;
474
 
        craynv)
475
 
                basic_machine=craynv-cray
476
 
                os=-unicosmp
477
 
                ;;
478
 
        cr16c)
479
 
                basic_machine=cr16c-unknown
480
 
                os=-elf
481
 
                ;;
482
429
        crds | unos)
483
430
                basic_machine=m68k-crds
484
431
                ;;
485
 
        crisv32 | crisv32-* | etraxfs*)
486
 
                basic_machine=crisv32-axis
487
 
                ;;
488
432
        cris | cris-* | etrax*)
489
433
                basic_machine=cris-axis
490
434
                ;;
491
 
        crx)
492
 
                basic_machine=crx-unknown
493
 
                os=-elf
494
 
                ;;
495
435
        da30 | da30-*)
496
436
                basic_machine=m68k-da30
497
437
                ;;
514
454
                basic_machine=m88k-motorola
515
455
                os=-sysv3
516
456
                ;;
517
 
        djgpp)
518
 
                basic_machine=i586-pc
519
 
                os=-msdosdjgpp
520
 
                ;;
521
457
        dpx20 | dpx20-*)
522
458
                basic_machine=rs6000-bull
523
459
                os=-bosx
696
632
        mips3*)
697
633
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
698
634
                ;;
 
635
        mmix*)
 
636
                basic_machine=mmix-knuth
 
637
                os=-mmixware
 
638
                ;;
699
639
        monitor)
700
640
                basic_machine=m68k-rom68k
701
641
                os=-coff
708
648
                basic_machine=i386-pc
709
649
                os=-msdos
710
650
                ;;
711
 
        ms1-*)
712
 
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
713
 
                ;;
714
651
        mvs)
715
652
                basic_machine=i370-ibm
716
653
                os=-mvs
786
723
                basic_machine=hppa1.1-oki
787
724
                os=-proelf
788
725
                ;;
789
 
        openrisc | openrisc-*)
 
726
        or32 | or32-*)
790
727
                basic_machine=or32-unknown
791
 
                ;;
792
 
        os400)
793
 
                basic_machine=powerpc-ibm
794
 
                os=-os400
 
728
                os=-coff
795
729
                ;;
796
730
        OSE68000 | ose68000)
797
731
                basic_machine=m68000-ericsson
818
752
        pc532 | pc532-*)
819
753
                basic_machine=ns32k-pc532
820
754
                ;;
821
 
        pc98)
822
 
                basic_machine=i386-pc
823
 
                ;;
824
 
        pc98-*)
825
 
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
826
 
                ;;
827
755
        pentium | p5 | k5 | k6 | nexgen | viac3)
828
756
                basic_machine=i586-pc
829
757
                ;;
830
758
        pentiumpro | p6 | 6x86 | athlon | athlon_*)
831
759
                basic_machine=i686-pc
832
760
                ;;
833
 
        pentiumii | pentium2 | pentiumiii | pentium3)
 
761
        pentiumii | pentium2)
834
762
                basic_machine=i686-pc
835
763
                ;;
836
 
        pentium4)
837
 
                basic_machine=i786-pc
838
 
                ;;
839
764
        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
840
765
                basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
841
766
                ;;
842
767
        pentiumpro-* | p6-* | 6x86-* | athlon-*)
843
768
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
844
769
                ;;
845
 
        pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
 
770
        pentiumii-* | pentium2-*)
846
771
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
847
772
                ;;
848
 
        pentium4-*)
849
 
                basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
850
 
                ;;
851
773
        pn)
852
774
                basic_machine=pn-gould
853
775
                ;;
880
802
                basic_machine=i586-unknown
881
803
                os=-pw32
882
804
                ;;
883
 
        rdos)
884
 
                basic_machine=i386-pc
885
 
                os=-rdos
886
 
                ;;
887
805
        rom68k)
888
806
                basic_machine=m68k-rom68k
889
807
                os=-coff
910
828
        sb1el)
911
829
                basic_machine=mipsisa64sb1el-unknown
912
830
                ;;
913
 
        sde)
914
 
                basic_machine=mipsisa32-sde
915
 
                os=-elf
916
 
                ;;
917
 
        sei)
918
 
                basic_machine=mips-sei
919
 
                os=-seiux
920
 
                ;;
921
831
        sequent)
922
832
                basic_machine=i386-sequent
923
833
                ;;
925
835
                basic_machine=sh-hitachi
926
836
                os=-hms
927
837
                ;;
928
 
        sh64)
929
 
                basic_machine=sh64-unknown
930
 
                ;;
931
838
        sparclite-wrs | simso-wrs)
932
839
                basic_machine=sparclite-wrs
933
840
                os=-vxworks
994
901
                basic_machine=i386-sequent
995
902
                os=-dynix
996
903
                ;;
 
904
        t3d)
 
905
                basic_machine=alpha-cray
 
906
                os=-unicos
 
907
                ;;
997
908
        t3e)
998
909
                basic_machine=alphaev5-cray
999
910
                os=-unicos
1002
913
                basic_machine=t90-cray
1003
914
                os=-unicos
1004
915
                ;;
 
916
        tic4x | c4x*)
 
917
                basic_machine=tic4x-unknown
 
918
                os=-coff
 
919
                ;;
1005
920
        tic54x | c54x*)
1006
921
                basic_machine=tic54x-unknown
1007
922
                os=-coff
1008
923
                ;;
1009
 
        tic55x | c55x*)
1010
 
                basic_machine=tic55x-unknown
1011
 
                os=-coff
1012
 
                ;;
1013
 
        tic6x | c6x*)
1014
 
                basic_machine=tic6x-unknown
1015
 
                os=-coff
1016
 
                ;;
1017
924
        tx39)
1018
925
                basic_machine=mipstx39-unknown
1019
926
                ;;
1027
934
        tower | tower-32)
1028
935
                basic_machine=m68k-ncr
1029
936
                ;;
1030
 
        tpf)
1031
 
                basic_machine=s390x-ibm
1032
 
                os=-tpf
1033
 
                ;;
1034
937
        udi29k)
1035
938
                basic_machine=a29k-amd
1036
939
                os=-udi
1074
977
                basic_machine=hppa1.1-winbond
1075
978
                os=-proelf
1076
979
                ;;
1077
 
        xbox)
1078
 
                basic_machine=i686-pc
1079
 
                os=-mingw32
 
980
        windows32)
 
981
                basic_machine=i386-pc
 
982
                os=-windows32-msvcrt
1080
983
                ;;
1081
984
        xps | xps100)
1082
985
                basic_machine=xps100-honeywell
1108
1011
        romp)
1109
1012
                basic_machine=romp-ibm
1110
1013
                ;;
1111
 
        mmix)
1112
 
                basic_machine=mmix-knuth
1113
 
                ;;
1114
1014
        rs6000)
1115
1015
                basic_machine=rs6000-ibm
1116
1016
                ;;
1127
1027
        we32k)
1128
1028
                basic_machine=we32k-att
1129
1029
                ;;
1130
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1030
        sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
1131
1031
                basic_machine=sh-unknown
1132
1032
                ;;
1133
 
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
 
1033
        sh64)
 
1034
                basic_machine=sh64-unknown
 
1035
                ;;
 
1036
        sparc | sparcv9 | sparcv9b)
1134
1037
                basic_machine=sparc-sun
1135
1038
                ;;
1136
1039
        cydra)
1203
1106
              | -aos* \
1204
1107
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1205
1108
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1206
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1207
 
              | -openbsd* | -solidbsd* \
1208
 
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1209
 
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1109
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
 
1110
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1210
1111
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1211
1112
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1212
1113
              | -chorusos* | -chorusrdb* \
1213
1114
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1214
 
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1215
 
              | -uxpv* | -beos* | -mpeix* | -udk* \
1216
 
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 
1115
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1116
              | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
1217
1117
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1218
1118
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1219
1119
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1220
 
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1221
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1222
 
              | -skyos* | -haiku* | -rdos* | -toppers*)
 
1120
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
1223
1121
        # Remember, each alternative MUST END IN *, to match a version number.
1224
1122
                ;;
1225
1123
        -qnx*)
1231
1129
                        ;;
1232
1130
                esac
1233
1131
                ;;
1234
 
        -nto-qnx*)
1235
 
                ;;
1236
1132
        -nto*)
1237
 
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
 
1133
                os=-nto-qnx
1238
1134
                ;;
1239
1135
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1240
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
 
1136
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1241
1137
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1242
1138
                ;;
1243
1139
        -mac*)
1244
1140
                os=`echo $os | sed -e 's|mac|macos|'`
1245
1141
                ;;
1246
 
        -linux-dietlibc)
1247
 
                os=-linux-dietlibc
1248
 
                ;;
1249
1142
        -linux*)
1250
1143
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
1251
1144
                ;;
1258
1151
        -opened*)
1259
1152
                os=-openedition
1260
1153
                ;;
1261
 
        -os400*)
1262
 
                os=-os400
1263
 
                ;;
1264
1154
        -wince*)
1265
1155
                os=-wince
1266
1156
                ;;
1282
1172
        -atheos*)
1283
1173
                os=-atheos
1284
1174
                ;;
1285
 
        -syllable*)
1286
 
                os=-syllable
1287
 
                ;;
1288
1175
        -386bsd)
1289
1176
                os=-bsd
1290
1177
                ;;
1307
1194
        -sinix*)
1308
1195
                os=-sysv4
1309
1196
                ;;
1310
 
        -tpf*)
1311
 
                os=-tpf
1312
 
                ;;
1313
1197
        -triton*)
1314
1198
                os=-sysv3
1315
1199
                ;;
1340
1224
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1341
1225
                os=-mint
1342
1226
                ;;
1343
 
        -aros*)
1344
 
                os=-aros
1345
 
                ;;
1346
 
        -kaos*)
1347
 
                os=-kaos
1348
 
                ;;
1349
 
        -zvmoe)
1350
 
                os=-zvmoe
1351
 
                ;;
1352
1227
        -none)
1353
1228
                ;;
1354
1229
        *)
1371
1246
# system, and we'll never get to this point.
1372
1247
 
1373
1248
case $basic_machine in
1374
 
        score-*)
1375
 
                os=-elf
1376
 
                ;;
1377
 
        spu-*)
1378
 
                os=-elf
1379
 
                ;;
1380
1249
        *-acorn)
1381
1250
                os=-riscix1.2
1382
1251
                ;;
1386
1255
        arm*-semi)
1387
1256
                os=-aout
1388
1257
                ;;
1389
 
        c4x-* | tic4x-*)
1390
 
                os=-coff
1391
 
                ;;
1392
1258
        # This must come before the *-dec entry.
1393
1259
        pdp10-*)
1394
1260
                os=-tops20
1432
1298
        *-be)
1433
1299
                os=-beos
1434
1300
                ;;
1435
 
        *-haiku)
1436
 
                os=-haiku
1437
 
                ;;
1438
1301
        *-ibm)
1439
1302
                os=-aix
1440
1303
                ;;
1441
 
        *-knuth)
1442
 
                os=-mmixware
1443
 
                ;;
1444
1304
        *-wec)
1445
1305
                os=-proelf
1446
1306
                ;;
1573
1433
                        -mvs* | -opened*)
1574
1434
                                vendor=ibm
1575
1435
                                ;;
1576
 
                        -os400*)
1577
 
                                vendor=ibm
1578
 
                                ;;
1579
1436
                        -ptx*)
1580
1437
                                vendor=sequent
1581
1438
                                ;;
1582
 
                        -tpf*)
1583
 
                                vendor=ibm
1584
 
                                ;;
1585
1439
                        -vxsim* | -vxworks* | -windiss*)
1586
1440
                                vendor=wrs
1587
1441
                                ;;
1606
1460
esac
1607
1461
 
1608
1462
echo $basic_machine$os
1609
 
exit
 
1463
exit 0
1610
1464
 
1611
1465
# Local variables:
1612
1466
# eval: (add-hook 'write-file-hooks 'time-stamp)