~ubuntu-branches/ubuntu/utopic/libice/utopic

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Package Import Robot
  • Author(s): Julien Cristau
  • Date: 2014-07-13 01:38:11 UTC
  • mfrom: (1.1.8) (0.2.10 sid)
  • Revision ID: package-import@ubuntu.com-20140713013811-qtofhjeux1mfmx2j
Tags: 2:1.0.9-1
* New upstream release.
* Remove Cyril from Uploaders.
* Rewrite debian/rules using dh.  Switch to compat level 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
 
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
 
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5
 
#   Free Software Foundation, Inc.
6
 
 
7
 
timestamp='2010-09-11'
8
 
 
9
 
# This file is (in principle) common to ALL GNU software.
10
 
# The presence of a machine in this file suggests that SOME GNU software
11
 
# can handle that machine.  It does not imply ALL GNU software can.
12
 
#
13
 
# This file is free software; you can redistribute it and/or modify
14
 
# it under the terms of the GNU General Public License as published by
15
 
# the Free Software Foundation; either version 2 of the License, or
 
3
#   Copyright 1992-2013 Free Software Foundation, Inc.
 
4
 
 
5
timestamp='2013-04-24'
 
6
 
 
7
# This file is free software; you can redistribute it and/or modify it
 
8
# under the terms of the GNU General Public License as published by
 
9
# the Free Software Foundation; either version 3 of the License, or
16
10
# (at your option) any later version.
17
11
#
18
 
# This program is distributed in the hope that it will be useful,
19
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 
# GNU General Public License for more details.
 
12
# This program is distributed in the hope that it will be useful, but
 
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
# General Public License for more details.
22
16
#
23
17
# You should have received a copy of the GNU General Public License
24
 
# 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.
 
18
# along with this program; if not, see <http://www.gnu.org/licenses/>.
27
19
#
28
20
# As a special exception to the GNU General Public License, if you
29
21
# distribute this file as part of a program that contains a
30
22
# configuration script generated by Autoconf, you may include it under
31
 
# the same distribution terms that you use for the rest of that program.
32
 
 
33
 
 
34
 
# Please send patches to <config-patches@gnu.org>.  Submit a context
35
 
# diff and a properly formatted GNU ChangeLog entry.
 
23
# the same distribution terms that you use for the rest of that
 
24
# program.  This Exception is an additional permission under section 7
 
25
# of the GNU General Public License, version 3 ("GPLv3").
 
26
 
 
27
 
 
28
# Please send patches with a ChangeLog entry to config-patches@gnu.org.
36
29
#
37
30
# Configuration subroutine to validate and canonicalize a configuration type.
38
31
# Supply the specified configuration type as an argument.
75
68
version="\
76
69
GNU config.sub ($timestamp)
77
70
 
78
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
79
 
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
80
 
Software Foundation, Inc.
 
71
Copyright 1992-2013 Free Software Foundation, Inc.
81
72
 
82
73
This is free software; see the source for copying conditions.  There is NO
83
74
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
125
116
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
126
117
case $maybe_os in
127
118
  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
128
 
  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
 
119
  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
129
120
  knetbsd*-gnu* | netbsd*-gnu* | \
130
121
  kopensolaris*-gnu* | \
131
122
  storm-chaos* | os2-emx* | rtmk-nova*)
132
123
    os=-$maybe_os
133
124
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
134
125
    ;;
 
126
  android-linux)
 
127
    os=-linux-android
 
128
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
 
129
    ;;
135
130
  *)
136
131
    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
137
132
    if [ $basic_machine != $1 ]
154
149
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
155
150
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
156
151
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
157
 
        -apple | -axis | -knuth | -cray | -microblaze)
 
152
        -apple | -axis | -knuth | -cray | -microblaze*)
158
153
                os=
159
154
                basic_machine=$1
160
155
                ;;
161
 
        -bluegene*)
162
 
                os=-cnk
 
156
        -bluegene*)
 
157
                os=-cnk
163
158
                ;;
164
159
        -sim | -cisco | -oki | -wec | -winbond)
