~ubuntu-branches/ubuntu/precise/athena-jot/precise

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2007-01-31 11:17:37 UTC
  • Revision ID: james.westby@ubuntu.com-20070131111737-80o1v3nb5xogy5w6
Tags: 9.0-5
* Reverted to compat=3 for etch inclusion.
* Removed commented dh_* rules.

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 
5
#   Inc.
5
6
 
6
 
timestamp='2003-07-17'
 
7
timestamp='2006-09-20'
7
8
 
8
9
# This file is (in principle) common to ALL GNU software.
9
10
# The presence of a machine in this file suggests that SOME GNU software
21
22
#
22
23
# You should have received a copy of the GNU General Public License
23
24
# along with this program; if not, write to the Free Software
24
 
# Foundation, Inc., 59 Temple Place - Suite 330,
25
 
# Boston, MA 02111-1307, USA.
26
 
 
 
25
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
26
# 02110-1301, USA.
 
27
#
27
28
# As a special exception to the GNU General Public License, if you
28
29
# distribute this file as part of a program that contains a
29
30
# configuration script generated by Autoconf, you may include it under
30
31
# the same distribution terms that you use for the rest of that program.
31
32
 
 
33
 
32
34
# Please send patches to <config-patches@gnu.org>.  Submit a context
33
35
# diff and a properly formatted ChangeLog entry.
34
36
#
70
72
version="\
71
73
GNU config.sub ($timestamp)
72
74
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
75
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
74
76
Free Software Foundation, Inc.
75
77
 
76
78
This is free software; see the source for copying conditions.  There is NO
83
85
while test $# -gt 0 ; do
84
86
  case $1 in
85
87
    --time-stamp | --time* | -t )
86
 
       echo "$timestamp" ; exit 0 ;;
 
88
       echo "$timestamp" ; exit ;;
87
89
    --version | -v )
88
 
       echo "$version" ; exit 0 ;;
 
90
       echo "$version" ; exit ;;
89
91
    --help | --h* | -h )
90
 
       echo "$usage"; exit 0 ;;
 
92
       echo "$usage"; exit ;;
91
93
    -- )     # Stop option processing
92
94
       shift; break ;;
93
95
    - ) # Use stdin as input.
99
101
    *local*)
100
102
       # First pass through any local machine types.
101
103
       echo $1
102
 
       exit 0;;
 
104
       exit ;;
103
105
 
104
106
    * )
105
107
       break ;;
118
120
# Here we must recognize all the valid KERNEL-OS combinations.
119
121
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
122
case $maybe_os in
121
 
  nto-qnx* | linux-gnu* | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
 
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*)
122
126
    os=-$maybe_os
123
127
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124
128
    ;;
144
148
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145
149
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146
150
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147
 
        -apple | -axis)
 
151
        -apple | -axis | -knuth | -cray)
148
152
                os=
149
153
                basic_machine=$1
150
154
                ;;
169
173
        -hiux*)
170
174
                os=-hiuxwe2
171
175
                ;;
 
176
        -sco6)
 
177
                os=-sco5v6
 
178
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
179
                ;;
172
180
        -sco5)
173
181
                os=-sco3.2v5
174
182
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
185
193
                # Don't forget version if it is 3.2v4 or newer.
186
194
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
187
195
                ;;
 
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
                ;;
188
200
        -sco*)
189
201
                os=-sco3.2v2
190
202
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
229
241
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230
242
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
231
243
        | am33_2.0 \
232
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
244
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
245
        | bfin \
233
246
        | c4x | clipper \
234
247
        | d10v | d30v | dlx | dsp16xx \
235
248
        | fr30 | frv \
236
249
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
237
250
        | i370 | i860 | i960 | ia64 \
238
251
        | ip2k | iq2000 \
239
 
        | m32r | m68000 | m68k | m88k | mcore \
 
252
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
 
253
        | maxq | mb | microblaze | mcore \
240
254
        | mips | mipsbe | mipseb | mipsel | mipsle \
241
255
        | mips16 \
242
256
        | mips64 | mips64el \
245
259
        | mips64vr4100 | mips64vr4100el \
246
260
        | mips64vr4300 | mips64vr4300el \
247
261
        | mips64vr5000 | mips64vr5000el \
 
262
        | mips64vr5900 | mips64vr5900el \
248
263
        | mipsisa32 | mipsisa32el \
249
264
        | mipsisa32r2 | mipsisa32r2el \
250
265
        | mipsisa64 | mipsisa64el \
 
266
        | mipsisa64r2 | mipsisa64r2el \
251
267
        | mipsisa64sb1 | mipsisa64sb1el \
252
268
        | mipsisa64sr71k | mipsisa64sr71kel \
