~ubuntu-branches/ubuntu/trusty/globus-gss-assist/trusty

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2012-04-29 07:03:12 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20120429070312-vxpkcewt8lat0mwu
Tags: 8.5-1
* Update to Globus Toolkit 5.2.1
* Drop patches globus-gss-assist-doxygen.patch, globus-gss-assist-deps.patch
  and globus-gss-assist-format.patch (fixed upstream)

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, 2007, 2008, 2009
 
5
#   Free Software Foundation, Inc.
5
6
 
6
 
timestamp='2003-06-18'
 
7
timestamp='2009-11-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
 
# diff and a properly formatted ChangeLog entry.
 
35
# diff and a properly formatted GNU ChangeLog entry.
34
36
#
35
37
# Configuration subroutine to validate and canonicalize a configuration type.
36
38
# Supply the specified configuration type as an argument.
37
39
# If it is invalid, we print an error message on stderr and exit with code 1.
38
40
# Otherwise, we print the canonical config type on stdout and succeed.
39
41
 
 
42
# You can get the latest version of this script from:
 
43
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
 
44
 
40
45
# This file is supposed to be the same for all GNU packages
41
46
# and recognize all the CPU types, system types and aliases
42
47
# that are meaningful with *any* GNU software.
70
75
version="\
71
76
GNU config.sub ($timestamp)
72
77
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
74
 
Free Software Foundation, Inc.
 
78
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
 
79
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
75
80
 
76
81
This is free software; see the source for copying conditions.  There is NO
77
82
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
83
88
while test $# -gt 0 ; do
84
89
  case $1 in
85
90
    --time-stamp | --time* | -t )
86
 
       echo "$timestamp" ; exit 0 ;;
 
91
       echo "$timestamp" ; exit ;;
87
92
    --version | -v )
88
 
       echo "$version" ; exit 0 ;;
 
93
       echo "$version" ; exit ;;
89
94
    --help | --h* | -h )
90
 
       echo "$usage"; exit 0 ;;
 
95
       echo "$usage"; exit ;;
91
96
    -- )     # Stop option processing
92
97
       shift; break ;;
93
98
    - ) # Use stdin as input.
99
104
    *local*)
100
105
       # First pass through any local machine types.
101
106
       echo $1
102
 
       exit 0;;
 
107
       exit ;;
103
108
 
104
109
    * )
105
110
       break ;;
118
123
# Here we must recognize all the valid KERNEL-OS combinations.
119
124
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
125
case $maybe_os in
121
 
  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
 
126
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
 
127
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
128
  kopensolaris*-gnu* | \
 
129
  storm-chaos* | os2-emx* | rtmk-nova*)
122
130
    os=-$maybe_os
123
131
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124
132
    ;;
144
152
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145
153
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146
154
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147
 
        -apple | -axis)
 
155
        -apple | -axis | -knuth | -cray | -microblaze)
148
156
                os=
149
157
                basic_machine=$1
150
158
                ;;
 
159
        -bluegene*)
 
160
                os=-cnk
 
161
                ;;
151
162
        -sim | -cisco | -oki | -wec | -winbond)
152
163
                os=
153
164
                basic_machine=$1
169
180
        -hiux*)
170
181
                os=-hiuxwe2
171
182
                ;;
 
183
        -sco6)
 
184
                os=-sco5v6
 
185
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
186
                ;;
172
187
        -sco5)
173
188
                os=-sco3.2v5
174
189
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
185
200
                # Don't forget version if it is 3.2v4 or newer.
186
201
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
187
202
                ;;
 
203
        -sco5v6*)
 
204
                # Don't forget version if it is 3.2v4 or newer.
 
205
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
206
                ;;
188
207
        -sco*)
189
208
                os=-sco3.2v2
190
209
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
228
247
        | a29k \
229
248
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230
249
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
231
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
250
        | am33_2.0 \
 
251
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
252
        | bfin \
232
253
        | c4x | clipper \
233
254
        | d10v | d30v | dlx | dsp16xx \
234
 
        | fr30 | frv \
 
255
        | fido | fr30 | frv \
235
256
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236
257
        | i370 | i860 | i960 | ia64 \
237
 
        | ip2k \
238
 
        | m32r | m68000 | m68k | m88k | mcore \
 
258
        | ip2k | iq2000 \
 
259
        | lm32 \
 
260
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
 
261
        | maxq | mb | microblaze | mcore | mep | metag \
239
262
        | mips | mipsbe | mipseb | mipsel | mipsle \
240
263
        | mips16 \
241
264
        | mips64 | mips64el \
 
265
        | mips64octeon | mips64octeonel \
 
266
        | mips64orion | mips64orionel \
 
267
        | mips64r5900 | mips64r5900el \
242
268
        | mips64vr | mips64vrel \
243
 
        | mips64orion | mips64orionel \
244
269
        | mips64vr4100 | mips64vr4100el \
245
270
        | mips64vr4300 | mips64vr4300el \
246
271
        | mips64vr5000 | mips64vr5000el \
 
272
        | mips64vr5900 | mips64vr5900el \
247
273
        | mipsisa32 | mipsisa32el \
248
274
        | mipsisa32r2 | mipsisa32r2el \
249
275
        | mipsisa64 | mipsisa64el \
 
276
        | mipsisa64r2 | mipsisa64r2el \
250
277
        | mipsisa64sb1 | mipsisa64sb1el \
251
278
        | mipsisa64sr71k | mipsisa64sr71kel \
252
279
        | mipstx39 | mipstx39el \
253
280
        | mn10200 | mn10300 \
 
281
        | moxie \
 
282
        | mt \
254
283
        | msp430 \
 
284
        | nios | nios2 \
255
285
        | ns16k | ns32k \
256
 
        | openrisc | or32 \
 
286
        | or32 \
257
287
        | pdp10 | pdp11 | pj | pjl \
258
288
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
259
289
        | pyramid \
260
 
        | s390 | s390x \
261
 
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
290
        | rx \
 
291
        | score \
 
292
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
262
293
        | sh64 | sh64le \
263
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
264
 
        | strongarm \
 
294
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 
295
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 
296
        | spu | strongarm \
265
297
        | tahoe | thumb | tic4x | tic80 | tron \
 
298
        | ubicom32 \
266
299
        | v850 | v850e \
267
300
        | we32k \
268
 
        | x86 | xscale | xstormy16 | xtensa \
269
 
        | z8k)
 
301
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
302
        | z8k | z80)
270
303
                basic_machine=$basic_machine-unknown
271
304
                ;;
272
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
305
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
273
306
                # Motorola 68HC11/12.
274
307
                basic_machine=$basic_machine-unknown
275
308
                os=-none
276
309
                ;;
277
310
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
278
311
                ;;
 
312
        ms1)
 
313
                basic_machine=mt-unknown
 
314
                ;;
279
315
 
280
316
        # We use `pc' rather than `unknown'
281
317
        # because (1) that's what they normally are, and
295
331
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
296
332
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
297
333
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
298
 
        | avr-* \
299
 
        | bs2000-* \
 
334
        | avr-* | avr32-* \
 
335
        | bfin-* | bs2000-* \
300
336
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
301
 
        | clipper-* | cydra-* \
 
337
        | clipper-* | craynv-* | cydra-* \
302
338
        | d10v-* | d30v-* | dlx-* \
303
339
        | elxsi-* \
304
 
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
340
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
305
341
        | h8300-* | h8500-* \
306
342
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
307
343
        | i*86-* | i860-* | i960-* | ia64-* \
308
 
        | ip2k-* \
309
 
        | m32r-* \
 
344
        | ip2k-* | iq2000-* \
 
345
        | lm32-* \
 
346
        | m32c-* | m32r-* | m32rle-* \
310
347
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
311
 
        | m88110-* | m88k-* | mcore-* \
 
348
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
312
349
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
313
350
        | mips16-* \
314
351
        | mips64-* | mips64el-* \
 
352
        | mips64octeon-* | mips64octeonel-* \
 
353
        | mips64orion-* | mips64orionel-* \
 
354
        | mips64r5900-* | mips64r5900el-* \
315
355
        | mips64vr-* | mips64vrel-* \
316
 
        | mips64orion-* | mips64orionel-* \
317
356
        | mips64vr4100-* | mips64vr4100el-* \
318
357
        | mips64vr4300-* | mips64vr4300el-* \
319
358
        | mips64vr5000-* | mips64vr5000el-* \
 
359
        | mips64vr5900-* | mips64vr5900el-* \
320
360
        | mipsisa32-* | mipsisa32el-* \
321
361
        | mipsisa32r2-* | mipsisa32r2el-* \
