config.guess | config.guess | |||
---|---|---|---|---|
#! /bin/sh | #! /bin/sh | |||
# Attempt to guess a canonical system name. | # Attempt to guess a canonical system name. | |||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | |||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |||
# 2011, 2012 Free Software Foundation, Inc. | # 2011, 2012 Free Software Foundation, Inc. | |||
timestamp='2012-01-01' | timestamp='2012-06-10' | |||
# This file is free software; you can redistribute it and/or modify it | # This file is free software; you can redistribute it and/or modify it | |||
# under the terms of the GNU General Public License as published by | # under the terms of the GNU General Public License as published by | |||
# the Free Software Foundation; either version 2 of the License, or | # the Free Software Foundation; either version 2 of the License, or | |||
# (at your option) any later version. | # (at your option) any later version. | |||
# | # | |||
# This program is distributed in the hope that it will be useful, but | # This program is distributed in the hope that it will be useful, but | |||
# WITHOUT ANY WARRANTY; without even the implied warranty of | # WITHOUT ANY WARRANTY; without even the implied warranty of | |||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
# General Public License for more details. | # General Public License for more details. | |||
# | # | |||
# You should have received a copy of the GNU General Public License | # You should have received a copy of the GNU General Public License | |||
# along with this program; if not, write to the Free Software | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |||
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | ||||
# 02110-1301, USA. | ||||
# | # | |||
# As a special exception to the GNU General Public License, if you | # As a special exception to the GNU General Public License, if you | |||
# distribute this file as part of a program that contains a | # distribute this file as part of a program that contains a | |||
# configuration script generated by Autoconf, you may include it under | # configuration script generated by Autoconf, you may include it under | |||
# the same distribution terms that you use for the rest of that program. | # the same distribution terms that you use for the rest of that program. | |||
# Originally written by Per Bothner. Please send patches (context | # Originally written by Per Bothner. Please send patches (context | |||
# diff format) to <config-patches@gnu.org> and include a ChangeLog | # diff format) to <config-patches@gnu.org> and include a ChangeLog | |||
# entry. | # entry. | |||
# | # | |||
skipping to change at line 865 | skipping to change at line 863 | |||
# the GNU system | # the GNU system | |||
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo $ {UNAME_RELEASE}|sed -e 's,/.*$,,'` | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo $ {UNAME_RELEASE}|sed -e 's,/.*$,,'` | |||
exit ;; | exit ;; | |||
*:GNU/*:*:*) | *:GNU/*:*:*) | |||
# other systems with GNU libc and userland | # other systems with GNU libc and userland | |||
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/ ,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/ ,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | |||
exit ;; | exit ;; | |||
i*86:Minix:*:*) | i*86:Minix:*:*) | |||
echo ${UNAME_MACHINE}-pc-minix | echo ${UNAME_MACHINE}-pc-minix | |||
exit ;; | exit ;; | |||
aarch64:Linux:*:*) | ||||
echo ${UNAME_MACHINE}-unknown-linux-gnu | ||||
exit ;; | ||||
aarch64_be:Linux:*:*) | ||||
UNAME_MACHINE=aarch64_be | ||||
echo ${UNAME_MACHINE}-unknown-linux-gnu | ||||
exit ;; | ||||
alpha:Linux:*:*) | alpha:Linux:*:*) | |||
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | |||
EV5) UNAME_MACHINE=alphaev5 ;; | EV5) UNAME_MACHINE=alphaev5 ;; | |||
EV56) UNAME_MACHINE=alphaev56 ;; | EV56) UNAME_MACHINE=alphaev56 ;; | |||
PCA56) UNAME_MACHINE=alphapca56 ;; | PCA56) UNAME_MACHINE=alphapca56 ;; | |||
PCA57) UNAME_MACHINE=alphapca56 ;; | PCA57) UNAME_MACHINE=alphapca56 ;; | |||
EV6) UNAME_MACHINE=alphaev6 ;; | EV6) UNAME_MACHINE=alphaev6 ;; | |||
EV67) UNAME_MACHINE=alphaev67 ;; | EV67) UNAME_MACHINE=alphaev67 ;; | |||
EV68*) UNAME_MACHINE=alphaev68 ;; | EV68*) UNAME_MACHINE=alphaev68 ;; | |||
esac | esac | |||
skipping to change at line 1253 | skipping to change at line 1258 | |||
UNAME_MACHINE=pc | UNAME_MACHINE=pc | |||
fi | fi | |||
echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} | echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} | |||
exit ;; | exit ;; | |||
*:QNX:*:4*) | *:QNX:*:4*) | |||
echo i386-pc-qnx | echo i386-pc-qnx | |||
exit ;; | exit ;; | |||
NEO-?:NONSTOP_KERNEL:*:*) | NEO-?:NONSTOP_KERNEL:*:*) | |||
echo neo-tandem-nsk${UNAME_RELEASE} | echo neo-tandem-nsk${UNAME_RELEASE} | |||
exit ;; | exit ;; | |||
NSE-?:NONSTOP_KERNEL:*:*) | NSE-*:NONSTOP_KERNEL:*:*) | |||
echo nse-tandem-nsk${UNAME_RELEASE} | echo nse-tandem-nsk${UNAME_RELEASE} | |||
exit ;; | exit ;; | |||
NSR-?:NONSTOP_KERNEL:*:*) | NSR-?:NONSTOP_KERNEL:*:*) | |||
echo nsr-tandem-nsk${UNAME_RELEASE} | echo nsr-tandem-nsk${UNAME_RELEASE} | |||
exit ;; | exit ;; | |||
*:NonStop-UX:*:*) | *:NonStop-UX:*:*) | |||
echo mips-compaq-nonstopux | echo mips-compaq-nonstopux | |||
exit ;; | exit ;; | |||
BS2000:POSIX*:*:*) | BS2000:POSIX*:*:*) | |||
echo bs2000-siemens-sysv | echo bs2000-siemens-sysv | |||
skipping to change at line 1322 | skipping to change at line 1327 | |||
exit ;; | exit ;; | |||
i*86:skyos:*:*) | i*86:skyos:*:*) | |||
echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ . *$//' | echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ . *$//' | |||
exit ;; | exit ;; | |||
i*86:rdos:*:*) | i*86:rdos:*:*) | |||
echo ${UNAME_MACHINE}-pc-rdos | echo ${UNAME_MACHINE}-pc-rdos | |||
exit ;; | exit ;; | |||
i*86:AROS:*:*) | i*86:AROS:*:*) | |||
echo ${UNAME_MACHINE}-pc-aros | echo ${UNAME_MACHINE}-pc-aros | |||
exit ;; | exit ;; | |||
x86_64:VMkernel:*:*) | ||||
echo ${UNAME_MACHINE}-unknown-esx | ||||
exit ;; | ||||
esac | esac | |||
#echo '(No uname command or uname output not recognized.)' 1>&2 | #echo '(No uname command or uname output not recognized.)' 1>&2 | |||
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | |||
eval $set_cc_for_build | eval $set_cc_for_build | |||
cat >$dummy.c <<EOF | cat >$dummy.c <<EOF | |||
#ifdef _SEQUENT_ | #ifdef _SEQUENT_ | |||
# include <sys/types.h> | # include <sys/types.h> | |||
# include <sys/utsname.h> | # include <sys/utsname.h> | |||
End of changes. 5 change blocks. | ||||
5 lines changed or deleted | 13 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |