~ubuntu-branches/ubuntu/trusty/vice/trusty-proposed

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Gerfried Fuchs
  • Date: 2008-10-16 20:28:53 UTC
  • mfrom: (1.2.1 upstream) (9.1.6 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081016202853-vo9c1g9pd15wl7zu
Tags: 1.22.dfsg1-0.1
* NMU to fix release-critical bugs.
* Add data/PRINTER/mps803 to mangle-source.sh check, it's not a multiple of
  2048. Also fix the bashism in the script by replacing $[ ] with $(( )) in
  the calculation part.
* Mangled the source with above fixed script (closes: #442924, #501143)
* do delete -size 6c files and not -empty, they contain "dummy\n"
* Remove README.Debian entry about Xaw3d and Gnome because it's not valid
  anymore (closes: #501135)
* Remove the following Build-Depends as they aren't used because of no xaw3d
  build: xaw3dg-dev, libxaw7-dev

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2002-11-30'
 
6
timestamp='2005-07-08'
7
7
 
8
8
# This file is (in principle) common to ALL GNU software.
9
9
# The presence of a machine in this file suggests that SOME GNU software
21
21
#
22
22
# You should have received a copy of the GNU General Public License
23
23
# 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
 
 
 
24
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
25
# 02110-1301, USA.
 
26
#
27
27
# As a special exception to the GNU General Public License, if you
28
28
# distribute this file as part of a program that contains a
29
29
# configuration script generated by Autoconf, you may include it under
30
30
# the same distribution terms that you use for the rest of that program.
31
31
 
 
32
 
32
33
# Please send patches to <config-patches@gnu.org>.  Submit a context
33
34
# diff and a properly formatted ChangeLog entry.
34
35
#
70
71
version="\
71
72
GNU config.sub ($timestamp)
72
73
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
74
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
74
75
Free Software Foundation, Inc.
75
76
 
76
77
This is free software; see the source for copying conditions.  There is NO
83
84
while test $# -gt 0 ; do
84
85
  case $1 in
85
86
    --time-stamp | --time* | -t )
86
 
       echo "$timestamp" ; exit 0 ;;
 
87
       echo "$timestamp" ; exit ;;
87
88
    --version | -v )
88
 
       echo "$version" ; exit 0 ;;
 
89
       echo "$version" ; exit ;;
89
90
    --help | --h* | -h )
90
 
       echo "$usage"; exit 0 ;;
 
91
       echo "$usage"; exit ;;
91
92
    -- )     # Stop option processing
92
93
       shift; break ;;
93
94
    - ) # Use stdin as input.
99
100
    *local*)
100
101
       # First pass through any local machine types.
101
102
       echo $1
102
 
       exit 0;;
 
103
       exit ;;
103
104
 
104
105
    * )
105
106
       break ;;
118
119
# Here we must recognize all the valid KERNEL-OS combinations.
119
120
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
121
case $maybe_os in
121
 
  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
 
122
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
 
123
  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122
124
    os=-$maybe_os
123
125
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124
126
    ;;
144
146
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145
147
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146
148
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147
 
        -apple | -axis)
 
149
        -apple | -axis | -knuth | -cray)
148
150
                os=
149
151
                basic_machine=$1
150
152
                ;;
228
230
        | a29k \
229
231
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230
232
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 
233
        | am33_2.0 \
231
234
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
232
 
        | clipper \
 
235
        | bfin \
 
236
        | c4x | clipper \
233
237
        | d10v | d30v | dlx | dsp16xx \
234
238
        | fr30 | frv \
235
239
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236
240
        | i370 | i860 | i960 | ia64 \
237
 
        | ip2k \
238
 
        | m32r | m68000 | m68k | m88k | mcore \
 
241
        | ip2k | iq2000 \
 
242
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
239
243
        | mips | mipsbe | mipseb | mipsel | mipsle \
240
244
        | mips16 \
241
245
        | mips64 | mips64el \
244
248
        | mips64vr4100 | mips64vr4100el \
245
249
        | mips64vr4300 | mips64vr4300el \
