~ubuntu-branches/ubuntu/saucy/psqlodbc/saucy

« back to all changes in this revision

Viewing changes to config/config.sub

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2011-12-30 19:09:04 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20111230190904-pmdip68ou7i4vzk8
Tags: 1:09.01.0100-1
New upgrade release.

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, 2004, 2005, 2006, 2007, 2008
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2008-01-16'
 
7
timestamp='2009-11-20'
8
8
 
9
9
# This file is (in principle) common to ALL GNU software.
10
10
# The presence of a machine in this file suggests that SOME GNU software
32
32
 
33
33
 
34
34
# Please send patches to <config-patches@gnu.org>.  Submit a context
35
 
# diff and a properly formatted ChangeLog entry.
 
35
# diff and a properly formatted GNU ChangeLog entry.
36
36
#
37
37
# Configuration subroutine to validate and canonicalize a configuration type.
38
38
# Supply the specified configuration type as an argument.
39
39
# If it is invalid, we print an error message on stderr and exit with code 1.
40
40
# Otherwise, we print the canonical config type on stdout and succeed.
41
41
 
 
42
# You can get the latest version of this script from:
 
43
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
 
44
 
42
45
# This file is supposed to be the same for all GNU packages
43
46
# and recognize all the CPU types, system types and aliases
44
47
# that are meaningful with *any* GNU software.
122
125
case $maybe_os in
123
126
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
127
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
128
  kopensolaris*-gnu* | \
125
129
  storm-chaos* | os2-emx* | rtmk-nova*)
126
130
    os=-$maybe_os
127
131
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
148
152
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149
153
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150
154
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151
 
        -apple | -axis | -knuth | -cray)
 
155
        -apple | -axis | -knuth | -cray | -microblaze)
152
156
                os=
153
157
                basic_machine=$1
154
158
                ;;
 
159
        -bluegene*)
 
160
                os=-cnk
 
161
                ;;
155
162
        -sim | -cisco | -oki | -wec | -winbond)
156
163
                os=
157
164
                basic_machine=$1
249
256
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
257
        | i370 | i860 | i960 | ia64 \
251
258
        | ip2k | iq2000 \
 
259
        | lm32 \
252
260
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore | mep \
 
261
        | maxq | mb | microblaze | mcore | mep | metag \
254
262
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
263
        | mips16 \
256
264
        | mips64 | mips64el \
 
265
        | mips64octeon | mips64octeonel \
 
266
        | mips64orion | mips64orionel \
 
267
        | mips64r5900 | mips64r5900el \
257
268
        | mips64vr | mips64vrel \
258
 
        | mips64orion | mips64orionel \
259
269
        | mips64vr4100 | mips64vr4100el \
260
270
        | mips64vr4300 | mips64vr4300el \
261
271
        | mips64vr5000 | mips64vr5000el \
268
278
        | mipsisa64sr71k | mipsisa64sr71kel \
269
279
        | mipstx39 | mipstx39el \
270
280
        | mn10200 | mn10300 \
 
281
        | moxie \
271
282
        | mt \
272
283
        | msp430 \
273
284
        | nios | nios2 \
276
287
        | pdp10 | pdp11 | pj | pjl \
277
288
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
289
        | pyramid \
 
290
        | rx \
279
291
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
292
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281
293
        | sh64 | sh64le \
282
294
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
295
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284
296
        | spu | strongarm \
285
297
        | tahoe | thumb | tic4x | tic80 | tron \
 
298
        | ubicom32 \
286
299
        | v850 | v850e \
287
300
        | we32k \
288
301
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289
 
        | z8k)
 
302
        | z8k | z80)
290
303
                basic_machine=$basic_machine-unknown
291
304
                ;;
292
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
305
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
293
306
                # Motorola 68HC11/12.
294
307
                basic_machine=$basic_machine-unknown
295
308
                os=-none
329
342
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
343
        | i*86-* | i860-* | i960-* | ia64-* \
331
344
        | ip2k-* | iq2000-* \
 
345
        | lm32-* \
332
346
        | m32c-* | m32r-* | m32rle-* \
333
347
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
348
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
335
349
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
350
        | mips16-* \
337
351
        | mips64-* | mips64el-* \
 
352
        | mips64octeon-* | mips64octeonel-* \
 
353
        | mips64orion-* | mips64orionel-* \
 
354
        | mips64r5900-* | mips64r5900el-* \
338
355
        | mips64vr-* | mips64vrel-* \
339
 
        | mips64orion-* | mips64orionel-* \
340
356
        | mips64vr4100-* | mips64vr4100el-* \
341
357
        | mips64vr4300-* | mips64vr4300el-* \
342
358
        | mips64vr5000-* | mips64vr5000el-* \