165
160
                os=
175
170
                os=-chorusos
176
171
                basic_machine=$1
177
172
                ;;
178
 
        -chorusrdb)
179
 
                os=-chorusrdb
 
173
        -chorusrdb)
 
174
                os=-chorusrdb
180
175
                basic_machine=$1
181
 
                ;;
 
176
                ;;
182
177
        -hiux*)
183
178
                os=-hiuxwe2
184
179
                ;;
223
218
        -isc*)
224
219
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
225
220
                ;;
 
221
        -lynx*178)
 
222
                os=-lynxos178
 
223
                ;;
 
224
        -lynx*5)
 
225
                os=-lynxos5
 
226
                ;;
226
227
        -lynx*)
227
228
                os=-lynxos
228
229
                ;;
247
248
        # Some are omitted here because they have special meanings below.
248
249
        1750a | 580 \
249
250
        | a29k \
 
251
        | aarch64 | aarch64_be \
250
252
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
251
253
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
252
254
        | am33_2.0 \
253
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
255
        | arc | arceb \
 
256
        | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
 
257
        | avr | avr32 \
 
258
        | be32 | be64 \
254
259
        | bfin \
255
260
        | c4x | clipper \
256
261
        | d10v | d30v | dlx | dsp16xx \
 
262
        | epiphany \
257
263
        | fido | fr30 | frv \
258
264
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 
265
        | hexagon \
259
266
        | i370 | i860 | i960 | ia64 \
260
267
        | ip2k | iq2000 \
 
268
        | le32 | le64 \
261
269
        | lm32 \
262
270
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
263
 
        | maxq | mb | microblaze | mcore | mep | metag \
 
271
        | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
264
272
        | mips | mipsbe | mipseb | mipsel | mipsle \
265
273
        | mips16 \
266
274
        | mips64 | mips64el \
278
286
        | mipsisa64r2 | mipsisa64r2el \
279
287
        | mipsisa64sb1 | mipsisa64sb1el \
280
288
        | mipsisa64sr71k | mipsisa64sr71kel \
 
289
        | mipsr5900 | mipsr5900el \
281
290
        | mipstx39 | mipstx39el \
282
291
        | mn10200 | mn10300 \
283
292
        | moxie \
284
293
        | mt \
285
294
        | msp430 \
286
295
        | nds32 | nds32le | nds32be \
287
 
        | nios | nios2 \
 
296
        | nios | nios2 | nios2eb | nios2el \
288
297
        | ns16k | ns32k \
289
 
        | or32 \
 
298
        | open8 \
 
299
        | or1k | or32 \
290
300
        | pdp10 | pdp11 | pj | pjl \
291
 
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 
301
        | powerpc | powerpc64 | powerpc64le | powerpcle \
292
302
        | pyramid \
293
 
        | rx \
 
303
        | rl78 | rx \
294
304
        | score \
295
305
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
296
306
        | sh64 | sh64le \
297
307
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
298
308
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
299
 
        | spu | strongarm \
300
 
        | tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
 
309
        | spu \
 
310
        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
301
311
        | ubicom32 \
302
 
        | v850 | v850e \
 
312
        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
303
313
        | we32k \
304
 
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
314
        | x86 | xc16x | xstormy16 | xtensa \
305
315
        | z8k | z80)
306
316
                basic_machine=$basic_machine-unknown
307
317
                ;;
314
324
        c6x)
315
325
                basic_machine=tic6x-unknown
316
326
                ;;
317
 
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
318
 
                # Motorola 68HC11/12.
 
327
        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
319
328
                basic_machine=$basic_machine-unknown
320
329
                os=-none
321
330
                ;;
325
334
                basic_machine=mt-unknown
326
335
                ;;
327
336
 
 
337
        strongarm | thumb | xscale)
 
338
                basic_machine=arm-unknown
 
339
                ;;
 
340
        xgate)
 
341
                basic_machine=$basic_machine-unknown
 
342
                os=-none
 
343
                ;;
 
344
        xscaleeb)
 