246
250
        | mips64vr5000 | mips64vr5000el \
 
251
        | mips64vr5900 | mips64vr5900el \
247
252
        | mipsisa32 | mipsisa32el \
 
253
        | mipsisa32r2 | mipsisa32r2el \
248
254
        | mipsisa64 | mipsisa64el \
 
255
        | mipsisa64r2 | mipsisa64r2el \
249
256
        | mipsisa64sb1 | mipsisa64sb1el \
250
257
        | mipsisa64sr71k | mipsisa64sr71kel \
251
258
        | mipstx39 | mipstx39el \
252
259
        | mn10200 | mn10300 \
 
260
        | ms1 \
 
261
        | msp430 \
253
262
        | ns16k | ns32k \
254
 
        | openrisc | or32 \
 
263
        | or32 \
255
264
        | pdp10 | pdp11 | pj | pjl \
256
265
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
257
266
        | pyramid \
258
 
        | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
267
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
259
268
        | sh64 | sh64le \
260
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
269
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
270
        | sparcv8 | sparcv9 | sparcv9b \
261
271
        | strongarm \
262
 
        | tahoe | thumb | tic80 | tron \
 
272
        | tahoe | thumb | tic4x | tic80 | tron \
263
273
        | v850 | v850e \
264
274
        | we32k \
265
 
        | x86 | xscale | xstormy16 | xtensa \
 
275
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
266
276
        | z8k)
267
277
                basic_machine=$basic_machine-unknown
268
278
                ;;
 
279
        m32c)
 
280
                basic_machine=$basic_machine-unknown
 
281
                ;;
269
282
        m6811 | m68hc11 | m6812 | m68hc12)
270
283
                # Motorola 68HC11/12.
271
284
                basic_machine=$basic_machine-unknown
293
306
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
294
307
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
295
308
        | avr-* \
296
 
        | bs2000-* \
297
 
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
298
 
        | clipper-* | cydra-* \
 
309
        | bfin-* | bs2000-* \
 
310
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
311
        | clipper-* | craynv-* | cydra-* \
299
312
        | d10v-* | d30v-* | dlx-* \
300
313
        | elxsi-* \
301
314
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
302
315
        | h8300-* | h8500-* \
303
316
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
304
317
        | i*86-* | i860-* | i960-* | ia64-* \
305
 
        | ip2k-* \
306
 
        | m32r-* \
 
318
        | ip2k-* | iq2000-* \
 
319
        | m32r-* | m32rle-* \
307
320
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
308
 
        | m88110-* | m88k-* | mcore-* \
 
321
        | m88110-* | m88k-* | maxq-* | mcore-* \
309
322
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
310
323
        | mips16-* \
311
324
        | mips64-* | mips64el-* \
314
327
        | mips64vr4100-* | mips64vr4100el-* \
315
328
        | mips64vr4300-* | mips64vr4300el-* \
316
329
        | mips64vr5000-* | mips64vr5000el-* \
 
330
        | mips64vr5900-* | mips64vr5900el-* \
317
331
        | mipsisa32-* | mipsisa32el-* \
 
332
        | mipsisa32r2-* | mipsisa32r2el-* \
318
333
        | mipsisa64-* | mipsisa64el-* \
 
334
        | mipsisa64r2-* | mipsisa64r2el-* \
319
335
        | mipsisa64sb1-* | mipsisa64sb1el-* \
320
336
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
321
 
        | mipstx39 | mipstx39el \
 
337
        | mipstx39-* | mipstx39el-* \
 
338
        | mmix-* \
 
339
        | ms1-* \
 
340
        | msp430-* \
322
341
        | none-* | np1-* | ns16k-* | ns32k-* \
323
342
        | orion-* \
324
343
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
325
344
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
326
345
        | pyramid-* \
327
346
        | romp-* | rs6000-* \
328
 
        | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
 
347
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
329
348
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
330
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
331
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
332
 
        | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
 
349
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
350
        | sparclite-* \
 
351
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
352
        | tahoe-* | thumb-* \
 
353
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
354
        | tron-* \
