~ubuntu-branches/ubuntu/edgy/openssh/edgy

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2005-10-31 07:46:44 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20051031074644-poik7e4un4723tr4
Tags: 1:4.2p1-5ubuntu1
Resynchronise with Debian.

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 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2004-01-05'
 
6
timestamp='2005-05-12'
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 ;;
145
146
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
146
147
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
147
148
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
148
 
        -apple | -axis)
 
149
        -apple | -axis | -knuth | -cray)
149
150
                os=
150
151
                basic_machine=$1
151
152
                ;;
231
232
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
232
233
        | am33_2.0 \
233
234
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
235
        | bfin \
234
236
        | c4x | clipper \
235
237
        | d10v | d30v | dlx | dsp16xx \
236
238
        | fr30 | frv \
237
239
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
238
240
        | i370 | i860 | i960 | ia64 \
239
241
        | ip2k | iq2000 \
240
 
        | m32r | m68000 | m68k | m88k | mcore \
 
242
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
241
243
        | mips | mipsbe | mipseb | mipsel | mipsle \
242
244
        | mips16 \
243
245
        | mips64 | mips64el \
262
264
        | pyramid \
263
265
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
264
266
        | sh64 | sh64le \
265
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
267
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
268
        | sparcv8 | sparcv9 | sparcv9b \
266
269
        | strongarm \
267
270
        | tahoe | thumb | tic4x | tic80 | tron \
268
271
        | v850 | v850e \
269
272
        | we32k \
270
 
        | x86 | xscale | xstormy16 | xtensa \
 
273
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
271
274
        | z8k)
272
275
                basic_machine=$basic_machine-unknown
273
276
                ;;
298
301
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
299
302
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
300
303
        | avr-* \
301
 
        | bs2000-* \
 
304
        | bfin-* | bs2000-* \
302
305
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
303
 
        | clipper-* | cydra-* \
 
306
        | clipper-* | craynv-* | cydra-* \
304
307
        | d10v-* | d30v-* | dlx-* \
305
308
        | elxsi-* \
306
309
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
308
311
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
309
312
        | i*86-* | i860-* | i960-* | ia64-* \
310
313
        | ip2k-* | iq2000-* \
311
 
        | m32r-* \
 
314
        | m32r-* | m32rle-* \
312
315
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
313
 
        | m88110-* | m88k-* | mcore-* \
 
316
        | m88110-* | m88k-* | maxq-* | mcore-* \
314
317
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
315
318
        | mips16-* \
316
319
        | mips64-* | mips64el-* \
326
329
        | mipsisa64sb1-* | mipsisa64sb1el-* \
327
330
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
328
331
        | mipstx39-* | mipstx39el-* \
 
332
        | mmix-* \
329
333
        | msp430-* \
330
 
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
334
        | none-* | np1-* | ns16k-* | ns32k-* \
331
335
        | orion-* \
332
336
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
333
337
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
335
339
        | romp-* | rs6000-* \
336
340
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
337
341
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
338
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
339
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
342
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
343
        | sparclite-* \
 
344
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
340
345
        | tahoe-* | thumb-* \
341
346
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
342
347
        | tron-* \
343
348
        | v850-* | v850e-* | vax-* \
344
349
        | we32k-* \
345
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
346
 
        | xtensa-* \
 
350
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
351
        | xstormy16-* | xtensa-* \
347
352
        | ymp-* \
348
353
        | z8k-*)
349
354
                ;;
363
368
                basic_machine=a29k-amd
364
369
                os=-udi
365
370
                ;;
 
371
        abacus)
 
372
                basic_machine=abacus-unknown
 
373
                ;;
366
374
        adobe68k)
367
375
                basic_machine=m68010-adobe
368
376
                os=-scout
442
450
                basic_machine=j90-cray
443
451
                os=-unicos
444
452
                ;;
 
453
        craynv)
 
454
                basic_machine=craynv-cray
 
455
                os=-unicosmp
 
456
                ;;
 
457
        cr16c)
 
458
                basic_machine=cr16c-unknown
 
