~ubuntu-branches/ubuntu/hardy/gnupg2/hardy

« back to all changes in this revision

Viewing changes to scripts/config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-05-15 13:54:55 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070515135455-89qfyalmgjy6gcqw
Tags: 2.0.4-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Remove libpcsclite-dev, libopensc2-dev build dependencies (they are in
    universe).
  - Build-depend on libcurl3-gnutls-dev
  - g10/call-agent.c: set DBG_ASSUAN to 0 to suppress a debug message
  - Include /doc files as done with gnupg
  - debian/rules: add doc/com-certs.pem to the docs for gpgsm
  - debian/copyright: update download url
  - debian/README.Debian: remove note the gnupg2 isn't released yet.
  - debian/control: Change Maintainer/XSBC-Original-Maintainer field.

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2004-06-24'
 
6
timestamp='2006-02-23'
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, 2002, 2003, 2004
 
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
    ;;
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 | m32rle | m68000 | m68k | m88k | mcore \
 
251
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | 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 \
 
271
        | nios | nios2 \
258
272
        | ns16k | ns32k \
259
 
        | openrisc | or32 \
 
273
        | or32 \
260
274
        | pdp10 | pdp11 | pj | pjl \
261
275
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
262
276
        | pyramid \
263
 
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
277
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
264
278
        | sh64 | sh64le \
265
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
 
279
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
280
        | sparcv8 | sparcv9 | sparcv9b \
266
281
        | strongarm \
267
282
        | tahoe | thumb | tic4x | tic80 | tron \
268
283
        | v850 | v850e \
269
284
        | we32k \
270
 
        | x86 | xscale | xstormy16 | xtensa \
 
285
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
271
286
        | z8k)
272
287
                basic_machine=$basic_machine-unknown
273
288
                ;;
 
289
        m32c)
 
290
                basic_machine=$basic_machine-unknown
 
291
                ;;
274
292
        m6811 | m68hc11 | m6812 | m68hc12)
275
293
                # Motorola 68HC11/12.
276
294
                basic_machine=$basic_machine-unknown
278
296
                ;;
279
297
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
280
298
                ;;
 
299
        ms1)
 
300
                basic_machine=mt-unknown
 
301
                ;;
281
302
 
282
303
        # We use `pc' rather than `unknown'
283
304
        # because (1) that's what they normally are, and
298
319
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
299
320
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
300
321
        | avr-* \
301
 
        | bs2000-* \
 
322
        | bfin-* | bs2000-* \
302
323
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
303
324
        | clipper-* | craynv-* | cydra-* \
304
325
        | d10v-* | d30v-* | dlx-* \
310
331
        | ip2k-* | iq2000-* \
311
332
        | m32r-* | m32rle-* \
312
333
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
313
 
        | m88110-* | m88k-* | mcore-* \
 
334
        | m88110-* | m88k-* | maxq-* | mcore-* \
314
335
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
315
336
        | mips16-* \
316
337
        | mips64-* | mips64el-* \
319
340
        | mips64vr4100-* | mips64vr4100el-* \
320
341
        | mips64vr4300-* | mips64vr4300el-* \
321
342
        | mips64vr5000-* | mips64vr5000el-* \
 
343
        | mips64vr5900-* | mips64vr5900el-* \
322
344
        | mipsisa32-* | mipsisa32el-* \
323
345
        | mipsisa32r2-* | mipsisa32r2el-* \
324
346
        | mipsisa64-* | mipsisa64el-* \
327
349
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
328
350
        | mipstx39-* | mipstx39el-* \
329
351
        | mmix-* \
 
352
        | mt-* \
330
353
        | msp430-* \
 
354
        | nios-* | nios2-* \
331
355
        | none-* | np1-* | ns16k-* | ns32k-* \
332
356
        | orion-* \
333
357
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
334
358
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
335
359
        | pyramid-* \
336
360
        | romp-* | rs6000-* \
337
 
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
361
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
338
362
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
339
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
 
363
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
364
        | sparclite-* \
340
365
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
341
366
        | tahoe-* | thumb-* \
342
367
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
343
368
        | tron-* \
344
369
        | v850-* | v850e-* | vax-* \
345
370
        | we32k-* \
346
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
347
 
        | xtensa-* \
 
371
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
372
        | xstormy16-* | xtensa-* \
348
373
        | ymp-* \
349
374
        | z8k-*)
350
375
                ;;
 
376
        m32c-*)
 
377
                ;;
351
378
        # Recognize the various machine names and aliases which stand
352
379
        # for a CPU type and a company and sometimes even an OS.
353
380
        386bsd)