345
                basic_machine=armeb-unknown
 
346
                ;;
 
347
 
 
348
        xscaleel)
 
349
                basic_machine=armel-unknown
 
350
                ;;
 
351
 
328
352
        # We use `pc' rather than `unknown'
329
353
        # because (1) that's what they normally are, and
330
354
        # (2) the word "unknown" tends to confuse beginning users.
339
363
        # Recognize the basic CPU types with company name.
340
364
        580-* \
341
365
        | a29k-* \
 
366
        | aarch64-* | aarch64_be-* \
342
367
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
343
368
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
344
 
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 
369
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
345
370
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
346
371
        | avr-* | avr32-* \
 
372
        | be32-* | be64-* \
347
373
        | bfin-* | bs2000-* \
348
374
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
349
375
        | clipper-* | craynv-* | cydra-* \
352
378
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
353
379
        | h8300-* | h8500-* \
354
380
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 
381
        | hexagon-* \
355
382
        | i*86-* | i860-* | i960-* | ia64-* \
356
383
        | ip2k-* | iq2000-* \
 
384
        | le32-* | le64-* \
357
385
        | lm32-* \
358
386
        | m32c-* | m32r-* | m32rle-* \
359
387
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
360
 
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
 
388
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
 
389
        | microblaze-* | microblazeel-* \
361
390
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
362
391
        | mips16-* \
363
392
        | mips64-* | mips64el-* \
375
404
        | mipsisa64r2-* | mipsisa64r2el-* \
376
405
        | mipsisa64sb1-* | mipsisa64sb1el-* \
377
406
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
 
407
        | mipsr5900-* | mipsr5900el-* \
378
408
        | mipstx39-* | mipstx39el-* \
379
409
        | mmix-* \
380
410
        | mt-* \
381
411
        | msp430-* \
382
412
        | nds32-* | nds32le-* | nds32be-* \
383
 
        | nios-* | nios2-* \
 
413
        | nios-* | nios2-* | nios2eb-* | nios2el-* \
384
414
        | none-* | np1-* | ns16k-* | ns32k-* \
 
415
        | open8-* \
385
416
        | orion-* \
386
417
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
387
 
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 
418
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
388
419
        | pyramid-* \
389
 
        | romp-* | rs6000-* | rx-* \
 
420
        | rl78-* | romp-* | rs6000-* | rx-* \
390
421
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
391
422
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
392
423
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
393
424
        | sparclite-* \
394
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
395
 
        | tahoe-* | thumb-* \
 
425
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
 
426
        | tahoe-* \
396
427
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
397
 
        | tile-* | tilegx-* \
 
428
        | tile*-* \
398
429
        | tron-* \
399
430
        | ubicom32-* \
400
 
        | v850-* | v850e-* | vax-* \
 
431
        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
 
432
        | vax-* \
401
433
        | we32k-* \
402
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
434
        | x86-* | x86_64-* | xc16x-* | xps100-* \
403
435
        | xstormy16-* | xtensa*-* \
404
436
        | ymp-* \
405
437
        | z8k-* | z80-*)
424
456
                basic_machine=a29k-amd
425
457
                os=-udi
426
458
                ;;
427
 
        abacus)
 
459
        abacus)
428
460
                basic_machine=abacus-unknown
429
461
                ;;
430
462
        adobe68k)
507
539
                basic_machine=c90-cray
508
540
                os=-unicos
509
541
                ;;
510
 
        cegcc)
 
542
        cegcc)
511
543
                basic_machine=arm-unknown
512
544
                os=-cegcc
513
545
                ;;
539
571
                basic_machine=craynv-cray
540
572
                os=-unicosmp
541
573
                ;;
542
 
        cr16)
 
574
        cr16 | cr16-*)
543
575
                basic_machine=cr16-unknown
544
576
                os=-elf
545
577
                ;;
697
729
        i370-ibm* | ibm*)
698
730
                basic_machine=i370-ibm
699
731
                ;;
700
 
# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
701
732
        i*86v32)
