summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gnu.org>1997-09-08 12:29:17 +0000
committerRichard Kenner <kenner@gnu.org>1997-09-08 12:29:17 +0000
commit4255118814fac864d00d299ebe98c16511b3029d (patch)
tree7f23fa11ea56088b83f347a06f7aa44210993046 /config.guess
parent12eb951fa57000dd62097ffd901f76880804f8b8 (diff)
downloademacs-4255118814fac864d00d299ebe98c16511b3029d.tar.gz
(alpha:OSF1:*:*): For V4.0, get the letter suffix.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.guess b/config.guess
index 1448103304d..e528b433966 100755
--- a/config.guess
+++ b/config.guess
@@ -52,6 +52,9 @@ trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
alpha:OSF1:*:*)
+ if test $UNAME_RELEASE = "V4.0"; then
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+ fi
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
@@ -81,7 +84,7 @@ EOF
esac
fi
rm -f dummy.s dummy
- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//'`
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]`
exit 0 ;;
21064:Windows_NT:50:3)
echo alpha-dec-winnt3.5