322
362
        | mipsisa64-* | mipsisa64el-* \
 
363
        | mipsisa64r2-* | mipsisa64r2el-* \
323
364
        | mipsisa64sb1-* | mipsisa64sb1el-* \
324
365
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
325
366
        | mipstx39-* | mipstx39el-* \
 
367
        | mmix-* \
 
368
        | mt-* \
326
369
        | msp430-* \
327
 
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
370
        | nios-* | nios2-* \
 
371
        | none-* | np1-* | ns16k-* | ns32k-* \
328
372
        | orion-* \
329
373
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
330
374
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
331
375
        | pyramid-* \
332
 
        | romp-* | rs6000-* \
333
 
        | s390-* | s390x-* \
334
 
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
376
        | romp-* | rs6000-* | rx-* \
 
377
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
335
378
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
336
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
337
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
379
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 
380
        | sparclite-* \
 
381
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
338
382
        | tahoe-* | thumb-* \
339
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
383
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
340
384
        | tron-* \
 
385
        | ubicom32-* \
341
386
        | v850-* | v850e-* | vax-* \
342
387
        | we32k-* \
343
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
344
 
        | xtensa-* \
 
388
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
389
        | xstormy16-* | xtensa*-* \
345
390
        | ymp-* \
346
 
        | z8k-*)
 
391
        | z8k-* | z80-*)
 
392
                ;;
 
393
        # Recognize the basic CPU types without company name, with glob match.
 
394
        xtensa*)
 
395
                basic_machine=$basic_machine-unknown
347
396
                ;;
348
397
        # Recognize the various machine names and aliases which stand
349
398
        # for a CPU type and a company and sometimes even an OS.
361
410
                basic_machine=a29k-amd
362
411
                os=-udi
363
412
                ;;
 
413
        abacus)
 
414
                basic_machine=abacus-unknown
 
415
                ;;
364
416
        adobe68k)
365
417
                basic_machine=m68010-adobe
366
418
                os=-scout
378
430
        amd64)
379
431
                basic_machine=x86_64-pc
380
432
                ;;
 
433
        amd64-*)
 
434
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
435
                ;;
381
436
        amdahl)
382
437
                basic_machine=580-amdahl
383
438
                os=-sysv
401
456
                basic_machine=m68k-apollo
402
457
                os=-bsd
403
458
                ;;
 
459
        aros)
 
460
                basic_machine=i386-pc
 
461
                os=-aros
 
462
                ;;
404
463
        aux)
405
464
                basic_machine=m68k-apple
406
465
                os=-aux
409
468
                basic_machine=ns32k-sequent
410
469
                os=-dynix
411
470
                ;;
 
471
        blackfin)
 
472
                basic_machine=bfin-unknown
 
473
                os=-linux
 
474
                ;;
 
475
        blackfin-*)
 
476
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
 
477
                os=-linux
 
478
                ;;
 
479
        bluegene*)
 
480
                basic_machine=powerpc-ibm
 
481
                os=-cnk
 
482
                ;;
412
483
        c90)
413
484
                basic_machine=c90-cray
414
485
                os=-unicos
415
486
                ;;
 
487
        cegcc)
 
488
                basic_machine=arm-unknown
 
489
                os=-cegcc
 
490
                ;;
416
491
        convex-c1)
417
492
                basic_machine=c1-convex
418
493
                os=-bsd
437
512
                basic_machine=j90-cray
438
513
                os=-unicos
439
514
                ;;
 
515
        craynv)
 
516
                basic_machine=craynv-cray
 
517
                os=-unicosmp
 
518
                ;;
 
519
        cr16)
 
520
                basic_machine=cr16-unknown
 
521
                os=-elf
 
522
                ;;
440
523
        crds | unos)
441
524
                basic_machine=m68k-crds
442
525
                ;;
 
526
        crisv32 | crisv32-* | etraxfs*)
 
527
                basic_machine=crisv32-axis
 
528
                ;;
443
529
        cris | cris-* | etrax*)
444
530
                basic_machine=cris-axis
445
531
                ;;
 
532
        crx)
 
533
                basic_machine=crx-unknown
 
534
                os=-elf
 
535
                ;;
446
536
        da30 | da30-*)
447
537
                basic_machine=m68k-da30
448
538
                ;;
465
555
                basic_machine=m88k-motorola
466
556
                os=-sysv3