253
269
        | mipstx39 | mipstx39el \
254
270
        | mn10200 | mn10300 \
 
271
        | mt \
255
272
        | msp430 \
 
273
        | nios | nios2 \
256
274
        | ns16k | ns32k \
257
 
        | openrisc | or32 \
 
275
        | or32 \
258
276
        | pdp10 | pdp11 | pj | pjl \
259
277
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
260
278
        | pyramid \
261
 
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
279
        | score \
 
280
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
262
281
        | sh64 | sh64le \
263
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
264
 
        | strongarm \
 
282
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 
283
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 
284
        | spu | strongarm \
265
285
        | tahoe | thumb | tic4x | tic80 | tron \
266
286
        | v850 | v850e \
267
287
        | we32k \
268
 
        | x86 | xscale | xstormy16 | xtensa \
 
288
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
269
289
        | z8k)
270
290
                basic_machine=$basic_machine-unknown
271
291
                ;;
276
296
                ;;
277
297
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
278
298
                ;;
 
299
        ms1)
 
300
                basic_machine=mt-unknown
 
301
                ;;
279
302
 
280
303
        # We use `pc' rather than `unknown'
281
304
        # because (1) that's what they normally are, and
295
318
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
296
319
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
297
320
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
298
 
        | avr-* \
299
 
        | bs2000-* \
 
321
        | avr-* | avr32-* \
 
322
        | bfin-* | bs2000-* \
300
323
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
301
 
        | clipper-* | cydra-* \
 
324
        | clipper-* | craynv-* | cydra-* \
302
325
        | d10v-* | d30v-* | dlx-* \
303
326
        | elxsi-* \
304
327
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
306
329
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
307
330
        | i*86-* | i860-* | i960-* | ia64-* \
308
331
        | ip2k-* | iq2000-* \
309
 
        | m32r-* \
 
332
        | m32c-* | m32r-* | m32rle-* \
310
333
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
311
 
        | m88110-* | m88k-* | mcore-* \
 
334
        | m88110-* | m88k-* | maxq-* | mcore-* \
312
335
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
313
336
        | mips16-* \
314
337
        | mips64-* | mips64el-* \
317
340
        | mips64vr4100-* | mips64vr4100el-* \
318
341
        | mips64vr4300-* | mips64vr4300el-* \
319
342
        | mips64vr5000-* | mips64vr5000el-* \
 
343
        | mips64vr5900-* | mips64vr5900el-* \
320
344
        | mipsisa32-* | mipsisa32el-* \
321
345
        | mipsisa32r2-* | mipsisa32r2el-* \
322
346
        | mipsisa64-* | mipsisa64el-* \
 
347
        | mipsisa64r2-* | mipsisa64r2el-* \
323
348
        | mipsisa64sb1-* | mipsisa64sb1el-* \
324
349
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
325
350
        | mipstx39-* | mipstx39el-* \
 
351
        | mmix-* \
 
352
        | mt-* \
326
353
        | msp430-* \
327
 
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
354
        | nios-* | nios2-* \
 
355
        | none-* | np1-* | ns16k-* | ns32k-* \
328
356
        | orion-* \
329
357
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
330
358
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
331
359
        | pyramid-* \
332
360
        | romp-* | rs6000-* \
333
 
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
361
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
334
362
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
335
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
336
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
363
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 
364
        | sparclite-* \
 
365
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
337
366
        | tahoe-* | thumb-* \
338
367
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
339
368
        | tron-* \
340
369
        | v850-* | v850e-* | vax-* \
341
370
        | we32k-* \
342
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
343
 
        | xtensa-* \
 
371
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
372
        | xstormy16-* | xtensa-* \
344
373
        | ymp-* \
345
374
        | z8k-*)
346
375
                ;;
360
389
                basic_machine=a29k-amd
361
390
                os=-udi
362
391
                ;;
 
392
        abacus)
 
393
                basic_machine=abacus-unknown
 
394
                ;;
363
395
        adobe68k)
364
396
                basic_machine=m68010-adobe
365
397
                os=-scout
377
409
        amd64)
378
410
                basic_machine=x86_64-pc
379
411
                ;;
 
412
        amd64-*)
 
413
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
414
                ;;
380
415
        amdahl)
381
416
                basic_machine=580-amdahl
382
417
                os=-sysv
436
471
                basic_machine=j90-cray
437
472
                os=-unicos
438
473
                ;;
 
474
        craynv)
 
475
                basic_machine=craynv-cray
 
476
                os=-unicosmp
 
477
                ;;
 
478
        cr16c)
 
479
                basic_machine=cr16c-unknown
 
480
                os=-elf
 
481
                ;;
439
482
        crds | unos)
