~ubuntu-branches/ubuntu/oneiric/soqt/oneiric

« back to all changes in this revision

Viewing changes to cfg/config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2004-05-29 02:58:50 UTC
  • Revision ID: james.westby@ubuntu.com-20040529025850-nkh0l2b0mixwkcgh
Tags: 1.0.2-3
Build against coin-2, rather than coin-1.  Closes: #241102.

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 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2002-03-07'
 
6
timestamp='2003-01-03'
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
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* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
 
121
  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122
122
    os=-$maybe_os
123
123
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124
124
    ;;
229
229
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230
230
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
231
231
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
232
 
        | c4x | clipper \
233
 
        | d10v | d30v | dsp16xx \
234
 
        | fr30 \
 
232
        | clipper \
 
233
        | d10v | d30v | dlx | dsp16xx \
 
234
        | fr30 | frv \
235
235
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236
236
        | i370 | i860 | i960 | ia64 \
 
237
        | ip2k \
237
238
        | m32r | m68000 | m68k | m88k | mcore \
238
 
        | mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
239
 
        | mips64vr4100 | mips64vr4100el | mips64vr4300 \
240
 
        | mips64vr4300el | mips64vr5000 | mips64vr5000el \
241
 
        | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
242
 
        | mipsisa32 | mipsisa64 \
 
239
        | mips | mipsbe | mipseb | mipsel | mipsle \
 
240
        | mips16 \
 
241
        | mips64 | mips64el \
 
242
        | mips64vr | mips64vrel \
 
243
        | mips64orion | mips64orionel \
 
244
        | mips64vr4100 | mips64vr4100el \
 
245
        | mips64vr4300 | mips64vr4300el \
 
246
        | mips64vr5000 | mips64vr5000el \
 
247
        | mipsisa32 | mipsisa32el \
 
248
        | mipsisa32r2 | mipsisa32r2el \
 
249
        | mipsisa64 | mipsisa64el \
 
250
        | mipsisa64sb1 | mipsisa64sb1el \
 
251
        | mipsisa64sr71k | mipsisa64sr71kel \
 
252
        | mipstx39 | mipstx39el \
243
253
        | mn10200 | mn10300 \
 
254
        | msp430 \
244
255
        | ns16k | ns32k \
245
256
        | openrisc | or32 \
246
257
        | pdp10 | pdp11 | pj | pjl \
247
258
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
248
259
        | pyramid \
249
 
        | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \
 
260
        | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
261
        | sh64 | sh64le \
250
262
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
251
263
        | strongarm \
252
264
        | tahoe | thumb | tic80 | tron \
281
293
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
282
294
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
283
295
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
284
 
        | arm-*  | armbe-* | armle-* | armv*-* \
 
296
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
285
297
        | avr-* \
286
298
        | bs2000-* \
287
 
        | c[123]* | c30-* | [cjt]90-* | c54x-* \
 
299
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
288
300
        | clipper-* | cydra-* \
289
 
        | d10v-* | d30v-* \
 
301
        | d10v-* | d30v-* | dlx-* \
290
302
        | elxsi-* \
291
 
        | f30[01]-* | f700-* | fr30-* | fx80-* \
 
303
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
292
304
        | h8300-* | h8500-* \
293
305
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
294
306
        | i*86-* | i860-* | i960-* | ia64-* \
 
307
        | ip2k-* \
295
308
        | m32r-* \
296
309
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
297
310
        | m88110-* | m88k-* | mcore-* \
298
 
        | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
299
 
        | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
300
 
        | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
301
 
        | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
302
 
        | none-* | np1-* | ns16k-* | ns32k-* \
 
311
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 
312
        | mips16-* \
 
313
        | mips64-* | mips64el-* \
 
314
        | mips64vr-* | mips64vrel-* \
 
315
        | mips64orion-* | mips64orionel-* \
 
316
        | mips64vr4100-* | mips64vr4100el-* \
 
317
        | mips64vr4300-* | mips64vr4300el-* \
 
318
        | mips64vr5000-* | mips64vr5000el-* \
 
319
        | mipsisa32-* | mipsisa32el-* \
 
320
        | mipsisa32r2-* | mipsisa32r2el-* \
 
