1
Description: Upstream changes introduced in version 2.0.14-2
2
This patch has been created by dpkg-source during the package build.
3
Here's the last changelog entry, hopefully it gives details on why
4
those changes were made:
6
gnupg2 (2.0.14-2) unstable; urgency=low
8
* debian/*.lintian, debian/*.lintian-overrides, debian/rules: Rename
9
lintian files and use dh_lintian instead of shell snippets.
10
* debian/source/patch-header, debian/source/options: Delete patch header
11
and remove single-debian-patch option.
12
* debian/patches/01-gnupg2-rename.diff: Move patch to do the necessary
13
renaming of gnupg -> gnupg2 in a quilt patch.
14
* debian/patches/02-encode-s2k.diff: Added patch to fix passphrase
15
problem in gpgsm. Thanks Martijn van Brummelen for the NMU to fix this
16
problem in 2.0.14-1.1.
17
* debian/patches/03-gpgsm-realloc.diff: Fix for "Realloc Bug with X.509
18
certificates" for gpgsm. (Closes: #590122)
19
* debian/rules, debian/control: Use dh-autoreconf and autopoint to
20
regenerate autotools files at build time.
22
The person named in the Author field signed this changelog entry.
23
Author: Eric Dorland <eric@debian.org>
24
Bug-Debian: http://bugs.debian.org/590122
27
The information above should follow the Patch Tagging Guidelines, please
28
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
29
are templates for supplementary fields that you might want to add:
31
Origin: <vendor|upstream|other>, <url of original patch>
32
Bug: <url in upstream bugtracker>
33
Bug-Debian: http://bugs.debian.org/<bugnumber>
34
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
35
Forwarded: <no|not-needed|url proving that it has been forwarded>
36
Reviewed-By: <name and email of someone who approved the patch>
37
Last-Update: <YYYY-MM-DD>
40
+++ gnupg2-2.0.14/config.guess
43
+# Attempt to guess a canonical system name.
44
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
45
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
46
+# Free Software Foundation, Inc.
48
+timestamp='2009-12-30'
50
+# This file is free software; you can redistribute it and/or modify it
51
+# under the terms of the GNU General Public License as published by
52
+# the Free Software Foundation; either version 2 of the License, or
53
+# (at your option) any later version.
55
+# This program is distributed in the hope that it will be useful, but
56
+# WITHOUT ANY WARRANTY; without even the implied warranty of
57
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
58
+# General Public License for more details.
60
+# You should have received a copy of the GNU General Public License
61
+# along with this program; if not, write to the Free Software
62
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
65
+# As a special exception to the GNU General Public License, if you
66
+# distribute this file as part of a program that contains a
67
+# configuration script generated by Autoconf, you may include it under
68
+# the same distribution terms that you use for the rest of that program.
71
+# Originally written by Per Bothner. Please send patches (context
72
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
75
+# This script attempts to guess a canonical system name similar to
76
+# config.sub. If it succeeds, it prints the system name on stdout, and
77
+# exits with 0. Otherwise, it exits with 1.
79
+# You can get the latest version of this script from:
80
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
82
+me=`echo "$0" | sed -e 's,.*/,,'`
87
+Output the configuration name of the system \`$me' is run on.
90
+ -h, --help print this help, then exit
91
+ -t, --time-stamp print date of last modification, then exit
92
+ -v, --version print version number, then exit
94
+Report bugs and patches to <config-patches@gnu.org>."
97
+GNU config.guess ($timestamp)
99
+Originally written by Per Bothner.
100
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
101
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
102
+Software Foundation, Inc.
104
+This is free software; see the source for copying conditions. There is NO
105
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
108
+Try \`$me --help' for more information."
110
+# Parse command line
111
+while test $# -gt 0 ; do
113
+ --time-stamp | --time* | -t )
114
+ echo "$timestamp" ; exit ;;
116
+ echo "$version" ; exit ;;
117
+ --help | --h* | -h )
118
+ echo "$usage"; exit ;;
119
+ -- ) # Stop option processing
121
+ - ) # Use stdin as input.
124
+ echo "$me: invalid option $1$help" >&2
131
+if test $# != 0; then
132
+ echo "$me: too many arguments$help" >&2
136
+trap 'exit 1' 1 2 15
138
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
139
+# compiler to aid in system detection is discouraged as it requires
140
+# temporary files to be created and, as you can see below, it is a
141
+# headache to deal with in a portable fashion.
143
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
144
+# use `HOST_CC' if defined, but it is deprecated.
146
+# Portable tmp directory creation inspired by the Autoconf team.
149
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
150
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
152
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
153
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
154
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
155
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
157
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
158
+case $CC_FOR_BUILD,$HOST_CC,$CC in
159
+ ,,) echo "int x;" > $dummy.c ;
160
+ for c in cc gcc c89 c99 ; do
161
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
162
+ CC_FOR_BUILD="$c"; break ;
165
+ if test x"$CC_FOR_BUILD" = x ; then
166
+ CC_FOR_BUILD=no_compiler_found ;
169
+ ,,*) CC_FOR_BUILD=$CC ;;
170
+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
171
+esac ; set_cc_for_build= ;'
173
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
174
+# (ghazi@noc.rutgers.edu 1994-08-24)
175
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
176
+ PATH=$PATH:/.attbin ; export PATH
179
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
180
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
181
+UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
182
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
184
+# Note: order is significant - the case branches are not exclusive.
186
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
188
+ # NetBSD (nbsd) targets should (where applicable) match one or
189
+ # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
190
+ # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
191
+ # switched to ELF, *-*-netbsd* would select the old
192
+ # object file format. This provides both forward
193
+ # compatibility and a consistent mechanism for selecting the
194
+ # object file format.
196
+ # Note: NetBSD doesn't particularly care about the vendor
197
+ # portion of the name. We always set it to "unknown".
198
+ sysctl="sysctl -n hw.machine_arch"
199
+ UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
200
+ /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
201
+ case "${UNAME_MACHINE_ARCH}" in
202
+ armeb) machine=armeb-unknown ;;
203
+ arm*) machine=arm-unknown ;;
204
+ sh3el) machine=shl-unknown ;;
205
+ sh3eb) machine=sh-unknown ;;
206
+ sh5el) machine=sh5le-unknown ;;
207
+ *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
209
+ # The Operating System including object format, if it has switched
210
+ # to ELF recently, or will in the future.
211
+ case "${UNAME_MACHINE_ARCH}" in
212
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
213
+ eval $set_cc_for_build
214
+ if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
217
+ # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
218
+ # Return netbsd for either. FIX?
229
+ # Debian GNU/NetBSD machines have a different userland, and
230
+ # thus, need a distinct triplet. However, they do not need
231
+ # kernel version information, so it can be replaced with a
232
+ # suitable tag, in the style of linux-gnu.
233
+ case "${UNAME_VERSION}" in
238
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
241
+ # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
242
+ # contains redundant information, the shorter form:
243
+ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
244
+ echo "${machine}-${os}${release}"
247
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
248
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
251
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
254
+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
257
+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
260
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
263
+ case $UNAME_RELEASE in
265
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
268
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
271
+ # According to Compaq, /usr/sbin/psrinfo has been available on
272
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
273
+ # covers most systems running today. This code pipes the CPU
274
+ # types through head -n 1, so we only detect the type of CPU 0.
275
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
276
+ case "$ALPHA_CPU_TYPE" in
278
+ UNAME_MACHINE="alpha" ;;
280
+ UNAME_MACHINE="alpha" ;;
281
+ "LCA4 (21066/21068)")
282
+ UNAME_MACHINE="alpha" ;;
284
+ UNAME_MACHINE="alphaev5" ;;
286
+ UNAME_MACHINE="alphaev56" ;;
288
+ UNAME_MACHINE="alphapca56" ;;
290
+ UNAME_MACHINE="alphapca57" ;;
292
+ UNAME_MACHINE="alphaev6" ;;
294
+ UNAME_MACHINE="alphaev67" ;;
295
+ "EV6.8CB (21264C)")
296
+ UNAME_MACHINE="alphaev68" ;;
297
+ "EV6.8AL (21264B)")
298
+ UNAME_MACHINE="alphaev68" ;;
299
+ "EV6.8CX (21264D)")
300
+ UNAME_MACHINE="alphaev68" ;;
301
+ "EV6.9A (21264/EV69A)")
302
+ UNAME_MACHINE="alphaev69" ;;
304
+ UNAME_MACHINE="alphaev7" ;;
306
+ UNAME_MACHINE="alphaev79" ;;
308
+ # A Pn.n version is a patched version.
309
+ # A Vn.n version is a released version.
310
+ # A Tn.n version is a released field test version.
311
+ # A Xn.n version is an unreleased experimental baselevel.
312
+ # 1.2 uses "1.2" for uname -r.
313
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
315
+ Alpha\ *:Windows_NT*:*)
316
+ # How do we know it's Interix rather than the generic POSIX subsystem?
317
+ # Should we change UNAME_MACHINE based on the output of uname instead
318
+ # of the specific Alpha model?
319
+ echo alpha-pc-interix
321
+ 21064:Windows_NT:50:3)
322
+ echo alpha-dec-winnt3.5
324
+ Amiga*:UNIX_System_V:4.0:*)
325
+ echo m68k-unknown-sysv4
327
+ *:[Aa]miga[Oo][Ss]:*:*)
328
+ echo ${UNAME_MACHINE}-unknown-amigaos
330
+ *:[Mm]orph[Oo][Ss]:*:*)
331
+ echo ${UNAME_MACHINE}-unknown-morphos
334
+ echo i370-ibm-openedition
337
+ echo s390-ibm-zvmoe
340
+ echo powerpc-ibm-os400
342
+ arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
343
+ echo arm-acorn-riscix${UNAME_RELEASE}
345
+ arm:riscos:*:*|arm:RISCOS:*:*)
346
+ echo arm-unknown-riscos
348
+ SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
349
+ echo hppa1.1-hitachi-hiuxmpp
351
+ Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
352
+ # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
353
+ if test "`(/bin/universe) 2>/dev/null`" = att ; then
354
+ echo pyramid-pyramid-sysv3
356
+ echo pyramid-pyramid-bsd
360
+ echo pyramid-pyramid-svr4
362
+ DRS?6000:unix:4.0:6*)
365
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
366
+ case `/usr/bin/uname -p` in
367
+ sparc) echo sparc-icl-nx7; exit ;;
370
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
373
+ echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
375
+ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
376
+ echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
378
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
379
+ echo i386-pc-auroraux${UNAME_RELEASE}
381
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
382
+ eval $set_cc_for_build
384
+ # If there is a compiler, see if it is configured for 64-bit objects.
385
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
386
+ # This test works for both compilers.
387
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
388
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
389
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
390
+ grep IS_64BIT_ARCH >/dev/null
395
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
398
+ # According to config.sub, this is the proper way to canonicalize
399
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
400
+ # it's likely to be more like Solaris than SunOS4.
401
+ echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
404
+ case "`/usr/bin/arch -k`" in
406
+ UNAME_RELEASE=`uname -v`
409
+ # Japanese Language versions have a version number like `4.1.3-JL'.
410
+ echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
413
+ echo m68k-sun-sunos${UNAME_RELEASE}
416
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
417
+ test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
418
+ case "`/bin/arch`" in
420
+ echo m68k-sun-sunos${UNAME_RELEASE}
423
+ echo sparc-sun-sunos${UNAME_RELEASE}
428
+ echo sparc-auspex-sunos${UNAME_RELEASE}
430
+ # The situation for MiNT is a little confusing. The machine name
431
+ # can be virtually everything (everything which is not
432
+ # "atarist" or "atariste" at least should have a processor
433
+ # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
434
+ # to the lowercase version "mint" (or "freemint"). Finally
435
+ # the system name "TOS" denotes a system which is actually not
436
+ # MiNT. But MiNT is downward compatible to TOS, so this should
438
+ atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
439
+ echo m68k-atari-mint${UNAME_RELEASE}
441
+ atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
442
+ echo m68k-atari-mint${UNAME_RELEASE}
444
+ *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
445
+ echo m68k-atari-mint${UNAME_RELEASE}
447
+ milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
448
+ echo m68k-milan-mint${UNAME_RELEASE}
450
+ hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
451
+ echo m68k-hades-mint${UNAME_RELEASE}
453
+ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
454
+ echo m68k-unknown-mint${UNAME_RELEASE}
457
+ echo m68k-apple-machten${UNAME_RELEASE}
459
+ powerpc:machten:*:*)
460
+ echo powerpc-apple-machten${UNAME_RELEASE}
463
+ echo mips-dec-mach_bsd4.3
466
+ echo mips-dec-ultrix${UNAME_RELEASE}
469
+ echo vax-dec-ultrix${UNAME_RELEASE}
471
+ 2020:CLIX:*:* | 2430:CLIX:*:*)
472
+ echo clipper-intergraph-clix${UNAME_RELEASE}
474
+ mips:*:*:UMIPS | mips:*:*:RISCos)
475
+ eval $set_cc_for_build
476
+ sed 's/^ //' << EOF >$dummy.c
478
+#include <stdio.h> /* for printf() prototype */
479
+ int main (int argc, char *argv[]) {
481
+ int main (argc, argv) int argc; char *argv[]; {
483
+ #if defined (host_mips) && defined (MIPSEB)
484
+ #if defined (SYSTYPE_SYSV)
485
+ printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
487
+ #if defined (SYSTYPE_SVR4)
488
+ printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
490
+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
491
+ printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
497
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
498
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
499
+ SYSTEM_NAME=`$dummy $dummyarg` &&
500
+ { echo "$SYSTEM_NAME"; exit; }
501
+ echo mips-mips-riscos${UNAME_RELEASE}
503
+ Motorola:PowerMAX_OS:*:*)
504
+ echo powerpc-motorola-powermax
506
+ Motorola:*:4.3:PL8-*)
507
+ echo powerpc-harris-powermax
509
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
510
+ echo powerpc-harris-powermax
512
+ Night_Hawk:Power_UNIX:*:*)
513
+ echo powerpc-harris-powerunix
516
+ echo m88k-harris-cxux7
519
+ echo m88k-motorola-sysv4
522
+ echo m88k-motorola-sysv3
525
+ # DG/UX returns AViiON for all architectures
526
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
527
+ if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
529
+ if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
530
+ [ ${TARGET_BINARY_INTERFACE}x = x ]
532
+ echo m88k-dg-dgux${UNAME_RELEASE}
534
+ echo m88k-dg-dguxbcs${UNAME_RELEASE}
537
+ echo i586-dg-dgux${UNAME_RELEASE}
540
+ M88*:DolphinOS:*:*) # DolphinOS (SVR3)
541
+ echo m88k-dolphin-sysv3
544
+ # Delta 88k system running SVR3
545
+ echo m88k-motorola-sysv3
547
+ XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
548
+ echo m88k-tektronix-sysv3
550
+ Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
551
+ echo m68k-tektronix-bsd
554
+ echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
556
+ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
557
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
558
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
563
+ if [ -x /usr/bin/oslevel ] ; then
564
+ IBM_REV=`/usr/bin/oslevel`
566
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
568
+ echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
571
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
572
+ eval $set_cc_for_build
573
+ sed 's/^ //' << EOF >$dummy.c
574
+ #include <sys/systemcfg.h>
580
+ puts("powerpc-ibm-aix3.2.5");
584
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
586
+ echo "$SYSTEM_NAME"
588
+ echo rs6000-ibm-aix3.2.5
590
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
591
+ echo rs6000-ibm-aix3.2.4
593
+ echo rs6000-ibm-aix3.2
597
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
598
+ if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
603
+ if [ -x /usr/bin/oslevel ] ; then
604
+ IBM_REV=`/usr/bin/oslevel`
606
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
608
+ echo ${IBM_ARCH}-ibm-aix${IBM_REV}
611
+ echo rs6000-ibm-aix
613
+ ibmrt:4.4BSD:*|romp-ibm:BSD:*)
614
+ echo romp-ibm-bsd4.4
616
+ ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
617
+ echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
618
+ exit ;; # report: romp-ibm BSD 4.3
620
+ echo rs6000-bull-bosx
622
+ DPX/2?00:B.O.S.:*:*)
623
+ echo m68k-bull-sysv3
625
+ 9000/[34]??:4.3bsd:1.*:*)
628
+ hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
629
+ echo m68k-hp-bsd4.4
631
+ 9000/[34678]??:HP-UX:*:*)
632
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
633
+ case "${UNAME_MACHINE}" in
634
+ 9000/31? ) HP_ARCH=m68000 ;;
635
+ 9000/[34]?? ) HP_ARCH=m68k ;;
636
+ 9000/[678][0-9][0-9])
637
+ if [ -x /usr/bin/getconf ]; then
638
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
639
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
640
+ case "${sc_cpu_version}" in
641
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
642
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
643
+ 532) # CPU_PA_RISC2_0
644
+ case "${sc_kernel_bits}" in
645
+ 32) HP_ARCH="hppa2.0n" ;;
646
+ 64) HP_ARCH="hppa2.0w" ;;
647
+ '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
651
+ if [ "${HP_ARCH}" = "" ]; then
652
+ eval $set_cc_for_build
653
+ sed 's/^ //' << EOF >$dummy.c
655
+ #define _HPUX_SOURCE
656
+ #include <stdlib.h>
657
+ #include <unistd.h>
661
+ #if defined(_SC_KERNEL_BITS)
662
+ long bits = sysconf(_SC_KERNEL_BITS);
664
+ long cpu = sysconf (_SC_CPU_VERSION);
668
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
669
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
670
+ case CPU_PA_RISC2_0:
671
+ #if defined(_SC_KERNEL_BITS)
674
+ case 64: puts ("hppa2.0w"); break;
675
+ case 32: puts ("hppa2.0n"); break;
676
+ default: puts ("hppa2.0"); break;
678
+ #else /* !defined(_SC_KERNEL_BITS) */
679
+ puts ("hppa2.0"); break;
681
+ default: puts ("hppa1.0"); break;
686
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
687
+ test -z "$HP_ARCH" && HP_ARCH=hppa
690
+ if [ ${HP_ARCH} = "hppa2.0w" ]
692
+ eval $set_cc_for_build
694
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
695
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
696
+ # generating 64-bit code. GNU and HP use different nomenclature:
698
+ # $ CC_FOR_BUILD=cc ./config.guess
699
+ # => hppa2.0w-hp-hpux11.23
700
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
701
+ # => hppa64-hp-hpux11.23
703
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
711
+ echo ${HP_ARCH}-hp-hpux${HPUX_REV}
714
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
715
+ echo ia64-hp-hpux${HPUX_REV}
718
+ eval $set_cc_for_build
719
+ sed 's/^ //' << EOF >$dummy.c
720
+ #include <unistd.h>
724
+ long cpu = sysconf (_SC_CPU_VERSION);
725
+ /* The order matters, because CPU_IS_HP_MC68K erroneously returns
726
+ true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
727
+ results, however. */
728
+ if (CPU_IS_PA_RISC (cpu))
732
+ case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
733
+ case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
734
+ case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
735
+ default: puts ("hppa-hitachi-hiuxwe2"); break;
738
+ else if (CPU_IS_HP_MC68K (cpu))
739
+ puts ("m68k-hitachi-hiuxwe2");
740
+ else puts ("unknown-hitachi-hiuxwe2");
744
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
745
+ { echo "$SYSTEM_NAME"; exit; }
746
+ echo unknown-hitachi-hiuxwe2
748
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
749
+ echo hppa1.1-hp-bsd
751
+ 9000/8??:4.3bsd:*:*)
752
+ echo hppa1.0-hp-bsd
754
+ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
755
+ echo hppa1.0-hp-mpeix
757
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
758
+ echo hppa1.1-hp-osf
761
+ echo hppa1.0-hp-osf
764
+ if [ -x /usr/sbin/sysversion ] ; then
765
+ echo ${UNAME_MACHINE}-unknown-osf1mk
767
+ echo ${UNAME_MACHINE}-unknown-osf1
770
+ parisc*:Lites*:*:*)
771
+ echo hppa1.1-hp-lites
773
+ C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
776
+ C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
777
+ if getsysinfo -f scalar_acc
778
+ then echo c32-convex-bsd
779
+ else echo c2-convex-bsd
782
+ C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
783
+ echo c34-convex-bsd
785
+ C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
786
+ echo c38-convex-bsd
788
+ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
792
+ echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
794
+ CRAY*[A-Z]90:*:*:*)
795
+ echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
796
+ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
797
+ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
798
+ -e 's/\.[^.]*$/.X/'
801
+ echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
804
+ echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
807
+ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
810
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
812
+ F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
813
+ FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
814
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
815
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
816
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
818
+ 5000:UNIX_System_V:4.*:*)
819
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
820
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
821
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
823
+ i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
824
+ echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
827
+ echo sparc-unknown-bsdi${UNAME_RELEASE}
830
+ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
833
+ case ${UNAME_MACHINE} in
835
+ echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
837
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
839
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
843
+ echo ${UNAME_MACHINE}-pc-cygwin
846
+ echo ${UNAME_MACHINE}-pc-mingw32
849
+ # uname -m includes "-pc" on this system.
850
+ echo ${UNAME_MACHINE}-mingw32
853
+ echo ${UNAME_MACHINE}-pc-pw32
856
+ case ${UNAME_MACHINE} in
858
+ echo i586-pc-interix${UNAME_RELEASE}
860
+ authenticamd | genuineintel | EM64T)
861
+ echo x86_64-unknown-interix${UNAME_RELEASE}
864
+ echo ia64-unknown-interix${UNAME_RELEASE}
867
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
868
+ echo i${UNAME_MACHINE}-pc-mks
873
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
874
+ # How do we know it's Interix rather than the generic POSIX subsystem?
875
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
876
+ # UNAME_MACHINE based on the output of uname instead of i386?
877
+ echo i586-pc-interix
880
+ echo ${UNAME_MACHINE}-pc-uwin
882
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
883
+ echo x86_64-unknown-cygwin
886
+ echo powerpcle-unknown-cygwin
889
+ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
893
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
896
+ # other systems with GNU libc and userland
897
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
900
+ echo ${UNAME_MACHINE}-pc-minix
903
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
904
+ EV5) UNAME_MACHINE=alphaev5 ;;
905
+ EV56) UNAME_MACHINE=alphaev56 ;;
906
+ PCA56) UNAME_MACHINE=alphapca56 ;;
907
+ PCA57) UNAME_MACHINE=alphapca56 ;;
908
+ EV6) UNAME_MACHINE=alphaev6 ;;
909
+ EV67) UNAME_MACHINE=alphaev67 ;;
910
+ EV68*) UNAME_MACHINE=alphaev68 ;;
912
+ objdump --private-headers /bin/sh | grep -q ld.so.1
913
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
914
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
917
+ eval $set_cc_for_build
918
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
919
+ | grep -q __ARM_EABI__
921
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
923
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
927
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
930
+ echo cris-axis-linux-gnu
933
+ echo crisv32-axis-linux-gnu
936
+ echo frv-unknown-linux-gnu
940
+ eval $set_cc_for_build
941
+ sed 's/^ //' << EOF >$dummy.c
942
+ #ifdef __dietlibc__
946
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
947
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
950
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
953
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
956
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
958
+ mips:Linux:*:* | mips64:Linux:*:*)
959
+ eval $set_cc_for_build
960
+ sed 's/^ //' << EOF >$dummy.c
962
+ #undef ${UNAME_MACHINE}
963
+ #undef ${UNAME_MACHINE}el
964
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
965
+ CPU=${UNAME_MACHINE}el
967
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
968
+ CPU=${UNAME_MACHINE}
974
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
975
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
978
+ echo or32-unknown-linux-gnu
981
+ echo sparc-unknown-linux-gnu
983
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
984
+ echo hppa64-unknown-linux-gnu
986
+ parisc:Linux:*:* | hppa:Linux:*:*)
987
+ # Look for CPU level
988
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
989
+ PA7*) echo hppa1.1-unknown-linux-gnu ;;
990
+ PA8*) echo hppa2.0-unknown-linux-gnu ;;
991
+ *) echo hppa-unknown-linux-gnu ;;
995
+ echo powerpc64-unknown-linux-gnu
998
+ echo powerpc-unknown-linux-gnu
1000
+ s390:Linux:*:* | s390x:Linux:*:*)
1001
+ echo ${UNAME_MACHINE}-ibm-linux
1004
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
1007
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
1009
+ sparc:Linux:*:* | sparc64:Linux:*:*)
1010
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
1013
+ echo ${UNAME_MACHINE}-dec-linux-gnu
1016
+ echo x86_64-unknown-linux-gnu
1018
+ xtensa*:Linux:*:*)
1019
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
1021
+ i*86:DYNIX/ptx:4*:*)
1022
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1023
+ # earlier versions are messed up and put the nodename in both
1024
+ # sysname and nodename.
1025
+ echo i386-sequent-sysv4
1027
+ i*86:UNIX_SV:4.2MP:2.*)
1028
+ # Unixware is an offshoot of SVR4, but it has its own version
1029
+ # number series starting with 2...
1030
+ # I am not positive that other SVR4 systems won't match this,
1031
+ # I just have to hope. -- rms.
1032
+ # Use sysv4.2uw... so that sysv4* matches it.
1033
+ echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1036
+ # If we were able to find `uname', then EMX Unix compatibility
1037
+ # is probably installed.
1038
+ echo ${UNAME_MACHINE}-pc-os2-emx
1040
+ i*86:XTS-300:*:STOP)
1041
+ echo ${UNAME_MACHINE}-unknown-stop
1044
+ echo ${UNAME_MACHINE}-unknown-atheos
1046
+ i*86:syllable:*:*)
1047
+ echo ${UNAME_MACHINE}-pc-syllable
1049
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1050
+ echo i386-unknown-lynxos${UNAME_RELEASE}
1053
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
1055
+ i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1056
+ UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1057
+ if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1058
+ echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1060
+ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1064
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
1065
+ case `/bin/uname -X | grep "^Machine"` in
1066
+ *486*) UNAME_MACHINE=i486 ;;
1067
+ *Pentium) UNAME_MACHINE=i586 ;;
1068
+ *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1070
+ echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1073
+ if test -f /usr/options/cb.name; then
1074
+ UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1075
+ echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1076
+ elif /bin/uname -X 2>/dev/null >/dev/null ; then
1077
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1078
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
1079
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
1080
+ && UNAME_MACHINE=i586
1081
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
1082
+ && UNAME_MACHINE=i686
1083
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1084
+ && UNAME_MACHINE=i686
1085
+ echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1087
+ echo ${UNAME_MACHINE}-pc-sysv32
1091
+ # Left here for compatibility:
1092
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
1093
+ # the processor, so we play safe by assuming i586.
1094
+ # Note: whatever this is, it MUST be the same as what config.sub
1095
+ # prints for the "djgpp" host, or else GDB configury will decide that
1096
+ # this is a cross-build.
1097
+ echo i586-pc-msdosdjgpp
1100
+ echo i386-pc-mach3
1103
+ echo i860-intel-osf1
1105
+ i860:*:4.*:*) # i860-SVR4
1106
+ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1107
+ echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1108
+ else # Add other i860-SVR4 vendors below as they are discovered.
1109
+ echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1112
+ mini*:CTIX:SYS*5:*)
1114
+ echo m68010-convergent-sysv
1116
+ mc68k:UNIX:SYSTEM5:3.51m)
1117
+ echo m68k-convergent-sysv
1119
+ M680?0:D-NIX:5.3:*)
1120
+ echo m68k-diab-dnix
1122
+ M68*:*:R3V[5678]*:*)
1123
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
1124
+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
1126
+ test -r /etc/.relid \
1127
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1128
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1129
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1130
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1131
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1132
+ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1133
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1134
+ && { echo i486-ncr-sysv4; exit; } ;;
1135
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1137
+ test -r /etc/.relid \
1138
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1139
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1140
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1141
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1142
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1143
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1144
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1145
+ m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1146
+ echo m68k-unknown-lynxos${UNAME_RELEASE}
1148
+ mc68030:UNIX_System_V:4.*:*)
1149
+ echo m68k-atari-sysv4
1151
+ TSUNAMI:LynxOS:2.*:*)
1152
+ echo sparc-unknown-lynxos${UNAME_RELEASE}
1154
+ rs6000:LynxOS:2.*:*)
1155
+ echo rs6000-unknown-lynxos${UNAME_RELEASE}
1157
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1158
+ echo powerpc-unknown-lynxos${UNAME_RELEASE}
1160
+ SM[BE]S:UNIX_SV:*:*)
1161
+ echo mips-dde-sysv${UNAME_RELEASE}
1163
+ RM*:ReliantUNIX-*:*:*)
1164
+ echo mips-sni-sysv4
1167
+ echo mips-sni-sysv4
1170
+ if uname -p 2>/dev/null >/dev/null ; then
1171
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
1172
+ echo ${UNAME_MACHINE}-sni-sysv4
1174
+ echo ns32k-sni-sysv
1177
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1178
+ # says <Richard.M.Bartel@ccMail.Census.GOV>
1179
+ echo i586-unisys-sysv4
1181
+ *:UNIX_System_V:4*:FTX*)
1182
+ # From Gerald Hewes <hewes@openmarket.com>.
1183
+ # How about differentiating between stratus architectures? -djm
1184
+ echo hppa1.1-stratus-sysv4
1187
+ # From seanf@swdc.stratus.com.
1188
+ echo i860-stratus-sysv4
1191
+ # From Paul.Green@stratus.com.
1192
+ echo ${UNAME_MACHINE}-stratus-vos
1195
+ # From Paul.Green@stratus.com.
1196
+ echo hppa1.1-stratus-vos
1199
+ echo m68k-apple-aux${UNAME_RELEASE}
1201
+ news*:NEWS-OS:6*:*)
1202
+ echo mips-sony-newsos6
1204
+ R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1205
+ if [ -d /usr/nec ]; then
1206
+ echo mips-nec-sysv${UNAME_RELEASE}
1208
+ echo mips-unknown-sysv${UNAME_RELEASE}
1211
+ BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1212
+ echo powerpc-be-beos
1214
+ BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1215
+ echo powerpc-apple-beos
1217
+ BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1220
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1221
+ echo i586-pc-haiku
1223
+ SX-4:SUPER-UX:*:*)
1224
+ echo sx4-nec-superux${UNAME_RELEASE}
1226
+ SX-5:SUPER-UX:*:*)
1227
+ echo sx5-nec-superux${UNAME_RELEASE}
1229
+ SX-6:SUPER-UX:*:*)
1230
+ echo sx6-nec-superux${UNAME_RELEASE}
1232
+ SX-7:SUPER-UX:*:*)
1233
+ echo sx7-nec-superux${UNAME_RELEASE}
1235
+ SX-8:SUPER-UX:*:*)
1236
+ echo sx8-nec-superux${UNAME_RELEASE}
1238
+ SX-8R:SUPER-UX:*:*)
1239
+ echo sx8r-nec-superux${UNAME_RELEASE}
1241
+ Power*:Rhapsody:*:*)
1242
+ echo powerpc-apple-rhapsody${UNAME_RELEASE}
1245
+ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1248
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1249
+ case $UNAME_PROCESSOR in
1251
+ eval $set_cc_for_build
1252
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1253
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1254
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1255
+ grep IS_64BIT_ARCH >/dev/null
1257
+ UNAME_PROCESSOR="x86_64"
1260
+ unknown) UNAME_PROCESSOR=powerpc ;;
1262
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1264
+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
1265
+ UNAME_PROCESSOR=`uname -p`
1266
+ if test "$UNAME_PROCESSOR" = "x86"; then
1267
+ UNAME_PROCESSOR=i386
1270
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1275
+ NSE-?:NONSTOP_KERNEL:*:*)
1276
+ echo nse-tandem-nsk${UNAME_RELEASE}
1278
+ NSR-?:NONSTOP_KERNEL:*:*)
1279
+ echo nsr-tandem-nsk${UNAME_RELEASE}
1282
+ echo mips-compaq-nonstopux
1284
+ BS2000:POSIX*:*:*)
1285
+ echo bs2000-siemens-sysv
1287
+ DS/*:UNIX_System_V:*:*)
1288
+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1291
+ # "uname -m" is not consistent, so use $cputype instead. 386
1292
+ # is converted to i386 for consistency with other x86
1293
+ # operating systems.
1294
+ if test "$cputype" = "386"; then
1295
+ UNAME_MACHINE=i386
1297
+ UNAME_MACHINE="$cputype"
1299
+ echo ${UNAME_MACHINE}-unknown-plan9
1302
+ echo pdp10-unknown-tops10
1305
+ echo pdp10-unknown-tenex
1307
+ KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1308
+ echo pdp10-dec-tops20
1310
+ XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1311
+ echo pdp10-xkl-tops20
1314
+ echo pdp10-unknown-tops20
1317
+ echo pdp10-unknown-its
1320
+ echo mips-sei-seiux${UNAME_RELEASE}
1323
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1326
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
1327
+ case "${UNAME_MACHINE}" in
1328
+ A*) echo alpha-dec-vms ; exit ;;
1329
+ I*) echo ia64-dec-vms ; exit ;;
1330
+ V*) echo vax-dec-vms ; exit ;;
1333
+ echo i386-pc-xenix
1336
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1339
+ echo ${UNAME_MACHINE}-pc-rdos
1342
+ echo ${UNAME_MACHINE}-pc-aros
1346
+#echo '(No uname command or uname output not recognized.)' 1>&2
1347
+#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
1349
+eval $set_cc_for_build
1350
+cat >$dummy.c <<EOF
1352
+# include <sys/types.h>
1353
+# include <sys/utsname.h>
1358
+#if defined (MIPSEB)
1359
+ /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1360
+ I don't know.... */
1361
+ printf ("mips-sony-bsd\n"); exit (0);
1363
+#include <sys/param.h>
1364
+ printf ("m68k-sony-newsos%s\n",
1374
+#if defined (__arm) && defined (__acorn) && defined (__unix)
1375
+ printf ("arm-acorn-riscix\n"); exit (0);
1378
+#if defined (hp300) && !defined (hpux)
1379
+ printf ("m68k-hp-bsd\n"); exit (0);
1383
+#if !defined (__ARCHITECTURE__)
1384
+#define __ARCHITECTURE__ "m68k"
1387
+ version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1389
+ printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1391
+ printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1395
+#if defined (MULTIMAX) || defined (n16)
1396
+#if defined (UMAXV)
1397
+ printf ("ns32k-encore-sysv\n"); exit (0);
1400
+ printf ("ns32k-encore-mach\n"); exit (0);
1402
+ printf ("ns32k-encore-bsd\n"); exit (0);
1407
+#if defined (__386BSD__)
1408
+ printf ("i386-pc-bsd\n"); exit (0);
1411
+#if defined (sequent)
1413
+ printf ("i386-sequent-dynix\n"); exit (0);
1415
+#if defined (ns32000)
1416
+ printf ("ns32k-sequent-dynix\n"); exit (0);
1420
+#if defined (_SEQUENT_)
1421
+ struct utsname un;
1425
+ if (strncmp(un.version, "V2", 2) == 0) {
1426
+ printf ("i386-sequent-ptx2\n"); exit (0);
1428
+ if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1429
+ printf ("i386-sequent-ptx1\n"); exit (0);
1431
+ printf ("i386-sequent-ptx\n"); exit (0);
1436
+# if !defined (ultrix)
1437
+# include <sys/param.h>
1440
+ printf ("vax-dec-bsd4.3\n"); exit (0);
1443
+ printf ("vax-dec-bsd4.3reno\n"); exit (0);
1445
+ printf ("vax-dec-bsd\n"); exit (0);
1449
+ printf ("vax-dec-bsd\n"); exit (0);
1452
+ printf ("vax-dec-ultrix\n"); exit (0);
1456
+#if defined (alliant) && defined (i860)
1457
+ printf ("i860-alliant-bsd\n"); exit (0);
1464
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1465
+ { echo "$SYSTEM_NAME"; exit; }
1467
+# Apollos put the system type in the environment.
1469
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1471
+# Convex versions that predate uname can use getsysinfo(1)
1473
+if [ -x /usr/convex/getsysinfo ]
1475
+ case `getsysinfo -f cpu_type` in
1477
+ echo c1-convex-bsd
1480
+ if getsysinfo -f scalar_acc
1481
+ then echo c32-convex-bsd
1482
+ else echo c2-convex-bsd
1486
+ echo c34-convex-bsd
1489
+ echo c38-convex-bsd
1492
+ echo c4-convex-bsd
1498
+$0: unable to guess system type
1500
+This script, last modified $timestamp, has failed to recognize
1501
+the operating system you are using. It is advised that you
1502
+download the most up to date version of the config scripts from
1504
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1506
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1508
+If the version you run ($0) is already up to date, please
1509
+send the following data and any information you think might be
1510
+pertinent to <config-patches@gnu.org> in order to provide the needed
1511
+information to handle your system.
1513
+config.guess timestamp = $timestamp
1515
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1516
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1517
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1518
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1520
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1521
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
1523
+hostinfo = `(hostinfo) 2>/dev/null`
1524
+/bin/universe = `(/bin/universe) 2>/dev/null`
1525
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
1526
+/bin/arch = `(/bin/arch) 2>/dev/null`
1527
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1528
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1530
+UNAME_MACHINE = ${UNAME_MACHINE}
1531
+UNAME_RELEASE = ${UNAME_RELEASE}
1532
+UNAME_SYSTEM = ${UNAME_SYSTEM}
1533
+UNAME_VERSION = ${UNAME_VERSION}
1539
+# eval: (add-hook 'write-file-hooks 'time-stamp)
1540
+# time-stamp-start: "timestamp='"
1541
+# time-stamp-format: "%:y-%02m-%02d"
1542
+# time-stamp-end: "'"
1545
+++ gnupg2-2.0.14/config.sub
1548
+# Configuration validation subroutine script.
1549
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
1550
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
1551
+# Free Software Foundation, Inc.
1553
+timestamp='2010-01-22'
1555
+# This file is (in principle) common to ALL GNU software.
1556
+# The presence of a machine in this file suggests that SOME GNU software
1557
+# can handle that machine. It does not imply ALL GNU software can.
1559
+# This file is free software; you can redistribute it and/or modify
1560
+# it under the terms of the GNU General Public License as published by
1561
+# the Free Software Foundation; either version 2 of the License, or
1562
+# (at your option) any later version.
1564
+# This program is distributed in the hope that it will be useful,
1565
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1566
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1567
+# GNU General Public License for more details.
1569
+# You should have received a copy of the GNU General Public License
1570
+# along with this program; if not, write to the Free Software
1571
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
1574
+# As a special exception to the GNU General Public License, if you
1575
+# distribute this file as part of a program that contains a
1576
+# configuration script generated by Autoconf, you may include it under
1577
+# the same distribution terms that you use for the rest of that program.
1580
+# Please send patches to <config-patches@gnu.org>. Submit a context
1581
+# diff and a properly formatted GNU ChangeLog entry.
1583
+# Configuration subroutine to validate and canonicalize a configuration type.
1584
+# Supply the specified configuration type as an argument.
1585
+# If it is invalid, we print an error message on stderr and exit with code 1.
1586
+# Otherwise, we print the canonical config type on stdout and succeed.
1588
+# You can get the latest version of this script from:
1589
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1591
+# This file is supposed to be the same for all GNU packages
1592
+# and recognize all the CPU types, system types and aliases
1593
+# that are meaningful with *any* GNU software.
1594
+# Each package is responsible for reporting which valid configurations
1595
+# it does not support. The user should be able to distinguish
1596
+# a failure to support a valid configuration from a meaningless
1599
+# The goal of this file is to map all the various variations of a given
1600
+# machine specification into a single specification in the form:
1601
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
1602
+# or in some cases, the newer four-part form:
1603
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
1604
+# It is wrong to echo any other type of specification.
1606
+me=`echo "$0" | sed -e 's,.*/,,'`
1609
+Usage: $0 [OPTION] CPU-MFR-OPSYS
1612
+Canonicalize a configuration name.
1615
+ -h, --help print this help, then exit
1616
+ -t, --time-stamp print date of last modification, then exit
1617
+ -v, --version print version number, then exit
1619
+Report bugs and patches to <config-patches@gnu.org>."
1622
+GNU config.sub ($timestamp)
1624
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
1625
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
1626
+Software Foundation, Inc.
1628
+This is free software; see the source for copying conditions. There is NO
1629
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
1632
+Try \`$me --help' for more information."
1634
+# Parse command line
1635
+while test $# -gt 0 ; do
1637
+ --time-stamp | --time* | -t )
1638
+ echo "$timestamp" ; exit ;;
1640
+ echo "$version" ; exit ;;
1641
+ --help | --h* | -h )
1642
+ echo "$usage"; exit ;;
1643
+ -- ) # Stop option processing
1645
+ - ) # Use stdin as input.
1648
+ echo "$me: invalid option $1$help"
1652
+ # First pass through any local machine types.
1662
+ 0) echo "$me: missing argument$help" >&2
1665
+ *) echo "$me: too many arguments$help" >&2
1669
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
1670
+# Here we must recognize all the valid KERNEL-OS combinations.
1671
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
1673
+ nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
1674
+ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
1675
+ kopensolaris*-gnu* | \
1676
+ storm-chaos* | os2-emx* | rtmk-nova*)
1678
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
1681
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
1682
+ if [ $basic_machine != $1 ]
1683
+ then os=`echo $1 | sed 's/.*-/-/'`
1688
+### Let's recognize common machines as not being operating systems so
1689
+### that things like config.sub decstation-3100 work. We also
1690
+### recognize some manufacturers as not being operating systems, so we
1691
+### can provide default operating systems below.
1694
+ # Prevent following clause from handling this invalid input.
1696
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
1697
+ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
1698
+ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
1699
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
1700
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
1701
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
1702
+ -apple | -axis | -knuth | -cray | -microblaze)
1709
+ -sim | -cisco | -oki | -wec | -winbond)
1732
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1736
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1740
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1743
+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
1744
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1747
+ # Don't forget version if it is 3.2v4 or newer.
1748
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1751
+ # Don't forget version if it is 3.2v4 or newer.
1752
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1756
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1759
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1763
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1766
+ basic_machine=clipper-intergraph
1769
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1775
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
1778
+ os=`echo $os | sed -e 's/windowsnt/winnt/'`
1783
+ -mint | -mint[0-9]*)
1784
+ basic_machine=m68k-atari
1789
+# Decode aliases for certain CPU-COMPANY combinations.
1790
+case $basic_machine in
1791
+ # Recognize the basic CPU types without company name.
1792
+ # Some are omitted here because they have special meanings below.
1795
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
1796
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
1798
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
1801
+ | d10v | d30v | dlx | dsp16xx \
1802
+ | fido | fr30 | frv \
1803
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
1804
+ | i370 | i860 | i960 | ia64 \
1807
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
1808
+ | maxq | mb | microblaze | mcore | mep | metag \
1809
+ | mips | mipsbe | mipseb | mipsel | mipsle \
1811
+ | mips64 | mips64el \
1812
+ | mips64octeon | mips64octeonel \
1813
+ | mips64orion | mips64orionel \
1814
+ | mips64r5900 | mips64r5900el \
1815
+ | mips64vr | mips64vrel \
1816
+ | mips64vr4100 | mips64vr4100el \
1817
+ | mips64vr4300 | mips64vr4300el \
1818
+ | mips64vr5000 | mips64vr5000el \
1819
+ | mips64vr5900 | mips64vr5900el \
1820
+ | mipsisa32 | mipsisa32el \
1821
+ | mipsisa32r2 | mipsisa32r2el \
1822
+ | mipsisa64 | mipsisa64el \
1823
+ | mipsisa64r2 | mipsisa64r2el \
1824
+ | mipsisa64sb1 | mipsisa64sb1el \
1825
+ | mipsisa64sr71k | mipsisa64sr71kel \
1826
+ | mipstx39 | mipstx39el \
1827
+ | mn10200 | mn10300 \
1834
+ | pdp10 | pdp11 | pj | pjl \
1835
+ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
1839
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
1841
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
1842
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
1843
+ | spu | strongarm \
1844
+ | tahoe | thumb | tic4x | tic80 | tron \
1848
+ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
1850
+ basic_machine=$basic_machine-unknown
1852
+ m6811 | m68hc11 | m6812 | m68hc12 | picochip)
1853
+ # Motorola 68HC11/12.
1854
+ basic_machine=$basic_machine-unknown
1857
+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
1860
+ basic_machine=mt-unknown
1863
+ # We use `pc' rather than `unknown'
1864
+ # because (1) that's what they normally are, and
1865
+ # (2) the word "unknown" tends to confuse beginning users.
1867
+ basic_machine=$basic_machine-pc
1869
+ # Object if more than one company name word.
1871
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1874
+ # Recognize the basic CPU types with company name.
1877
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
1878
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
1879
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
1880
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
1881
+ | avr-* | avr32-* \
1882
+ | bfin-* | bs2000-* \
1883
+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
1884
+ | clipper-* | craynv-* | cydra-* \
1885
+ | d10v-* | d30v-* | dlx-* \
1887
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
1888
+ | h8300-* | h8500-* \
1889
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
1890
+ | i*86-* | i860-* | i960-* | ia64-* \
1891
+ | ip2k-* | iq2000-* \
1893
+ | m32c-* | m32r-* | m32rle-* \
1894
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
1895
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
1896
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
1898
+ | mips64-* | mips64el-* \
1899
+ | mips64octeon-* | mips64octeonel-* \
1900
+ | mips64orion-* | mips64orionel-* \
1901
+ | mips64r5900-* | mips64r5900el-* \
1902
+ | mips64vr-* | mips64vrel-* \
1903
+ | mips64vr4100-* | mips64vr4100el-* \
1904
+ | mips64vr4300-* | mips64vr4300el-* \
1905
+ | mips64vr5000-* | mips64vr5000el-* \
1906
+ | mips64vr5900-* | mips64vr5900el-* \
1907
+ | mipsisa32-* | mipsisa32el-* \
1908
+ | mipsisa32r2-* | mipsisa32r2el-* \
1909
+ | mipsisa64-* | mipsisa64el-* \
1910
+ | mipsisa64r2-* | mipsisa64r2el-* \
1911
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
1912
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
1913
+ | mipstx39-* | mipstx39el-* \
1917
+ | nios-* | nios2-* \
1918
+ | none-* | np1-* | ns16k-* | ns32k-* \
1920
+ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
1921
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
1923
+ | romp-* | rs6000-* | rx-* \
1924
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
1925
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
1926
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
1928
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
1929
+ | tahoe-* | thumb-* \
1930
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
1931
+ | tile-* | tilegx-* \
1934
+ | v850-* | v850e-* | vax-* \
1936
+ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
1937
+ | xstormy16-* | xtensa*-* \
1941
+ # Recognize the basic CPU types without company name, with glob match.
1943
+ basic_machine=$basic_machine-unknown
1945
+ # Recognize the various machine names and aliases which stand
1946
+ # for a CPU type and a company and sometimes even an OS.
1948
+ basic_machine=i386-unknown
1951
+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
1952
+ basic_machine=m68000-att
1955
+ basic_machine=we32k-att
1958
+ basic_machine=a29k-amd
1962
+ basic_machine=abacus-unknown
1965
+ basic_machine=m68010-adobe
1969
+ basic_machine=fx80-alliant
1971
+ altos | altos3068)
1972
+ basic_machine=m68k-altos
1975
+ basic_machine=a29k-none
1979
+ basic_machine=x86_64-pc
1982
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
1985
+ basic_machine=580-amdahl
1989
+ basic_machine=m68k-unknown
1991
+ amigaos | amigados)
1992
+ basic_machine=m68k-unknown
1996
+ basic_machine=m68k-unknown
2000
+ basic_machine=m68k-apollo
2004
+ basic_machine=m68k-apollo
2008
+ basic_machine=i386-pc
2012
+ basic_machine=m68k-apple
2016
+ basic_machine=ns32k-sequent
2020
+ basic_machine=bfin-unknown
2024
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
2028
+ basic_machine=powerpc-ibm
2032
+ basic_machine=c90-cray
2036
+ basic_machine=arm-unknown
2040
+ basic_machine=c1-convex
2044
+ basic_machine=c2-convex
2048
+ basic_machine=c32-convex
2052
+ basic_machine=c34-convex
2056
+ basic_machine=c38-convex
2060
+ basic_machine=j90-cray
2064
+ basic_machine=craynv-cray
2068
+ basic_machine=cr16-unknown
2072
+ basic_machine=m68k-crds
2074
+ crisv32 | crisv32-* | etraxfs*)
2075
+ basic_machine=crisv32-axis
2077
+ cris | cris-* | etrax*)
2078
+ basic_machine=cris-axis
2081
+ basic_machine=crx-unknown
2085
+ basic_machine=m68k-da30
2087
+ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
2088
+ basic_machine=mips-dec
2090
+ decsystem10* | dec10*)
2091
+ basic_machine=pdp10-dec
2094
+ decsystem20* | dec20*)
2095
+ basic_machine=pdp10-dec
2098
+ delta | 3300 | motorola-3300 | motorola-delta \
2099
+ | 3300-motorola | delta-motorola)
2100
+ basic_machine=m68k-motorola
2103
+ basic_machine=m88k-motorola
2107
+ basic_machine=i686-pc
2111
+ basic_machine=i586-pc
2115
+ basic_machine=rs6000-bull
2118
+ dpx2* | dpx2*-bull)
2119
+ basic_machine=m68k-bull
2123
+ basic_machine=a29k-amd
2127
+ basic_machine=elxsi-elxsi
2130
+ encore | umax | mmax)
2131
+ basic_machine=ns32k-encore
2133
+ es1800 | OSE68k | ose68k | ose | OSE)
2134
+ basic_machine=m68k-ericsson
2138
+ basic_machine=i860-alliant
2141
+ basic_machine=ns32k-ns
2144
+ basic_machine=tron-gmicro
2148
+ basic_machine=i386-pc
2152
+ basic_machine=hppa1.1-hitachi
2156
+ basic_machine=h8300-hitachi
2160
+ basic_machine=h8300-hitachi
2164
+ basic_machine=h8500-hitachi
2168
+ basic_machine=m88k-harris
2172
+ basic_machine=m68k-hp
2175
+ basic_machine=m68k-hp
2179
+ basic_machine=m68k-hp
2182
+ hp3k9[0-9][0-9] | hp9[0-9][0-9])
2183
+ basic_machine=hppa1.0-hp
2185
+ hp9k2[0-9][0-9] | hp9k31[0-9])
2186
+ basic_machine=m68000-hp
2189
+ basic_machine=m68k-hp
2191
+ hp9k6[0-9][0-9] | hp6[0-9][0-9])
2192
+ basic_machine=hppa1.0-hp
2194
+ hp9k7[0-79][0-9] | hp7[0-79][0-9])
2195
+ basic_machine=hppa1.1-hp
2197
+ hp9k78[0-9] | hp78[0-9])
2198
+ # FIXME: really hppa2.0-hp
2199
+ basic_machine=hppa1.1-hp
2201
+ hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
2202
+ # FIXME: really hppa2.0-hp
2203
+ basic_machine=hppa1.1-hp
2205
+ hp9k8[0-9][13679] | hp8[0-9][13679])
2206
+ basic_machine=hppa1.1-hp
2208
+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
2209
+ basic_machine=hppa1.0-hp
2215
+ basic_machine=hppa1.1-hp
2219
+ basic_machine=hppa1.1-hp
2223
+ basic_machine=i370-ibm
2225
+# I'm not sure what "Sysv32" means. Should this be sysv3.2?
2227
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2231
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2235
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2239
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2243
+ basic_machine=i386-mach
2247
+ basic_machine=i386-unknown
2251
+ basic_machine=mips-sgi
2261
+ basic_machine=m68k-isi
2265
+ basic_machine=m68k-unknown
2269
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
2273
+ basic_machine=m88k-omron
2276
+ basic_machine=mips-mips
2280
+ basic_machine=ns32k-utek
2284
+ basic_machine=microblaze-xilinx
2287
+ basic_machine=i386-pc
2291
+ basic_machine=arm-unknown
2295
+ basic_machine=m68000-convergent
2297
+ *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
2298
+ basic_machine=m68k-atari
2302
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
2305
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
2308
+ basic_machine=m68k-rom68k
2312
+ basic_machine=powerpc-unknown
2316
+ basic_machine=i386-pc
2320
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
2323
+ basic_machine=i370-ibm
2327
+ basic_machine=i486-ncr
2331
+ basic_machine=i386-unknown
2335
+ basic_machine=armv4l-rebel
2338
+ news | news700 | news800 | news900)
2339
+ basic_machine=m68k-sony
2343
+ basic_machine=m68030-sony
2346
+ news-3600 | risc-news)
2347
+ basic_machine=mips-sony
2351
+ basic_machine=v70-nec
2355
+ basic_machine=m68k-next
2368
+ basic_machine=m68k-harris
2372
+ basic_machine=m88k-harris
2376
+ basic_machine=i960-intel
2380
+ basic_machine=i960-intel
2384
+ basic_machine=mips-compaq
2388
+ basic_machine=np1-gould
2391
+ basic_machine=nsr-tandem
2393
+ op50n-* | op60c-*)
2394
+ basic_machine=hppa1.1-oki
2397
+ openrisc | openrisc-*)
2398
+ basic_machine=or32-unknown
2401
+ basic_machine=powerpc-ibm
2404
+ OSE68000 | ose68000)
2405
+ basic_machine=m68000-ericsson
2409
+ basic_machine=m68k-none
2413
+ basic_machine=hppa1.1-hitachi
2417
+ basic_machine=i860-intel
2421
+ basic_machine=hppa-unknown
2425
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
2429
+ basic_machine=sparc-tti
2432
+ basic_machine=m68k-tti
2435
+ basic_machine=ns32k-pc532
2438
+ basic_machine=i386-pc
2441
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
2443
+ pentium | p5 | k5 | k6 | nexgen | viac3)
2444
+ basic_machine=i586-pc
2446
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
2447
+ basic_machine=i686-pc
2449
+ pentiumii | pentium2 | pentiumiii | pentium3)
2450
+ basic_machine=i686-pc
2453
+ basic_machine=i786-pc
2455
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
2456
+ basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
2458
+ pentiumpro-* | p6-* | 6x86-* | athlon-*)
2459
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
2461
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
2462
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
2465
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
2468
+ basic_machine=pn-gould
2470
+ power) basic_machine=power-ibm
2472
+ ppc) basic_machine=powerpc-unknown
2474
+ ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
2476
+ ppcle | powerpclittle | ppc-le | powerpc-little)
2477
+ basic_machine=powerpcle-unknown
2479
+ ppcle-* | powerpclittle-*)
2480
+ basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
2482
+ ppc64) basic_machine=powerpc64-unknown
2484
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
2486
+ ppc64le | powerpc64little | ppc64-le | powerpc64-little)
2487
+ basic_machine=powerpc64le-unknown
2489
+ ppc64le-* | powerpc64little-*)
2490
+ basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
2493
+ basic_machine=i386-ibm
2496
+ basic_machine=i586-unknown
2500
+ basic_machine=i386-pc
2504
+ basic_machine=m68k-rom68k
2508
+ basic_machine=mips-siemens
2511
+ basic_machine=romp-ibm
2514
+ basic_machine=s390-ibm
2517
+ basic_machine=s390x-ibm
2520
+ basic_machine=a29k-amd
2524
+ basic_machine=mipsisa64sb1-unknown
2527
+ basic_machine=mipsisa64sb1el-unknown
2530
+ basic_machine=mipsisa32-sde
2534
+ basic_machine=mips-sei
2538
+ basic_machine=i386-sequent
2541
+ basic_machine=sh-hitachi
2545
+ basic_machine=sh5le-unknown
2548
+ basic_machine=sh64-unknown
2550
+ sparclite-wrs | simso-wrs)
2551
+ basic_machine=sparclite-wrs
2555
+ basic_machine=m68k-bull
2559
+ basic_machine=spur-unknown
2562
+ basic_machine=m68k-tandem
2565
+ basic_machine=i860-stratus
2569
+ basic_machine=m68000-sun
2572
+ basic_machine=m68000-sun
2576
+ basic_machine=m68000-sun
2580
+ basic_machine=m68k-sun
2584
+ basic_machine=m68k-sun
2588
+ basic_machine=sparc-sun
2592
+ basic_machine=sparc-sun
2596
+ basic_machine=sparc-sun
2600
+ basic_machine=m68k-sun
2603
+ basic_machine=sparc-sun
2605
+ sun386 | sun386i | roadrunner)
2606
+ basic_machine=i386-sun
2609
+ basic_machine=sv1-cray
2613
+ basic_machine=i386-sequent
2617
+ basic_machine=alphaev5-cray
2621
+ basic_machine=t90-cray
2625
+ basic_machine=tic54x-unknown
2629
+ basic_machine=tic55x-unknown
2633
+ basic_machine=tic6x-unknown
2636
+ # This must be matched before tile*.
2638
+ basic_machine=tilegx-unknown
2642
+ basic_machine=tile-unknown
2646
+ basic_machine=mipstx39-unknown
2649
+ basic_machine=mipstx39el-unknown
2652
+ basic_machine=pdp10-xkl
2656
+ basic_machine=m68k-ncr
2659
+ basic_machine=s390x-ibm
2663
+ basic_machine=a29k-amd
2667
+ basic_machine=a29k-nyu
2671
+ basic_machine=v810-nec
2675
+ basic_machine=vax-dec
2679
+ basic_machine=vax-dec
2683
+ basic_machine=f301-fujitsu
2686
+ basic_machine=i960-wrs
2690
+ basic_machine=m68k-wrs
2694
+ basic_machine=a29k-wrs
2698
+ basic_machine=w65-wdc
2702
+ basic_machine=hppa1.1-winbond
2706
+ basic_machine=i686-pc
2710
+ basic_machine=xps100-honeywell
2713
+ basic_machine=ymp-cray
2717
+ basic_machine=z8k-unknown
2721
+ basic_machine=z80-unknown
2725
+ basic_machine=none-none
2729
+# Here we handle the default manufacturer of certain CPU types. It is in
2730
+# some cases the only manufacturer, in others, it is the most popular.
2732
+ basic_machine=hppa1.1-winbond
2735
+ basic_machine=hppa1.1-oki
2738
+ basic_machine=hppa1.1-oki
2741
+ basic_machine=romp-ibm
2744
+ basic_machine=mmix-knuth
2747
+ basic_machine=rs6000-ibm
2750
+ basic_machine=vax-dec
2753
+ # there are many clones, so DEC is not a safe bet
2754
+ basic_machine=pdp10-unknown
2757
+ basic_machine=pdp11-dec
2760
+ basic_machine=we32k-att
2762
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
2763
+ basic_machine=sh-unknown
2765
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
2766
+ basic_machine=sparc-sun
2769
+ basic_machine=cydra-cydrome
2772
+ basic_machine=orion-highlevel
2775
+ basic_machine=clipper-highlevel
2777
+ mac | mpw | mac-mpw)
2778
+ basic_machine=m68k-apple
2781
+ basic_machine=powerpc-apple
2784
+ # Make sure to match an already-canonicalized machine name.
2787
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
2792
+# Here we canonicalize certain aliases for manufacturers.
2793
+case $basic_machine in
2795
+ basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
2798
+ basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
2804
+# Decode manufacturer-specific aliases for certain operating systems.
2806
+if [ x"$os" != x"" ]
2809
+ # First match some system type aliases
2810
+ # that might get confused with valid system types.
2811
+ # -solaris* is a basic system type, with this one exception.
2815
+ -solaris1 | -solaris1.*)
2816
+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
2828
+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
2830
+ # First accept the basic system types.
2831
+ # The portable systems comes first.
2832
+ # Each alternative MUST END IN A *, to match a version number.
2833
+ # -sysv* is not here because it comes later, after sysvr4.
2834
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
2835
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
2836
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
2837
+ | -sym* | -kopensolaris* \
2838
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
2839
+ | -aos* | -aros* \
2840
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
2841
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
2842
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
2843
+ | -openbsd* | -solidbsd* \
2844
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
2845
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
2846
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
2847
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
2848
+ | -chorusos* | -chorusrdb* | -cegcc* \
2849
+ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
2850
+ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
2851
+ | -uxpv* | -beos* | -mpeix* | -udk* \
2852
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
2853
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
2854
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
2855
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
2856
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
2857
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
2858
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
2859
+ # Remember, each alternative MUST END IN *, to match a version number.
2862
+ case $basic_machine in
2873
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
2875
+ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
2876
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
2877
+ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
2880
+ os=`echo $os | sed -e 's|mac|macos|'`
2883
+ os=-linux-dietlibc
2886
+ os=`echo $os | sed -e 's|linux|linux-gnu|'`
2889
+ os=`echo $os | sed -e 's|sunos5|solaris2|'`
2892
+ os=`echo $os | sed -e 's|sunos6|solaris3|'`
2939
+ # Preserve the version number of sinix5.
2941
+ os=`echo $os | sed -e 's|sinix|sysv|'`
2964
+ # This must come after -sysvr4.
2976
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
2996
+ # Get rid of the `-' at the beginning of $os.
2997
+ os=`echo $os | sed 's/[^-]*-//'`
2998
+ echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
3004
+# Here we handle the default operating systems that come with various machines.
3005
+# The value should be what the vendor currently ships out the door with their
3006
+# machine or put another way, the most popular os provided with the machine.
3008
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
3009
+# "-sun"), then you have to tell the case statement up towards the top
3010
+# that MANUFACTURER isn't an operating system. Otherwise, code above
3011
+# will signal an error saying that MANUFACTURER isn't an operating
3012
+# system, and we'll never get to this point.
3014
+case $basic_machine in
3033
+ # This must come before the *-dec entry.
3051
+ # This also exists in the configure program, but was not the
3070
+ *-tti) # must be before sparc entry or we get the wrong os.
3103
+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
3157
+ f30[01]-fujitsu | f700-fujitsu)
3178
+# Here we handle the case where we know the os, and the CPU type, but not the
3179
+# manufacturer. We pick the logical manufacturer.
3181
+case $basic_machine in
3229
+ -vxsim* | -vxworks* | -windiss*)
3241
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
3248
+ basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
3252
+echo $basic_machine$os
3256
+# eval: (add-hook 'write-file-hooks 'time-stamp)
3257
+# time-stamp-start: "timestamp='"
3258
+# time-stamp-format: "%:y-%02m-%02d"
3259
+# time-stamp-end: "'"
3262
+++ gnupg2-2.0.14/version