~ubuntu-branches/ubuntu/precise/wget/precise-proposed

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2005-06-26 16:46:25 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050626164625-jjcde8hyztx7xq7o
Tags: 1.10-2
* wget-fix_error--save-headers patch from upstream
  (closes: Bug#314728)
* don't pattern-match server redirects patch from upstream
  (closes: Bug#163243)
* correct de.po typos
  (closes: Bug#313883)
* wget-E_html_behind_file_counting fix problem with adding the
  numbers after the html extension
* updated Standards-Version: to 3.6.2

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2002-11-30'
 
6
timestamp='2005-02-10'
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
70
70
version="\
71
71
GNU config.sub ($timestamp)
72
72
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
73
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
74
74
Free Software Foundation, Inc.
75
75
 
76
76
This is free software; see the source for copying conditions.  There is NO
118
118
# Here we must recognize all the valid KERNEL-OS combinations.
119
119
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
120
case $maybe_os in
121
 
  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | 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*)
122
123
    os=-$maybe_os
123
124
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124
125
    ;;
144
145
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145
146
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146
147
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147
 
        -apple | -axis)
 
148
        -apple | -axis | -knuth | -cray)
148
149
                os=
149
150
                basic_machine=$1
150
151
                ;;
228
229
        | a29k \
229
230
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230
231
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 
232
        | am33_2.0 \
231
233
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
232
 
        | clipper \
 
234
        | c4x | clipper \
233
235
        | d10v | d30v | dlx | dsp16xx \
234
236
        | fr30 | frv \
235
237
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236
238
        | i370 | i860 | i960 | ia64 \
237
 
        | ip2k \
238
 
        | m32r | m68000 | m68k | m88k | mcore \
 
239
        | ip2k | iq2000 \
 
240
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
239
241
        | mips | mipsbe | mipseb | mipsel | mipsle \
240
242
        | mips16 \
241
243
        | mips64 | mips64el \
245
247
        | mips64vr4300 | mips64vr4300el \
246
248
        | mips64vr5000 | mips64vr5000el \
247
249
        | mipsisa32 | mipsisa32el \
 
250
        | mipsisa32r2 | mipsisa32r2el \
248
251
        | mipsisa64 | mipsisa64el \
 
252
        | mipsisa64r2 | mipsisa64r2el \
249
253
        | mipsisa64sb1 | mipsisa64sb1el \
250
254
        | mipsisa64sr71k | mipsisa64sr71kel \
251
255
        | mipstx39 | mipstx39el \
252
256
        | mn10200 | mn10300 \
 
257
        | msp430 \
253
258
        | ns16k | ns32k \
254
259
        | openrisc | or32 \
255
260
        | pdp10 | pdp11 | pj | pjl \
256
261
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
257
262
        | pyramid \
258
 
        | sh | sh[1234] | sh3e | 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 \
259
264
        | sh64 | sh64le \
260
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
265
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
261
266
        | strongarm \
262
 
        | tahoe | thumb | tic80 | tron \
 
267
        | tahoe | thumb | tic4x | tic80 | tron \
263
268
        | v850 | v850e \
264
269
        | we32k \
265
 
        | x86 | xscale | xstormy16 | xtensa \
 
270
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
266
271
        | z8k)
267
272
                basic_machine=$basic_machine-unknown
268
273
                ;;
294
299
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
295
300
        | avr-* \
296
301
        | bs2000-* \
297
 
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
298
 
        | clipper-* | cydra-* \
 
302
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
303
        | clipper-* | craynv-* | cydra-* \
299
304
        | d10v-* | d30v-* | dlx-* \
300
305
        | elxsi-* \
301
306
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
302
307
        | h8300-* | h8500-* \
303
308
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
304
309
        | i*86-* | i860-* | i960-* | ia64-* \
305
 
        | ip2k-* \
306
 
        | m32r-* \
 
310
        | ip2k-* | iq2000-* \
 
311
        | m32r-* | m32rle-* \
