summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-07-28 22:00:32 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-07-28 22:00:32 +0000
commit2aa761807d7eac561ade382b2c66eebffcdf056f (patch)
treead3b4f29d7bf173c8a553def08d29f88ba770dba /Configure
parenta4f5cc89eed636ba46185bdb30ee0a36fa506dd8 (diff)
downloadperl-2aa761807d7eac561ade382b2c66eebffcdf056f.tar.gz
In DEC OSF aka Digital UNIX aka Tru64 add the version
letter to $Config{osvers}. p4raw-id: //depot/perl@6459
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/Configure b/Configure
index ef5626fe4b..5be461dffb 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Fri Jul 28 01:31:47 EET DST 2000 [metaconfig 3.0 PL70]
+# Generated on Sat Jul 29 00:58:08 EET DST 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
@@ -2406,7 +2406,11 @@ EOM
osf1|mls+) case "$5" in
alpha)
osname=dec_osf
- osvers=`echo "$3" | sed 's/^[xvt]//'`
+ osvers=`sizer -v | awk '{print $3}' | tr '[A-Z]' '[a-z]' | sed 's/^[xvt]//'`
+ case "$osvers" in
+ [1-9].[0-9]*) ;;
+ *) osvers=`echo "$3" | sed 's/^[xvt]//'` ;;
+ esac
;;
hp*) osname=hp_osf1 ;;
mips) osname=mips_osf1 ;;