~ubuntu-branches/ubuntu/quantal/kde-i18n-bg/quantal

« back to all changes in this revision

Viewing changes to admin/config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-11-15 14:14:36 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20071115141436-hzfzqcay39812gx8
Tags: 4:3.5.8-0ubuntu1
New upstream 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 Free Software Foundation,
5
 
#   Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
6
5
 
7
 
timestamp='2007-01-18'
 
6
timestamp='2005-07-01'
8
7
 
9
8
# This file is (in principle) common to ALL GNU software.
10
9
# The presence of a machine in this file suggests that SOME GNU software
120
119
# Here we must recognize all the valid KERNEL-OS combinations.
121
120
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
122
121
case $maybe_os in
123
 
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
 
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
125
 
  storm-chaos* | os2-emx* | rtmk-nova*)
 
122
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
 
123
  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
126
124
    os=-$maybe_os
127
125
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
128
126
    ;;
173
171
        -hiux*)
174
172
                os=-hiuxwe2
175
173
                ;;
176
 
        -sco6)
177
 
                os=-sco5v6
178
 
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
179
 
                ;;
180
174
        -sco5)
181
175
                os=-sco3.2v5
182
176
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
193
187
                # Don't forget version if it is 3.2v4 or newer.
194
188
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
195
189
                ;;
196
 
        -sco5v6*)
197
 
                # Don't forget version if it is 3.2v4 or newer.
198
 
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
199
 
                ;;
200
190
        -sco*)
201
191
                os=-sco3.2v2
202
192
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
241
231
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
242
232
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
243
233
        | am33_2.0 \
244
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
234
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
245
235
        | bfin \
246
236
        | c4x | clipper \
247
237
        | d10v | d30v | dlx | dsp16xx \
248
 
        | fido | fr30 | frv \
 
238
        | fr30 | frv \
249
239
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
240
        | i370 | i860 | i960 | ia64 \
251
241
        | ip2k | iq2000 \
252
 
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore | mep \
 
242
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
254
243
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
244
        | mips16 \
256
245
        | mips64 | mips64el \
268
257
        | mipsisa64sr71k | mipsisa64sr71kel \
269
258
        | mipstx39 | mipstx39el \
270
259
        | mn10200 | mn10300 \
271
 
        | mt \
 
260
        | ms1 \
272
261
        | msp430 \
273
 
        | nios | nios2 \
274
262
        | ns16k | ns32k \
275
263
        | or32 \
276
264
        | pdp10 | pdp11 | pj | pjl \
277
265
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
266
        | pyramid \
279
 
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
267
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
281
268
        | sh64 | sh64le \
282
 
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
 
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284
 
        | spu | strongarm \
 
269
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
270
        | sparcv8 | sparcv9 | sparcv9b \
 
271
        | strongarm \
285
272
        | tahoe | thumb | tic4x | tic80 | tron \
286
273
        | v850 | v850e \
287
274
        | we32k \
288
 
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
275
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
289
276
        | z8k)
290
277
                basic_machine=$basic_machine-unknown
291
278
                ;;
 
279
        m32c)
 
280
                basic_machine=$basic_machine-unknown
 
281
                ;;
292
282
        m6811 | m68hc11 | m6812 | m68hc12)
293
283
                # Motorola 68HC11/12.
294
284
                basic_machine=$basic_machine-unknown
296
286
                ;;
297
287
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
298
288
                ;;
299
 
        ms1)
300
 
                basic_machine=mt-unknown
301
 
                ;;
302
289
 
303
290
        # We use `pc' rather than `unknown'
304
291
        # because (1) that's what they normally are, and
318
305
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
319
306
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
320
307
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
321
 
        | avr-* | avr32-* \
 
308
        | avr-* \
322
309
        | bfin-* | bs2000-* \
323
310
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
324
311
        | clipper-* | craynv-* | cydra-* \
325
312
        | d10v-* | d30v-* | dlx-* \
326
313
        | elxsi-* \
327
 
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
 
314
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
328
315
        | h8300-* | h8500-* \
329
316
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
317
        | i*86-* | i860-* | i960-* | ia64-* \
331
318
        | ip2k-* | iq2000-* \
332
 
        | m32c-* | m32r-* | m32rle-* \
 
319
        | m32r-* | m32rle-* \
333
320
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
321
        | m88110-* | m88k-* | maxq-* | mcore-* \
335
322
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
349
336
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
350
337
        | mipstx39-* | mipstx39el-* \
351
338
        | mmix-* \
352
 
        | mt-* \
 
339
        | ms1-* \
353
340
        | msp430-* \
354
 
        | nios-* | nios2-* \
355
341
        | none-* | np1-* | ns16k-* | ns32k-* \
356
342
        | orion-* \
357
343
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358
344
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
345
        | pyramid-* \
360
346
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
347
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
362
348
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
 
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 
349
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
364
350
        | sparclite-* \
