~ubuntu-branches/ubuntu/feisty/openbabel/feisty

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2006-05-14 19:46:01 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060514194601-h3j1wovvc42cigxl
Tags: 2.0.1-1
* New upstream release. (Closes: #341628)
* debian/patches/04_zipstream_fix.diff: Removed, applied upstream.
* debian/rules (DEB_MAKE_CHECK_TARGET): Readded.

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2004-01-05'
 
6
timestamp='2005-12-11'
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., 59 Temple Place - Suite 330,
25
 
# Boston, MA 02111-1307, USA.
26
 
 
 
24
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
25
# 02110-1301, 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
 
32
33
# Please send patches to <config-patches@gnu.org>.  Submit a context
33
34
# diff and a properly formatted ChangeLog entry.
34
35
#
70
71
version="\
71
72
GNU config.sub ($timestamp)
72
73
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
74
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
74
75
Free Software Foundation, Inc.
75
76
 
76
77
This is free software; see the source for copying conditions.  There is NO
83
84
while test $# -gt 0 ; do
84
85
  case $1 in
85
86
    --time-stamp | --time* | -t )
86
 
       echo "$timestamp" ; exit 0 ;;
 
87
       echo "$timestamp" ; exit ;;
87
88
    --version | -v )
88
 
       echo "$version" ; exit 0 ;;
 
89
       echo "$version" ; exit ;;
89
90
    --help | --h* | -h )
90
 
       echo "$usage"; exit 0 ;;
 
91
       echo "$usage"; exit ;;
91
92
    -- )     # Stop option processing
92
93
       shift; break ;;
93
94
    - ) # Use stdin as input.
99
100
    *local*)
100
101
       # First pass through any local machine types.
101
102
       echo $1
102
 
       exit 0;;
 
103
       exit ;;
103
104
 
104
105
    * )
105
106
       break ;;
118
119
# Here we must recognize all the valid KERNEL-OS combinations.
119
120
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
121
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*)
 
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*)
123
125
    os=-$maybe_os
124
126
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
125
127
    ;;
145
147
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
146
148
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
147
149
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
148
 
        -apple | -axis)
 
150
        -apple | -axis | -knuth | -cray)
149
151
                os=
150
152
                basic_machine=$1
151
153
                ;;
170
172
        -hiux*)
171
173
                os=-hiuxwe2
172
174
                ;;
 
175
        -sco6)
 
176
                os=-sco5v6
 
177
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
178
                ;;
173
179
        -sco5)
174
180
                os=-sco3.2v5
175
181
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
186
192
                # Don't forget version if it is 3.2v4 or newer.
187
193
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
188
194
                ;;
 
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
                ;;
189
199
        -sco*)
190
200
                os=-sco3.2v2
191
201
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
231
241
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
232
242
        | am33_2.0 \
233
243
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
244
        | bfin \
234
245
        | c4x | clipper \
235
246
        | d10v | d30v | dlx | dsp16xx \
236
247
        | fr30 | frv \
237
248
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
238
249
        | i370 | i860 | i960 | ia64 \
239
250
        | ip2k | iq2000 \
240
 
        | m32r | m68000 | m68k | m88k | mcore \
 
251
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
241
252
        | mips | mipsbe | mipseb | mipsel | mipsle \
242
253
        | mips16 \
243
254
        | mips64 | mips64el \
246
257
        | mips64vr4100 | mips64vr4100el \
247
258
        | mips64vr4300 | mips64vr4300el \
248
259
        | mips64vr5000 | mips64vr5000el \
 
260
        | mips64vr5900 | mips64vr5900el \
249
261
        | mipsisa32 | mipsisa32el \
250
262
        | mipsisa32r2 | mipsisa32r2el \
251
263
        | mipsisa64 | mipsisa64el \
254
266
        | mipsisa64sr71k | mipsisa64sr71kel \
255
267
        | mipstx39 | mipstx39el \
256
268
        | mn10200 | mn10300 \
 
269
        | mt \
257
270
        | msp430 \
258
271
        | ns16k | ns32k \
259
 
        | openrisc | or32 \
 
272
        | or32 \
260
273
        | pdp10 | pdp11 | pj | pjl \
261
274
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
262
275
        | pyramid \
263
 
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
276
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
264
277
        | sh64 | sh64le \
265
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
278
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
279
        | sparcv8 | sparcv9 | sparcv9b \
266
280
        | strongarm \
267
281
        | tahoe | thumb | tic4x | tic80 | tron \
268
282
        | v850 | v850e \
269
283
        | we32k \
270
 
        | x86 | xscale | xstormy16 | xtensa \
 
284
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
271
285
        | z8k)
272
286
                basic_machine=$basic_machine-unknown
