diff options
author | Henrik Grubbström (Grubba) <grubba@grubba.org> | 2005-03-17 18:07:58 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2005-03-17 18:07:58 +0100 |
commit | 0d424cb7c33be3ecb708d35c40e812134bf47534 (patch) | |
tree | 78ca8ebf454dfb8df8b15c4558b250abc4417814 /config.guess | |
parent | e4fc069da59a8cd7bd604d95b208c20f6c03f20d (diff) | |
download | nettle-0d424cb7c33be3ecb708d35c40e812134bf47534.tar.gz |
Support Solaris on x86_64. Fix by Henrik
Grubbström.
Rev: src/nettle/ChangeLog:1.319
Rev: src/nettle/config.guess:1.2
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/config.guess b/config.guess index 19e870b7..c3bae209 100755 --- a/config.guess +++ b/config.guess @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. -timestamp='2004-03-01' +timestamp='2005-03-17' # 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 @@ -344,7 +344,14 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; i86pc:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + case "`optisa \`isainfo\``" in + amd64) + echo x86_64-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + ;; + *) + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + ;; + esac exit 0 ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize |