[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
config.guess patch for alpha-dec-osf
From: |
Tom Smith |
Subject: |
config.guess patch for alpha-dec-osf |
Date: |
Mon, 09 Feb 2004 09:36:41 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113 |
There are 2 problems with the config.guess version string processing
on Tru64 UNIX.
1) Version suffixes are equally significant on Tru64 V4.* and V5.*
but they are omitted on V5.*
2) The version prefix of "P" (patched kernel) is not handled.
Context diff from released automake 1.8.2 attached.
Regards,
Tom
________________________________________________________________________
Tom Smith address@hidden,address@hidden
Hewlett-Packard Company Tel: +1 (603) 884-6329
110 Spit Brook Road ZKO1-3/H42 FAX: +1 (603) 884-6484
Nashua, New Hampshire 03062-2698, USA Mobile: +1 978 397 3411
*** config.guess.automake-1.8.2 Mon Feb 9 08:16:21 2004
--- config.guess Mon Feb 9 09:24:46 2004
***************
*** 240,248 ****
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
alpha:OSF1:*:*)
! if test $UNAME_RELEASE = "V4.0"; then
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
! fi
# According to Compaq, /usr/sbin/psrinfo has been available on
# OSF/1 and Tru64 systems produced since 1995. I hope that
# covers most systems running today. This code pipes the CPU
--- 240,253 ----
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
alpha:OSF1:*:*)
! case $UNAME_RELEASE in
! *4.0)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
! ;;
! *5.*)
! UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
! ;;
! esac
# According to Compaq, /usr/sbin/psrinfo has been available on
# OSF/1 and Tru64 systems produced since 1995. I hope that
# covers most systems running today. This code pipes the CPU
***************
*** 280,290 ****
"EV7.9 (21364A)")
UNAME_MACHINE="alphaev79" ;;
esac
# 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.
# 1.2 uses "1.2" for uname -r.
! echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e
's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
exit 0 ;;
Alpha*:OpenVMS:*:*)
echo alpha-hp-vms
--- 285,296 ----
"EV7.9 (21364A)")
UNAME_MACHINE="alphaev79" ;;
esac
+ # A Pn.n version is a patched version.
# 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.
# 1.2 uses "1.2" for uname -r.
! echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e
's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
exit 0 ;;
Alpha*:OpenVMS:*:*)
echo alpha-hp-vms
- config.guess patch for alpha-dec-osf,
Tom Smith <=