config.guess (sun4u:SunOS:5.*:*): Guess sparcv9 if 64-bit isa is supported.

* config.guess (sun4u:SunOS:5.*:*): Guess sparcv9 if 64-bit isa
        is supported.

From-SVN: r52252
This commit is contained in:
Richard Henderson 2002-04-12 16:03:01 -07:00 committed by Richard Henderson
parent c91ae42b2b
commit 01e93ba048
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-04-12 Richard Henderson <rth@redhat.com>
* config.guess (sun4u:SunOS:5.*:*): Guess sparcv9 if 64-bit isa
is supported.
2002-04-09 Loren J. Rittle <ljrittle@acm.org>
* configure.in: Add *-*-freebsd* configurations.

10
config.guess vendored
View File

@ -315,6 +315,16 @@ EOF
sun4H:SunOS:5.*:*)
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
sun4u:SunOS:5.*:*)
# Detect whether or not this machine can run 64-bit binaries.
# Note that even with hardware that is capable, the user can
# run a kernel that only allows 32-bit binaries.
case `(isalist) 2>/dev/null || echo sparc` in
*sparcv9*) UNAME_MACHINE=sparcv9 ;;
*) UNAME_MACHINE=sparc ;;
esac
echo ${UNAME_MACHINE}-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;