1 --- config.guess 2004-12-30 08:00:40.000000000 -0800
2 +++ /usr/share/automake-1.7/config.guess 2004-12-23 18:40:32.000000000 -0800
5 # Attempt to guess a canonical system name.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
7 -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
8 +# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
10 -timestamp='2003-07-02'
11 +timestamp='2004-11-12'
13 # This file is free software; you can redistribute it and/or modify it
14 # under the terms of the GNU General Public License as published by
16 GNU config.guess ($timestamp)
18 Originally written by Per Bothner.
19 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
20 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
21 Free Software Foundation, Inc.
23 This is free software; see the source for copying conditions. There is NO
25 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
26 echo "${machine}-${os}${release}"
29 + echo x86_64-unknown-openbsd${UNAME_RELEASE}
32 echo m68k-unknown-openbsd${UNAME_RELEASE}
35 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
37 + echo arm-unknown-openbsd${UNAME_RELEASE}
40 echo m68k-unknown-openbsd${UNAME_RELEASE}
42 + luna88k:OpenBSD:*:*)
43 + echo m88k-unknown-openbsd${UNAME_RELEASE}
46 echo m68k-unknown-openbsd${UNAME_RELEASE}
50 echo powerpc-unknown-openbsd${UNAME_RELEASE}
53 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
56 - echo mipseb-unknown-openbsd${UNAME_RELEASE}
57 + echo mips64-unknown-openbsd${UNAME_RELEASE}
60 echo m68k-unknown-openbsd${UNAME_RELEASE}
63 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
66 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
69 + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
72 + echo powerppc-unknown-mirbsd${UNAME_RELEASE}
75 + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
78 - if test $UNAME_RELEASE = "V4.0"; then
79 + case $UNAME_RELEASE in
81 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
85 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
88 # According to Compaq, /usr/sbin/psrinfo has been available on
89 # OSF/1 and Tru64 systems produced since 1995. I hope that
90 # covers most systems running today. This code pipes the CPU
93 UNAME_MACHINE="alphaev79" ;;
95 + # A Pn.n version is a patched version.
96 # A Vn.n version is a released version.
97 # A Tn.n version is a released field test version.
98 # A Xn.n version is an unreleased experimental baselevel.
99 # 1.2 uses "1.2" for uname -r.
100 - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
102 - Alpha*:OpenVMS:*:*)
104 + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
106 Alpha\ *:Windows_NT*:*)
107 # How do we know it's Interix rather than the generic POSIX subsystem?
110 echo i370-ibm-openedition
113 + echo s390-ibm-zvmoe
116 + echo powerpc-ibm-os400
118 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
119 echo arm-acorn-riscix${UNAME_RELEASE}
122 DRS?6000:unix:4.0:6*)
125 - DRS?6000:UNIX_SV:4.2*:7*)
126 + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
127 case `/usr/bin/uname -p` in
128 sparc) echo sparc-icl-nx7 && exit 0 ;;
131 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
132 echo m68k-unknown-mint${UNAME_RELEASE}
135 + echo m68k-apple-machten${UNAME_RELEASE}
138 echo powerpc-apple-machten${UNAME_RELEASE}
141 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
144 - echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
145 + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
147 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
148 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
150 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
151 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
153 + 5000:UNIX_System_V:4.*:*)
154 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
155 + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
156 + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
158 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
159 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
163 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
165 - *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
166 - # Determine whether the default compiler uses glibc.
167 - eval $set_cc_for_build
168 - sed 's/^ //' << EOF >$dummy.c
169 - #include <features.h>
176 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
177 - # GNU/FreeBSD systems have a "k" prefix to indicate we are using
178 - # FreeBSD's kernel, but not the complete OS.
179 - case ${LIBC} in gnu) kernel_only='k' ;; esac
180 - echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
182 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
185 echo ${UNAME_MACHINE}-pc-cygwin
187 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
191 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
194 + # other systems with GNU libc and userland
195 + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
198 echo ${UNAME_MACHINE}-pc-minix
202 echo cris-axis-linux-gnu
205 + echo crisv32-axis-linux-gnu
208 + echo frv-unknown-linux-gnu
211 echo ${UNAME_MACHINE}-unknown-linux-gnu
214 + echo ${UNAME_MACHINE}-unknown-linux-gnu
217 echo ${UNAME_MACHINE}-unknown-linux-gnu
223 + #ifdef __dietlibc__
227 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
228 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
231 echo ${UNAME_MACHINE}-unknown-atheos
234 + echo ${UNAME_MACHINE}-pc-syllable
236 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
237 echo i386-unknown-lynxos${UNAME_RELEASE}
239 @@ -1047,9 +1079,9 @@
243 - M68*:*:R3V[567]*:*)
244 + M68*:*:R3V[5678]*:*)
245 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
246 - 3[34]??:*: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)
247 + 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)
249 test -r /etc/.relid \
250 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
251 @@ -1147,9 +1179,10 @@
252 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
256 + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
257 + case $UNAME_PROCESSOR in
258 *86) UNAME_PROCESSOR=i686 ;;
259 - powerpc) UNAME_PROCESSOR=powerpc ;;
260 + unknown) UNAME_PROCESSOR=powerpc ;;
262 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
264 @@ -1164,7 +1197,7 @@
268 - NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
269 + NSR-?:NONSTOP_KERNEL:*:*)
270 echo nsr-tandem-nsk${UNAME_RELEASE}
273 @@ -1208,6 +1241,19 @@
275 echo mips-sei-seiux${UNAME_RELEASE}
278 + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
281 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
282 + case "${UNAME_MACHINE}" in
283 + A*) echo alpha-dec-vms && exit 0 ;;
284 + I*) echo ia64-dec-vms && exit 0 ;;
285 + V*) echo vax-dec-vms && exit 0 ;;
292 #echo '(No uname command or uname output not recognized.)' 1>&2