357
373
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358
374
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
375
        | pyramid-* \
360
 
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
376
        | romp-* | rs6000-* | rx-* \
 
377
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
362
378
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
379
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364
380
        | sparclite-* \
365
381
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366
382
        | tahoe-* | thumb-* \
367
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
383
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
368
384
        | tron-* \
 
385
        | ubicom32-* \
369
386
        | v850-* | v850e-* | vax-* \
370
387
        | we32k-* \
371
388
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372
389
        | xstormy16-* | xtensa*-* \
373
390
        | ymp-* \
374
 
        | z8k-*)
 
391
        | z8k-* | z80-*)
375
392
                ;;
376
393
        # Recognize the basic CPU types without company name, with glob match.
377
394
        xtensa*)
439
456
                basic_machine=m68k-apollo
440
457
                os=-bsd
441
458
                ;;
 
459
        aros)
 
460
                basic_machine=i386-pc
 
461
                os=-aros
 
462
                ;;
442
463
        aux)
443
464
                basic_machine=m68k-apple
444
465
                os=-aux
455
476
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
456
477
                os=-linux
457
478
                ;;
 
479
        bluegene*)
 
480
                basic_machine=powerpc-ibm
 
481
                os=-cnk
 
482
                ;;
458
483
        c90)
459
484
                basic_machine=c90-cray
460
485
                os=-unicos
461
486
                ;;
 
487
        cegcc)
 
488
                basic_machine=arm-unknown
 
489
                os=-cegcc
 
490
                ;;
462
491
        convex-c1)
463
492
                basic_machine=c1-convex
464
493
                os=-bsd
526
555
                basic_machine=m88k-motorola
527
556
                os=-sysv3
528
557
                ;;
 
558
        dicos)
 
559
                basic_machine=i686-pc
 
560
                os=-dicos
 
561
                ;;
529
562
        djgpp)
530
563
                basic_machine=i586-pc
531
564
                os=-msdosdjgpp
699
732
                basic_machine=ns32k-utek
700
733
                os=-sysv
701
734
                ;;
 
735
        microblaze)
 
736
                basic_machine=microblaze-xilinx
 
737
                ;;
702
738
        mingw32)
703
739
                basic_machine=i386-pc
704
740
                os=-mingw32
1128
1164
                basic_machine=z8k-unknown
1129
1165
                os=-sim
1130
1166
                ;;
 
1167
        z80-*-coff)
 
1168
                basic_machine=z80-unknown
 
1169
                os=-sim
 
1170
                ;;
1131
1171
        none)
1132
1172
                basic_machine=none-none
1133
1173
                os=-none
1166
1206
        we32k)
1167
1207
                basic_machine=we32k-att
1168
1208
                ;;
1169
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1209
        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1170
1210
                basic_machine=sh-unknown
1171
1211
                ;;
1172
1212
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1216
1256
        # First match some system type aliases
1217
1257
        # that might get confused with valid system types.
1218
1258
        # -solaris* is a basic system type, with this one exception.
 
1259
        -auroraux)
 
1260
                os=-auroraux
 
1261
                ;;
1219
1262
        -solaris1 | -solaris1.*)
1220
1263
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1221
1264
                ;;
1236
1279
        # Each alternative MUST END IN A *, to match a version number.
1237
1280
        # -sysv* is not here because it comes later, after sysvr4.
1238
1281
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1239
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1240
 
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 
1282
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 
1283
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1284
              | -sym* | -kopensolaris* \
1241
1285
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1242
 
              | -aos* \
 
1286
              | -aos* | -aros* \
1243
1287
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1244
1288
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1245
1289
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1248
1292
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1249
1293
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1250
1294
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1251
 
              | -chorusos* | -chorusrdb* \
 
1295
              | -chorusos* | -chorusrdb* | -cegcc* \
1252
1296
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1253
1297
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1254
1298
              | -uxpv* | -beos* | -mpeix* | -udk* \
1258
1302
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1259
1303
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1260
1304
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1261
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
1305
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1262
1306
        # Remember, each alternative MUST END IN *, to match a version number.
1263
1307
                ;;
1264
1308
        -qnx*)
1388
1432
        -zvmoe)
1389
1433
                os=-zvmoe
1390
1434
                ;;
 
1435
        -dicos*)
 
1436
                os=-dicos
 
1437
                ;;
1391
1438
        -none)
1392
1439
                ;;
1393
1440
        *)
1585
1632
                        -sunos*)
1586
1633
                                vendor=sun
1587
1634
                                ;;
1588
 
                        -aix*)
 
1635
                        -cnk*|-aix*)
1589
1636
                                vendor=ibm
1590
1637
                                ;;
1591
1638
                        -beos*)