summaryrefslogtreecommitdiff
path: root/Policy_sh.SH
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>1998-07-01 19:07:50 -0400
committerGurusamy Sarathy <gsar@cpan.org>1998-07-04 05:15:05 +0000
commitbfb7748a896459ccb0c0ef1926f04b74a100641e (patch)
treec39b5598f02902c457a8477126083dcf45c709b3 /Policy_sh.SH
parent105f9295f78e59680043922daac4ef6085834045 (diff)
downloadperl-bfb7748a896459ccb0c0ef1926f04b74a100641e.tar.gz
Configure update
Message-Id: <9807020307.AA17848@newton.phys.lafayette.edu> Subject: [PATCH 5.004_69] Config_69-01 p4raw-id: //depot/perl@1295
Diffstat (limited to 'Policy_sh.SH')
-rw-r--r--Policy_sh.SH35
1 files changed, 20 insertions, 15 deletions
diff --git a/Policy_sh.SH b/Policy_sh.SH
index 4ae0bb10dd..e25ccc3e91 100644
--- a/Policy_sh.SH
+++ b/Policy_sh.SH
@@ -63,16 +63,6 @@ esac
!GROK!THIS!
-if test 0 -eq "$subversion"; then
- version=`LC_ALL=C; export LC_ALL; \
- echo $baserev $patchlevel |
- $awk '{ printf "%.3f\n", $1 + $2/1000.0 }'`
-else
- version=`LC_ALL=C; export LC_ALL; \
- echo $baserev $patchlevel $subversion | \
- $awk '{ printf "%.5f\n", $1 + $2/1000.0 + $3/100000.0 }'`
-fi
-
for var in bin scriptdir privlib archlib \
man1dir man3dir sitelib sitearch \
installbin installscript installprivlib installarchlib \
@@ -91,13 +81,28 @@ for var in bin scriptdir privlib archlib \
;;
privlib)
case "$prefix" in
- *perl*) dflt=$prefix/lib ;;
- *) dflt=$prefix/lib/$package ;;
+ *perl*) dflt=$prefix/lib/$version/share ;;
+ *) dflt=$prefix/lib/$package/$version/share ;;
+ esac
+ ;;
+ archlib)
+ case "$prefix" in
+ *perl*) dflt=$prefix/lib/$version/$archname ;;
+ *) dflt=$prefix/lib/$package/$version/$archname ;;
+ esac
+ ;;
+ sitelib)
+ case "$prefix" in
+ *perl*) dflt=$prefix/lib/site_perl/$apiversion/share ;;
+ *) dflt=$prefix/lib/$package/site_perl/$apiversion/share ;;
+ esac
+ ;;
+ sitearch)
+ case "$prefix" in
+ *perl*) dflt=$prefix/lib/site_perl/$apiversion/$archname ;;
+ *) dflt=$prefix/lib/$package/site_perl/$apiversion/$archname ;;
esac
;;
- archlib) dflt="$privlib/$archname/$version" ;;
- sitelib) dflt="$privlib/site_perl" ;;
- sitearch) dflt="$sitelib/$archname" ;;
man1dir) dflt="$prefix/man/man1" ;;
man3dir)
case "$prefix" in