~ubuntu-branches/ubuntu/edgy/strutilsxx/edgy

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2005-12-04 23:38:46 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051204233846-m4kho0pkodyneqae
Tags: 0.7.2-1.1
* Non-maintainer upload.
* Medium-urgency upload for RC bugfix.
* Rename libstrutilsxx-0.7 to libstrutilsxx-0.7c2a for the C++ mt allocator
  ABI transition, and conflict/replace libstrutilsxx-0.7 accordingly
  (closes: #339268).

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-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 ;;
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 \
246
248
        | mips64vr4100 | mips64vr4100el \
247
249
        | mips64vr4300 | mips64vr4300el \
248
250
        | mips64vr5000 | mips64vr5000el \
 
251
        | mips64vr5900 | mips64vr5900el \
249
252
        | mipsisa32 | mipsisa32el \
250
253
        | mipsisa32r2 | mipsisa32r2el \
251
254
        | mipsisa64 | mipsisa64el \
254
257
        | mipsisa64sr71k | mipsisa64sr71kel \
255
258
        | mipstx39 | mipstx39el \
256
259
        | mn10200 | mn10300 \
 
260
        | ms1 \
257
261
        | msp430 \
258
262
        | ns16k | ns32k \
259
 
        | openrisc | or32 \
 
263
        | or32 \
260
264
        | pdp10 | pdp11 | pj | pjl \
261
265
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
262
266
        | pyramid \
263
 
        | sh | sh[1234] | sh[23]e | 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 \
264
268
        | sh64 | sh64le \
265
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
269
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
270
        | sparcv8 | sparcv9 | sparcv9b \
266
271
        | strongarm \
267
272
        | tahoe | thumb | tic4x | tic80 | tron \
268
273
        | v850 | v850e \
269
274
        | we32k \
270
 
        | x86 | xscale | xstormy16 | xtensa \
 
275
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
271
276
        | z8k)
272
277
                basic_machine=$basic_machine-unknown
273
278
                ;;
 
279
        m32c)
 
280
                basic_machine=$basic_machine-unknown
 
281
                ;;
274
282
        m6811 | m68hc11 | m6812 | m68hc12)
275
283
                # Motorola 68HC11/12.
276
284
                basic_machine=$basic_machine-unknown
298
306
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
299
307
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
300
308
        | avr-* \
301
 
        | bs2000-* \
 
309
        | bfin-* | bs2000-* \
302
310
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
303
 
        | clipper-* | cydra-* \
 
311
        | clipper-* | craynv-* | cydra-* \
304
312
        | d10v-* | d30v-* | dlx-* \
305
313
        | elxsi-* \
306
314
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
308
316
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
309
317
        | i*86-* | i860-* | i960-* | ia64-* \
310
318
        | ip2k-* | iq2000-* \
311
 
        | m32r-* \
 
319
        | m32r-* | m32rle-* \
312
320
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
313
 
        | m88110-* | m88k-* | mcore-* \
 
321
        | m88110-* | m88k-* | maxq-* | mcore-* \
314
322
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
315
323
        | mips16-* \
316
324
        | mips64-* | mips64el-* \
319
327
        | mips64vr4100-* | mips64vr4100el-* \
320
328
        | mips64vr4300-* | mips64vr4300el-* \
321
329
        | mips64vr5000-* | mips64vr5000el-* \
 
330
        | mips64vr5900-* | mips64vr5900el-* \
322
331
        | mipsisa32-* | mipsisa32el-* \
323
332
        | mipsisa32r2-* | mipsisa32r2el-* \
324
333
        | mipsisa64-* | mipsisa64el-* \
326
335
        | mipsisa64sb1-* | mipsisa64sb1el-* \
327
336
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
328
337
        | mipstx39-* | mipstx39el-* \
 
338
        | mmix-* \
 
339
        | ms1-* \
329
340
        | msp430-* \
330
 
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
341
        | none-* | np1-* | ns16k-* | ns32k-* \
331
342
        | orion-* \
332
343
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
333
344
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
334
345
        | pyramid-* \
335
346
        | romp-* | rs6000-* \
336
 
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
347
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
337
348
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
338
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
339
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
349
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
350
        | sparclite-* \
 
351
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
340
352
        | tahoe-* | thumb-* \
341
353
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
342
354
        | tron-* \
343
355
        | v850-* | v850e-* | vax-* \
344
356
        | we32k-* \
345
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
346
 
        | xtensa-* \
 
357
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
358
        | xstormy16-* | xtensa-* \
347
359
        | ymp-* \
348
360
        | z8k-*)
349
361
                ;;
 
362
        m32c-*)
 
363
                ;;
350
364
        # Recognize the various machine names and aliases which stand
351
365
        # for a CPU type and a company and sometimes even an OS.
352
366
        386bsd)
363
377
                basic_machine=a29k-amd
364
378
                os=-udi
365
379
                ;;
 
380
        abacus)
 
381
                basic_machine=abacus-unknown
 
382
                ;;
366
383
        adobe68k)
367
384
                basic_machine=m68010-adobe
368
385
                os=-scout
442
459
                basic_machine=j90-cray
443
460
                os=-unicos