440
483
                basic_machine=m68k-crds
441
484
                ;;
 
485
        crisv32 | crisv32-* | etraxfs*)
 
486
                basic_machine=crisv32-axis
 
487
                ;;
442
488
        cris | cris-* | etrax*)
443
489
                basic_machine=cris-axis
444
490
                ;;
 
491
        crx)
 
492
                basic_machine=crx-unknown
 
493
                os=-elf
 
494
                ;;
445
495
        da30 | da30-*)
446
496
                basic_machine=m68k-da30
447
497
                ;;
464
514
                basic_machine=m88k-motorola
465
515
                os=-sysv3
466
516
                ;;
 
517
        djgpp)
 
518
                basic_machine=i586-pc
 
519
                os=-msdosdjgpp
 
520
                ;;
467
521
        dpx20 | dpx20-*)
468
522
                basic_machine=rs6000-bull
469
523
                os=-bosx
642
696
        mips3*)
643
697
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
644
698
                ;;
645
 
        mmix*)
646
 
                basic_machine=mmix-knuth
647
 
                os=-mmixware
648
 
                ;;
649
699
        monitor)
650
700
                basic_machine=m68k-rom68k
651
701
                os=-coff
658
708
                basic_machine=i386-pc
659
709
                os=-msdos
660
710
                ;;
 
711
        ms1-*)
 
712
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
713
                ;;
661
714
        mvs)
662
715
                basic_machine=i370-ibm
663
716
                os=-mvs
726
779
        np1)
727
780
                basic_machine=np1-gould
728
781
                ;;
729
 
        nv1)
730
 
                basic_machine=nv1-cray
731
 
                os=-unicosmp
732
 
                ;;
733
782
        nsr-tandem)
734
783
                basic_machine=nsr-tandem
735
784
                ;;
737
786
                basic_machine=hppa1.1-oki
738
787
                os=-proelf
739
788
                ;;
740
 
        or32 | or32-*)
 
789
        openrisc | openrisc-*)
741
790
                basic_machine=or32-unknown
742
 
                os=-coff
 
791
                ;;
 
792
        os400)
 
793
                basic_machine=powerpc-ibm
 
794
                os=-os400
743
795
                ;;
744
796
        OSE68000 | ose68000)
745
797
                basic_machine=m68000-ericsson
766
818
        pc532 | pc532-*)
767
819
                basic_machine=ns32k-pc532
768
820
                ;;
 
821
        pc98)
 
822
                basic_machine=i386-pc
 
823
                ;;
 
824
        pc98-*)
 
825
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
 
826
                ;;
769
827
        pentium | p5 | k5 | k6 | nexgen | viac3)
770
828
                basic_machine=i586-pc
771
829
                ;;
822
880
                basic_machine=i586-unknown
823
881
                os=-pw32
824
882
                ;;
 
883
        rdos)
 
884
                basic_machine=i386-pc
 
885
                os=-rdos
 
886
                ;;
825
887
        rom68k)
826
888
                basic_machine=m68k-rom68k
827
889
                os=-coff
848
910
        sb1el)
849
911
                basic_machine=mipsisa64sb1el-unknown
850
912
                ;;
 
913
        sde)
 
914
                basic_machine=mipsisa32-sde
 
915
                os=-elf
 
916
                ;;
851
917
        sei)
852
918
                basic_machine=mips-sei
853
919
                os=-seiux
961
1027
        tower | tower-32)
962
1028
                basic_machine=m68k-ncr
963
1029
                ;;
 
1030
        tpf)
 
1031
                basic_machine=s390x-ibm
 
1032
                os=-tpf
 
1033
                ;;
964
1034
        udi29k)
965
1035
                basic_machine=a29k-amd
966
1036
                os=-udi
1004
1074
                basic_machine=hppa1.1-winbond
1005
1075
                os=-proelf
1006
1076
                ;;
 
1077
        xbox)
 
1078
                basic_machine=i686-pc
 
1079
                os=-mingw32
 
1080
                ;;
1007
1081
        xps | xps100)
1008
1082
                basic_machine=xps100-honeywell
1009
1083
                ;;
1034
1108
        romp)
1035
1109
                basic_machine=romp-ibm
1036
1110
                ;;
 
1111
        mmix)
 
1112
                basic_machine=mmix-knuth
 
1113
                ;;
1037
1114
        rs6000)
1038
1115
                basic_machine=rs6000-ibm
1039
1116
                ;;
1050
1127
        we32k)
1051
1128
                basic_machine=we32k-att
1052
1129
                ;;
1053
 
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
1130
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1054
1131
                basic_machine=sh-unknown
1055
1132
                ;;
1056
 
        sh64)