307
312
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
308
 
        | m88110-* | m88k-* | mcore-* \
 
313
        | m88110-* | m88k-* | maxq-* | mcore-* \
309
314
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
310
315
        | mips16-* \
311
316
        | mips64-* | mips64el-* \
315
320
        | mips64vr4300-* | mips64vr4300el-* \
316
321
        | mips64vr5000-* | mips64vr5000el-* \
317
322
        | mipsisa32-* | mipsisa32el-* \
 
323
        | mipsisa32r2-* | mipsisa32r2el-* \
318
324
        | mipsisa64-* | mipsisa64el-* \
 
325
        | mipsisa64r2-* | mipsisa64r2el-* \
319
326
        | mipsisa64sb1-* | mipsisa64sb1el-* \
320
327
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
321
 
        | mipstx39 | mipstx39el \
 
328
        | mipstx39-* | mipstx39el-* \
 
329
        | mmix-* \
 
330
        | msp430-* \
322
331
        | none-* | np1-* | ns16k-* | ns32k-* \
323
332
        | orion-* \
324
333
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
325
334
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
326
335
        | pyramid-* \
327
336
        | romp-* | rs6000-* \
328
 
        | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
 
337
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
329
338
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
330
339
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
331
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
332
 
        | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
 
340
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
341
        | tahoe-* | thumb-* \
 
342
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
343
        | tron-* \
333
344
        | v850-* | v850e-* | vax-* \
334
345
        | we32k-* \
335
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
336
 
        | xtensa-* \
 
346
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
347
        | xstormy16-* | xtensa-* \
337
348
        | ymp-* \
338
349
        | z8k-*)
339
350
                ;;
353
364
                basic_machine=a29k-amd
354
365
                os=-udi
355
366
                ;;
 
367
        abacus)
 
368
                basic_machine=abacus-unknown
 
369
                ;;
356
370
        adobe68k)
357
371
                basic_machine=m68010-adobe
358
372
                os=-scout
367
381
                basic_machine=a29k-none
368
382
                os=-bsd
369
383
                ;;
 
384
        amd64)
 
385
                basic_machine=x86_64-pc
 
386
                ;;
 
387
        amd64-*)
 
388
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
389
                ;;
370
390
        amdahl)
371
391
                basic_machine=580-amdahl
372
392
                os=-sysv
426
446
                basic_machine=j90-cray
427
447
                os=-unicos
428
448
                ;;
 
449
        craynv)
 
450
                basic_machine=craynv-cray
 
451
                os=-unicosmp
 
452
                ;;
 
453
        cr16c)
 
454
                basic_machine=cr16c-unknown
 
455
                os=-elf
 
456
                ;;
429
457
        crds | unos)
430
458
                basic_machine=m68k-crds
431
459
                ;;
 
460
        crisv32 | crisv32-* | etraxfs*)
 
461
                basic_machine=crisv32-axis
 
462
                ;;
432
463
        cris | cris-* | etrax*)
433
464
                basic_machine=cris-axis
434
465
                ;;
 
466
        crx)
 
467
                basic_machine=crx-unknown
 
468
                os=-elf
 
469
                ;;
435
470
        da30 | da30-*)
436
471
                basic_machine=m68k-da30
437
472
                ;;
454
489
                basic_machine=m88k-motorola
455
490
                os=-sysv3
456
491
                ;;
 
492
        djgpp)
 
493
                basic_machine=i586-pc
 
494
                os=-msdosdjgpp
 
495
                ;;
457
496
        dpx20 | dpx20-*)
458
497
                basic_machine=rs6000-bull
459
498
                os=-bosx
632
671
        mips3*)
633
672
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
634
673
                ;;
635
 
        mmix*)
636
 
                basic_machine=mmix-knuth
637
 
                os=-mmixware
638
 
                ;;
639
674
        monitor)
640
675
                basic_machine=m68k-rom68k
641
676
                os=-coff
727
762
                basic_machine=or32-unknown
