1
Description: Upstream changes introduced in version 0.8.0-0ubuntu1
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
vala (0.8.0-0ubuntu1) lucid; urgency=low
8
* New upstream release:
9
- Infer type arguments when calling generic methods.
10
- Support `in' operator for arrays.
11
- Add experimental support for regular expression literals.
12
- Add experimental support for chained relational expressions.
13
- Add va_list support.
14
- Add clutter-gtk-0.10 bindings (Gordon Allott).
15
- Add gdl-1.0 bindings (Nicolas Joseph).
16
- Add gstreamer-app-0.10 bindings (Sebastian Dröge).
17
- Add gstreamer-cdda-0.10 bindings (Sebastian Dröge).
18
- Add gudev-1.0 bindings (Jim Nelson).
19
- Add libgda-report-4.0 bindings (Shawn Ferris).
20
- Add libgvc (graphviz) bindings (Martin Olsson).
21
- Add purple bindings (Adrien Bustany).
22
- Many bug fixes and binding updates.
23
* debian/patches/99_ltmain_as-needed.patch: refreshed
25
The person named in the Author field signed this changelog entry.
26
Author: Didier Roche <didrocks@ubuntu.com>
29
The information above should follow the Patch Tagging Guidelines, please
30
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
31
are templates for supplementary fields that you might want to add:
33
Origin: <vendor|upstream|other>, <url of original patch>
34
Bug: <url in upstream bugtracker>
35
Bug-Debian: http://bugs.debian.org/<bugnumber>
36
Forwarded: <no|not-needed|url proving that it has been forwarded>
37
Reviewed-By: <name and email of someone who approved the patch>
38
Last-Update: <YYYY-MM-DD>
41
+++ vala-0.8.0/config.guess
44
+# Attempt to guess a canonical system name.
45
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
46
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
47
+# Free Software Foundation, Inc.
49
+timestamp='2009-06-10'
51
+# This file is free software; you can redistribute it and/or modify it
52
+# under the terms of the GNU General Public License as published by
53
+# the Free Software Foundation; either version 2 of the License, or
54
+# (at your option) any later version.
56
+# This program is distributed in the hope that it will be useful, but
57
+# WITHOUT ANY WARRANTY; without even the implied warranty of
58
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
59
+# General Public License for more details.
61
+# You should have received a copy of the GNU General Public License
62
+# along with this program; if not, write to the Free Software
63
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
66
+# As a special exception to the GNU General Public License, if you
67
+# distribute this file as part of a program that contains a
68
+# configuration script generated by Autoconf, you may include it under
69
+# the same distribution terms that you use for the rest of that program.
72
+# Originally written by Per Bothner <per@bothner.com>.
73
+# Please send patches to <config-patches@gnu.org>. Submit a context
74
+# diff and a properly formatted ChangeLog entry.
76
+# This script attempts to guess a canonical system name similar to
77
+# config.sub. If it succeeds, it prints the system name on stdout, and
78
+# exits with 0. Otherwise, it exits with 1.
80
+# The plan is that this can be called by configure scripts if you
81
+# don't specify an explicit build system type.
83
+me=`echo "$0" | sed -e 's,.*/,,'`
88
+Output the configuration name of the system \`$me' is run on.
91
+ -h, --help print this help, then exit
92
+ -t, --time-stamp print date of last modification, then exit
93
+ -v, --version print version number, then exit
95
+Report bugs and patches to <config-patches@gnu.org>."
98
+GNU config.guess ($timestamp)
100
+Originally written by Per Bothner.
101
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
102
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free 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:SunOS:5.*:* | i86xen:SunOS:5.*:*)
379
+ eval $set_cc_for_build
381
+ # If there is a compiler, see if it is configured for 64-bit objects.
382
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
383
+ # This test works for both compilers.
384
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
385
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
386
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
387
+ grep IS_64BIT_ARCH >/dev/null
392
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
395
+ # According to config.sub, this is the proper way to canonicalize
396
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
397
+ # it's likely to be more like Solaris than SunOS4.
398
+ echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
401
+ case "`/usr/bin/arch -k`" in
403
+ UNAME_RELEASE=`uname -v`
406
+ # Japanese Language versions have a version number like `4.1.3-JL'.
407
+ echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
410
+ echo m68k-sun-sunos${UNAME_RELEASE}
413
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
414
+ test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
415
+ case "`/bin/arch`" in
417
+ echo m68k-sun-sunos${UNAME_RELEASE}
420
+ echo sparc-sun-sunos${UNAME_RELEASE}
425
+ echo sparc-auspex-sunos${UNAME_RELEASE}
427
+ # The situation for MiNT is a little confusing. The machine name
428
+ # can be virtually everything (everything which is not
429
+ # "atarist" or "atariste" at least should have a processor
430
+ # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
431
+ # to the lowercase version "mint" (or "freemint"). Finally
432
+ # the system name "TOS" denotes a system which is actually not
433
+ # MiNT. But MiNT is downward compatible to TOS, so this should
435
+ atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
436
+ echo m68k-atari-mint${UNAME_RELEASE}
438
+ atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
439
+ echo m68k-atari-mint${UNAME_RELEASE}
441
+ *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
442
+ echo m68k-atari-mint${UNAME_RELEASE}
444
+ milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
445
+ echo m68k-milan-mint${UNAME_RELEASE}
447
+ hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
448
+ echo m68k-hades-mint${UNAME_RELEASE}
450
+ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
451
+ echo m68k-unknown-mint${UNAME_RELEASE}
454
+ echo m68k-apple-machten${UNAME_RELEASE}
456
+ powerpc:machten:*:*)
457
+ echo powerpc-apple-machten${UNAME_RELEASE}
460
+ echo mips-dec-mach_bsd4.3
463
+ echo mips-dec-ultrix${UNAME_RELEASE}
466
+ echo vax-dec-ultrix${UNAME_RELEASE}
468
+ 2020:CLIX:*:* | 2430:CLIX:*:*)
469
+ echo clipper-intergraph-clix${UNAME_RELEASE}
471
+ mips:*:*:UMIPS | mips:*:*:RISCos)
472
+ eval $set_cc_for_build
473
+ sed 's/^ //' << EOF >$dummy.c
475
+#include <stdio.h> /* for printf() prototype */
476
+ int main (int argc, char *argv[]) {
478
+ int main (argc, argv) int argc; char *argv[]; {
480
+ #if defined (host_mips) && defined (MIPSEB)
481
+ #if defined (SYSTYPE_SYSV)
482
+ printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
484
+ #if defined (SYSTYPE_SVR4)
485
+ printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
487
+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
488
+ printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
494
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
495
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
496
+ SYSTEM_NAME=`$dummy $dummyarg` &&
497
+ { echo "$SYSTEM_NAME"; exit; }
498
+ echo mips-mips-riscos${UNAME_RELEASE}
500
+ Motorola:PowerMAX_OS:*:*)
501
+ echo powerpc-motorola-powermax
503
+ Motorola:*:4.3:PL8-*)
504
+ echo powerpc-harris-powermax
506
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
507
+ echo powerpc-harris-powermax
509
+ Night_Hawk:Power_UNIX:*:*)
510
+ echo powerpc-harris-powerunix
513
+ echo m88k-harris-cxux7
516
+ echo m88k-motorola-sysv4
519
+ echo m88k-motorola-sysv3
522
+ # DG/UX returns AViiON for all architectures
523
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
524
+ if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
526
+ if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
527
+ [ ${TARGET_BINARY_INTERFACE}x = x ]
529
+ echo m88k-dg-dgux${UNAME_RELEASE}
531
+ echo m88k-dg-dguxbcs${UNAME_RELEASE}
534
+ echo i586-dg-dgux${UNAME_RELEASE}
537
+ M88*:DolphinOS:*:*) # DolphinOS (SVR3)
538
+ echo m88k-dolphin-sysv3
541
+ # Delta 88k system running SVR3
542
+ echo m88k-motorola-sysv3
544
+ XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
545
+ echo m88k-tektronix-sysv3
547
+ Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
548
+ echo m68k-tektronix-bsd
551
+ echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
553
+ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
554
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
555
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
560
+ if [ -x /usr/bin/oslevel ] ; then
561
+ IBM_REV=`/usr/bin/oslevel`
563
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
565
+ echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
568
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
569
+ eval $set_cc_for_build
570
+ sed 's/^ //' << EOF >$dummy.c
571
+ #include <sys/systemcfg.h>
577
+ puts("powerpc-ibm-aix3.2.5");
581
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
583
+ echo "$SYSTEM_NAME"
585
+ echo rs6000-ibm-aix3.2.5
587
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
588
+ echo rs6000-ibm-aix3.2.4
590
+ echo rs6000-ibm-aix3.2
594
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
595
+ if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
600
+ if [ -x /usr/bin/oslevel ] ; then
601
+ IBM_REV=`/usr/bin/oslevel`
603
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
605
+ echo ${IBM_ARCH}-ibm-aix${IBM_REV}
608
+ echo rs6000-ibm-aix
610
+ ibmrt:4.4BSD:*|romp-ibm:BSD:*)
611
+ echo romp-ibm-bsd4.4
613
+ ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
614
+ echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
615
+ exit ;; # report: romp-ibm BSD 4.3
617
+ echo rs6000-bull-bosx
619
+ DPX/2?00:B.O.S.:*:*)
620
+ echo m68k-bull-sysv3
622
+ 9000/[34]??:4.3bsd:1.*:*)
625
+ hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
626
+ echo m68k-hp-bsd4.4
628
+ 9000/[34678]??:HP-UX:*:*)
629
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
630
+ case "${UNAME_MACHINE}" in
631
+ 9000/31? ) HP_ARCH=m68000 ;;
632
+ 9000/[34]?? ) HP_ARCH=m68k ;;
633
+ 9000/[678][0-9][0-9])
634
+ if [ -x /usr/bin/getconf ]; then
635
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
636
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
637
+ case "${sc_cpu_version}" in
638
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
639
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
640
+ 532) # CPU_PA_RISC2_0
641
+ case "${sc_kernel_bits}" in
642
+ 32) HP_ARCH="hppa2.0n" ;;
643
+ 64) HP_ARCH="hppa2.0w" ;;
644
+ '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
648
+ if [ "${HP_ARCH}" = "" ]; then
649
+ eval $set_cc_for_build
650
+ sed 's/^ //' << EOF >$dummy.c
652
+ #define _HPUX_SOURCE
653
+ #include <stdlib.h>
654
+ #include <unistd.h>
658
+ #if defined(_SC_KERNEL_BITS)
659
+ long bits = sysconf(_SC_KERNEL_BITS);
661
+ long cpu = sysconf (_SC_CPU_VERSION);
665
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
666
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
667
+ case CPU_PA_RISC2_0:
668
+ #if defined(_SC_KERNEL_BITS)
671
+ case 64: puts ("hppa2.0w"); break;
672
+ case 32: puts ("hppa2.0n"); break;
673
+ default: puts ("hppa2.0"); break;
675
+ #else /* !defined(_SC_KERNEL_BITS) */
676
+ puts ("hppa2.0"); break;
678
+ default: puts ("hppa1.0"); break;
683
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
684
+ test -z "$HP_ARCH" && HP_ARCH=hppa
687
+ if [ ${HP_ARCH} = "hppa2.0w" ]
689
+ eval $set_cc_for_build
691
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
692
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
693
+ # generating 64-bit code. GNU and HP use different nomenclature:
695
+ # $ CC_FOR_BUILD=cc ./config.guess
696
+ # => hppa2.0w-hp-hpux11.23
697
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
698
+ # => hppa64-hp-hpux11.23
700
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
708
+ echo ${HP_ARCH}-hp-hpux${HPUX_REV}
711
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
712
+ echo ia64-hp-hpux${HPUX_REV}
715
+ eval $set_cc_for_build
716
+ sed 's/^ //' << EOF >$dummy.c
717
+ #include <unistd.h>
721
+ long cpu = sysconf (_SC_CPU_VERSION);
722
+ /* The order matters, because CPU_IS_HP_MC68K erroneously returns
723
+ true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
724
+ results, however. */
725
+ if (CPU_IS_PA_RISC (cpu))
729
+ case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
730
+ case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
731
+ case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
732
+ default: puts ("hppa-hitachi-hiuxwe2"); break;
735
+ else if (CPU_IS_HP_MC68K (cpu))
736
+ puts ("m68k-hitachi-hiuxwe2");
737
+ else puts ("unknown-hitachi-hiuxwe2");
741
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
742
+ { echo "$SYSTEM_NAME"; exit; }
743
+ echo unknown-hitachi-hiuxwe2
745
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
746
+ echo hppa1.1-hp-bsd
748
+ 9000/8??:4.3bsd:*:*)
749
+ echo hppa1.0-hp-bsd
751
+ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
752
+ echo hppa1.0-hp-mpeix
754
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
755
+ echo hppa1.1-hp-osf
758
+ echo hppa1.0-hp-osf
761
+ if [ -x /usr/sbin/sysversion ] ; then
762
+ echo ${UNAME_MACHINE}-unknown-osf1mk
764
+ echo ${UNAME_MACHINE}-unknown-osf1
767
+ parisc*:Lites*:*:*)
768
+ echo hppa1.1-hp-lites
770
+ C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
773
+ C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
774
+ if getsysinfo -f scalar_acc
775
+ then echo c32-convex-bsd
776
+ else echo c2-convex-bsd
779
+ C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
780
+ echo c34-convex-bsd
782
+ C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
783
+ echo c38-convex-bsd
785
+ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
789
+ echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
791
+ CRAY*[A-Z]90:*:*:*)
792
+ echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
793
+ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
794
+ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
795
+ -e 's/\.[^.]*$/.X/'
798
+ echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
801
+ echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
804
+ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
807
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
809
+ F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
810
+ FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
811
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
812
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
813
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
815
+ 5000:UNIX_System_V:4.*:*)
816
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
817
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
818
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
820
+ i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
821
+ echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
824
+ echo sparc-unknown-bsdi${UNAME_RELEASE}
827
+ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
830
+ case ${UNAME_MACHINE} in
832
+ echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
834
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
836
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
840
+ echo ${UNAME_MACHINE}-pc-cygwin
843
+ echo ${UNAME_MACHINE}-pc-mingw32
846
+ # uname -m includes "-pc" on this system.
847
+ echo ${UNAME_MACHINE}-mingw32
850
+ echo ${UNAME_MACHINE}-pc-pw32
852
+ *:Interix*:[3456]*)
853
+ case ${UNAME_MACHINE} in
855
+ echo i586-pc-interix${UNAME_RELEASE}
857
+ EM64T | authenticamd | genuineintel)
858
+ echo x86_64-unknown-interix${UNAME_RELEASE}
861
+ echo ia64-unknown-interix${UNAME_RELEASE}
864
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
865
+ echo i${UNAME_MACHINE}-pc-mks
870
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
871
+ # How do we know it's Interix rather than the generic POSIX subsystem?
872
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
873
+ # UNAME_MACHINE based on the output of uname instead of i386?
874
+ echo i586-pc-interix
877
+ echo ${UNAME_MACHINE}-pc-uwin
879
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
880
+ echo x86_64-unknown-cygwin
883
+ echo powerpcle-unknown-cygwin
886
+ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
890
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
893
+ # other systems with GNU libc and userland
894
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
897
+ echo ${UNAME_MACHINE}-pc-minix
900
+ eval $set_cc_for_build
901
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
902
+ | grep -q __ARM_EABI__
904
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
906
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
910
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
913
+ echo cris-axis-linux-gnu
916
+ echo crisv32-axis-linux-gnu
919
+ echo frv-unknown-linux-gnu
922
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
925
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
928
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
930
+ mips:Linux:*:* | mips64:Linux:*:*)
931
+ eval $set_cc_for_build
932
+ sed 's/^ //' << EOF >$dummy.c
934
+ #undef ${UNAME_MACHINE}
935
+ #undef ${UNAME_MACHINE}el
936
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
937
+ CPU=${UNAME_MACHINE}el
939
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
940
+ CPU=${UNAME_MACHINE}
946
+ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
951
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
954
+ echo or32-unknown-linux-gnu
957
+ echo powerpc-unknown-linux-gnu
960
+ echo powerpc64-unknown-linux-gnu
963
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
964
+ EV5) UNAME_MACHINE=alphaev5 ;;
965
+ EV56) UNAME_MACHINE=alphaev56 ;;
966
+ PCA56) UNAME_MACHINE=alphapca56 ;;
967
+ PCA57) UNAME_MACHINE=alphapca56 ;;
968
+ EV6) UNAME_MACHINE=alphaev6 ;;
969
+ EV67) UNAME_MACHINE=alphaev67 ;;
970
+ EV68*) UNAME_MACHINE=alphaev68 ;;
972
+ objdump --private-headers /bin/sh | grep -q ld.so.1
973
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
974
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
977
+ echo sparc-unknown-linux-gnu
979
+ parisc:Linux:*:* | hppa:Linux:*:*)
980
+ # Look for CPU level
981
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
982
+ PA7*) echo hppa1.1-unknown-linux-gnu ;;
983
+ PA8*) echo hppa2.0-unknown-linux-gnu ;;
984
+ *) echo hppa-unknown-linux-gnu ;;
987
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
988
+ echo hppa64-unknown-linux-gnu
990
+ s390:Linux:*:* | s390x:Linux:*:*)
991
+ echo ${UNAME_MACHINE}-ibm-linux
994
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
997
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
999
+ sparc:Linux:*:* | sparc64:Linux:*:*)
1000
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
1003
+ echo ${UNAME_MACHINE}-dec-linux-gnu
1006
+ echo x86_64-unknown-linux-gnu
1008
+ xtensa*:Linux:*:*)
1009
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
1012
+ # The BFD linker knows what the default object file format is, so
1013
+ # first see if it will tell us. cd to the root directory to prevent
1014
+ # problems with other programs or directories called `ld' in the path.
1015
+ # Set LC_ALL=C to ensure ld outputs messages in English.
1016
+ ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
1017
+ | sed -ne '/supported targets:/!d
1019
+ s/.*supported targets: *//
1022
+ case "$ld_supported_targets" in
1024
+ TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
1027
+ # Determine whether the default compiler is a.out or elf
1028
+ eval $set_cc_for_build
1029
+ sed 's/^ //' << EOF >$dummy.c
1030
+ #include <features.h>
1033
+ # if __GLIBC__ >= 2
1042
+ #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
1048
+ #ifdef __dietlibc__
1052
+ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1057
+ test x"${LIBC}" != x && {
1058
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1061
+ test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1063
+ i*86:DYNIX/ptx:4*:*)
1064
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1065
+ # earlier versions are messed up and put the nodename in both
1066
+ # sysname and nodename.
1067
+ echo i386-sequent-sysv4
1069
+ i*86:UNIX_SV:4.2MP:2.*)
1070
+ # Unixware is an offshoot of SVR4, but it has its own version
1071
+ # number series starting with 2...
1072
+ # I am not positive that other SVR4 systems won't match this,
1073
+ # I just have to hope. -- rms.
1074
+ # Use sysv4.2uw... so that sysv4* matches it.
1075
+ echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1078
+ # If we were able to find `uname', then EMX Unix compatibility
1079
+ # is probably installed.
1080
+ echo ${UNAME_MACHINE}-pc-os2-emx
1082
+ i*86:XTS-300:*:STOP)
1083
+ echo ${UNAME_MACHINE}-unknown-stop
1086
+ echo ${UNAME_MACHINE}-unknown-atheos
1088
+ i*86:syllable:*:*)
1089
+ echo ${UNAME_MACHINE}-pc-syllable
1091
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1092
+ echo i386-unknown-lynxos${UNAME_RELEASE}
1095
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
1097
+ i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1098
+ UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1099
+ if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1100
+ echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1102
+ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1106
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
1107
+ case `/bin/uname -X | grep "^Machine"` in
1108
+ *486*) UNAME_MACHINE=i486 ;;
1109
+ *Pentium) UNAME_MACHINE=i586 ;;
1110
+ *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1112
+ echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1115
+ if test -f /usr/options/cb.name; then
1116
+ UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1117
+ echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1118
+ elif /bin/uname -X 2>/dev/null >/dev/null ; then
1119
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1120
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
1121
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
1122
+ && UNAME_MACHINE=i586
1123
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
1124
+ && UNAME_MACHINE=i686
1125
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1126
+ && UNAME_MACHINE=i686
1127
+ echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1129
+ echo ${UNAME_MACHINE}-pc-sysv32
1133
+ # Left here for compatibility:
1134
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
1135
+ # the processor, so we play safe by assuming i586.
1136
+ # Note: whatever this is, it MUST be the same as what config.sub
1137
+ # prints for the "djgpp" host, or else GDB configury will decide that
1138
+ # this is a cross-build.
1139
+ echo i586-pc-msdosdjgpp
1142
+ echo i386-pc-mach3
1145
+ echo i860-intel-osf1
1147
+ i860:*:4.*:*) # i860-SVR4
1148
+ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1149
+ echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1150
+ else # Add other i860-SVR4 vendors below as they are discovered.
1151
+ echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1154
+ mini*:CTIX:SYS*5:*)
1156
+ echo m68010-convergent-sysv
1158
+ mc68k:UNIX:SYSTEM5:3.51m)
1159
+ echo m68k-convergent-sysv
1161
+ M680?0:D-NIX:5.3:*)
1162
+ echo m68k-diab-dnix
1164
+ M68*:*:R3V[5678]*:*)
1165
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
1166
+ 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)
1168
+ test -r /etc/.relid \
1169
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1170
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1171
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1172
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1173
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1174
+ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1175
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1176
+ && { echo i486-ncr-sysv4; exit; } ;;
1177
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1179
+ test -r /etc/.relid \
1180
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1181
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1182
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1183
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1184
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1185
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1186
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1187
+ m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1188
+ echo m68k-unknown-lynxos${UNAME_RELEASE}
1190
+ mc68030:UNIX_System_V:4.*:*)
1191
+ echo m68k-atari-sysv4
1193
+ TSUNAMI:LynxOS:2.*:*)
1194
+ echo sparc-unknown-lynxos${UNAME_RELEASE}
1196
+ rs6000:LynxOS:2.*:*)
1197
+ echo rs6000-unknown-lynxos${UNAME_RELEASE}
1199
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1200
+ echo powerpc-unknown-lynxos${UNAME_RELEASE}
1202
+ SM[BE]S:UNIX_SV:*:*)
1203
+ echo mips-dde-sysv${UNAME_RELEASE}
1205
+ RM*:ReliantUNIX-*:*:*)
1206
+ echo mips-sni-sysv4
1209
+ echo mips-sni-sysv4
1212
+ if uname -p 2>/dev/null >/dev/null ; then
1213
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
1214
+ echo ${UNAME_MACHINE}-sni-sysv4
1216
+ echo ns32k-sni-sysv
1219
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1220
+ # says <Richard.M.Bartel@ccMail.Census.GOV>
1221
+ echo i586-unisys-sysv4
1223
+ *:UNIX_System_V:4*:FTX*)
1224
+ # From Gerald Hewes <hewes@openmarket.com>.
1225
+ # How about differentiating between stratus architectures? -djm
1226
+ echo hppa1.1-stratus-sysv4
1229
+ # From seanf@swdc.stratus.com.
1230
+ echo i860-stratus-sysv4
1233
+ # From Paul.Green@stratus.com.
1234
+ echo ${UNAME_MACHINE}-stratus-vos
1237
+ # From Paul.Green@stratus.com.
1238
+ echo hppa1.1-stratus-vos
1241
+ echo m68k-apple-aux${UNAME_RELEASE}
1243
+ news*:NEWS-OS:6*:*)
1244
+ echo mips-sony-newsos6
1246
+ R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1247
+ if [ -d /usr/nec ]; then
1248
+ echo mips-nec-sysv${UNAME_RELEASE}
1250
+ echo mips-unknown-sysv${UNAME_RELEASE}
1253
+ BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1254
+ echo powerpc-be-beos
1256
+ BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1257
+ echo powerpc-apple-beos
1259
+ BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1262
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1263
+ echo i586-pc-haiku
1265
+ SX-4:SUPER-UX:*:*)
1266
+ echo sx4-nec-superux${UNAME_RELEASE}
1268
+ SX-5:SUPER-UX:*:*)
1269
+ echo sx5-nec-superux${UNAME_RELEASE}
1271
+ SX-6:SUPER-UX:*:*)
1272
+ echo sx6-nec-superux${UNAME_RELEASE}
1274
+ SX-7:SUPER-UX:*:*)
1275
+ echo sx7-nec-superux${UNAME_RELEASE}
1277
+ SX-8:SUPER-UX:*:*)
1278
+ echo sx8-nec-superux${UNAME_RELEASE}
1280
+ SX-8R:SUPER-UX:*:*)
1281
+ echo sx8r-nec-superux${UNAME_RELEASE}
1283
+ Power*:Rhapsody:*:*)
1284
+ echo powerpc-apple-rhapsody${UNAME_RELEASE}
1287
+ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1290
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1291
+ case $UNAME_PROCESSOR in
1292
+ unknown) UNAME_PROCESSOR=powerpc ;;
1294
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1296
+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
1297
+ UNAME_PROCESSOR=`uname -p`
1298
+ if test "$UNAME_PROCESSOR" = "x86"; then
1299
+ UNAME_PROCESSOR=i386
1302
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1307
+ NSE-?:NONSTOP_KERNEL:*:*)
1308
+ echo nse-tandem-nsk${UNAME_RELEASE}
1310
+ NSR-?:NONSTOP_KERNEL:*:*)
1311
+ echo nsr-tandem-nsk${UNAME_RELEASE}
1314
+ echo mips-compaq-nonstopux
1316
+ BS2000:POSIX*:*:*)
1317
+ echo bs2000-siemens-sysv
1319
+ DS/*:UNIX_System_V:*:*)
1320
+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1323
+ # "uname -m" is not consistent, so use $cputype instead. 386
1324
+ # is converted to i386 for consistency with other x86
1325
+ # operating systems.
1326
+ if test "$cputype" = "386"; then
1327
+ UNAME_MACHINE=i386
1329
+ UNAME_MACHINE="$cputype"
1331
+ echo ${UNAME_MACHINE}-unknown-plan9
1334
+ echo pdp10-unknown-tops10
1337
+ echo pdp10-unknown-tenex
1339
+ KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1340
+ echo pdp10-dec-tops20
1342
+ XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1343
+ echo pdp10-xkl-tops20
1346
+ echo pdp10-unknown-tops20
1349
+ echo pdp10-unknown-its
1352
+ echo mips-sei-seiux${UNAME_RELEASE}
1355
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1358
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
1359
+ case "${UNAME_MACHINE}" in
1360
+ A*) echo alpha-dec-vms ; exit ;;
1361
+ I*) echo ia64-dec-vms ; exit ;;
1362
+ V*) echo vax-dec-vms ; exit ;;
1365
+ echo i386-pc-xenix
1368
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1371
+ echo ${UNAME_MACHINE}-pc-rdos
1374
+ echo ${UNAME_MACHINE}-pc-aros
1378
+#echo '(No uname command or uname output not recognized.)' 1>&2
1379
+#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
1381
+eval $set_cc_for_build
1382
+cat >$dummy.c <<EOF
1384
+# include <sys/types.h>
1385
+# include <sys/utsname.h>
1390
+#if defined (MIPSEB)
1391
+ /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1392
+ I don't know.... */
1393
+ printf ("mips-sony-bsd\n"); exit (0);
1395
+#include <sys/param.h>
1396
+ printf ("m68k-sony-newsos%s\n",
1406
+#if defined (__arm) && defined (__acorn) && defined (__unix)
1407
+ printf ("arm-acorn-riscix\n"); exit (0);
1410
+#if defined (hp300) && !defined (hpux)
1411
+ printf ("m68k-hp-bsd\n"); exit (0);
1415
+#if !defined (__ARCHITECTURE__)
1416
+#define __ARCHITECTURE__ "m68k"
1419
+ version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1421
+ printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1423
+ printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1427
+#if defined (MULTIMAX) || defined (n16)
1428
+#if defined (UMAXV)
1429
+ printf ("ns32k-encore-sysv\n"); exit (0);
1432
+ printf ("ns32k-encore-mach\n"); exit (0);
1434
+ printf ("ns32k-encore-bsd\n"); exit (0);
1439
+#if defined (__386BSD__)
1440
+ printf ("i386-pc-bsd\n"); exit (0);
1443
+#if defined (sequent)
1445
+ printf ("i386-sequent-dynix\n"); exit (0);
1447
+#if defined (ns32000)
1448
+ printf ("ns32k-sequent-dynix\n"); exit (0);
1452
+#if defined (_SEQUENT_)
1453
+ struct utsname un;
1457
+ if (strncmp(un.version, "V2", 2) == 0) {
1458
+ printf ("i386-sequent-ptx2\n"); exit (0);
1460
+ if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1461
+ printf ("i386-sequent-ptx1\n"); exit (0);
1463
+ printf ("i386-sequent-ptx\n"); exit (0);
1468
+# if !defined (ultrix)
1469
+# include <sys/param.h>
1472
+ printf ("vax-dec-bsd4.3\n"); exit (0);
1475
+ printf ("vax-dec-bsd4.3reno\n"); exit (0);
1477
+ printf ("vax-dec-bsd\n"); exit (0);
1481
+ printf ("vax-dec-bsd\n"); exit (0);
1484
+ printf ("vax-dec-ultrix\n"); exit (0);
1488
+#if defined (alliant) && defined (i860)
1489
+ printf ("i860-alliant-bsd\n"); exit (0);
1496
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1497
+ { echo "$SYSTEM_NAME"; exit; }
1499
+# Apollos put the system type in the environment.
1501
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1503
+# Convex versions that predate uname can use getsysinfo(1)
1505
+if [ -x /usr/convex/getsysinfo ]
1507
+ case `getsysinfo -f cpu_type` in
1509
+ echo c1-convex-bsd
1512
+ if getsysinfo -f scalar_acc
1513
+ then echo c32-convex-bsd
1514
+ else echo c2-convex-bsd
1518
+ echo c34-convex-bsd
1521
+ echo c38-convex-bsd
1524
+ echo c4-convex-bsd
1530
+$0: unable to guess system type
1532
+This script, last modified $timestamp, has failed to recognize
1533
+the operating system you are using. It is advised that you
1534
+download the most up to date version of the config scripts from
1536
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1538
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1540
+If the version you run ($0) is already up to date, please
1541
+send the following data and any information you think might be
1542
+pertinent to <config-patches@gnu.org> in order to provide the needed
1543
+information to handle your system.
1545
+config.guess timestamp = $timestamp
1547
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1548
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1549
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1550
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1552
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1553
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
1555
+hostinfo = `(hostinfo) 2>/dev/null`
1556
+/bin/universe = `(/bin/universe) 2>/dev/null`
1557
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
1558
+/bin/arch = `(/bin/arch) 2>/dev/null`
1559
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1560
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1562
+UNAME_MACHINE = ${UNAME_MACHINE}
1563
+UNAME_RELEASE = ${UNAME_RELEASE}
1564
+UNAME_SYSTEM = ${UNAME_SYSTEM}
1565
+UNAME_VERSION = ${UNAME_VERSION}
1571
+# eval: (add-hook 'write-file-hooks 'time-stamp)
1572
+# time-stamp-start: "timestamp='"
1573
+# time-stamp-format: "%:y-%02m-%02d"
1574
+# time-stamp-end: "'"
1577
+++ vala-0.8.0/config.sub
1580
+# Configuration validation subroutine script.
1581
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
1582
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
1583
+# Free Software Foundation, Inc.
1585
+timestamp='2009-06-11'
1587
+# This file is (in principle) common to ALL GNU software.
1588
+# The presence of a machine in this file suggests that SOME GNU software
1589
+# can handle that machine. It does not imply ALL GNU software can.
1591
+# This file is free software; you can redistribute it and/or modify
1592
+# it under the terms of the GNU General Public License as published by
1593
+# the Free Software Foundation; either version 2 of the License, or
1594
+# (at your option) any later version.
1596
+# This program is distributed in the hope that it will be useful,
1597
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1598
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1599
+# GNU General Public License for more details.
1601
+# You should have received a copy of the GNU General Public License
1602
+# along with this program; if not, write to the Free Software
1603
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
1606
+# As a special exception to the GNU General Public License, if you
1607
+# distribute this file as part of a program that contains a
1608
+# configuration script generated by Autoconf, you may include it under
1609
+# the same distribution terms that you use for the rest of that program.
1612
+# Please send patches to <config-patches@gnu.org>. Submit a context
1613
+# diff and a properly formatted ChangeLog entry.
1615
+# Configuration subroutine to validate and canonicalize a configuration type.
1616
+# Supply the specified configuration type as an argument.
1617
+# If it is invalid, we print an error message on stderr and exit with code 1.
1618
+# Otherwise, we print the canonical config type on stdout and succeed.
1620
+# This file is supposed to be the same for all GNU packages
1621
+# and recognize all the CPU types, system types and aliases
1622
+# that are meaningful with *any* GNU software.
1623
+# Each package is responsible for reporting which valid configurations
1624
+# it does not support. The user should be able to distinguish
1625
+# a failure to support a valid configuration from a meaningless
1628
+# The goal of this file is to map all the various variations of a given
1629
+# machine specification into a single specification in the form:
1630
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
1631
+# or in some cases, the newer four-part form:
1632
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
1633
+# It is wrong to echo any other type of specification.
1635
+me=`echo "$0" | sed -e 's,.*/,,'`
1638
+Usage: $0 [OPTION] CPU-MFR-OPSYS
1641
+Canonicalize a configuration name.
1644
+ -h, --help print this help, then exit
1645
+ -t, --time-stamp print date of last modification, then exit
1646
+ -v, --version print version number, then exit
1648
+Report bugs and patches to <config-patches@gnu.org>."
1651
+GNU config.sub ($timestamp)
1653
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
1654
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1656
+This is free software; see the source for copying conditions. There is NO
1657
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
1660
+Try \`$me --help' for more information."
1662
+# Parse command line
1663
+while test $# -gt 0 ; do
1665
+ --time-stamp | --time* | -t )
1666
+ echo "$timestamp" ; exit ;;
1668
+ echo "$version" ; exit ;;
1669
+ --help | --h* | -h )
1670
+ echo "$usage"; exit ;;
1671
+ -- ) # Stop option processing
1673
+ - ) # Use stdin as input.
1676
+ echo "$me: invalid option $1$help"
1680
+ # First pass through any local machine types.
1690
+ 0) echo "$me: missing argument$help" >&2
1693
+ *) echo "$me: too many arguments$help" >&2
1697
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
1698
+# Here we must recognize all the valid KERNEL-OS combinations.
1699
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
1701
+ nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
1702
+ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
1703
+ kopensolaris*-gnu* | \
1704
+ storm-chaos* | os2-emx* | rtmk-nova*)
1706
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
1709
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
1710
+ if [ $basic_machine != $1 ]
1711
+ then os=`echo $1 | sed 's/.*-/-/'`
1716
+### Let's recognize common machines as not being operating systems so
1717
+### that things like config.sub decstation-3100 work. We also
1718
+### recognize some manufacturers as not being operating systems, so we
1719
+### can provide default operating systems below.
1722
+ # Prevent following clause from handling this invalid input.
1724
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
1725
+ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
1726
+ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
1727
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
1728
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
1729
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
1730
+ -apple | -axis | -knuth | -cray)
1737
+ -sim | -cisco | -oki | -wec | -winbond)
1760
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1764
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1768
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1771
+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
1772
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1775
+ # Don't forget version if it is 3.2v4 or newer.
1776
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1779
+ # Don't forget version if it is 3.2v4 or newer.
1780
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1784
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1787
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1791
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1794
+ basic_machine=clipper-intergraph
1797
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1803
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
1806
+ os=`echo $os | sed -e 's/windowsnt/winnt/'`
1811
+ -mint | -mint[0-9]*)
1812
+ basic_machine=m68k-atari
1817
+# Decode aliases for certain CPU-COMPANY combinations.
1818
+case $basic_machine in
1819
+ # Recognize the basic CPU types without company name.
1820
+ # Some are omitted here because they have special meanings below.
1823
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
1824
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
1826
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
1829
+ | d10v | d30v | dlx | dsp16xx \
1830
+ | fido | fr30 | frv \
1831
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
1832
+ | i370 | i860 | i960 | ia64 \
1835
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
1836
+ | maxq | mb | microblaze | mcore | mep | metag \
1837
+ | mips | mipsbe | mipseb | mipsel | mipsle \
1839
+ | mips64 | mips64el \
1840
+ | mips64octeon | mips64octeonel \
1841
+ | mips64orion | mips64orionel \
1842
+ | mips64r5900 | mips64r5900el \
1843
+ | mips64vr | mips64vrel \
1844
+ | mips64vr4100 | mips64vr4100el \
1845
+ | mips64vr4300 | mips64vr4300el \
1846
+ | mips64vr5000 | mips64vr5000el \
1847
+ | mips64vr5900 | mips64vr5900el \
1848
+ | mipsisa32 | mipsisa32el \
1849
+ | mipsisa32r2 | mipsisa32r2el \
1850
+ | mipsisa64 | mipsisa64el \
1851
+ | mipsisa64r2 | mipsisa64r2el \
1852
+ | mipsisa64sb1 | mipsisa64sb1el \
1853
+ | mipsisa64sr71k | mipsisa64sr71kel \
1854
+ | mipstx39 | mipstx39el \
1855
+ | mn10200 | mn10300 \
1862
+ | pdp10 | pdp11 | pj | pjl \
1863
+ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
1866
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
1868
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
1869
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
1870
+ | spu | strongarm \
1871
+ | tahoe | thumb | tic4x | tic80 | tron \
1874
+ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
1876
+ basic_machine=$basic_machine-unknown
1878
+ m6811 | m68hc11 | m6812 | m68hc12)
1879
+ # Motorola 68HC11/12.
1880
+ basic_machine=$basic_machine-unknown
1883
+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
1886
+ basic_machine=mt-unknown
1889
+ # We use `pc' rather than `unknown'
1890
+ # because (1) that's what they normally are, and
1891
+ # (2) the word "unknown" tends to confuse beginning users.
1893
+ basic_machine=$basic_machine-pc
1895
+ # Object if more than one company name word.
1897
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1900
+ # Recognize the basic CPU types with company name.
1903
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
1904
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
1905
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
1906
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
1907
+ | avr-* | avr32-* \
1908
+ | bfin-* | bs2000-* \
1909
+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
1910
+ | clipper-* | craynv-* | cydra-* \
1911
+ | d10v-* | d30v-* | dlx-* \
1913
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
1914
+ | h8300-* | h8500-* \
1915
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
1916
+ | i*86-* | i860-* | i960-* | ia64-* \
1917
+ | ip2k-* | iq2000-* \
1919
+ | m32c-* | m32r-* | m32rle-* \
1920
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
1921
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
1922
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
1924
+ | mips64-* | mips64el-* \
1925
+ | mips64octeon-* | mips64octeonel-* \
1926
+ | mips64orion-* | mips64orionel-* \
1927
+ | mips64r5900-* | mips64r5900el-* \
1928
+ | mips64vr-* | mips64vrel-* \
1929
+ | mips64vr4100-* | mips64vr4100el-* \
1930
+ | mips64vr4300-* | mips64vr4300el-* \
1931
+ | mips64vr5000-* | mips64vr5000el-* \
1932
+ | mips64vr5900-* | mips64vr5900el-* \
1933
+ | mipsisa32-* | mipsisa32el-* \
1934
+ | mipsisa32r2-* | mipsisa32r2el-* \
1935
+ | mipsisa64-* | mipsisa64el-* \
1936
+ | mipsisa64r2-* | mipsisa64r2el-* \
1937
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
1938
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
1939
+ | mipstx39-* | mipstx39el-* \
1943
+ | nios-* | nios2-* \
1944
+ | none-* | np1-* | ns16k-* | ns32k-* \
1946
+ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
1947
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
1949
+ | romp-* | rs6000-* \
1950
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
1951
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
1952
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
1954
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
1955
+ | tahoe-* | thumb-* \
1956
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
1958
+ | v850-* | v850e-* | vax-* \
1960
+ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
1961
+ | xstormy16-* | xtensa*-* \
1965
+ # Recognize the basic CPU types without company name, with glob match.
1967
+ basic_machine=$basic_machine-unknown
1969
+ # Recognize the various machine names and aliases which stand
1970
+ # for a CPU type and a company and sometimes even an OS.
1972
+ basic_machine=i386-unknown
1975
+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
1976
+ basic_machine=m68000-att
1979
+ basic_machine=we32k-att
1982
+ basic_machine=a29k-amd
1986
+ basic_machine=abacus-unknown
1989
+ basic_machine=m68010-adobe
1993
+ basic_machine=fx80-alliant
1995
+ altos | altos3068)
1996
+ basic_machine=m68k-altos
1999
+ basic_machine=a29k-none
2003
+ basic_machine=x86_64-pc
2006
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
2009
+ basic_machine=580-amdahl
2013
+ basic_machine=m68k-unknown
2015
+ amigaos | amigados)
2016
+ basic_machine=m68k-unknown
2020
+ basic_machine=m68k-unknown
2024
+ basic_machine=m68k-apollo
2028
+ basic_machine=m68k-apollo
2032
+ basic_machine=i386-pc
2036
+ basic_machine=m68k-apple
2040
+ basic_machine=ns32k-sequent
2044
+ basic_machine=bfin-unknown
2048
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
2052
+ basic_machine=powerpc-ibm
2056
+ basic_machine=c90-cray
2060
+ basic_machine=arm-unknown
2064
+ basic_machine=c1-convex
2068
+ basic_machine=c2-convex
2072
+ basic_machine=c32-convex
2076
+ basic_machine=c34-convex
2080
+ basic_machine=c38-convex
2084
+ basic_machine=j90-cray
2088
+ basic_machine=craynv-cray
2092
+ basic_machine=cr16-unknown
2096
+ basic_machine=m68k-crds
2098
+ crisv32 | crisv32-* | etraxfs*)
2099
+ basic_machine=crisv32-axis
2101
+ cris | cris-* | etrax*)
2102
+ basic_machine=cris-axis
2105
+ basic_machine=crx-unknown
2109
+ basic_machine=m68k-da30
2111
+ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
2112
+ basic_machine=mips-dec
2114
+ decsystem10* | dec10*)
2115
+ basic_machine=pdp10-dec
2118
+ decsystem20* | dec20*)
2119
+ basic_machine=pdp10-dec
2122
+ delta | 3300 | motorola-3300 | motorola-delta \
2123
+ | 3300-motorola | delta-motorola)
2124
+ basic_machine=m68k-motorola
2127
+ basic_machine=m88k-motorola
2131
+ basic_machine=i686-pc
2135
+ basic_machine=i586-pc
2139
+ basic_machine=rs6000-bull
2142
+ dpx2* | dpx2*-bull)
2143
+ basic_machine=m68k-bull
2147
+ basic_machine=a29k-amd
2151
+ basic_machine=elxsi-elxsi
2154
+ encore | umax | mmax)
2155
+ basic_machine=ns32k-encore
2157
+ es1800 | OSE68k | ose68k | ose | OSE)
2158
+ basic_machine=m68k-ericsson
2162
+ basic_machine=i860-alliant
2165
+ basic_machine=ns32k-ns
2168
+ basic_machine=tron-gmicro
2172
+ basic_machine=i386-pc
2176
+ basic_machine=hppa1.1-hitachi
2180
+ basic_machine=h8300-hitachi
2184
+ basic_machine=h8300-hitachi
2188
+ basic_machine=h8500-hitachi
2192
+ basic_machine=m88k-harris
2196
+ basic_machine=m68k-hp
2199
+ basic_machine=m68k-hp
2203
+ basic_machine=m68k-hp
2206
+ hp3k9[0-9][0-9] | hp9[0-9][0-9])
2207
+ basic_machine=hppa1.0-hp
2209
+ hp9k2[0-9][0-9] | hp9k31[0-9])
2210
+ basic_machine=m68000-hp
2213
+ basic_machine=m68k-hp
2215
+ hp9k6[0-9][0-9] | hp6[0-9][0-9])
2216
+ basic_machine=hppa1.0-hp
2218
+ hp9k7[0-79][0-9] | hp7[0-79][0-9])
2219
+ basic_machine=hppa1.1-hp
2221
+ hp9k78[0-9] | hp78[0-9])
2222
+ # FIXME: really hppa2.0-hp
2223
+ basic_machine=hppa1.1-hp
2225
+ hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
2226
+ # FIXME: really hppa2.0-hp
2227
+ basic_machine=hppa1.1-hp
2229
+ hp9k8[0-9][13679] | hp8[0-9][13679])
2230
+ basic_machine=hppa1.1-hp
2232
+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
2233
+ basic_machine=hppa1.0-hp
2239
+ basic_machine=hppa1.1-hp
2243
+ basic_machine=hppa1.1-hp
2247
+ basic_machine=i370-ibm
2249
+# I'm not sure what "Sysv32" means. Should this be sysv3.2?
2251
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2255
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2259
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2263
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2267
+ basic_machine=i386-mach
2271
+ basic_machine=i386-unknown
2275
+ basic_machine=mips-sgi
2285
+ basic_machine=m68k-isi
2289
+ basic_machine=m68k-unknown
2293
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
2297
+ basic_machine=m88k-omron
2300
+ basic_machine=mips-mips
2304
+ basic_machine=ns32k-utek
2308
+ basic_machine=i386-pc
2312
+ basic_machine=arm-unknown
2316
+ basic_machine=m68000-convergent
2318
+ *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
2319
+ basic_machine=m68k-atari
2323
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
2326
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
2329
+ basic_machine=m68k-rom68k
2333
+ basic_machine=powerpc-unknown
2337
+ basic_machine=i386-pc
2341
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
2344
+ basic_machine=i370-ibm
2348
+ basic_machine=i486-ncr
2352
+ basic_machine=i386-unknown
2356
+ basic_machine=armv4l-rebel
2359
+ news | news700 | news800 | news900)
2360
+ basic_machine=m68k-sony
2364
+ basic_machine=m68030-sony
2367
+ news-3600 | risc-news)
2368
+ basic_machine=mips-sony
2372
+ basic_machine=v70-nec
2376
+ basic_machine=m68k-next
2389
+ basic_machine=m68k-harris
2393
+ basic_machine=m88k-harris
2397
+ basic_machine=i960-intel
2401
+ basic_machine=i960-intel
2405
+ basic_machine=mips-compaq
2409
+ basic_machine=np1-gould
2412
+ basic_machine=nsr-tandem
2414
+ op50n-* | op60c-*)
2415
+ basic_machine=hppa1.1-oki
2418
+ openrisc | openrisc-*)
2419
+ basic_machine=or32-unknown
2422
+ basic_machine=powerpc-ibm
2425
+ OSE68000 | ose68000)
2426
+ basic_machine=m68000-ericsson
2430
+ basic_machine=m68k-none
2434
+ basic_machine=hppa1.1-hitachi
2438
+ basic_machine=i860-intel
2442
+ basic_machine=hppa-unknown
2446
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
2450
+ basic_machine=sparc-tti
2453
+ basic_machine=m68k-tti
2456
+ basic_machine=ns32k-pc532
2459
+ basic_machine=i386-pc
2462
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
2464
+ pentium | p5 | k5 | k6 | nexgen | viac3)
2465
+ basic_machine=i586-pc
2467
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
2468
+ basic_machine=i686-pc
2470
+ pentiumii | pentium2 | pentiumiii | pentium3)
2471
+ basic_machine=i686-pc
2474
+ basic_machine=i786-pc
2476
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
2477
+ basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
2479
+ pentiumpro-* | p6-* | 6x86-* | athlon-*)
2480
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
2482
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
2483
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
2486
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
2489
+ basic_machine=pn-gould
2491
+ power) basic_machine=power-ibm
2493
+ ppc) basic_machine=powerpc-unknown
2495
+ ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
2497
+ ppcle | powerpclittle | ppc-le | powerpc-little)
2498
+ basic_machine=powerpcle-unknown
2500
+ ppcle-* | powerpclittle-*)
2501
+ basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
2503
+ ppc64) basic_machine=powerpc64-unknown
2505
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
2507
+ ppc64le | powerpc64little | ppc64-le | powerpc64-little)
2508
+ basic_machine=powerpc64le-unknown
2510
+ ppc64le-* | powerpc64little-*)
2511
+ basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
2514
+ basic_machine=i386-ibm
2517
+ basic_machine=i586-unknown
2521
+ basic_machine=i386-pc
2525
+ basic_machine=m68k-rom68k
2529
+ basic_machine=mips-siemens
2532
+ basic_machine=romp-ibm
2535
+ basic_machine=s390-ibm
2538
+ basic_machine=s390x-ibm
2541
+ basic_machine=a29k-amd
2545
+ basic_machine=mipsisa64sb1-unknown
2548
+ basic_machine=mipsisa64sb1el-unknown
2551
+ basic_machine=mipsisa32-sde
2555
+ basic_machine=mips-sei
2559
+ basic_machine=i386-sequent
2562
+ basic_machine=sh-hitachi
2566
+ basic_machine=sh5le-unknown
2569
+ basic_machine=sh64-unknown
2571
+ sparclite-wrs | simso-wrs)
2572
+ basic_machine=sparclite-wrs
2576
+ basic_machine=m68k-bull
2580
+ basic_machine=spur-unknown
2583
+ basic_machine=m68k-tandem
2586
+ basic_machine=i860-stratus
2590
+ basic_machine=m68000-sun
2593
+ basic_machine=m68000-sun
2597
+ basic_machine=m68000-sun
2601
+ basic_machine=m68k-sun
2605
+ basic_machine=m68k-sun
2609
+ basic_machine=sparc-sun
2613
+ basic_machine=sparc-sun
2617
+ basic_machine=sparc-sun
2621
+ basic_machine=m68k-sun
2624
+ basic_machine=sparc-sun
2626
+ sun386 | sun386i | roadrunner)
2627
+ basic_machine=i386-sun
2630
+ basic_machine=sv1-cray
2634
+ basic_machine=i386-sequent
2638
+ basic_machine=alphaev5-cray
2642
+ basic_machine=t90-cray
2646
+ basic_machine=tic54x-unknown
2650
+ basic_machine=tic55x-unknown
2654
+ basic_machine=tic6x-unknown
2658
+ basic_machine=tile-unknown
2662
+ basic_machine=mipstx39-unknown
2665
+ basic_machine=mipstx39el-unknown
2668
+ basic_machine=pdp10-xkl
2672
+ basic_machine=m68k-ncr
2675
+ basic_machine=s390x-ibm
2679
+ basic_machine=a29k-amd
2683
+ basic_machine=a29k-nyu
2687
+ basic_machine=v810-nec
2691
+ basic_machine=vax-dec
2695
+ basic_machine=vax-dec
2699
+ basic_machine=f301-fujitsu
2702
+ basic_machine=i960-wrs
2706
+ basic_machine=m68k-wrs
2710
+ basic_machine=a29k-wrs
2714
+ basic_machine=w65-wdc
2718
+ basic_machine=hppa1.1-winbond
2722
+ basic_machine=i686-pc
2726
+ basic_machine=xps100-honeywell
2729
+ basic_machine=ymp-cray
2733
+ basic_machine=z8k-unknown
2737
+ basic_machine=z80-unknown
2741
+ basic_machine=none-none
2745
+# Here we handle the default manufacturer of certain CPU types. It is in
2746
+# some cases the only manufacturer, in others, it is the most popular.
2748
+ basic_machine=hppa1.1-winbond
2751
+ basic_machine=hppa1.1-oki
2754
+ basic_machine=hppa1.1-oki
2757
+ basic_machine=romp-ibm
2760
+ basic_machine=mmix-knuth
2763
+ basic_machine=rs6000-ibm
2766
+ basic_machine=vax-dec
2769
+ # there are many clones, so DEC is not a safe bet
2770
+ basic_machine=pdp10-unknown
2773
+ basic_machine=pdp11-dec
2776
+ basic_machine=we32k-att
2778
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
2779
+ basic_machine=sh-unknown
2781
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
2782
+ basic_machine=sparc-sun
2785
+ basic_machine=cydra-cydrome
2788
+ basic_machine=orion-highlevel
2791
+ basic_machine=clipper-highlevel
2793
+ mac | mpw | mac-mpw)
2794
+ basic_machine=m68k-apple
2797
+ basic_machine=powerpc-apple
2800
+ # Make sure to match an already-canonicalized machine name.
2803
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
2808
+# Here we canonicalize certain aliases for manufacturers.
2809
+case $basic_machine in
2811
+ basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
2814
+ basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
2820
+# Decode manufacturer-specific aliases for certain operating systems.
2822
+if [ x"$os" != x"" ]
2825
+ # First match some system type aliases
2826
+ # that might get confused with valid system types.
2827
+ # -solaris* is a basic system type, with this one exception.
2828
+ -solaris1 | -solaris1.*)
2829
+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
2841
+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
2843
+ # First accept the basic system types.
2844
+ # The portable systems comes first.
2845
+ # Each alternative MUST END IN A *, to match a version number.
2846
+ # -sysv* is not here because it comes later, after sysvr4.
2847
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
2848
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
2849
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
2850
+ | -kopensolaris* \
2851
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
2852
+ | -aos* | -aros* \
2853
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
2854
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
2855
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
2856
+ | -openbsd* | -solidbsd* \
2857
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
2858
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
2859
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
2860
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
2861
+ | -chorusos* | -chorusrdb* | -cegcc* \
2862
+ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
2863
+ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
2864
+ | -uxpv* | -beos* | -mpeix* | -udk* \
2865
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
2866
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
2867
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
2868
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
2869
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
2870
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
2871
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
2872
+ # Remember, each alternative MUST END IN *, to match a version number.
2875
+ case $basic_machine in
2886
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
2888
+ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
2889
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
2890
+ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
2893
+ os=`echo $os | sed -e 's|mac|macos|'`
2896
+ os=-linux-dietlibc
2899
+ os=`echo $os | sed -e 's|linux|linux-gnu|'`
2902
+ os=`echo $os | sed -e 's|sunos5|solaris2|'`
2905
+ os=`echo $os | sed -e 's|sunos6|solaris3|'`
2952
+ # Preserve the version number of sinix5.
2954
+ os=`echo $os | sed -e 's|sinix|sysv|'`
2977
+ # This must come after -sysvr4.
2989
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
3007
+ # Get rid of the `-' at the beginning of $os.
3008
+ os=`echo $os | sed 's/[^-]*-//'`
3009
+ echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
3015
+# Here we handle the default operating systems that come with various machines.
3016
+# The value should be what the vendor currently ships out the door with their
3017
+# machine or put another way, the most popular os provided with the machine.
3019
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
3020
+# "-sun"), then you have to tell the case statement up towards the top
3021
+# that MANUFACTURER isn't an operating system. Otherwise, code above
3022
+# will signal an error saying that MANUFACTURER isn't an operating
3023
+# system, and we'll never get to this point.
3025
+case $basic_machine in
3044
+ # This must come before the *-dec entry.
3062
+ # This also exists in the configure program, but was not the
3081
+ *-tti) # must be before sparc entry or we get the wrong os.
3114
+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
3168
+ f30[01]-fujitsu | f700-fujitsu)
3189
+# Here we handle the case where we know the os, and the CPU type, but not the
3190
+# manufacturer. We pick the logical manufacturer.
3192
+case $basic_machine in
3240
+ -vxsim* | -vxworks* | -windiss*)
3252
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
3259
+ basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
3263
+echo $basic_machine$os
3267
+# eval: (add-hook 'write-file-hooks 'time-stamp)
3268
+# time-stamp-start: "timestamp='"
3269
+# time-stamp-format: "%:y-%02m-%02d"
3270
+# time-stamp-end: "'"