333
355
        | v850-* | v850e-* | vax-* \
334
356
        | we32k-* \
335
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
336
 
        | xtensa-* \
 
357
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
358
        | xstormy16-* | xtensa-* \
337
359
        | ymp-* \
338
360
        | z8k-*)
339
361
                ;;
 
362
        m32c-*)
 
363
                ;;
340
364
        # Recognize the various machine names and aliases which stand
341
365
        # for a CPU type and a company and sometimes even an OS.
342
366
        386bsd)
353
377
                basic_machine=a29k-amd
354
378
                os=-udi
355
379
                ;;
 
380
        abacus)
 
381
                basic_machine=abacus-unknown
 
382
                ;;
356
383
        adobe68k)
357
384
                basic_machine=m68010-adobe
358
385
                os=-scout
367
394
                basic_machine=a29k-none
368
395
                os=-bsd
369
396
                ;;
 
397
        amd64)
 
398
                basic_machine=x86_64-pc
 
399
                ;;
 
400
        amd64-*)
 
401
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
402
                ;;
370
403
        amdahl)
371
404
                basic_machine=580-amdahl
372
405
                os=-sysv
426
459
                basic_machine=j90-cray
427
460
                os=-unicos
428
461
                ;;
 
462
        craynv)
 
463
                basic_machine=craynv-cray
 
464
                os=-unicosmp
 
465
                ;;
 
466
        cr16c)
 
467
                basic_machine=cr16c-unknown
 
468
                os=-elf
 
469
                ;;
429
470
        crds | unos)
430
471
                basic_machine=m68k-crds
431
472
                ;;
 
473
        crisv32 | crisv32-* | etraxfs*)
 
474
                basic_machine=crisv32-axis
 
475
                ;;
432
476
        cris | cris-* | etrax*)
433
477
                basic_machine=cris-axis
434
478
                ;;
 
479
        crx)
 
480
                basic_machine=crx-unknown
 
481
                os=-elf
 
482
                ;;
435
483
        da30 | da30-*)
436
484
                basic_machine=m68k-da30
437
485
                ;;
454
502
                basic_machine=m88k-motorola
455
503
                os=-sysv3
456
504
                ;;
 
505
        djgpp)
 
506
                basic_machine=i586-pc
 
507
                os=-msdosdjgpp
 
508
                ;;
457
509
        dpx20 | dpx20-*)
458
510
                basic_machine=rs6000-bull
459
511
                os=-bosx
632
684
        mips3*)
633
685
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
634
686
                ;;
635
 
        mmix*)
636
 
                basic_machine=mmix-knuth
637
 
                os=-mmixware
638
 
                ;;
639
687
        monitor)
640
688
                basic_machine=m68k-rom68k
641
689
                os=-coff
723
771
                basic_machine=hppa1.1-oki
724
772
                os=-proelf
725
773
                ;;
726
 
        or32 | or32-*)
 
774
        openrisc | openrisc-*)
727
775
                basic_machine=or32-unknown
728
 
                os=-coff
 
776
                ;;
 
777
        os400)
 
778
                basic_machine=powerpc-ibm
 
779
                os=-os400
729
780
                ;;
730
781
        OSE68000 | ose68000)
731
782
                basic_machine=m68000-ericsson
758
809
        pentiumpro | p6 | 6x86 | athlon | athlon_*)
759
810
                basic_machine=i686-pc
760
811
                ;;
761
 
        pentiumii | pentium2)
 
812
        pentiumii | pentium2 | pentiumiii | pentium3)
762
813
                basic_machine=i686-pc
763
814
                ;;
 
815
        pentium4)
 
816
                basic_machine=i786-pc
 
817
                ;;
764
818
        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
765
819
                basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
766
820
                ;;
767
821
        pentiumpro-* | p6-* | 6x86-* | athlon-*)
768
822
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
769
823
                ;;
770
 
        pentiumii-* | pentium2-*)
 
824
        pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
771
825
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
772
826
                ;;
 
827
        pentium4-*)
 
828
                basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
 
829
                ;;
773
830
        pn)