459
                os=-elf
 
460
                ;;
445
461
        crds | unos)
446
462
                basic_machine=m68k-crds
447
463
                ;;
 
464
        crisv32 | crisv32-* | etraxfs*)
 
465
                basic_machine=crisv32-axis
 
466
                ;;
448
467
        cris | cris-* | etrax*)
449
468
                basic_machine=cris-axis
450
469
                ;;
 
470
        crx)
 
471
                basic_machine=crx-unknown
 
472
                os=-elf
 
473
                ;;
451
474
        da30 | da30-*)
452
475
                basic_machine=m68k-da30
453
476
                ;;
470
493
                basic_machine=m88k-motorola
471
494
                os=-sysv3
472
495
                ;;
 
496
        djgpp)
 
497
                basic_machine=i586-pc
 
498
                os=-msdosdjgpp
 
499
                ;;
473
500
        dpx20 | dpx20-*)
474
501
                basic_machine=rs6000-bull
475
502
                os=-bosx
648
675
        mips3*)
649
676
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
650
677
                ;;
651
 
        mmix*)
652
 
                basic_machine=mmix-knuth
653
 
                os=-mmixware
654
 
                ;;
655
678
        monitor)
656
679
                basic_machine=m68k-rom68k
657
680
                os=-coff
732
755
        np1)
733
756
                basic_machine=np1-gould
734
757
                ;;
735
 
        nv1)
736
 
                basic_machine=nv1-cray
737
 
                os=-unicosmp
738
 
                ;;
739
758
        nsr-tandem)
740
759
                basic_machine=nsr-tandem
741
760
                ;;
1018
1037
                basic_machine=hppa1.1-winbond
1019
1038
                os=-proelf
1020
1039
                ;;
 
1040
        xbox)
 
1041
                basic_machine=i686-pc
 
1042
                os=-mingw32
 
1043
                ;;
1021
1044
        xps | xps100)
1022
1045
                basic_machine=xps100-honeywell
1023
1046
                ;;
1048
1071
        romp)
1049
1072
                basic_machine=romp-ibm
1050
1073
                ;;
 
1074
        mmix)
 
1075
                basic_machine=mmix-knuth
 
1076
                ;;
1051
1077
        rs6000)
1052
1078
                basic_machine=rs6000-ibm
1053
1079
                ;;
1070
1096
        sh64)
1071
1097
                basic_machine=sh64-unknown
1072
1098
                ;;
1073
 
        sparc | sparcv9 | sparcv9b)
 
1099
        sparc | sparcv8 | sparcv9 | sparcv9b)
1074
1100
                basic_machine=sparc-sun
1075
1101
                ;;
1076
1102
        cydra)
1143
1169
              | -aos* \
1144
1170
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1145
1171
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1146
 
              | -hiux* | -386bsd* | -knetbsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1147
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1172
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1173
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1174
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1148
1175
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1149
1176
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1150
1177
              | -chorusos* | -chorusrdb* \
1155
1182
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1156
1183
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1157
1184
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1158
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
 
1185
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -skyos*)
1159
1186
        # Remember, each alternative MUST END IN *, to match a version number.
1160
1187
                ;;
1161
1188
        -qnx*)
1282
1309
        -kaos*)
1283
1310
                os=-kaos
1284
1311
                ;;
 
1312
        -zvmoe)
 
1313
                os=-zvmoe
 
1314
                ;;
1285
1315
        -none)
1286
1316
                ;;
1287
1317
        *)
1362
1392
        *-ibm)
1363
1393
                os=-aix
1364
1394
                ;;
 
1395
        *-knuth)
 
1396
                os=-mmixware
 
1397
                ;;
1365
1398
        *-wec)
1366
1399
                os=-proelf
1367
1400
                ;;
1527
1560
esac
1528
1561
 
1529
1562
echo $basic_machine$os
1530
 
exit 0
 
1563
exit
1531
1564
 
1532
1565
# Local variables:
1533
1566
# eval: (add-hook 'write-file-hooks 'time-stamp)