~ubuntu-branches/ubuntu/oneiric/dejagnu/oneiric

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2006-12-11 09:06:59 UTC
  • mfrom: (2.1.6 edgy)
  • Revision ID: james.westby@ubuntu.com-20061211090659-w586kgi3giz84053
Tags: 1.4.4.cvs20060709-3
* Acknowledge previous NMUs.
* Fix permissions on /usr/share/dejagnu when building without fakeroot
  (Closes: #392589, #379809).

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-05-13'
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/'`
230
242
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
231
243
        | am33_2.0 \
232
244
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
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
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
262
280
        | sh64 | sh64le \
263
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
264
 
        | strongarm \
 
281
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 
282
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 
283
        | spu | strongarm \
265
284
        | tahoe | thumb | tic4x | tic80 | tron \
266
285
        | v850 | v850e \
267
286
        | we32k \
268
 
        | x86 | xscale | xstormy16 | xtensa \
 
287
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
269
288
        | z8k)
270
289
                basic_machine=$basic_machine-unknown
271
290
                ;;
276
295
                ;;
277
296
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
278
297
                ;;
 
298
        ms1)
 
299
                basic_machine=mt-unknown
 
300
                ;;
279
301
 
280
302
        # We use `pc' rather than `unknown'
281
303
        # because (1) that's what they normally are, and
296
318
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
297
319
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
298
320
        | avr-* \
299
 
        | bs2000-* \
 
321
        | bfin-* | bs2000-* \
300
322
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
301
 
        | clipper-* | cydra-* \
 
323
        | clipper-* | craynv-* | cydra-* \
302
324
        | d10v-* | d30v-* | dlx-* \
303
325
        | elxsi-* \
304
326
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
306
328
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
307
329
        | i*86-* | i860-* | i960-* | ia64-* \
308
330
        | ip2k-* | iq2000-* \
309
 
        | m32r-* \
 
331
        | m32c-* | m32r-* | m32rle-* \
310
332
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
311
 
        | m88110-* | m88k-* | mcore-* \
 
333
        | m88110-* | m88k-* | maxq-* | mcore-* \
312
334
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
313
335
        | mips16-* \
314
336
        | mips64-* | mips64el-* \
317
339
        | mips64vr4100-* | mips64vr4100el-* \
318
340
        | mips64vr4300-* | mips64vr4300el-* \
319
341
        | mips64vr5000-* | mips64vr5000el-* \
 
342
        | mips64vr5900-* | mips64vr5900el-* \
320
343
        | mipsisa32-* | mipsisa32el-* \
321
344
        | mipsisa32r2-* | mipsisa32r2el-* \
322
345
        | mipsisa64-* | mipsisa64el-* \
 
346
        | mipsisa64r2-* | mipsisa64r2el-* \
323
347
        | mipsisa64sb1-* | mipsisa64sb1el-* \
324
348
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
325
349
        | mipstx39-* | mipstx39el-* \
 
350
        | mmix-* \
 
351
        | mt-* \
326
352
        | msp430-* \
327
 
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
353
        | nios-* | nios2-* \
 
354
        | none-* | np1-* | ns16k-* | ns32k-* \
328
355
        | orion-* \
329
356
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
330
357
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
331
358
        | pyramid-* \
332
359
        | romp-* | rs6000-* \
333
 
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
360
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
334
361
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
335
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
336
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
362
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 
363
        | sparclite-* \
 
364
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
337
365
        | tahoe-* | thumb-* \
338
366
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
339
367
        | tron-* \
340
368
        | v850-* | v850e-* | vax-* \
341
369
        | we32k-* \
342
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
343
 
        | xtensa-* \
 
370
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
371
        | xstormy16-* | xtensa-* \
344
372
        | ymp-* \
345
373
        | z8k-*)
346
374
                ;;
360
388
                basic_machine=a29k-amd
361
389
                os=-udi
362
390
                ;;
 
391
        abacus)
 
392
                basic_machine=abacus-unknown
 
393
                ;;
363
394
        adobe68k)
364
395
                basic_machine=m68010-adobe
365
396
                os=-scout
377
408
        amd64)
378
409
                basic_machine=x86_64-pc
379
410
                ;;
 
411
        amd64-*)
 
412
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
413
                ;;
380
414
        amdahl)
381
415
                basic_machine=580-amdahl
382
416
                os=-sysv
436
470
                basic_machine=j90-cray
437
471
                os=-unicos
438
472
                ;;
 
473
        craynv)
 
474
                basic_machine=craynv-cray
 
475
                os=-unicosmp
 