728
763
                os=-coff
729
764
                ;;
 
765
        os400)
 
766
                basic_machine=powerpc-ibm
 
767
                os=-os400
 
768
                ;;
730
769
        OSE68000 | ose68000)
731
770
                basic_machine=m68000-ericsson
732
771
                os=-ose
758
797
        pentiumpro | p6 | 6x86 | athlon | athlon_*)
759
798
                basic_machine=i686-pc
760
799
                ;;
761
 
        pentiumii | pentium2)
 
800
        pentiumii | pentium2 | pentiumiii | pentium3)
762
801
                basic_machine=i686-pc
763
802
                ;;
 
803
        pentium4)
 
804
                basic_machine=i786-pc
 
805
                ;;
764
806
        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
765
807
                basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
766
808
                ;;
767
809
        pentiumpro-* | p6-* | 6x86-* | athlon-*)
768
810
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
769
811
                ;;
770
 
        pentiumii-* | pentium2-*)
 
812
        pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
771
813
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
772
814
                ;;
 
815
        pentium4-*)
 
816
                basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
 
817
                ;;
773
818
        pn)
774
819
                basic_machine=pn-gould
775
820
                ;;
828
873
        sb1el)
829
874
                basic_machine=mipsisa64sb1el-unknown
830
875
                ;;
 
876
        sei)
 
877
                basic_machine=mips-sei
 
878
                os=-seiux
 
879
                ;;
831
880
        sequent)
832
881
                basic_machine=i386-sequent
833
882
                ;;
835
884
                basic_machine=sh-hitachi
836
885
                os=-hms
837
886
                ;;
 
887
        sh64)
 
888
                basic_machine=sh64-unknown
 
889
                ;;
838
890
        sparclite-wrs | simso-wrs)
839
891
                basic_machine=sparclite-wrs
840
892
                os=-vxworks
901
953
                basic_machine=i386-sequent
902
954
                os=-dynix
903
955
                ;;
904
 
        t3d)
905
 
                basic_machine=alpha-cray
906
 
                os=-unicos
907
 
                ;;
908
956
        t3e)
909
957
                basic_machine=alphaev5-cray
910
958
                os=-unicos
913
961
                basic_machine=t90-cray
914
962
                os=-unicos
915
963
                ;;
916
 
        tic4x | c4x*)
917
 
                basic_machine=tic4x-unknown
918
 
                os=-coff
919
 
                ;;
920
964
        tic54x | c54x*)
921
965
                basic_machine=tic54x-unknown
922
966
                os=-coff
923
967
                ;;
 
968
        tic55x | c55x*)
 
969
                basic_machine=tic55x-unknown
 
970
                os=-coff
 
971
                ;;
 
972
        tic6x | c6x*)
 
973
                basic_machine=tic6x-unknown
 
974
                os=-coff
 
975
                ;;
924
976
        tx39)
925
977
                basic_machine=mipstx39-unknown
926
978
                ;;
934
986
        tower | tower-32)
935
987
                basic_machine=m68k-ncr
936
988
                ;;
 
989
        tpf)
 
990
                basic_machine=s390x-ibm
 
991
                os=-tpf
 
992
                ;;
937
993
        udi29k)
938
994
                basic_machine=a29k-amd
939
995
                os=-udi
977
1033
                basic_machine=hppa1.1-winbond
978
1034
                os=-proelf
979
1035
                ;;
 
1036
        xbox)
 
1037
                basic_machine=i686-pc
 
1038
                os=-mingw32
 
1039
                ;;
980
1040
        xps | xps100)
981
1041
                basic_machine=xps100-honeywell
982
1042
                ;;
1007
1067
        romp)
1008
1068
                basic_machine=romp-ibm
1009
1069
                ;;
 
1070
        mmix)
 
1071
                basic_machine=mmix-knuth
 
1072
                ;;
1010
1073
        rs6000)
1011
1074
                basic_machine=rs6000-ibm
1012
1075
                ;;
