~ubuntu-branches/ubuntu/quantal/globus-gram-client/quantal

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2011-12-30 05:54:01 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20111230055401-uhxhcf7deul9ih59
Tags: 12.3-1
* Update to Globus Toolkit 5.2.0
* Dropped patch globus-gram-client-doxygen.patch (fixed upstream)
* Make doc package architecture independent

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, 2007, 2008
5
 
#   Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
6
5
 
7
 
timestamp='2008-01-16'
 
6
timestamp='2003-06-18'
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,
76
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
73
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
74
Free Software Foundation, Inc.
77
75
 
78
76
This is free software; see the source for copying conditions.  There is NO
79
77
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
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* | netbsd*-gnu* | storm-chaos* | os2-emx* | 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 \
 
231
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
246
232
        | c4x | clipper \
247
233
        | d10v | d30v | dlx | dsp16xx \
248
 
        | fido | fr30 | frv \
 
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 | mep \
 
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
248
        | mipsisa32r2 | mipsisa32r2el \
265
249
        | mipsisa64 | mipsisa64el \
266
 
        | mipsisa64r2 | mipsisa64r2el \
267
250
        | mipsisa64sb1 | mipsisa64sb1el \
268
251
        | mipsisa64sr71k | mipsisa64sr71kel \
269
252
        | mipstx39 | mipstx39el \
270
253
        | mn10200 | mn10300 \
271
 
        | mt \
272
254
        | msp430 \
273
 
        | nios | nios2 \
274
255
        | ns16k | ns32k \
275
 
        | or32 \
 
256
        | openrisc | or32 \
276
257
        | pdp10 | pdp11 | pj | pjl \
277
258
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
259
        | pyramid \
279
 
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
260
        | s390 | s390x \
 
261
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
281
262
        | sh64 | sh64le \
282
 
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
 
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284
 
        | spu | strongarm \
 
263
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
 
264
        | strongarm \
285
265
        | tahoe | thumb | tic4x | tic80 | tron \
286
266
        | v850 | v850e \
287
267
        | we32k \
288
 
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
268
        | x86 | xscale | xstormy16 | xtensa \
289
269
        | z8k)
290
270
                basic_machine=$basic_machine-unknown
291
271
                ;;
296
276
                ;;
297
277
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
298
278
                ;;
299
 
        ms1)
300
 
                basic_machine=mt-unknown
301
 
                ;;
302
279
 
303
280
        # We use `pc' rather than `unknown'
304
281
        # because (1) that's what they normally are, and
318
295
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
319
296
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
320
297
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
321
 
        | avr-* | avr32-* \
322
 
        | bfin-* | bs2000-* \
 
298
        | avr-* \
 
299
        | bs2000-* \
323
300
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
324
 
        | clipper-* | craynv-* | cydra-* \
 
301
        | clipper-* | cydra-* \
325
302
        | d10v-* | d30v-* | dlx-* \
326
303
        | elxsi-* \
327
 
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
 
304
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
328
305
        | h8300-* | h8500-* \
329
306
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
307
        | i*86-* | i860-* | i960-* | ia64-* \
331
 
        | ip2k-* | iq2000-* \
332
 
        | m32c-* | m32r-* | m32rle-* \
 
308
        | ip2k-* \
 
309
        | m32r-* \
333
310
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
311
        | m88110-* | m88k-* | mcore-* \
335
312
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
313
        | mips16-* \
337
314
        | mips64-* | mips64el-* \
340
317
        | mips64vr4100-* | mips64vr4100el-* \
341
318
        | mips64vr4300-* | mips64vr4300el-* \
342
319
        | mips64vr5000-* | mips64vr5000el-* \
343
 
        | mips64vr5900-* | mips64vr5900el-* \
344
320
        | mipsisa32-* | mipsisa32el-* \
345
321
        | mipsisa32r2-* | mipsisa32r2el-* \
346
322
        | mipsisa64-* | mipsisa64el-* \
347
 
        | mipsisa64r2-* | mipsisa64r2el-* \
348
323
        | mipsisa64sb1-* | mipsisa64sb1el-* \
349
324
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
350
325
        | mipstx39-* | mipstx39el-* \
351
 
        | mmix-* \
352
 
        | mt-* \
353
326
        | msp430-* \
354
 
        | nios-* | nios2-* \
355
 
        | none-* | np1-* | ns16k-* | ns32k-* \
 
327
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
356
328
        | orion-* \
357
329
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358
330
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
331
        | pyramid-* \
360
332
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
333
        | s390-* | s390x-* \
 
334
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
362
335
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
 
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364
 
        | sparclite-* \
365
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
 
336
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
 