476
                ;;
 
477
        cr16c)
 
478
                basic_machine=cr16c-unknown
 
479
                os=-elf
 
480
                ;;
439
481
        crds | unos)
440
482
                basic_machine=m68k-crds
441
483
                ;;
 
484
        crisv32 | crisv32-* | etraxfs*)
 
485
                basic_machine=crisv32-axis
 
486
                ;;
442
487
        cris | cris-* | etrax*)
443
488
                basic_machine=cris-axis
444
489
                ;;
 
490
        crx)
 
491
                basic_machine=crx-unknown
 
492
                os=-elf
 
493
                ;;
445
494
        da30 | da30-*)
446
495
                basic_machine=m68k-da30
447
496
                ;;
464
513
                basic_machine=m88k-motorola
465
514
                os=-sysv3
466
515
                ;;
 
516
        djgpp)
 
517
                basic_machine=i586-pc
 
518
                os=-msdosdjgpp
 
519
                ;;
467
520
        dpx20 | dpx20-*)
468
521
                basic_machine=rs6000-bull
469
522
                os=-bosx
642
695
        mips3*)
643
696
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
644
697
                ;;
645
 
        mmix*)
646
 
                basic_machine=mmix-knuth
647
 
                os=-mmixware
648
 
                ;;
649
698
        monitor)
650
699
                basic_machine=m68k-rom68k
651
700
                os=-coff
658
707
                basic_machine=i386-pc
659
708
                os=-msdos
660
709
                ;;
 
710
        ms1-*)
 
711
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
712
                ;;
661
713
        mvs)
662
714
                basic_machine=i370-ibm
663
715
                os=-mvs
726
778
        np1)
727
779
                basic_machine=np1-gould
728
780
                ;;
729
 
        nv1)
730
 
                basic_machine=nv1-cray
731
 
                os=-unicosmp
732
 
                ;;
733
781
        nsr-tandem)
734
782
                basic_machine=nsr-tandem
735
783
                ;;
737
785
                basic_machine=hppa1.1-oki
738
786
                os=-proelf
739
787
                ;;
740
 
        or32 | or32-*)
 
788
        openrisc | openrisc-*)
741
789
                basic_machine=or32-unknown
742
 
                os=-coff
 
790
                ;;
 
791
        os400)
 
792
                basic_machine=powerpc-ibm
 
793
                os=-os400
743
794
                ;;
744
795
        OSE68000 | ose68000)
745
796
                basic_machine=m68000-ericsson
766
817
        pc532 | pc532-*)
767
818
                basic_machine=ns32k-pc532
768
819
                ;;
 
820
        pc98)
 
821
                basic_machine=i386-pc
 
822
                ;;
 
823
        pc98-*)
 
824
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
 
825
                ;;
769
826
        pentium | p5 | k5 | k6 | nexgen | viac3)
770
827
                basic_machine=i586-pc
771
828
                ;;
822
879
                basic_machine=i586-unknown
823
880
                os=-pw32
824
881
                ;;
 
882
        rdos)
 
883
                basic_machine=i386-pc
 
884
                os=-rdos
 
885
                ;;
825
886
        rom68k)
826
887
                basic_machine=m68k-rom68k
827
888
                os=-coff
961
1022
        tower | tower-32)
962
1023
                basic_machine=m68k-ncr
963
1024
                ;;
 
1025
        tpf)
 
1026
                basic_machine=s390x-ibm
 
1027
                os=-tpf
 
1028
                ;;
964
1029
        udi29k)
965
1030
                basic_machine=a29k-amd
966
1031
                os=-udi
1004
1069
                basic_machine=hppa1.1-winbond
1005
1070
                os=-proelf
1006
1071
                ;;
 
1072
        xbox)
 
1073
                basic_machine=i686-pc
 
1074
                os=-mingw32
 
1075
                ;;
1007
1076
        xps | xps100)
1008
1077
                basic_machine=xps100-honeywell
1009
1078
                ;;
1034
1103
        romp)
1035
1104
                basic_machine=romp-ibm
1036
1105
                ;;
 
1106
        mmix)
 
1107
                basic_machine=mmix-knuth
 
1108
                ;;
1037
1109
        rs6000)
1038
1110
                basic_machine=rs6000-ibm
1039
1111
                ;;
1050
1122
        we32k)
1051
1123
                basic_machine=we32k-att
1052
1124
                ;;
1053
 
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
1125
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1054
1126
                basic_machine=sh-unknown
1055
1127
                ;;
1056
 
        sh64)
1057
 
                basic_machine=sh64-unknown
