changeset 19819:97dbdfb505f9

(alpha:OSF1:*:*): For V4.0, get the letter suffix.
author Richard Kenner <kenner@gnu.org>
date Mon, 08 Sep 1997 12:29:17 +0000
parents 0db6ba06cd1c
children 53fa6bca2c89
files config.guess
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config.guess	Mon Sep 08 10:28:45 1997 +0000
+++ b/config.guess	Mon Sep 08 12:29:17 1997 +0000
@@ -52,6 +52,9 @@
 
 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 @@
 		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