From 93b5037172b15ad28952481933517f1ba93d125b Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Mon, 27 Apr 2009 16:42:51 +1000 Subject: [PATCH] * config.guess (s390x:SunOS:*:*): Add s390x-ibm-solaris*. * testsuite/config-guess.data: Add a test case. --- ChangeLog | 6 ++++++ config.guess | 5 ++++- testsuite/config-guess.data | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8e8250c..55e02df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-04-27 Neale Ferguson + Ben Elliston + + * config.guess (s390x:SunOS:*:*): Add s390x-ibm-solaris*. + * testsuite/config-guess.data: Add a test case. + 2009-04-17 Eli Zaretskii * config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for diff --git a/config.guess b/config.guess index 3eda297..da83314 100755 --- a/config.guess +++ b/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. -timestamp='2009-02-03' +timestamp='2009-04-27' # 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 @@ -324,6 +324,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; diff --git a/testsuite/config-guess.data b/testsuite/config-guess.data index 514a5ad..63999eb 100644 --- a/testsuite/config-guess.data +++ b/testsuite/config-guess.data @@ -41,3 +41,4 @@ ppc 2.6.9-22 Linux ignored powerpc-unknown-linux-gnu i686 5.11-686 GNU/kOpenSolaris ignored i686-unknown-kopensolaris5.11-gnu i386 12.1 AROS ignored i386-pc-aros pc 1.0 ignored ignored i586-pc-msdosdjgpp +s390x 5.6 SunOS ignored s390x-ibm-solaris2.6