365
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
 
351
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
366
352
        | tahoe-* | thumb-* \
367
353
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
368
354
        | tron-* \
369
355
        | v850-* | v850e-* | vax-* \
370
356
        | we32k-* \
371
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
357
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
372
358
        | xstormy16-* | xtensa-* \
373
359
        | ymp-* \
374
360
        | z8k-*)
375
361
                ;;
 
362
        m32c-*)
 
363
                ;;
376
364
        # Recognize the various machine names and aliases which stand
377
365
        # for a CPU type and a company and sometimes even an OS.
378
366
        386bsd)
708
696
                basic_machine=i386-pc
709
697
                os=-msdos
710
698
                ;;
711
 
        ms1-*)
712
 
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
713
 
                ;;
714
699
        mvs)
715
700
                basic_machine=i370-ibm
716
701
                os=-mvs
818
803
        pc532 | pc532-*)
819
804
                basic_machine=ns32k-pc532
820
805
                ;;
821
 
        pc98)
822
 
                basic_machine=i386-pc
823
 
                ;;
824
 
        pc98-*)
825
 
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
826
 
                ;;
827
806
        pentium | p5 | k5 | k6 | nexgen | viac3)
828
807
                basic_machine=i586-pc
829
808
                ;;
880
859
                basic_machine=i586-unknown
881
860
                os=-pw32
882
861
                ;;
883
 
        rdos)
884
 
                basic_machine=i386-pc
885
 
                os=-rdos
886
 
                ;;
887
862
        rom68k)
888
863
                basic_machine=m68k-rom68k
889
864
                os=-coff
910
885
        sb1el)
911
886
                basic_machine=mipsisa64sb1el-unknown
912
887
                ;;
913
 
        sde)
914
 
                basic_machine=mipsisa32-sde
915
 
                os=-elf
916
 
                ;;
917
888
        sei)
918
889
                basic_machine=mips-sei
919
890
                os=-seiux
925
896
                basic_machine=sh-hitachi
926
897
                os=-hms
927
898
                ;;
928
 
        sh5el)
929
 
                basic_machine=sh5le-unknown
930
 
                ;;
931
899
        sh64)
932
900
                basic_machine=sh64-unknown
933
901
                ;;
1130
1098
        we32k)
1131
1099
                basic_machine=we32k-att
1132
1100
                ;;
1133
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1101
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1134
1102
                basic_machine=sh-unknown
1135
1103
                ;;
1136
 
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
 
1104
        sparc | sparcv8 | sparcv9 | sparcv9b)
1137
1105
                basic_machine=sparc-sun
1138
1106
                ;;
1139
1107
        cydra)
1206
1174
              | -aos* \
1207
1175
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1208
1176
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1209
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1210
 
              | -openbsd* | -solidbsd* \
 
1177
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1211
1178
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1212
1179
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1213
1180
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1214
1181
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1215
1182
              | -chorusos* | -chorusrdb* \
1216
1183
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1217
 
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1218
 
              | -uxpv* | -beos* | -mpeix* | -udk* \
 
1184
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1219
1185
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1220
1186
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1221
1187
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1222
1188
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1223
1189
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1224
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1225
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
1190
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -skyos*)
1226
1191
        # Remember, each alternative MUST END IN *, to match a version number.
1227
1192
                ;;
1228
1193
        -qnx*)
1240
1205
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1241
1206
                ;;
1242
1207
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1243
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
 
1208
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1244
1209
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1245
1210
                ;;
1246
1211
        -mac*)
1374
1339
# system, and we'll never get to this point.
1375
1340
 
1376
1341
case $basic_machine in
1377
 
        score-*)
1378
 
                os=-elf
1379
 
                ;;
1380
 
        spu-*)
1381
 
                os=-elf
1382
 
                ;;
1383
1342
        *-acorn)
1384
1343
                os=-riscix1.2
1385
1344
                ;;
1389
1348
        arm*-semi)
1390
1349
                os=-aout
1391
1350
                ;;
1392
 
        c4x-* | tic4x-*)
1393
 
                os=-coff
1394
 
                ;;
 
1351
    c4x-* | tic4x-*)
 
1352
        os=-coff
 
1353
        ;;
1395
1354
        # This must come before the *-dec entry.
1396
1355
        pdp10-*)
1397
1356
                os=-tops20
1417
1376
        m68*-cisco)
1418
1377
                os=-aout
1419
1378
                ;;
1420
 
        mep-*)
1421
 
                os=-elf
1422
 
                ;;
1423
1379
        mips*-cisco)
1424
1380
                os=-elf
1425
1381
                ;;
1438
1394
        *-be)
1439
1395
                os=-beos
1440
1396
                ;;
1441
 
        *-haiku)
1442
 
                os=-haiku
1443
 
                ;;
1444
1397
        *-ibm)
1445
1398
                os=-aix
1446
1399
                ;;