273
287
                ;;
 
288
        m32c)
 
289
                basic_machine=$basic_machine-unknown
 
290
                ;;
274
291
        m6811 | m68hc11 | m6812 | m68hc12)
275
292
                # Motorola 68HC11/12.
276
293
                basic_machine=$basic_machine-unknown
278
295
                ;;
279
296
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
280
297
                ;;
 
298
        ms1)
 
299
                basic_machine=mt-unknown
 
300
                ;;
281
301
 
282
302
        # We use `pc' rather than `unknown'
283
303
        # because (1) that's what they normally are, and
298
318
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
299
319
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
300
320
        | avr-* \
301
 
        | bs2000-* \
 
321
        | bfin-* | bs2000-* \
302
322
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
303
 
        | clipper-* | cydra-* \
 
323
        | clipper-* | craynv-* | cydra-* \
304
324
        | d10v-* | d30v-* | dlx-* \
305
325
        | elxsi-* \
306
326
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
308
328
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
309
329
        | i*86-* | i860-* | i960-* | ia64-* \
310
330
        | ip2k-* | iq2000-* \
311
 
        | m32r-* \
 
331
        | m32r-* | m32rle-* \
312
332
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
313
 
        | m88110-* | m88k-* | mcore-* \
 
333
        | m88110-* | m88k-* | maxq-* | mcore-* \
314
334
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
315
335
        | mips16-* \
316
336
        | mips64-* | mips64el-* \
319
339
        | mips64vr4100-* | mips64vr4100el-* \
320
340
        | mips64vr4300-* | mips64vr4300el-* \
321
341
        | mips64vr5000-* | mips64vr5000el-* \
 
342
        | mips64vr5900-* | mips64vr5900el-* \
322
343
        | mipsisa32-* | mipsisa32el-* \
323
344
        | mipsisa32r2-* | mipsisa32r2el-* \
324
345
        | mipsisa64-* | mipsisa64el-* \
326
347
        | mipsisa64sb1-* | mipsisa64sb1el-* \
327
348
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
328
349
        | mipstx39-* | mipstx39el-* \
 
350
        | mmix-* \
 
351
        | mt-* \
329
352
        | msp430-* \
330
 
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
353
        | none-* | np1-* | ns16k-* | ns32k-* \
331
354
        | orion-* \
332
355
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
333
356
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
334
357
        | pyramid-* \
335
358
        | romp-* | rs6000-* \
336
 
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
359
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
337
360
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
338
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
339
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
361
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
362
        | sparclite-* \
 
363
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
340
364
        | tahoe-* | thumb-* \
341
365
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
342
366
        | tron-* \
343
367
        | v850-* | v850e-* | vax-* \
344
368
        | we32k-* \
345
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
346
 
        | xtensa-* \
 
369
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
370
        | xstormy16-* | xtensa-* \
347
371
        | ymp-* \
348
372
        | z8k-*)
349
373
                ;;
 
374
        m32c-*)
 
375
                ;;
350
376
        # Recognize the various machine names and aliases which stand
351
377
        # for a CPU type and a company and sometimes even an OS.
352
378
        386bsd)
363
389
                basic_machine=a29k-amd
364
390
                os=-udi
365
391
                ;;
 
392
        abacus)
 
393
                basic_machine=abacus-unknown
 
394
                ;;
366
395
        adobe68k)
367
396
                basic_machine=m68010-adobe
368
397
                os=-scout
442
471
                basic_machine=j90-cray
443
472
                os=-unicos
444
473
                ;;
 
474
        craynv)
 
475
                basic_machine=craynv-cray
 
476
                os=-unicosmp
 
477
                ;;
 
478
        cr16c)
 
479
                basic_machine=cr16c-unknown
 
480
                os=-elf
 
481
                ;;
445
482
        crds | unos)
446
483
                basic_machine=m68k-crds
447
484
                ;;
 
485
        crisv32 | crisv32-* | etraxfs*)
 
486
                basic_machine=crisv32-axis
 
487
                ;;
448
488
        cris | cris-* | etrax*)
449
489
                basic_machine=cris-axis
450
490
                ;;
 
491
        crx)
 
492
                basic_machine=crx-unknown
 
493
                os=-elf
 
494
                ;;
451
495
        da30 | da30-*)
452
496
                basic_machine=m68k-da30
453
497
                ;;
470
514
                basic_machine=m88k-motorola
471
515
                os=-sysv3
472
516
                ;;
 
517
        djgpp)
 
518
                basic_machine=i586-pc
 
519
                os=-msdosdjgpp
 
520
                ;;
473
521
        dpx20 | dpx20-*)
474
522
                basic_machine=rs6000-bull
475
523
                os=-bosx