1058
 
                ;;
1059
 
        sparc | sparcv9 | sparcv9b)
 
1128
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1060
1129
                basic_machine=sparc-sun
1061
1130
                ;;
1062
1131
        cydra)
1129
1198
              | -aos* \
1130
1199
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1131
1200
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1132
 
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1133
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1201
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
 
1202
              | -openbsd* | -solidbsd* \
 
1203
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1204
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1134
1205
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1135
1206
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1136
1207
              | -chorusos* | -chorusrdb* \
1137
1208
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1138
 
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1209
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1210
              | -uxpv* | -beos* | -mpeix* | -udk* \
1139
1211
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1140
1212
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1141
1213
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1142
1214
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1143
1215
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1144
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
 
1216
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1217
              | -skyos* | -haiku* | -rdos*)
1145
1218
        # Remember, each alternative MUST END IN *, to match a version number.
1146
1219
                ;;
1147
1220
        -qnx*)
1159
1232
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1160
1233
                ;;
1161
1234
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1162
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1235
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1163
1236
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1164
1237
                ;;
1165
1238
        -mac*)
1166
1239
                os=`echo $os | sed -e 's|mac|macos|'`
1167
1240
                ;;
 
1241
        -linux-dietlibc)
 
1242
                os=-linux-dietlibc
 
1243
                ;;
1168
1244
        -linux*)
1169
1245
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
1170
1246
                ;;
1177
1253
        -opened*)
1178
1254
                os=-openedition
1179
1255
                ;;
 
1256
        -os400*)
 
1257
                os=-os400
 
1258
                ;;
1180
1259
        -wince*)
1181
1260
                os=-wince
1182
1261
                ;;
1198
1277
        -atheos*)
1199
1278
                os=-atheos
1200
1279
                ;;
 
1280
        -syllable*)
 
1281
                os=-syllable
 
1282
                ;;
1201
1283
        -386bsd)
1202
1284
                os=-bsd
1203
1285
                ;;
1220
1302
        -sinix*)
1221
1303
                os=-sysv4
1222
1304
                ;;
 
1305
        -tpf*)
 
1306
                os=-tpf
 
1307
                ;;
1223
1308
        -triton*)
1224
1309
                os=-sysv3
1225
1310
                ;;
1256
1341
        -kaos*)
1257
1342
                os=-kaos
1258
1343
                ;;
 
1344
        -zvmoe)
 
1345
                os=-zvmoe
 
1346
                ;;
1259
1347
        -none)
1260
1348
                ;;
1261
1349
        *)
1278
1366
# system, and we'll never get to this point.
1279
1367
 
1280
1368
case $basic_machine in
 
1369
        spu-*)
 
1370
                os=-elf
 
1371
                ;;
1281
1372
        *-acorn)
1282
1373
                os=-riscix1.2
1283
1374
                ;;
1287
1378
        arm*-semi)
1288
1379
                os=-aout
1289
1380
                ;;
1290
 
    c4x-* | tic4x-*)
1291
 
        os=-coff
1292
 
        ;;
 
1381
        c4x-* | tic4x-*)
 
1382
                os=-coff
 
1383
                ;;
1293
1384
        # This must come before the *-dec entry.
1294
1385
        pdp10-*)
1295
1386
                os=-tops20
1333
1424
        *-be)
1334
1425
                os=-beos
1335
1426
                ;;
 
1427
        *-haiku)
 
1428
                os=-haiku
 
1429
                ;;
1336
1430
        *-ibm)
1337
1431
                os=-aix
1338
1432
                ;;
 
1433
        *-knuth)
 
1434
                os=-mmixware
 
1435
                ;;
1339
1436
        *-wec)
1340
1437
                os=-proelf
1341
1438
                ;;
1468
1565
                        -mvs* | -opened*)
1469
1566
                                vendor=ibm
1470
1567
                                ;;
 
1568
                        -os400*)
 
1569
                                vendor=ibm
 
1570
                                ;;
1471
1571
                        -ptx*)
1472
1572
                                vendor=sequent
1473
1573
                                ;;
 
1574
                        -tpf*)
 
1575
                                vendor=ibm
 
1576
                                ;;
1474
1577
                        -vxsim* | -vxworks* | -windiss*)
1475
1578
                                vendor=wrs
1476
1579
                                ;;
1495
1598
esac
1496
1599
 
1497
1600
echo $basic_machine$os
1498
 
exit 0
 
1601
exit
1499
1602
 
1500
1603
# Local variables:
1501
1604
# eval: (add-hook 'write-file-hooks 'time-stamp)