702
733
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
703
734
                os=-sysv32
755
786
                basic_machine=ns32k-utek
756
787
                os=-sysv
757
788
                ;;
758
 
        microblaze)
 
789
        microblaze*)
759
790
                basic_machine=microblaze-xilinx
760
791
                ;;
 
792
        mingw64)
 
793
                basic_machine=x86_64-pc
 
794
                os=-mingw64
 
795
                ;;
761
796
        mingw32)
762
797
                basic_machine=i386-pc
763
798
                os=-mingw32
794
829
        ms1-*)
795
830
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
796
831
                ;;
 
832
        msys)
 
833
                basic_machine=i386-pc
 
834
                os=-msys
 
835
                ;;
797
836
        mvs)
798
837
                basic_machine=i370-ibm
799
838
                os=-mvs
800
839
                ;;
 
840
        nacl)
 
841
                basic_machine=le32-unknown
 
842
                os=-nacl
 
843
                ;;
801
844
        ncr3000)
802
845
                basic_machine=i486-ncr
803
846
                os=-sysv4
862
905
        np1)
863
906
                basic_machine=np1-gould
864
907
                ;;
865
 
        neo-tandem)
 
908
        neo-tandem)
866
909
                basic_machine=neo-tandem
867
910
                ;;
868
 
        nse-tandem)
 
911
        nse-tandem)
869
912
                basic_machine=nse-tandem
870
913
                ;;
871
914
        nsr-tandem)
950
993
                ;;
951
994
        power)  basic_machine=power-ibm
952
995
                ;;
953
 
        ppc)    basic_machine=powerpc-unknown
 
996
        ppc | ppcbe)    basic_machine=powerpc-unknown
954
997
                ;;
955
 
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 
998
        ppc-* | ppcbe-*)
 
999
                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
956
1000
                ;;
957
1001
        ppcle | powerpclittle | ppc-le | powerpc-little)
958
1002
                basic_machine=powerpcle-unknown
977
1021
                basic_machine=i586-unknown
978
1022
                os=-pw32
979
1023
                ;;
980
 
        rdos)
 
1024
        rdos | rdos64)
 
1025
                basic_machine=x86_64-pc
 
1026
                os=-rdos
 
1027
                ;;
 
1028
        rdos32)
981
1029
                basic_machine=i386-pc
982
1030
                os=-rdos
983
1031
                ;;
1046
1094
                basic_machine=i860-stratus
1047
1095
                os=-sysv4
1048
1096
                ;;
 
1097
        strongarm-* | thumb-*)
 
1098
                basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
 
1099
                ;;
1049
1100
        sun2)
1050
1101
                basic_machine=m68000-sun
1051
1102
                ;;
1102
1153
                basic_machine=t90-cray
1103
1154
                os=-unicos
1104
1155
                ;;
1105
 
        # This must be matched before tile*.
1106
 
        tilegx*)
1107
 
                basic_machine=tilegx-unknown
1108
 
                os=-linux-gnu
1109
 
                ;;
1110
1156
        tile*)
1111
 
                basic_machine=tile-unknown
 
1157
                basic_machine=$basic_machine-unknown
1112
1158
                os=-linux-gnu
1113
1159
                ;;
1114
1160
        tx39)
1178
1224
        xps | xps100)
1179
1225
                basic_machine=xps100-honeywell
1180
1226
                ;;
 
1227
        xscale-* | xscalee[bl]-*)
 
1228
                basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
 
1229
                ;;
1181
1230
        ymp)
1182
1231
                basic_machine=ymp-cray
1183
1232
                os=-unicos
1275
1324
if [ x"$os" != x"" ]
1276
1325
then
1277
1326
case $os in
1278
 
        # First match some system type aliases
1279
 
        # that might get confused with valid system types.
 
1327
        # First match some system type aliases
 
1328
        # that might get confused with valid system types.
1280
1329
        # -solaris* is a basic system type, with this one exception.
1281
 
        -auroraux)
1282
 
                os=-auroraux
 
1330
        -auroraux)
 