457
484
        crds | unos)
458
485
                basic_machine=m68k-crds
459
486
                ;;
 
487
        crisv32 | crisv32-* | etraxfs*)
 
488
                basic_machine=crisv32-axis
 
489
                ;;
460
490
        cris | cris-* | etrax*)
461
491
                basic_machine=cris-axis
462
492
                ;;
486
516
                basic_machine=m88k-motorola
487
517
                os=-sysv3
488
518
                ;;
 
519
        djgpp)
 
520
                basic_machine=i586-pc
 
521
                os=-msdosdjgpp
 
522
                ;;
489
523
        dpx20 | dpx20-*)
490
524
                basic_machine=rs6000-bull
491
525
                os=-bosx
676
710
                basic_machine=i386-pc
677
711
                os=-msdos
678
712
                ;;
 
713
        ms1-*)
 
714
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
715
                ;;
679
716
        mvs)
680
717
                basic_machine=i370-ibm
681
718
                os=-mvs
751
788
                basic_machine=hppa1.1-oki
752
789
                os=-proelf
753
790
                ;;
754
 
        or32 | or32-*)
 
791
        openrisc | openrisc-*)
755
792
                basic_machine=or32-unknown
756
 
                os=-coff
757
793
                ;;
758
794
        os400)
759
795
                basic_machine=powerpc-ibm
784
820
        pc532 | pc532-*)
785
821
                basic_machine=ns32k-pc532
786
822
                ;;
 
823
        pc98)
 
824
                basic_machine=i386-pc
 
825
                ;;
 
826
        pc98-*)
 
827
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
 
828
                ;;
787
829
        pentium | p5 | k5 | k6 | nexgen | viac3)
788
830
                basic_machine=i586-pc
789
831
                ;;
840
882
                basic_machine=i586-unknown
841
883
                os=-pw32
842
884
                ;;
 
885
        rdos)
 
886
                basic_machine=i386-pc
 
887
                os=-rdos
 
888
                ;;
843
889
        rom68k)
844
890
                basic_machine=m68k-rom68k
845
891
                os=-coff
1026
1072
                basic_machine=hppa1.1-winbond
1027
1073
                os=-proelf
1028
1074
                ;;
 
1075
        xbox)
 
1076
                basic_machine=i686-pc
 
1077
                os=-mingw32
 
1078
                ;;
1029
1079
        xps | xps100)
1030
1080
                basic_machine=xps100-honeywell
1031
1081
                ;;
1075
1125
        we32k)
1076
1126
                basic_machine=we32k-att
1077
1127
                ;;
1078
 
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
1128
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1079
1129
                basic_machine=sh-unknown
1080
1130
                ;;
1081
 
        sh64)
1082
 
                basic_machine=sh64-unknown
1083
 
                ;;
1084
1131
        sparc | sparcv8 | sparcv9 | sparcv9b)
1085
1132
                basic_machine=sparc-sun
1086
1133
                ;;
1154
1201
              | -aos* \
1155
1202
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1156
1203
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1157
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1204
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
 
1205
              | -openbsd* | -solidbsd* \
1158
1206
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1159
1207
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1160
1208
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1161
1209
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1162
1210
              | -chorusos* | -chorusrdb* \
1163
1211
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1164
 
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1212
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1213
              | -uxpv* | -beos* | -mpeix* | -udk* \
1165
1214
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1166
1215
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1167
1216
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1168
1217
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1169
1218
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1170
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
 
1219
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1220
              | -skyos* | -haiku* | -rdos*)
1171
1221
        # Remember, each alternative MUST END IN *, to match a version number.
1172
1222
                ;;
1173
1223
        -qnx*)
1185
1235
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1186
1236
                ;;
1187
1237
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1188
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1238
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1189
1239
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1190
1240
                ;;
1191
1241
        -mac*)
1294
1344
        -kaos*)
1295
1345
                os=-kaos
1296
1346
                ;;
 
1347
        -zvmoe)
 
1348
                os=-zvmoe
 
1349
                ;;
1297
1350
        -none)
1298
1351
                ;;
1299
1352
        *)
1371
1424
        *-be)
1372
1425
                os=-beos
1373
1426
                ;;
 
1427
        *-haiku)
 
1428
                os=-haiku
 
1429
                ;;
1374
1430
        *-ibm)
1375
1431
                os=-aix
1376
1432
                ;;
1542
1598
esac
1543
1599
 
1544
1600
echo $basic_machine$os
1545
 
exit 0
 
1601
exit
1546
1602
 
1547
1603
# Local variables:
1548
1604
# eval: (add-hook 'write-file-hooks 'time-stamp)