1057
 
                basic_machine=sh64-unknown
1058
 
                ;;
1059
 
        sparc | sparcv9 | sparcv9b)
 
1133
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1060
1134
                basic_machine=sparc-sun
1061
1135
                ;;
1062
1136
        cydra)
1129
1203
              | -aos* \
1130
1204
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1131
1205
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1132
 
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1133
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1206
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
 
1207
              | -openbsd* | -solidbsd* \
 
1208
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1209
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1134
1210
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1135
1211
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1136
1212
              | -chorusos* | -chorusrdb* \
1137
1213
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1138
 
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1214
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1215
              | -uxpv* | -beos* | -mpeix* | -udk* \
1139
1216
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1140
1217
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1141
1218
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1142
1219
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1143
1220
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1144
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
 
1221
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1222
              | -skyos* | -haiku* | -rdos* | -toppers*)
1145
1223
        # Remember, each alternative MUST END IN *, to match a version number.
1146
1224
                ;;
1147
1225
        -qnx*)
1159
1237
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1160
1238
                ;;
1161
1239
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1162
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1240
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1163
1241
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1164
1242
                ;;
1165
1243
        -mac*)
1166
1244
                os=`echo $os | sed -e 's|mac|macos|'`
1167
1245
                ;;
 
1246
        -linux-dietlibc)
 
1247
                os=-linux-dietlibc
 
1248
                ;;
1168
1249
        -linux*)
1169
1250
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
1170
1251
                ;;
1177
1258
        -opened*)
1178
1259
                os=-openedition
1179
1260
                ;;
 
1261
        -os400*)
 
1262
                os=-os400
 
1263
                ;;
1180
1264
        -wince*)
1181
1265
                os=-wince
1182
1266
                ;;
1198
1282
        -atheos*)
1199
1283
                os=-atheos
1200
1284
                ;;
 
1285
        -syllable*)
 
1286
                os=-syllable
 
1287
                ;;
1201
1288
        -386bsd)
1202
1289
                os=-bsd
1203
1290
                ;;
1220
1307
        -sinix*)
1221
1308
                os=-sysv4
1222
1309
                ;;
 
1310
        -tpf*)
 
1311
                os=-tpf
 
1312
                ;;
1223
1313
        -triton*)
1224
1314
                os=-sysv3
1225
1315
                ;;
1256
1346
        -kaos*)
1257
1347
                os=-kaos
1258
1348
                ;;
 
1349
        -zvmoe)
 
1350
                os=-zvmoe
 
1351
                ;;
1259
1352
        -none)
1260
1353
                ;;
1261
1354
        *)
1278
1371
# system, and we'll never get to this point.
1279
1372
 
1280
1373
case $basic_machine in
 
1374
        score-*)
 
1375
                os=-elf
 
1376
                ;;
 
1377
        spu-*)
 
1378
                os=-elf
 
1379
                ;;
1281
1380
        *-acorn)
1282
1381
                os=-riscix1.2
1283
1382
                ;;
1287
1386
        arm*-semi)
1288
1387
                os=-aout
1289
1388
                ;;
1290
 
    c4x-* | tic4x-*)
1291
 
        os=-coff
1292
 
        ;;
 
1389
        c4x-* | tic4x-*)
 
1390
                os=-coff
 
1391
                ;;
1293
1392
        # This must come before the *-dec entry.
1294
1393
        pdp10-*)
1295
1394
                os=-tops20
1333
1432
        *-be)
1334
1433
                os=-beos
1335
1434
                ;;
 
1435
        *-haiku)
 
1436
                os=-haiku
 
1437
                ;;
1336
1438
        *-ibm)
1337
1439
                os=-aix
1338
1440
                ;;
 
1441
        *-knuth)
 
1442
                os=-mmixware
 
1443
                ;;
1339
1444
        *-wec)
1340
1445
                os=-proelf
1341
1446
                ;;
1468
1573
                        -mvs* | -opened*)
1469
1574
                                vendor=ibm
1470
1575
                                ;;
 
1576
                        -os400*)
 
1577
                                vendor=ibm
 
1578
                                ;;
1471
1579
                        -ptx*)
1472
1580
                                vendor=sequent
1473
1581
                                ;;
 
1582
                        -tpf*)
 
1583
                                vendor=ibm
 
1584
                                ;;
1474
1585
                        -vxsim* | -vxworks* | -windiss*)
1475
1586
                                vendor=wrs
1476
1587
                                ;;
1495
1606
esac
1496
1607
 
1497
1608
echo $basic_machine$os
1498
 
exit 0
 
1609
exit
1499
1610
 
1500
1611
# Local variables:
1501
1612
# eval: (add-hook 'write-file-hooks 'time-stamp)