337
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
366
338
        | tahoe-* | thumb-* \
367
339
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
368
340
        | tron-* \
369
341
        | v850-* | v850e-* | vax-* \
370
342
        | we32k-* \
371
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372
 
        | xstormy16-* | xtensa*-* \
 
343
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
 
344
        | xtensa-* \
373
345
        | ymp-* \
374
346
        | z8k-*)
375
347
                ;;
376
 
        # Recognize the basic CPU types without company name, with glob match.
377
 
        xtensa*)
378
 
                basic_machine=$basic_machine-unknown
379
 
                ;;
380
348
        # Recognize the various machine names and aliases which stand
381
349
        # for a CPU type and a company and sometimes even an OS.
382
350
        386bsd)
393
361
                basic_machine=a29k-amd
394
362
                os=-udi
395
363
                ;;
396
 
        abacus)
397
 
                basic_machine=abacus-unknown
398
 
                ;;
399
364
        adobe68k)
400
365
                basic_machine=m68010-adobe
401
366
                os=-scout
413
378
        amd64)
414
379
                basic_machine=x86_64-pc
415
380
                ;;
416
 
        amd64-*)
417
 
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
418
 
                ;;
419
381
        amdahl)
420
382
                basic_machine=580-amdahl
421
383
                os=-sysv
447
409
                basic_machine=ns32k-sequent
448
410
                os=-dynix
449
411
                ;;
450
 
        blackfin)
451
 
                basic_machine=bfin-unknown
452
 
                os=-linux
453
 
                ;;
454
 
        blackfin-*)
455
 
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
456
 
                os=-linux
457
 
                ;;
458
412
        c90)
459
413
                basic_machine=c90-cray
460
414
                os=-unicos
483
437
                basic_machine=j90-cray
484
438
                os=-unicos
485
439
                ;;
486
 
        craynv)
487
 
                basic_machine=craynv-cray
488
 
                os=-unicosmp
489
 
                ;;
490
 
        cr16)
491
 
                basic_machine=cr16-unknown
492
 
                os=-elf
493
 
                ;;
494
440
        crds | unos)
495
441
                basic_machine=m68k-crds
496
442
                ;;
497
 
        crisv32 | crisv32-* | etraxfs*)
498
 
                basic_machine=crisv32-axis
499
 
                ;;
500
443
        cris | cris-* | etrax*)
501
444
                basic_machine=cris-axis
502
445
                ;;
503
 
        crx)
504
 
                basic_machine=crx-unknown
505
 
                os=-elf
506
 
                ;;
507
446
        da30 | da30-*)
508
447
                basic_machine=m68k-da30
509
448
                ;;
526
465
                basic_machine=m88k-motorola
527
466
                os=-sysv3
528
467
                ;;
529
 
        djgpp)
530
 
                basic_machine=i586-pc
531
 
                os=-msdosdjgpp
532
 
                ;;
533
468
        dpx20 | dpx20-*)
534
469
                basic_machine=rs6000-bull
535
470
                os=-bosx
680
615
                basic_machine=m68k-isi
681
616
                os=-sysv
682
617
                ;;
683
 
        m68knommu)
684
 
                basic_machine=m68k-unknown
685
 
                os=-linux
686
 
                ;;
687
 
        m68knommu-*)
688
 
                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
689
 
                os=-linux
690
 
                ;;
691
618
        m88k-omron*)
692
619
                basic_machine=m88k-omron
693
620
                ;;
703
630
                basic_machine=i386-pc
704
631
                os=-mingw32
705
632
                ;;
706
 
        mingw32ce)
707
 
                basic_machine=arm-unknown
708
 
                os=-mingw32ce
709
 
                ;;
710
633
        miniframe)
711
634
                basic_machine=m68000-convergent
712
635
                ;;
720
643
        mips3*)
721
644
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
722
645
                ;;
 
646
        mmix*)
 
647
                basic_machine=mmix-knuth
 
648
                os=-mmixware
 
649
                ;;
723
650
        monitor)
724
651
                basic_machine=m68k-rom68k
725
652
                os=-coff
732
659
                basic_machine=i386-pc
733
660
                os=-msdos
734
661
                ;;
735
 
        ms1-*)
736
 
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
737
 
                ;;
738
662
        mvs)
739
663
                basic_machine=i370-ibm
740
664
                os=-mvs
803
727
        np1)
804
728
                basic_machine=np1-gould
805
729
                ;;
 
730
        nv1)
 
731
                basic_machine=nv1-cray
 
732
                os=-unicosmp
 
733
                ;;
806
734
        nsr-tandem)
807
735
                basic_machine=nsr-tandem
808
736
                ;;
