summaryrefslogtreecommitdiff
path: root/mk/gnu-config/config.guess
diff options
context:
space:
mode:
authorjoerg <joerg>2007-03-12 00:35:05 +0000
committerjoerg <joerg>2007-03-12 00:35:05 +0000
commit3a9450569ecaa4be4e82b3f07e6dc73977c5b2b4 (patch)
tree1e7aac2ce6db533ae2f8c4027e6ec103f848e827 /mk/gnu-config/config.guess
parentca72de4aaa7c0ab746c623466ed6ecdcb0b85fe9 (diff)
downloadpkgsrc-3a9450569ecaa4be4e82b3f07e6dc73977c5b2b4.tar.gz
Sync authoritive instance of config.guess and config.sub with the
upstream versions.
Diffstat (limited to 'mk/gnu-config/config.guess')
-rwxr-xr-xmk/gnu-config/config.guess34
1 files changed, 23 insertions, 11 deletions
diff --git a/mk/gnu-config/config.guess b/mk/gnu-config/config.guess
index 3d427f02150..0f0fe712ae6 100755
--- a/mk/gnu-config/config.guess
+++ b/mk/gnu-config/config.guess
@@ -1,13 +1,10 @@
#! /bin/sh
-#
-# $NetBSD: config.guess,v 1.9 2006/10/29 23:50:54 wiz Exp $
-#
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
-timestamp='2006-07-02'
+timestamp='2007-03-06'
# 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
@@ -784,7 +781,7 @@ EOF
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
exit ;;
- i*:MINGW*:*)
+ *:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit ;;
i*:windows32*:*)
@@ -794,12 +791,15 @@ EOF
i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32
exit ;;
- x86:Interix*:[3456]*)
- echo i586-pc-interix${UNAME_RELEASE}
- exit ;;
- EM64T:Interix*:[3456]*)
- echo x86_64-unknown-interix${UNAME_RELEASE}
- exit ;;
+ *:Interix*:[3456]*)
+ case ${UNAME_MACHINE} in
+ x86)
+ echo i586-pc-interix${UNAME_RELEASE}
+ exit ;;
+ EM64T | authenticamd)
+ echo x86_64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ esac ;;
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
echo i${UNAME_MACHINE}-pc-mks
exit ;;
@@ -954,6 +954,9 @@ EOF
x86_64:Linux:*:*)
echo x86_64-unknown-linux-gnu
exit ;;
+ xtensa:Linux:*:*)
+ echo xtensa-unknown-linux-gnu
+ exit ;;
i*86:Linux:*:*)
# The BFD linker knows what the default object file format is, so
# first see if it will tell us. cd to the root directory to prevent
@@ -1212,6 +1215,15 @@ EOF
SX-6:SUPER-UX:*:*)
echo sx6-nec-superux${UNAME_RELEASE}
exit ;;
+ SX-7:SUPER-UX:*:*)
+ echo sx7-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8:SUPER-UX:*:*)
+ echo sx8-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8R:SUPER-UX:*:*)
+ echo sx8r-nec-superux${UNAME_RELEASE}
+ exit ;;
Power*:Rhapsody:*:*)
echo powerpc-apple-rhapsody${UNAME_RELEASE}
exit ;;