1023
1086
        we32k)
1024
1087
                basic_machine=we32k-att
1025
1088
                ;;
1026
 
        sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
 
1089
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1027
1090
                basic_machine=sh-unknown
1028
1091
                ;;
1029
1092
        sh64)
1030
1093
                basic_machine=sh64-unknown
1031
1094
                ;;
1032
 
        sparc | sparcv9 | sparcv9b)
 
1095
        sparc | sparcv8 | sparcv9 | sparcv9b)
1033
1096
                basic_machine=sparc-sun
1034
1097
                ;;
1035
1098
        cydra)
1102
1165
              | -aos* \
1103
1166
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1104
1167
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1105
 
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1106
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1168
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1169
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1170
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1107
1171
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1108
1172
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1109
1173
              | -chorusos* | -chorusrdb* \
1110
1174
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1111
 
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1175
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1112
1176
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1113
1177
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1114
1178
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1115
1179
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1116
1180
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1117
 
              | -powermax* | -dnix*)
 
1181
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1118
1182
        # Remember, each alternative MUST END IN *, to match a version number.
1119
1183
                ;;
1120
1184
        -qnx*)
1138
1202
        -mac*)
1139
1203
                os=`echo $os | sed -e 's|mac|macos|'`
1140
1204
                ;;
 
1205
        -linux-dietlibc)
 
1206
                os=-linux-dietlibc
 
1207
                ;;
1141
1208
        -linux*)
1142
1209
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
1143
1210
                ;;
1150
1217
        -opened*)
1151
1218
                os=-openedition
1152
1219
                ;;
 
1220
        -os400*)
 
1221
                os=-os400
 
1222
                ;;
1153
1223
        -wince*)
1154
1224
                os=-wince
1155
1225
                ;;
1171
1241
        -atheos*)
1172
1242
                os=-atheos
1173
1243
                ;;
 
1244
        -syllable*)
 
1245
                os=-syllable
 
1246
                ;;
1174
1247
        -386bsd)
1175
1248
                os=-bsd
1176
1249
                ;;
1193
1266
        -sinix*)
1194
1267
                os=-sysv4
1195
1268
                ;;
 
1269
        -tpf*)
 
1270
                os=-tpf
 
1271
                ;;
1196
1272
        -triton*)
1197
1273
                os=-sysv3
1198
1274
                ;;
1223
1299
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1224
1300
                os=-mint
1225
1301
                ;;
 
1302
        -aros*)
 
1303
                os=-aros
 
1304
                ;;
 
1305
        -kaos*)
 
1306
                os=-kaos
 
1307
                ;;
 
1308
        -zvmoe)
 
1309
                os=-zvmoe
 
1310
                ;;
1226
1311
        -none)
1227
1312
                ;;
1228
1313
        *)
1254
1339
        arm*-semi)
1255
1340
                os=-aout
1256
1341
                ;;
 
1342
    c4x-* | tic4x-*)
 
1343
        os=-coff
 
1344
        ;;
1257
1345
        # This must come before the *-dec entry.
1258
1346
        pdp10-*)
1259
1347
                os=-tops20
1300
1388
        *-ibm)
1301
1389
                os=-aix
1302
1390
                ;;
 
1391
        *-knuth)
 
1392
                os=-mmixware
 
1393
                ;;
1303
1394
        *-wec)
1304
1395
                os=-proelf
1305
1396
                ;;
1432
1523
                        -mvs* | -opened*)
1433
1524
                                vendor=ibm
1434
1525
                                ;;
 
1526
                        -os400*)
 
1527
                                vendor=ibm
 
1528
                                ;;
1435
1529
                        -ptx*)
1436
1530
                                vendor=sequent
1437
1531
                                ;;
 
1532
                        -tpf*)
 
1533
                                vendor=ibm
 
1534
                                ;;
1438
1535
                        -vxsim* | -vxworks* | -windiss*)
1439
1536
                                vendor=wrs
1440
1537
                                ;;