~ubuntu-branches/ubuntu/intrepid/xfce4-panel/intrepid

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Jani Monoses
  • Date: 2006-09-12 15:36:53 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20060912153653-sajops08au69e9r6
Tags: 4.3.99.1-0ubuntu1
* New upstream release (4.4RC1)
* Bumped library and policy versions

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2006-02-23'
 
6
timestamp='2004-03-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., 51 Franklin Street - Fifth Floor, Boston, MA
25
 
# 02110-1301, USA.
26
 
#
 
24
# Foundation, Inc., 59 Temple Place - Suite 330,
 
25
# Boston, MA 02111-1307, 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
 
 
33
32
# Please send patches to <config-patches@gnu.org>.  Submit a context
34
33
# diff and a properly formatted ChangeLog entry.
35
34
#
71
70
version="\
72
71
GNU config.sub ($timestamp)
73
72
 
74
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
73
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
75
74
Free Software Foundation, Inc.
76
75
 
77
76
This is free software; see the source for copying conditions.  There is NO
84
83
while test $# -gt 0 ; do
85
84
  case $1 in
86
85
    --time-stamp | --time* | -t )
87
 
       echo "$timestamp" ; exit ;;
 
86
       echo "$timestamp" ; exit 0 ;;
88
87
    --version | -v )
89
 
       echo "$version" ; exit ;;
 
88
       echo "$version" ; exit 0 ;;
90
89
    --help | --h* | -h )
91
 
       echo "$usage"; exit ;;
 
90
       echo "$usage"; exit 0 ;;
92
91
    -- )     # Stop option processing
93
92
       shift; break ;;
94
93
    - ) # Use stdin as input.
100
99
    *local*)
101
100
       # First pass through any local machine types.
102
101
       echo $1
103
 
       exit ;;
 
102
       exit 0;;
104
103
 
105
104
    * )
106
105
       break ;;
119
118
# Here we must recognize all the valid KERNEL-OS combinations.
120
119
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
121
120
case $maybe_os in
122
 
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
123
 
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
124
 
  storm-chaos* | os2-emx* | rtmk-nova*)
 
121
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
 
122
  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
125
123
    os=-$maybe_os
126
124
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
127
125
    ;;
147
145
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
148
146
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
149
147
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
150
 
        -apple | -axis | -knuth | -cray)
 
148
        -apple | -axis)
151
149
                os=
152
150
                basic_machine=$1
153
151
                ;;
172
170
        -hiux*)
173
171
                os=-hiuxwe2
174
172
                ;;
175
 
        -sco6)
176
 
                os=-sco5v6
177
 
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
178
 
                ;;
179
173
        -sco5)
180
174
                os=-sco3.2v5
181
175
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
192
186
                # Don't forget version if it is 3.2v4 or newer.
193
187
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
194
188
                ;;
195
 
        -sco5v6*)
196
 
                # Don't forget version if it is 3.2v4 or newer.
197
 
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
198
 
                ;;
199
189
        -sco*)
200
190
                os=-sco3.2v2
201
191
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
241
231
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
242
232
        | am33_2.0 \
243
233
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
244
 
        | bfin \
245
234
        | c4x | clipper \
246
235
        | d10v | d30v | dlx | dsp16xx \
247
236
        | fr30 | frv \
248
237
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
249
238
        | i370 | i860 | i960 | ia64 \
250
239
        | ip2k | iq2000 \
251
 
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \
 
240
        | m32r | m32rle | m68000 | m68k | m88k | mcore \
252
241
        | mips | mipsbe | mipseb | mipsel | mipsle \
253
242
        | mips16 \
254
243
        | mips64 | mips64el \
257
246
        | mips64vr4100 | mips64vr4100el \
258
247
        | mips64vr4300 | mips64vr4300el \
259
248
        | mips64vr5000 | mips64vr5000el \
260
 
        | mips64vr5900 | mips64vr5900el \
261
249
        | mipsisa32 | mipsisa32el \
262
250
        | mipsisa32r2 | mipsisa32r2el \
263
251
        | mipsisa64 | mipsisa64el \
266
254
        | mipsisa64sr71k | mipsisa64sr71kel \
267
255
        | mipstx39 | mipstx39el \
268
256
        | mn10200 | mn10300 \
269
 
        | mt \
270
257
        | msp430 \
271
 
        | nios | nios2 \
272
258
        | ns16k | ns32k \
273
 
        | or32 \
 
259
        | openrisc | or32 \
274
260
        | pdp10 | pdp11 | pj | pjl \
275
261
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
276
262
        | pyramid \
277
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
263
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
278
264
        | sh64 | sh64le \
279
 
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
280
 
        | sparcv8 | sparcv9 | sparcv9b \
 
265
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
281
266
        | strongarm \
282
267
        | tahoe | thumb | tic4x | tic80 | tron \
283
268
        | v850 | v850e \
284
269
        | we32k \
285
 
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
 
270
        | x86 | xscale | xstormy16 | xtensa \
286
271
        | z8k)
287
272
                basic_machine=$basic_machine-unknown
288
273
                ;;
289
 
        m32c)
290
 
                basic_machine=$basic_machine-unknown
291
 
                ;;
292
274
        m6811 | m68hc11 | m6812 | m68hc12)
293
275
                # Motorola 68HC11/12.
294
276
                basic_machine=$basic_machine-unknown
296
278
                ;;
297
279
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
298
280
                ;;
299
 
        ms1)
300
 
                basic_machine=mt-unknown
301
 
                ;;
302
281
 
303
282
        # We use `pc' rather than `unknown'
304
283
        # because (1) that's what they normally are, and
319
298
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
320
299
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
321
300
        | avr-* \
322
 
        | bfin-* | bs2000-* \
 
301
        | bs2000-* \
323
302
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
324
 
        | clipper-* | craynv-* | cydra-* \
 
303
        | clipper-* | cydra-* \
325
304
        | d10v-* | d30v-* | dlx-* \
326
305
        | elxsi-* \
327
306
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
331
310
        | ip2k-* | iq2000-* \
332
311
        | m32r-* | m32rle-* \
333
312
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
313
        | m88110-* | m88k-* | mcore-* \
335
314
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
315
        | mips16-* \
337
316
        | mips64-* | mips64el-* \
340
319
        | mips64vr4100-* | mips64vr4100el-* \
341
320
        | mips64vr4300-* | mips64vr4300el-* \
342
321
        | mips64vr5000-* | mips64vr5000el-* \
343
 
        | mips64vr5900-* | mips64vr5900el-* \
344
322
        | mipsisa32-* | mipsisa32el-* \
345
323
        | mipsisa32r2-* | mipsisa32r2el-* \
346
324
        | mipsisa64-* | mipsisa64el-* \
348
326
        | mipsisa64sb1-* | mipsisa64sb1el-* \
349
327
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
350
328
        | mipstx39-* | mipstx39el-* \
351
 
        | mmix-* \
352
 
        | mt-* \
353
329
        | msp430-* \
354
 
        | nios-* | nios2-* \
355
 
        | none-* | np1-* | ns16k-* | ns32k-* \
 
330
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
356
331
        | orion-* \
357
332
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358
333
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
334
        | pyramid-* \
360
335
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
336
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
362
337
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
 
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
364
 
        | sparclite-* \
 
338
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
365
339
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
366
340
        | tahoe-* | thumb-* \
367
341
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
368
342
        | tron-* \
369
343
        | v850-* | v850e-* | vax-* \
370
344
        | we32k-* \
371
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
372
 
        | xstormy16-* | xtensa-* \
 
345
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
 
346
        | xtensa-* \
373
347
        | ymp-* \
374
348
        | z8k-*)
375
349
                ;;
376
 
        m32c-*)
377
 
                ;;
378
350
        # Recognize the various machine names and aliases which stand
379
351
        # for a CPU type and a company and sometimes even an OS.
380
352
        386bsd)
473
445
                basic_machine=j90-cray
474
446
                os=-unicos
475
447
                ;;
476
 
        craynv)
477
 
                basic_machine=craynv-cray
478
 
                os=-unicosmp
479
 
                ;;
480
448
        cr16c)
481
449
                basic_machine=cr16c-unknown
482
450
                os=-elf
484
452
        crds | unos)
485
453
                basic_machine=m68k-crds
486
454
                ;;
487
 
        crisv32 | crisv32-* | etraxfs*)
488
 
                basic_machine=crisv32-axis
489
 
                ;;
490
455
        cris | cris-* | etrax*)
491
456
                basic_machine=cris-axis
492
457
                ;;
516
481
                basic_machine=m88k-motorola
517
482
                os=-sysv3
518
483
                ;;
519
 
        djgpp)
520
 
                basic_machine=i586-pc
521
 
                os=-msdosdjgpp
522
 
                ;;
523
484
        dpx20 | dpx20-*)
524
485
                basic_machine=rs6000-bull
525
486
                os=-bosx
698
659
        mips3*)
699
660
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
700
661
                ;;
 
662
        mmix*)
 
663
                basic_machine=mmix-knuth
 
664
                os=-mmixware
 
665
                ;;
701
666
        monitor)
702
667
                basic_machine=m68k-rom68k
703
668
                os=-coff
710
675
                basic_machine=i386-pc
711
676
                os=-msdos
712
677
                ;;
713
 
        ms1-*)
714
 
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
715
 
                ;;
716
678
        mvs)
717
679
                basic_machine=i370-ibm
718
680
                os=-mvs
781
743
        np1)
782
744
                basic_machine=np1-gould
783
745
                ;;
 
746
        nv1)
 
747
                basic_machine=nv1-cray
 
748
                os=-unicosmp
 
749
                ;;
784
750
        nsr-tandem)
785
751
                basic_machine=nsr-tandem
786
752
                ;;
788
754
                basic_machine=hppa1.1-oki
789
755
                os=-proelf
790
756
                ;;
791
 
        openrisc | openrisc-*)
 
757
        or32 | or32-*)
792
758
                basic_machine=or32-unknown
 
759
                os=-coff
793
760
                ;;
794
761
        os400)
795
762
                basic_machine=powerpc-ibm
820
787
        pc532 | pc532-*)
821
788
                basic_machine=ns32k-pc532
822
789
                ;;
823
 
        pc98)
824
 
                basic_machine=i386-pc
825
 
                ;;
826
 
        pc98-*)
827
 
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
828
 
                ;;
829
790
        pentium | p5 | k5 | k6 | nexgen | viac3)
830
791
                basic_machine=i586-pc
831
792
                ;;
882
843
                basic_machine=i586-unknown
883
844
                os=-pw32
884
845
                ;;
885
 
        rdos)
886
 
                basic_machine=i386-pc
887
 
                os=-rdos
888
 
                ;;
889
846
        rom68k)
890
847
                basic_machine=m68k-rom68k
891
848
                os=-coff
1072
1029
                basic_machine=hppa1.1-winbond
1073
1030
                os=-proelf
1074
1031
                ;;
1075
 
        xbox)
1076
 
                basic_machine=i686-pc
1077
 
                os=-mingw32
1078
 
                ;;
1079
1032
        xps | xps100)
1080
1033
                basic_machine=xps100-honeywell
1081
1034
                ;;
1106
1059
        romp)
1107
1060
                basic_machine=romp-ibm
1108
1061
                ;;
1109
 
        mmix)
1110
 
                basic_machine=mmix-knuth
1111
 
                ;;
1112
1062
        rs6000)
1113
1063
                basic_machine=rs6000-ibm
1114
1064
                ;;
1125
1075
        we32k)
1126
1076
                basic_machine=we32k-att
1127
1077
                ;;
1128
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1078
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1129
1079
                basic_machine=sh-unknown
1130
1080
                ;;
 
1081
        sh64)
 
1082
                basic_machine=sh64-unknown
 
1083
                ;;
1131
1084
        sparc | sparcv8 | sparcv9 | sparcv9b)
1132
1085
                basic_machine=sparc-sun
1133
1086
                ;;
1201
1154
              | -aos* \
1202
1155
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1203
1156
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1204
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1205
 
              | -openbsd* | -solidbsd* \
 
1157
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1206
1158
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1207
1159
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1208
1160
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1209
1161
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1210
1162
              | -chorusos* | -chorusrdb* \
1211
1163
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1212
 
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1213
 
              | -uxpv* | -beos* | -mpeix* | -udk* \
 
1164
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1214
1165
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1215
1166
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1216
1167
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1217
1168
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1218
1169
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1219
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1220
 
              | -skyos* | -haiku* | -rdos*)
 
1170
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1221
1171
        # Remember, each alternative MUST END IN *, to match a version number.
1222
1172
                ;;
1223
1173
        -qnx*)
1235
1185
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1236
1186
                ;;
1237
1187
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1238
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
 
1188
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1239
1189
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1240
1190
                ;;
1241
1191
        -mac*)
1344
1294
        -kaos*)
1345
1295
                os=-kaos
1346
1296
                ;;
1347
 
        -zvmoe)
1348
 
                os=-zvmoe
1349
 
                ;;
1350
1297
        -none)
1351
1298
                ;;
1352
1299
        *)
1424
1371
        *-be)
1425
1372
                os=-beos
1426
1373
                ;;
1427
 
        *-haiku)
1428
 
                os=-haiku
1429
 
                ;;
1430
1374
        *-ibm)
1431
1375
                os=-aix
1432
1376
                ;;
1433
 
        *-knuth)
1434
 
                os=-mmixware
1435
 
                ;;
1436
1377
        *-wec)
1437
1378
                os=-proelf
1438
1379
                ;;
1598
1539
esac
1599
1540
 
1600
1541
echo $basic_machine$os
1601
 
exit
 
1542
exit 0
1602
1543
 
1603
1544
# Local variables:
1604
1545
# eval: (add-hook 'write-file-hooks 'time-stamp)