From 4255118814fac864d00d299ebe98c16511b3029d Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 8 Sep 1997 12:29:17 +0000 Subject: [PATCH] (alpha:OSF1:*:*): For V4.0, get the letter suffix. --- config.guess | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2