467
557
                ;;
 
558
        dicos)
 
559
                basic_machine=i686-pc
 
560
                os=-dicos
 
561
                ;;
 
562
        djgpp)
 
563
                basic_machine=i586-pc
 
564
                os=-msdosdjgpp
 
565
                ;;
468
566
        dpx20 | dpx20-*)
469
567
                basic_machine=rs6000-bull
470
568
                os=-bosx
615
713
                basic_machine=m68k-isi
616
714
                os=-sysv
617
715
                ;;
 
716
        m68knommu)
 
717
                basic_machine=m68k-unknown
 
718
                os=-linux
 
719
                ;;
 
720
        m68knommu-*)
 
721
                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
 
722
                os=-linux
 
723
                ;;
618
724
        m88k-omron*)
619
725
                basic_machine=m88k-omron
620
726
                ;;
626
732
                basic_machine=ns32k-utek
627
733
                os=-sysv
628
734
                ;;
 
735
        microblaze)
 
736
                basic_machine=microblaze-xilinx
 
737
                ;;
629
738
        mingw32)
630
739
                basic_machine=i386-pc
631
740
                os=-mingw32
632
741
                ;;
 
742
        mingw32ce)
 
743
                basic_machine=arm-unknown
 
744
                os=-mingw32ce
 
745
                ;;
633
746
        miniframe)
634
747
                basic_machine=m68000-convergent
635
748
                ;;
643
756
        mips3*)
644
757
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
645
758
                ;;
646
 
        mmix*)
647
 
                basic_machine=mmix-knuth
648
 
                os=-mmixware
649
 
                ;;
650
759
        monitor)
651
760
                basic_machine=m68k-rom68k
652
761
                os=-coff
659
768
                basic_machine=i386-pc
660
769
                os=-msdos
661
770
                ;;
 
771
        ms1-*)
 
772
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
773
                ;;
662
774
        mvs)
663
775
                basic_machine=i370-ibm
664
776
                os=-mvs
727
839
        np1)
728
840
                basic_machine=np1-gould
729
841
                ;;
730
 
        nv1)
731
 
                basic_machine=nv1-cray
732
 
                os=-unicosmp
733
 
                ;;
734
842
        nsr-tandem)
735
843
                basic_machine=nsr-tandem
736
844
                ;;
738
846
                basic_machine=hppa1.1-oki
739
847
                os=-proelf
740
848
                ;;
741
 
        or32 | or32-*)
 
849
        openrisc | openrisc-*)
742
850
                basic_machine=or32-unknown
743
 
                os=-coff
 
851
                ;;
 
852
        os400)
 
853
                basic_machine=powerpc-ibm
 
854
                os=-os400
744
855
                ;;
745
856
        OSE68000 | ose68000)
746
857
                basic_machine=m68000-ericsson
758
869
                basic_machine=i860-intel
759
870
                os=-osf
760
871
                ;;
 
872
        parisc)
 
873
                basic_machine=hppa-unknown
 
874
                os=-linux
 
875
                ;;
 
876
        parisc-*)
 
877
                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
 
878
                os=-linux
 
879
                ;;
761
880
        pbd)
762
881
                basic_machine=sparc-tti
763
882
                ;;
767
886
        pc532 | pc532-*)
768
887
                basic_machine=ns32k-pc532
769
888
                ;;
 
889
        pc98)
 
890
                basic_machine=i386-pc
 
891
                ;;
 
892
        pc98-*)
 
893
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
 
894
                ;;
770
895
        pentium | p5 | k5 | k6 | nexgen | viac3)
771
896
                basic_machine=i586-pc
772
897
                ;;
823
948
                basic_machine=i586-unknown
824
949
                os=-pw32
825
950
                ;;
 
951
        rdos)
 
952
                basic_machine=i386-pc
 
953
                os=-rdos
 
954
                ;;
826
955
        rom68k)
827
956
                basic_machine=m68k-rom68k
828
957
                os=-coff
833
962
        rtpc | rtpc-*)
834
963
                basic_machine=romp-ibm
835
964
                ;;
 
965
        s390 | s390-*)
 
966
                basic_machine=s390-ibm
 
967
                ;;
 
968
        s390x | s390x-*)
 
969
                basic_machine=s390x-ibm
 
970
                ;;
836
971
        sa29200)
837
972
                basic_machine=a29k-amd
