]> git.eshelyaron.com Git - emacs.git/commitdiff
(alpha:OSF1:*:*): For V4.0, get the letter suffix.
authorRichard Kenner <kenner@gnu.org>
Mon, 8 Sep 1997 12:29:17 +0000 (12:29 +0000)
committerRichard Kenner <kenner@gnu.org>
Mon, 8 Sep 1997 12:29:17 +0000 (12:29 +0000)
config.guess

index 1448103304ddd12d774d4d372c4bd9617f0f3237..e528b43396638e35ceff6466cecc5d21c3b4e9c6 100755 (executable)
@@ -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