444
461
                ;;
 
462
        craynv)
 
463
                basic_machine=craynv-cray
 
464
                os=-unicosmp
 
465
                ;;
 
466
        cr16c)
 
467
                basic_machine=cr16c-unknown
 
468
                os=-elf
 
469
                ;;
445
470
        crds | unos)
446
471
                basic_machine=m68k-crds
447
472
                ;;
 
473
        crisv32 | crisv32-* | etraxfs*)
 
474
                basic_machine=crisv32-axis
 
475
                ;;
448
476
        cris | cris-* | etrax*)
449
477
                basic_machine=cris-axis
450
478
                ;;
 
479
        crx)
 
480
                basic_machine=crx-unknown
 
481
                os=-elf
 
482
                ;;
451
483
        da30 | da30-*)
452
484
                basic_machine=m68k-da30
453
485
                ;;
470
502
                basic_machine=m88k-motorola
471
503
                os=-sysv3
472
504
                ;;
 
505
        djgpp)
 
506
                basic_machine=i586-pc
 
507
                os=-msdosdjgpp
 
508
                ;;
473
509
        dpx20 | dpx20-*)
474
510
                basic_machine=rs6000-bull
475
511
                os=-bosx
648
684
        mips3*)
649
685
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
650
686
                ;;
651
 
        mmix*)
652
 
                basic_machine=mmix-knuth
653
 
                os=-mmixware
654
 
                ;;
655
687
        monitor)
656
688
                basic_machine=m68k-rom68k
657
689
                os=-coff
732
764
        np1)
733
765
                basic_machine=np1-gould
734
766
                ;;
735
 
        nv1)
736
 
                basic_machine=nv1-cray
737
 
                os=-unicosmp
738
 
                ;;
739
767
        nsr-tandem)
740
768
                basic_machine=nsr-tandem
741
769
                ;;
743
771
                basic_machine=hppa1.1-oki
744
772
                os=-proelf
745
773
                ;;
746
 
        or32 | or32-*)
 
774
        openrisc | openrisc-*)
747
775
                basic_machine=or32-unknown
748
 
                os=-coff
749
776
                ;;
750
777
        os400)
751
778
                basic_machine=powerpc-ibm
1018
1045
                basic_machine=hppa1.1-winbond
1019
1046
                os=-proelf
1020
1047
                ;;
 
1048
        xbox)
 
1049
                basic_machine=i686-pc
 
1050
                os=-mingw32
 
1051
                ;;
1021
1052
        xps | xps100)
1022
1053
                basic_machine=xps100-honeywell
1023
1054
                ;;
1048
1079
        romp)
1049
1080
                basic_machine=romp-ibm
1050
1081
                ;;
 
1082
        mmix)
 
1083
                basic_machine=mmix-knuth
 
1084
                ;;
1051
1085
        rs6000)
1052
1086
                basic_machine=rs6000-ibm
1053
1087
                ;;
1064
1098
        we32k)
1065
1099
                basic_machine=we32k-att
1066
1100
                ;;
1067
 
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
1101
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1068
1102
                basic_machine=sh-unknown
1069
1103
                ;;
1070
 
        sh64)
1071
 
                basic_machine=sh64-unknown
1072
 
                ;;
1073
 
        sparc | sparcv9 | sparcv9b)
 
1104
        sparc | sparcv8 | sparcv9 | sparcv9b)
1074
1105
                basic_machine=sparc-sun
1075
1106
                ;;
1076
1107
        cydra)
1143
1174
              | -aos* \
1144
1175
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1145
1176
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1146
 
              | -hiux* | -386bsd* | -knetbsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1147
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1177
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1178
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1179
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1148
1180
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1149
1181
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1150
1182
              | -chorusos* | -chorusrdb* \
1155
1187
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1156
1188
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1157
1189
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1158
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
 
1190
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1191
              | -skyos* | -haiku*)
1159
1192
        # Remember, each alternative MUST END IN *, to match a version number.
1160
1193
                ;;
1161
1194
        -qnx*)
1173
1206
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1174
1207
                ;;
1175
1208
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1176
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1209
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1177
1210
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1178
1211
                ;;
1179
1212
        -mac*)
1282
1315
        -kaos*)
1283
1316
                os=-kaos
1284
1317
                ;;
 
1318
        -zvmoe)
 
1319
                os=-zvmoe
 
1320
                ;;
1285
1321
        -none)
1286
1322
                ;;
1287
1323
        *)
1359
1395
        *-be)
1360
1396
                os=-beos
1361
1397
                ;;
 
1398
        *-haiku)
 
1399
                os=-haiku
 
1400
                ;;
1362
1401
        *-ibm)
1363
1402
                os=-aix
1364
1403
                ;;
 
1404
        *-knuth)
 
1405
                os=-mmixware
 
1406
                ;;
1365
1407
        *-wec)
1366
1408
                os=-proelf
1367
1409
                ;;
1527
1569
esac
1528
1570
 
1529
1571
echo $basic_machine$os
1530
 
exit 0
 
1572
exit
1531
1573
 
1532
1574
# Local variables:
1533
1575
# eval: (add-hook 'write-file-hooks 'time-stamp)