838
973
                os=-udi
843
978
        sb1el)
844
979
                basic_machine=mipsisa64sb1el-unknown
845
980
                ;;
 
981
        sde)
 
982
                basic_machine=mipsisa32-sde
 
983
                os=-elf
 
984
                ;;
846
985
        sei)
847
986
                basic_machine=mips-sei
848
987
                os=-seiux
854
993
                basic_machine=sh-hitachi
855
994
                os=-hms
856
995
                ;;
 
996
        sh5el)
 
997
                basic_machine=sh5le-unknown
 
998
                ;;
857
999
        sh64)
858
1000
                basic_machine=sh64-unknown
859
1001
                ;;
943
1085
                basic_machine=tic6x-unknown
944
1086
                os=-coff
945
1087
                ;;
 
1088
        tile*)
 
1089
                basic_machine=tile-unknown
 
1090
                os=-linux-gnu
 
1091
                ;;
946
1092
        tx39)
947
1093
                basic_machine=mipstx39-unknown
948
1094
                ;;
956
1102
        tower | tower-32)
957
1103
                basic_machine=m68k-ncr
958
1104
                ;;
 
1105
        tpf)
 
1106
                basic_machine=s390x-ibm
 
1107
                os=-tpf
 
1108
                ;;
959
1109
        udi29k)
960
1110
                basic_machine=a29k-amd
961
1111
                os=-udi
999
1149
                basic_machine=hppa1.1-winbond
1000
1150
                os=-proelf
1001
1151
                ;;
 
1152
        xbox)
 
1153
                basic_machine=i686-pc
 
1154
                os=-mingw32
 
1155
                ;;
1002
1156
        xps | xps100)
1003
1157
                basic_machine=xps100-honeywell
1004
1158
                ;;
1010
1164
                basic_machine=z8k-unknown
1011
1165
                os=-sim
1012
1166
                ;;
 
1167
        z80-*-coff)
 
1168
                basic_machine=z80-unknown
 
1169
                os=-sim
 
1170
                ;;
1013
1171
        none)
1014
1172
                basic_machine=none-none
1015
1173
                os=-none
1029
1187
        romp)
1030
1188
                basic_machine=romp-ibm
1031
1189
                ;;
 
1190
        mmix)
 
1191
                basic_machine=mmix-knuth
 
1192
                ;;
1032
1193
        rs6000)
1033
1194
                basic_machine=rs6000-ibm
1034
1195
                ;;
1045
1206
        we32k)
1046
1207
                basic_machine=we32k-att
1047
1208
                ;;
1048
 
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
1209
        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1049
1210
                basic_machine=sh-unknown
1050
1211
                ;;
1051
 
        sh64)
1052
 
                basic_machine=sh64-unknown
1053
 
                ;;
1054
 
        sparc | sparcv8 | sparcv9 | sparcv9b)
 
1212
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1055
1213
                basic_machine=sparc-sun
1056
1214
                ;;
1057
1215
        cydra)
1098
1256
        # First match some system type aliases
1099
1257
        # that might get confused with valid system types.
1100
1258
        # -solaris* is a basic system type, with this one exception.
 
1259
        -auroraux)
 
1260
                os=-auroraux
 
1261
                ;;
1101
1262
        -solaris1 | -solaris1.*)
1102
1263
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1103
1264
                ;;
1118
1279
        # Each alternative MUST END IN A *, to match a version number.
1119
1280
        # -sysv* is not here because it comes later, after sysvr4.
1120
1281
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1121
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1122
 
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 
1282
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 
1283
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1284
              | -sym* | -kopensolaris* \
1123
1285
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1124
 
              | -aos* \
 
1286
              | -aos* | -aros* \
1125
1287
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1126
1288
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1127
 
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1128
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1289
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
 
1290
              | -openbsd* | -solidbsd* \
 
1291
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1292
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1129
1293
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1130
1294
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1131
 
              | -chorusos* | -chorusrdb* \
 
1295
              | -chorusos* | -chorusrdb* | -cegcc* \
1132
1296
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1133
 
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1297
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1298
              | -uxpv* | -beos* | -mpeix* | -udk* \
1134
1299
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1135
1300
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1136
1301
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1137
1302
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1138
1303
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1139
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
 
1304
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1305
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1140
1306
        # Remember, each alternative MUST END IN *, to match a version number.
1141
1307
                ;;