1331
                os=-auroraux
1283
1332
                ;;
1284
1333
        -solaris1 | -solaris1.*)
1285
1334
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1303
1352
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1304
1353
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1305
1354
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1306
 
              | -sym* | -kopensolaris* \
 
1355
              | -sym* | -kopensolaris* | -plan9* \
1307
1356
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1308
1357
              | -aos* | -aros* \
1309
1358
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1310
1359
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1311
1360
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1312
 
              | -openbsd* | -solidbsd* \
 
1361
              | -bitrig* | -openbsd* | -solidbsd* \
1313
1362
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1314
1363
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1315
1364
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1316
1365
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1317
1366
              | -chorusos* | -chorusrdb* | -cegcc* \
1318
 
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1319
 
              | -mingw32* | -linux-gnu* | -linux-android* \
1320
 
              | -linux-newlib* | -linux-uclibc* \
 
1367
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 
1368
              | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
 
1369
              | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1321
1370
              | -uxpv* | -beos* | -mpeix* | -udk* \
1322
1371
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1323
1372
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1364
1413
        -opened*)
1365
1414
                os=-openedition
1366
1415
                ;;
1367
 
        -os400*)
 
1416
        -os400*)
1368
1417
                os=-os400
1369
1418
                ;;
1370
1419
        -wince*)
1413
1462
        -sinix*)
1414
1463
                os=-sysv4
1415
1464
                ;;
1416
 
        -tpf*)
 
1465
        -tpf*)
1417
1466
                os=-tpf
1418
1467
                ;;
1419
1468
        -triton*)
1449
1498
        -aros*)
1450
1499
                os=-aros
1451
1500
                ;;
1452
 
        -kaos*)
1453
 
                os=-kaos
1454
 
                ;;
1455
1501
        -zvmoe)
1456
1502
                os=-zvmoe
1457
1503
                ;;
1458
1504
        -dicos*)
1459
1505
                os=-dicos
1460
1506
                ;;
1461
 
        -nacl*)
1462
 
                ;;
 
1507
        -nacl*)
 
1508
                ;;
1463
1509
        -none)
1464
1510
                ;;
1465
1511
        *)
1482
1528
# system, and we'll never get to this point.
1483
1529
 
1484
1530
case $basic_machine in
1485
 
        score-*)
 
1531
        score-*)
1486
1532
                os=-elf
1487
1533
                ;;
1488
 
        spu-*)
 
1534
        spu-*)
1489
1535
                os=-elf
1490
1536
                ;;
1491
1537
        *-acorn)
1497
1543
        arm*-semi)
1498
1544
                os=-aout
1499
1545
                ;;
1500
 
        c4x-* | tic4x-*)
1501
 
                os=-coff
 
1546
        c4x-* | tic4x-*)
 
1547
                os=-coff
 
1548
                ;;
 
1549
        hexagon-*)
 
1550
                os=-elf
1502
1551
                ;;
1503
1552
        tic54x-*)
1504
1553
                os=-coff
1527
1576
                ;;
1528
1577
        m68000-sun)
1529
1578
                os=-sunos3
1530
 
                # This also exists in the configure program, but was not the
1531
 
                # default.
1532
 
                # os=-sunos4
1533
1579
                ;;
1534
1580
        m68*-cisco)
1535
1581
                os=-aout
1536
1582
                ;;
1537
 
        mep-*)
 
1583
        mep-*)
1538
1584
                os=-elf
1539
1585
                ;;
1540
1586
        mips*-cisco)
1543
1589
        mips*-*)
1544
1590
                os=-elf
1545
1591
                ;;
 
1592
        or1k-*)
 
1593
                os=-elf
 
1594
                ;;
1546
1595
        or32-*)
1547
1596
                os=-coff
1548
1597
                ;;
1561
1610
        *-ibm)
1562
1611
                os=-aix
1563
1612
                ;;
1564
 
        *-knuth)
 
1613
        *-knuth)
1565
1614
                os=-mmixware
1566
1615
                ;;
1567
1616
        *-wec)