~ubuntu-branches/ubuntu/karmic/xscreensaver/karmic

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Ralf Hildebrandt
  • Date: 2006-07-29 23:00:43 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20060729230043-3ergkicskbntet5n
Tags: 4.24-5
remove /usr/doc/xscreensaver link to finish /usr/doc ->
/usr/share/doc transition (closes: #380394)

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