1142
1308
        -qnx*)
1154
1320
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1155
1321
                ;;
1156
1322
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1157
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1323
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1158
1324
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1159
1325
                ;;
1160
1326
        -mac*)
1161
1327
                os=`echo $os | sed -e 's|mac|macos|'`
1162
1328
                ;;
 
1329
        -linux-dietlibc)
 
1330
                os=-linux-dietlibc
 
1331
                ;;
1163
1332
        -linux*)
1164
1333
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
1165
1334
                ;;
1172
1341
        -opened*)
1173
1342
                os=-openedition
1174
1343
                ;;
 
1344
        -os400*)
 
1345
                os=-os400
 
1346
                ;;
1175
1347
        -wince*)
1176
1348
                os=-wince
1177
1349
                ;;
1193
1365
        -atheos*)
1194
1366
                os=-atheos
1195
1367
                ;;
 
1368
        -syllable*)
 
1369
                os=-syllable
 
1370
                ;;
1196
1371
        -386bsd)
1197
1372
                os=-bsd
1198
1373
                ;;
1215
1390
        -sinix*)
1216
1391
                os=-sysv4
1217
1392
                ;;
 
1393
        -tpf*)
 
1394
                os=-tpf
 
1395
                ;;
1218
1396
        -triton*)
1219
1397
                os=-sysv3
1220
1398
                ;;
1251
1429
        -kaos*)
1252
1430
                os=-kaos
1253
1431
                ;;
 
1432
        -zvmoe)
 
1433
                os=-zvmoe
 
1434
                ;;
 
1435
        -dicos*)
 
1436
                os=-dicos
 
1437
                ;;
1254
1438
        -none)
1255
1439
                ;;
1256
1440
        *)
1273
1457
# system, and we'll never get to this point.
1274
1458
 
1275
1459
case $basic_machine in
 
1460
        score-*)
 
1461
                os=-elf
 
1462
                ;;
 
1463
        spu-*)
 
1464
                os=-elf
 
1465
                ;;
1276
1466
        *-acorn)
1277
1467
                os=-riscix1.2
1278
1468
                ;;
1282
1472
        arm*-semi)
1283
1473
                os=-aout
1284
1474
                ;;
1285
 
        c4x-* | tic4x-*)
1286
 
                os=-coff
 
1475
        c4x-* | tic4x-*)
 
1476
                os=-coff
1287
1477
                ;;
1288
1478
        # This must come before the *-dec entry.
1289
1479
        pdp10-*)
1310
1500
        m68*-cisco)
1311
1501
                os=-aout
1312
1502
                ;;
 
1503
        mep-*)
 
1504
                os=-elf
 
1505
                ;;
1313
1506
        mips*-cisco)
1314
1507
                os=-elf
1315
1508
                ;;
1328
1521
        *-be)
1329
1522
                os=-beos
1330
1523
                ;;
 
1524
        *-haiku)
 
1525
                os=-haiku
 
1526
                ;;
1331
1527
        *-ibm)
1332
1528
                os=-aix
1333
1529
                ;;
 
1530
        *-knuth)
 
1531
                os=-mmixware
 
1532
                ;;
1334
1533
        *-wec)
1335
1534
                os=-proelf
1336
1535
                ;;
1433
1632
                        -sunos*)
1434
1633
                                vendor=sun
1435
1634
                                ;;
1436
 
                        -aix*)
 
1635
                        -cnk*|-aix*)
1437
1636
                                vendor=ibm
1438
1637
                                ;;
1439
1638
                        -beos*)
1463
1662
                        -mvs* | -opened*)
1464
1663
                                vendor=ibm
1465
1664
                                ;;
 
1665
                        -os400*)
 
1666
                                vendor=ibm
 
1667
                                ;;
1466
1668
                        -ptx*)
1467
1669
                                vendor=sequent
1468
1670
                                ;;
 
1671
                        -tpf*)
 
1672
                                vendor=ibm
 
1673
                                ;;
1469
1674
                        -vxsim* | -vxworks* | -windiss*)
1470
1675
                                vendor=wrs
1471
1676
                                ;;
1490
1695
esac
1491
1696
 
1492
1697
echo $basic_machine$os
1493
 
exit 0
 
1698
exit
1494
1699
 
1495
1700
# Local variables:
1496
1701
# eval: (add-hook 'write-file-hooks 'time-stamp)