321
        | mipsisa64-* | mipsisa64el-* \
 
322
        | mipsisa64sb1-* | mipsisa64sb1el-* \
 
323
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
 
324
        | mipstx39-* | mipstx39el-* \
 
325
        | msp430-* \
 
326
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
303
327
        | orion-* \
304
328
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
305
329
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
306
330
        | pyramid-* \
307
331
        | romp-* | rs6000-* \
308
 
        | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \
 
332
        | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
 
333
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
309
334
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
310
335
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
311
 
        | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
 
336
        | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
312
337
        | v850-* | v850e-* | vax-* \
313
338
        | we32k-* \
314
339
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
695
720
        np1)
696
721
                basic_machine=np1-gould
697
722
                ;;
 
723
        nv1)
 
724
                basic_machine=nv1-cray
 
725
                os=-unicosmp
 
726
                ;;
698
727
        nsr-tandem)
699
728
                basic_machine=nsr-tandem
700
729
                ;;
728
757
        pbb)
729
758
                basic_machine=m68k-tti
730
759
                ;;
731
 
        pc532 | pc532-*)
 
760
        pc532 | pc532-*)
732
761
                basic_machine=ns32k-pc532
733
762
                ;;
734
763
        pentium | p5 | k5 | k6 | nexgen | viac3)
735
764
                basic_machine=i586-pc
736
765
                ;;
737
 
        pentiumpro | p6 | 6x86 | athlon)
 
766
        pentiumpro | p6 | 6x86 | athlon | athlon_*)
738
767
                basic_machine=i686-pc
739
768
                ;;
740
769
        pentiumii | pentium2)
755
784
        power)  basic_machine=power-ibm
756
785
                ;;
757
786
        ppc)    basic_machine=powerpc-unknown
758
 
                ;;
 
787
                ;;
759
788
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
760
789
                ;;
761
790
        ppcle | powerpclittle | ppc-le | powerpc-little)
762
791
                basic_machine=powerpcle-unknown
763
 
                ;;
 
792
                ;;
764
793
        ppcle-* | powerpclittle-*)
765
794
                basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
766
795
                ;;
767
796
        ppc64)  basic_machine=powerpc64-unknown
768
 
                ;;
 
797
                ;;
769
798
        ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
770
799
                ;;
771
800
        ppc64le | powerpc64little | ppc64-le | powerpc64-little)
772
801
                basic_machine=powerpc64le-unknown
773
 
                ;;
 
802
                ;;
774
803
        ppc64le-* | powerpc64little-*)
775
804
                basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
776
805
                ;;
801
830
                basic_machine=a29k-amd
802
831
                os=-udi
803
832
                ;;
 
833
        sb1)
 
834
                basic_machine=mipsisa64sb1-unknown
 
835
                ;;
 
836
        sb1el)
 
837
                basic_machine=mipsisa64sb1el-unknown
 
838
                ;;
804
839
        sequent)
805
840
                basic_machine=i386-sequent
806
841
                ;;
866
901
        sun386 | sun386i | roadrunner)
867
902
                basic_machine=i386-sun
868
903
                ;;
869
 
        sv1)
 
904
        sv1)
870
905
                basic_machine=sv1-cray
871
906
                os=-unicos
872
907
                ;;
874
909
                basic_machine=i386-sequent
875
910
                os=-dynix
876
911
                ;;
877
 
        t3d)
878
 
                basic_machine=alpha-cray
879
 
                os=-unicos
880
 
                ;;
881
912
        t3e)
882
913
                basic_machine=alphaev5-cray
883
914
                os=-unicos
886
917
                basic_machine=t90-cray
887
918
                os=-unicos
888
919
                ;;
 
920
        tic4x | c4x*)
 
921
                basic_machine=tic4x-unknown
 
922
                os=-coff
 
923
                ;;
889
924
        tic54x | c54x*)
890
925
                basic_machine=tic54x-unknown
891
926
                os=-coff
924
959
                os=-vms
925
960
                ;;
926
961
        vpp*|vx|vx-*)
927
 
               basic_machine=f301-fujitsu
928
 
               ;;
 
962
                basic_machine=f301-fujitsu
 
963
                ;;
929
964
        vxworks960)