774
831
                basic_machine=pn-gould
775
832
                ;;
776
833
        power)  basic_machine=power-ibm
777
834
                ;;
 
835
        powerup)
 
836
                basic_machine=powerpc-unknown
 
837
                os=-powerup
 
838
                ;;
778
839
        ppc)    basic_machine=powerpc-unknown
779
840
                ;;
780
841
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
828
889
        sb1el)
829
890
                basic_machine=mipsisa64sb1el-unknown
830
891
                ;;
 
892
        sei)
 
893
                basic_machine=mips-sei
 
894
                os=-seiux
 
895
                ;;
831
896
        sequent)
832
897
                basic_machine=i386-sequent
833
898
                ;;
835
900
                basic_machine=sh-hitachi
836
901
                os=-hms
837
902
                ;;
 
903
        sh64)
 
904
                basic_machine=sh64-unknown
 
905
                ;;
838
906
        sparclite-wrs | simso-wrs)
839
907
                basic_machine=sparclite-wrs
840
908
                os=-vxworks
901
969
                basic_machine=i386-sequent
902
970
                os=-dynix
903
971
                ;;
904
 
        t3d)
905
 
                basic_machine=alpha-cray
906
 
                os=-unicos
907
 
                ;;
908
972
        t3e)
909
973
                basic_machine=alphaev5-cray
910
974
                os=-unicos
913
977
                basic_machine=t90-cray
914
978
                os=-unicos
915
979
                ;;
916
 
        tic4x | c4x*)
917
 
                basic_machine=tic4x-unknown
918
 
                os=-coff
919
 
                ;;
920
980
        tic54x | c54x*)
921
981
                basic_machine=tic54x-unknown
922
982
                os=-coff
923
983
                ;;
 
984
        tic55x | c55x*)
 
985
                basic_machine=tic55x-unknown
 
986
                os=-coff
 
987
                ;;
 
988
        tic6x | c6x*)
 
989
                basic_machine=tic6x-unknown
 
990
                os=-coff
 
991
                ;;
924
992
        tx39)
925
993
                basic_machine=mipstx39-unknown
926
994
                ;;
934
1002
        tower | tower-32)
935
1003
                basic_machine=m68k-ncr
936
1004
                ;;
 
1005
        tpf)
 
1006
                basic_machine=s390x-ibm
 
1007
                os=-tpf
 
1008
                ;;
937
1009
        udi29k)
938
1010
                basic_machine=a29k-amd
939
1011
                os=-udi
977
1049
                basic_machine=hppa1.1-winbond
978
1050
                os=-proelf
979
1051
                ;;
 
1052
        warpos)
 
1053
                basic_machine=powerpc-unknown
 
1054
                os=-warpos
 
1055
                ;;
 
1056
        xbox)
 
1057
                basic_machine=i686-pc
 
1058
                os=-mingw32
 
1059
                ;;
980
1060
        xps | xps100)
981
1061
                basic_machine=xps100-honeywell
982
1062
                ;;
1007
1087
        romp)
1008
1088
                basic_machine=romp-ibm
1009
1089
                ;;
 
1090
        mmix)
 
1091
                basic_machine=mmix-knuth
 
1092
                ;;
1010
1093
        rs6000)
1011
1094
                basic_machine=rs6000-ibm
1012
1095
                ;;
1023
1106
        we32k)
1024
1107
                basic_machine=we32k-att
1025
1108
                ;;
1026
 
        sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
 
1109
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1027
1110
                basic_machine=sh-unknown
1028
1111
                ;;
1029
 
        sh64)
1030
 
                basic_machine=sh64-unknown
1031
 
                ;;
1032
 
        sparc | sparcv9 | sparcv9b)
 
1112
        sparc | sparcv8 | sparcv9 | sparcv9b)
1033
1113
                basic_machine=sparc-sun
1034
1114
                ;;
1035
1115
        cydra)
1099
1179
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1100
1180
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1101
1181
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1102
 
              | -aos* \
 
1182
              | -aos* | -warpos* | -powerup* \
