diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-03-19 02:13:12 +0000 |
---|---|---|
committer | Charles Bailey <bailey@genetics.upenn.edu> | 1996-03-19 02:13:12 +0000 |
commit | f55a7265c7b8c23f28b4d06444b89fddb908ab0d (patch) | |
tree | 4933927da714cabebfd870c277ca4c9dbbc8a5db /Configure | |
parent | cd48280b896659ad29681ee2ef8ae2f2f10a8752 (diff) | |
download | perl-f55a7265c7b8c23f28b4d06444b89fddb908ab0d.tar.gz |
perl 5.002_01: Configure
Use SUBVERSION in default value for $archlib, so development
and production architecture-dependent libs can coexist
(Sorry; I don't have metaconfig, so this is a direct patch
against Configure.)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -571,6 +571,7 @@ ssizetype='' startperl='' startsh='' stdchar='' +subversion='' sysman='' uidtype='' nm_opt='' @@ -2306,10 +2307,12 @@ echo " " echo "Getting the current patchlevel..." >&4 if $test -r ../patchlevel.h;then patchlevel=`awk '/PATCHLEVEL/ {print $3}' < ../patchlevel.h` + subversion=`awk '/SUBVERSION/ {print $3}' < ../patchlevel.h` else patchlevel=0 + subversion=0 fi -echo "(You have $package $baserev PL$patchlevel.)" +echo "(You have $package $baserev PL$patchlevel sub$subversion.)" : set the prefixup variable, to restore leading tilda escape prefixup='case "$prefixexp" in @@ -2328,7 +2331,8 @@ case "$archlib" in set dflt eval $prefixup ;; - *) version=`echo $baserev $patchlevel | $awk '{print $1 + $2/1000.0}'` + *) version=`echo $baserev $patchlevel $subversion | \ + $awk '{print $1 + $2/1000.0 + $3/100000.0}'` dflt="$privlib/$archname/$version" ;; esac @@ -9358,6 +9362,7 @@ stdio_cnt='$stdio_cnt' stdio_ptr='$stdio_ptr' strings='$strings' submit='$submit' +subversion='$subversion' sysman='$sysman' tail='$tail' tar='$tar' |