810
738
                basic_machine=hppa1.1-oki
811
739
                os=-proelf
812
740
                ;;
813
 
        openrisc | openrisc-*)
 
741
        or32 | or32-*)
814
742
                basic_machine=or32-unknown
815
 
                ;;
816
 
        os400)
817
 
                basic_machine=powerpc-ibm
818
 
                os=-os400
 
743
                os=-coff
819
744
                ;;
820
745
        OSE68000 | ose68000)
821
746
                basic_machine=m68000-ericsson
833
758
                basic_machine=i860-intel
834
759
                os=-osf
835
760
                ;;
836
 
        parisc)
837
 
                basic_machine=hppa-unknown
838
 
                os=-linux
839
 
                ;;
840
 
        parisc-*)
841
 
                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
842
 
                os=-linux
843
 
                ;;
844
761
        pbd)
845
762
                basic_machine=sparc-tti
846
763
                ;;
850
767
        pc532 | pc532-*)
851
768
                basic_machine=ns32k-pc532
852
769
                ;;
853
 
        pc98)
854
 
                basic_machine=i386-pc
855
 
                ;;
856
 
        pc98-*)
857
 
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
858
 
                ;;
859
770
        pentium | p5 | k5 | k6 | nexgen | viac3)
860
771
                basic_machine=i586-pc
861
772
                ;;
912
823
                basic_machine=i586-unknown
913
824
                os=-pw32
914
825
                ;;
915
 
        rdos)
916
 
                basic_machine=i386-pc
917
 
                os=-rdos
918
 
                ;;
919
826
        rom68k)
920
827
                basic_machine=m68k-rom68k
921
828
                os=-coff
926
833
        rtpc | rtpc-*)
927
834
                basic_machine=romp-ibm
928
835
                ;;
929
 
        s390 | s390-*)
930
 
                basic_machine=s390-ibm
931
 
                ;;
932
 
        s390x | s390x-*)
933
 
                basic_machine=s390x-ibm
934
 
                ;;
935
836
        sa29200)
936
837
                basic_machine=a29k-amd
937
838
                os=-udi
942
843
        sb1el)
943
844
                basic_machine=mipsisa64sb1el-unknown
944
845
                ;;
945
 
        sde)
946
 
                basic_machine=mipsisa32-sde
947
 
                os=-elf
948
 
                ;;
949
846
        sei)
950
847
                basic_machine=mips-sei
951
848
                os=-seiux
957
854
                basic_machine=sh-hitachi
958
855
                os=-hms
959
856
                ;;
960
 
        sh5el)
961
 
                basic_machine=sh5le-unknown
962
 
                ;;
963
857
        sh64)
964
858
                basic_machine=sh64-unknown
965
859
                ;;
1049
943
                basic_machine=tic6x-unknown
1050
944
                os=-coff
1051
945
                ;;
1052
 
        tile*)
1053
 
                basic_machine=tile-unknown
1054
 
                os=-linux-gnu
1055
 
                ;;
1056
946
        tx39)
1057
947
                basic_machine=mipstx39-unknown
1058
948
                ;;
1066
956
        tower | tower-32)
1067
957
                basic_machine=m68k-ncr
1068
958
                ;;
1069
 
        tpf)
1070
 
                basic_machine=s390x-ibm
1071
 
                os=-tpf
1072
 
                ;;
1073
959
        udi29k)
1074
960
                basic_machine=a29k-amd
1075
961
                os=-udi
1113
999
                basic_machine=hppa1.1-winbond
1114
1000
                os=-proelf
1115
1001
                ;;
1116
 
        xbox)
1117
 
                basic_machine=i686-pc
1118
 
                os=-mingw32
1119
 
                ;;
1120
1002
        xps | xps100)
1121
1003
                basic_machine=xps100-honeywell
1122
1004
                ;;
1147
1029
        romp)
1148
1030
                basic_machine=romp-ibm
1149
1031
                ;;
1150
 
        mmix)
1151
 
                basic_machine=mmix-knuth
1152
 
                ;;
1153
1032
        rs6000)
1154
1033
                basic_machine=rs6000-ibm
1155
1034
                ;;
1166
1045
        we32k)
1167
1046
                basic_machine=we32k-att
1168
1047
                ;;
1169
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1048
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1170
1049
                basic_machine=sh-unknown
1171
1050
                ;;
1172
 
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
 
1051
        sh64)
 
1052
                basic_machine=sh64-unknown
 
1053
                ;;
 
1054
        sparc | sparcv8 | sparcv9 | sparcv9b)
1173
1055
                basic_machine=sparc-sun
1174
1056
                ;;
1175
1057
        cydra)