930
965
                basic_machine=i960-wrs
931
966
                os=-vxworks
946
981
                basic_machine=hppa1.1-winbond
947
982
                os=-proelf
948
983
                ;;
949
 
        windows32)
950
 
                basic_machine=i386-pc
951
 
                os=-windows32-msvcrt
952
 
                ;;
953
 
        xps | xps100)
 
984
        xps | xps100)
954
985
                basic_machine=xps100-honeywell
955
986
                ;;
956
987
        ymp)
996
1027
        we32k)
997
1028
                basic_machine=we32k-att
998
1029
                ;;
999
 
        sh3 | sh4 | sh3eb | sh4eb)
 
1030
        sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
1000
1031
                basic_machine=sh-unknown
1001
1032
                ;;
1002
1033
        sh64)
1005
1036
        sparc | sparcv9 | sparcv9b)
1006
1037
                basic_machine=sparc-sun
1007
1038
                ;;
1008
 
        cydra)
 
1039
        cydra)
1009
1040
                basic_machine=cydra-cydrome
1010
1041
                ;;
1011
1042
        orion)
1020
1051
        pmac | pmac-mpw)
1021
1052
                basic_machine=powerpc-apple
1022
1053
                ;;
1023
 
        c4x*)
1024
 
                basic_machine=c4x-none
1025
 
                os=-coff
1026
 
                ;;
1027
1054
        *-unknown)
1028
1055
                # Make sure to match an already-canonicalized machine name.
1029
1056
                ;;
1086
1113
              | -chorusos* | -chorusrdb* \
1087
1114
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1088
1115
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1089
 
              | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
 
1116
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1090
1117
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1091
1118
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1092
1119
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1093
 
              | -morphos* | -superux* | -rtmk* | -rtmk-nova*)
 
1120
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 
1121
              | -powermax* | -dnix* | -microbsd*)
1094
1122
        # Remember, each alternative MUST END IN *, to match a version number.
1095
1123
                ;;
1096
1124
        -qnx*)
1102
1130
                        ;;
1103
1131
                esac
1104
1132
                ;;
 
1133
        -nto-qnx*)
 
1134
                ;;
1105
1135
        -nto*)
1106
 
                os=-nto-qnx
 
1136
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1107
1137
                ;;
1108
1138
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1109
1139
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1155
1185
                os=-rtmk-nova
1156
1186
                ;;
1157
1187
        -ns2 )
1158
 
                os=-nextstep2
 
1188
                os=-nextstep2
1159
1189
                ;;
1160
1190
        -nsk*)
1161
1191
                os=-nsk
1194
1224
        -xenix)
1195
1225
                os=-xenix
1196
1226
                ;;
1197
 
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1198
 
                os=-mint
 
1227
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 
1228
                os=-mint
1199
1229
                ;;
1200
1230
        -none)
1201
1231
                ;;
1232
1262
        pdp10-*)
1233
1263
                os=-tops20
1234
1264
                ;;
1235
 
        pdp11-*)
 
1265
        pdp11-*)
1236
1266
                os=-none
1237
1267
                ;;
1238
1268
        *-dec | vax-*)
1325
1355
        *-next)
1326
1356
                os=-nextstep3
1327
1357
                ;;
1328
 
        *-gould)
 
1358
        *-gould)
1329
1359
                os=-sysv
1330
1360
                ;;
1331
 
        *-highlevel)
 
1361
        *-highlevel)
1332
1362
                os=-bsd
1333
1363
                ;;
1334
1364
        *-encore)
1335
1365
                os=-bsd
1336
1366
                ;;
1337
 
        *-sgi)
 
1367
        *-sgi)
1338
1368
                os=-irix
1339
1369
                ;;
1340
 
        *-siemens)
 
1370
        *-siemens)
1341
1371
                os=-sysv4
1342
1372
                ;;
1343
1373
        *-masscomp)
1409
1439
                        -ptx*)
1410
1440
                                vendor=sequent
1411
1441
                                ;;
1412
 
                        -vxsim* | -vxworks*)
 
1442
                        -vxsim* | -vxworks* | -windiss*)
1413
1443
                                vendor=wrs
1414
1444
                                ;;
1415
1445
                        -aux*)