summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>1998-07-06 09:14:37 -0400
committerGurusamy Sarathy <gsar@cpan.org>1998-07-06 23:30:54 +0000
commit3a6175e10304541293925e263645d3ac0b54f22f (patch)
tree465f41acde643b279bf50344c1f2ef031fd51ca9 /Configure
parent8e169608e62d8d83f3c21ba3dafc4efb9ad5e930 (diff)
downloadperl-3a6175e10304541293925e263645d3ac0b54f22f.tar.gz
Config_70-01: Remove default "/share"
Message-Id: <Pine.SUN.3.96.980706130959.20719A-100000@newton.phys> p4raw-id: //depot/perl@1352
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure36
1 files changed, 14 insertions, 22 deletions
diff --git a/Configure b/Configure
index d7076767b6..e58fdc8ad4 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 Wed Jul 1 12:16:14 EDT 1998 [metaconfig 3.0 PL70]
+# Generated on Mon Jul 6 11:11:11 EDT 1998 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by doughera@lafayette.edu)
cat >/tmp/c1$$ <<EOF
@@ -2748,12 +2748,12 @@ else
fi
: determine where private library files go
-: Usual default is /usr/local/lib/perl5/$version/share.
-: Also allow things like /opt/perl/lib/$version/share, since
+: Usual default is /usr/local/lib/perl5/$version.
+: Also allow things like /opt/perl/lib/$version, since
: /opt/perl/lib/perl5... would be redundant.
case "$prefix" in
-*perl*) set dflt privlib lib/$version/share ;;
-*) set dflt privlib lib/$package/$version/share ;;
+*perl*) set dflt privlib lib/$version ;;
+*) set dflt privlib lib/$package/$version ;;
esac
eval $prefixit
$cat <<EOM
@@ -2799,8 +2799,9 @@ esac'
: determine where public architecture dependent libraries go
set archlib archlib
eval $prefixit
-: privlib default is /usr/local/lib/$package/$version/share
+: privlib default is /usr/local/lib/$package/$version
: archlib default is /usr/local/lib/$package/$version/$archname
+: privlib may have an optional trailing /share.
tdflt=`echo $privlib | $sed 's,/share$,,'`
tdflt=$tdflt/$archname
case "$archlib" in
@@ -4758,23 +4759,13 @@ EOM
hpux) dflt='+z' ;;
next) dflt='none' ;;
irix*) dflt='-KPIC' ;;
- svr4*|esix*|solaris)
- case "$ccflags" in
- *-DDEBUGGING*) dflt='-KPIC' ;;
- *) dflt='-Kpic' ;;
- esac
- ;;
+ svr4*|esix*|solaris) dflt='-KPIC' ;;
sunos) dflt='-pic' ;;
*) dflt='none' ;;
esac
;;
*) case "$osname" in
- svr4*|esix*|solaris)
- case "$ccflags" in
- *-DDEBUGGING*) dflt='-fPIC' ;;
- *) dflt='-fpic' ;;
- esac
- ;;
+ svr4*|esix*|solaris) dflt='-fPIC' ;;
*) dflt='-fpic' ;;
esac ;;
esac ;;
@@ -5781,11 +5772,11 @@ else
fi
: determine where site specific libraries go.
-: Usual default is /usr/local/lib/perl5/site_perl/$apiversion/share
+: Usual default is /usr/local/lib/perl5/site_perl/$apiversion
prog=`echo $package | $sed 's/-*[0-9.]*$//'`
case "$prefix" in
-*perl*) set dflt sitelib lib/site_$prog/$apiversion/share ;;
-*) set dflt sitelib lib/$package/site_$prog/$apiversion/share ;;
+*perl*) set dflt sitelib lib/site_$prog/$apiversion ;;
+*) set dflt sitelib lib/$package/site_$prog/$apiversion ;;
esac
eval $prefixit
$cat <<EOM
@@ -5826,8 +5817,9 @@ else
fi
: determine where site specific architecture-dependent libraries go.
-: sitelib default is /usr/local/lib/perl5/site_perl/$apiversion/share
+: sitelib default is /usr/local/lib/perl5/site_perl/$apiversion
: sitearch default is /usr/local/lib/perl5/site_perl/$apiversion/$archname
+: sitelib may have an optional trailing /share.
tdflt=`echo $sitelib | $sed 's,/share$,,'`
tdflt="$tdflt/$archname"
set sitearch sitearch none