1242
1124
              | -aos* \
1243
1125
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1244
1126
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1245
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1246
 
              | -openbsd* | -solidbsd* \
1247
 
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1248
 
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1127
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
 
1128
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1249
1129
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1250
1130
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1251
1131
              | -chorusos* | -chorusrdb* \
1252
1132
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1253
 
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1254
 
              | -uxpv* | -beos* | -mpeix* | -udk* \
 
1133
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1255
1134
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1256
1135
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1257
1136
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1258
1137
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1259
1138
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1260
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1261
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
1139
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
1262
1140
        # Remember, each alternative MUST END IN *, to match a version number.
1263
1141
                ;;
1264
1142
        -qnx*)
1276
1154
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1277
1155
                ;;
1278
1156
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1279
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
 
1157
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1280
1158
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1281
1159
                ;;
1282
1160
        -mac*)
1283
1161
                os=`echo $os | sed -e 's|mac|macos|'`
1284
1162
                ;;
1285
 
        -linux-dietlibc)
1286
 
                os=-linux-dietlibc
1287
 
                ;;
1288
1163
        -linux*)
1289
1164
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
1290
1165
                ;;
1297
1172
        -opened*)
1298
1173
                os=-openedition
1299
1174
                ;;
1300
 
        -os400*)
1301
 
                os=-os400
1302
 
                ;;
1303
1175
        -wince*)
1304
1176
                os=-wince
1305
1177
                ;;
1321
1193
        -atheos*)
1322
1194
                os=-atheos
1323
1195
                ;;
1324
 
        -syllable*)
1325
 
                os=-syllable
1326
 
                ;;
1327
1196
        -386bsd)
1328
1197
                os=-bsd
1329
1198
                ;;
1346
1215
        -sinix*)
1347
1216
                os=-sysv4
1348
1217
                ;;
1349
 
        -tpf*)
1350
 
                os=-tpf
1351
 
                ;;
1352
1218
        -triton*)
1353
1219
                os=-sysv3
1354
1220
                ;;
1385
1251
        -kaos*)
1386
1252
                os=-kaos
1387
1253
                ;;
1388
 
        -zvmoe)
1389
 
                os=-zvmoe
1390
 
                ;;
1391
1254
        -none)
1392
1255
                ;;
1393
1256
        *)
1410
1273
# system, and we'll never get to this point.
1411
1274
 
1412
1275
case $basic_machine in
1413
 
        score-*)
1414
 
                os=-elf
1415
 
                ;;
1416
 
        spu-*)
1417
 
                os=-elf
1418
 
                ;;
1419
1276
        *-acorn)
1420
1277
                os=-riscix1.2
1421
1278
                ;;
1425
1282
        arm*-semi)
1426
1283
                os=-aout
1427
1284
                ;;
1428
 
        c4x-* | tic4x-*)
1429
 
                os=-coff
 
1285
        c4x-* | tic4x-*)
 
1286
                os=-coff
1430
1287
                ;;
1431
1288
        # This must come before the *-dec entry.
1432
1289
        pdp10-*)
1453
1310
        m68*-cisco)
1454
1311
                os=-aout
1455
1312
                ;;
1456
 
        mep-*)
1457
 
                os=-elf
1458
 
                ;;
1459
1313
        mips*-cisco)
1460
1314
                os=-elf
1461
1315
                ;;
1474
1328
        *-be)
1475
1329
                os=-beos
1476
1330
                ;;
1477
 
        *-haiku)
1478
 
                os=-haiku
1479
 
                ;;
1480
1331
        *-ibm)
1481
1332
                os=-aix
1482
1333
                ;;
1483
 
        *-knuth)
1484
 
                os=-mmixware
1485
 
                ;;
1486
1334
        *-wec)
1487
1335
                os=-proelf
1488
1336
                ;;
1615
1463
                        -mvs* | -opened*)
1616
1464
                                vendor=ibm
1617
1465
                                ;;
1618
 
                        -os400*)
1619
 
                                vendor=ibm
1620
 
                                ;;
1621
1466
                        -ptx*)
1622
1467
                                vendor=sequent
1623
1468
                                ;;
1624
 
                        -tpf*)
1625
 
                                vendor=ibm
1626
 
                                ;;
1627
1469
                        -vxsim* | -vxworks* | -windiss*)
1628
1470
                                vendor=wrs
1629
1471
                                ;;
1648
1490
esac
1649
1491
 
1650
1492
echo $basic_machine$os
1651
 
exit
 
1493
exit 0
1652
1494
 
1653
1495
# Local variables:
1654
1496
# eval: (add-hook 'write-file-hooks 'time-stamp)