1103
1183
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1104
1184
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1105
 
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1106
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1185
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1186
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1187
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1107
1188
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1108
1189
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1109
1190
              | -chorusos* | -chorusrdb* \
1110
1191
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1111
 
              | -mingw32* | -linux* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1192
              | -mingw32* | -linux* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1112
1193
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1113
1194
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1114
1195
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1115
1196
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1116
1197
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1117
 
              | -powermax* | -dnix*)
 
1198
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1199
              | -skyos* | -haiku*)
1118
1200
        # Remember, each alternative MUST END IN *, to match a version number.
1119
1201
                ;;
1120
1202
        -qnx*)
1132
1214
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1133
1215
                ;;
1134
1216
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1135
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1217
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1136
1218
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1137
1219
                ;;
1138
1220
        -mac*)
1139
1221
                os=`echo $os | sed -e 's|mac|macos|'`
1140
1222
                ;;
 
1223
        -linux-dietlibc)
 
1224
                os=-linux-dietlibc
 
1225
                ;;
1141
1226
        -sunos5*)
1142
1227
                os=`echo $os | sed -e 's|sunos5|solaris2|'`
1143
1228
                ;;
1147
1232
        -opened*)
1148
1233
                os=-openedition
1149
1234
                ;;
 
1235
        -os400*)
 
1236
                os=-os400
 
1237
                ;;
1150
1238
        -wince*)
1151
1239
                os=-wince
1152
1240
                ;;
1168
1256
        -atheos*)
1169
1257
                os=-atheos
1170
1258
                ;;
 
1259
        -syllable*)
 
1260
                os=-syllable
 
1261
                ;;
1171
1262
        -386bsd)
1172
1263
                os=-bsd
1173
1264
                ;;
1190
1281
        -sinix*)
1191
1282
                os=-sysv4
1192
1283
                ;;
 
1284
        -tpf*)
 
1285
                os=-tpf
 
1286
                ;;
1193
1287
        -triton*)
1194
1288
                os=-sysv3
1195
1289
                ;;
1220
1314
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1221
1315
                os=-mint
1222
1316
                ;;
 
1317
        -aros*)
 
1318
                os=-aros
 
1319
                ;;
 
1320
        -kaos*)
 
1321
                os=-kaos
 
1322
                ;;
 
1323
        -zvmoe)
 
1324
                os=-zvmoe
 
1325
                ;;
1223
1326
        -none)
1224
1327
                ;;
1225
1328
        *)
1251
1354
        arm*-semi)
1252
1355
                os=-aout
1253
1356
                ;;
 
1357
    c4x-* | tic4x-*)
 
1358
        os=-coff
 
1359
        ;;
1254
1360
        # This must come before the *-dec entry.
1255
1361
        pdp10-*)
1256
1362
                os=-tops20
1294
1400
        *-be)
1295
1401
                os=-beos
1296
1402
                ;;
 
1403
        *-haiku)
 
1404
                os=-haiku
 
1405
                ;;
1297
1406
        *-ibm)
1298
1407
                os=-aix
1299
1408
                ;;
 
1409
        *-knuth)
 
1410
                os=-mmixware
 
1411
                ;;
1300
1412
        *-wec)
1301
1413
                os=-proelf
1302
1414
                ;;
1429
1541
                        -mvs* | -opened*)
1430
1542
                                vendor=ibm
1431
1543
                                ;;
 
1544
                        -os400*)
 
1545
                                vendor=ibm
 
1546
                                ;;
1432
1547
                        -ptx*)
1433
1548
                                vendor=sequent
1434
1549
                                ;;
 
1550
                        -tpf*)
 
1551
                                vendor=ibm
 
1552
                                ;;
1435
1553
                        -vxsim* | -vxworks* | -windiss*)
1436
1554
                                vendor=wrs
1437
1555
                                ;;
1456
1574
esac
1457
1575
 
1458
1576
echo $basic_machine$os
1459
 
exit 0
 
1577
exit
1460
1578
 
1461
1579
# Local variables:
1462
1580
# eval: (add-hook 'write-file-hooks 'time-stamp)