648
696
        mips3*)
649
697
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
650
698
                ;;
651
 
        mmix*)
652
 
                basic_machine=mmix-knuth
653
 
                os=-mmixware
654
 
                ;;
655
699
        monitor)
656
700
                basic_machine=m68k-rom68k
657
701
                os=-coff
664
708
                basic_machine=i386-pc
665
709
                os=-msdos
666
710
                ;;
 
711
        ms1-*)
 
712
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
713
                ;;
667
714
        mvs)
668
715
                basic_machine=i370-ibm
669
716
                os=-mvs
732
779
        np1)
733
780
                basic_machine=np1-gould
734
781
                ;;
735
 
        nv1)
736
 
                basic_machine=nv1-cray
737
 
                os=-unicosmp
738
 
                ;;
739
782
        nsr-tandem)
740
783
                basic_machine=nsr-tandem
741
784
                ;;
743
786
                basic_machine=hppa1.1-oki
744
787
                os=-proelf
745
788
                ;;
746
 
        or32 | or32-*)
 
789
        openrisc | openrisc-*)
747
790
                basic_machine=or32-unknown
748
 
                os=-coff
749
791
                ;;
750
792
        os400)
751
793
                basic_machine=powerpc-ibm
832
874
                basic_machine=i586-unknown
833
875
                os=-pw32
834
876
                ;;
 
877
        rdos)
 
878
                basic_machine=i386-pc
 
879
                os=-rdos
 
880
                ;;
835
881
        rom68k)
836
882
                basic_machine=m68k-rom68k
837
883
                os=-coff
1018
1064
                basic_machine=hppa1.1-winbond
1019
1065
                os=-proelf
1020
1066
                ;;
 
1067
        xbox)
 
1068
                basic_machine=i686-pc
 
1069
                os=-mingw32
 
1070
                ;;
1021
1071
        xps | xps100)
1022
1072
                basic_machine=xps100-honeywell
1023
1073
                ;;
1048
1098
        romp)
1049
1099
                basic_machine=romp-ibm
1050
1100
                ;;
 
1101
        mmix)
 
1102
                basic_machine=mmix-knuth
 
1103
                ;;
1051
1104
        rs6000)
1052
1105
                basic_machine=rs6000-ibm
1053
1106
                ;;
1064
1117
        we32k)
1065
1118
                basic_machine=we32k-att
1066
1119
                ;;
1067
 
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
1120
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1068
1121
                basic_machine=sh-unknown
1069
1122
                ;;
1070
 
        sh64)
1071
 
                basic_machine=sh64-unknown
1072
 
                ;;
1073
 
        sparc | sparcv9 | sparcv9b)
 
1123
        sparc | sparcv8 | sparcv9 | sparcv9b)
1074
1124
                basic_machine=sparc-sun
1075
1125
                ;;
1076
1126
        cydra)
1143
1193
              | -aos* \
1144
1194
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1145
1195
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1146
 
              | -hiux* | -386bsd* | -knetbsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1147
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1196
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1197
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1198
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1148
1199
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1149
1200
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1150
1201
              | -chorusos* | -chorusrdb* \
1151
1202
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1152
 
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1203
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1204
              | -uxpv* | -beos* | -mpeix* | -udk* \
1153
1205
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1154
1206
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1155
1207
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1156
1208
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1157
1209
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1158
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
 
1210
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1211
              | -skyos* | -haiku* | -rdos*)
1159
1212
        # Remember, each alternative MUST END IN *, to match a version number.
1160
1213
                ;;
1161
1214
        -qnx*)
1173
1226
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1174
1227
                ;;
1175
1228
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1176
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1229
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1177
1230
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1178
1231
                ;;
1179
1232
        -mac*)
1282
1335
        -kaos*)
1283
1336
                os=-kaos
1284
1337
                ;;
 
1338
        -zvmoe)
 
1339
                os=-zvmoe
 
1340
                ;;
1285
1341
        -none)
1286
1342
                ;;
1287
1343
        *)
1359
1415
        *-be)
1360
1416
                os=-beos
1361
1417
                ;;
 
1418
        *-haiku)
 
1419
                os=-haiku
 
1420
                ;;
1362
1421
        *-ibm)
1363
1422
                os=-aix
1364
1423
                ;;
 
1424
        *-knuth)
 
1425
                os=-mmixware
 
1426
                ;;
1365
1427
        *-wec)
1366
1428
                os=-proelf
1367
1429
                ;;
1527
1589
esac
1528
1590
 
1529
1591
echo $basic_machine$os
1530
 
exit 0
 
1592
exit
1531
1593
 
1532
1594
# Local variables:
1533
1595
# eval: (add-hook 'write-file-hooks 'time-stamp)