summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-08-30 09:56:38 +0300
committerAbhijit Menon-Sen <ams@wiw.org>2002-08-30 02:59:31 +0000
commitcfc8a8024406f6fb9714bbb00f3199af53485a87 (patch)
treedd8c9d2606ba967b1b64ed6d0c2950d738f9b634 /hints
parent6d2407214c09718464a831e5b3807f0d68a337cd (diff)
downloadperl-cfc8a8024406f6fb9714bbb00f3199af53485a87.tar.gz
Tru64 vs Berkeley DB
Message-Id: <20020830035638.GB874@lyta.hut.fi> p4raw-id: //depot/perl@17808
Diffstat (limited to 'hints')
-rw-r--r--hints/dec_osf.sh14
1 files changed, 1 insertions, 13 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
index b3872fac12..8ef151e93f 100644
--- a/hints/dec_osf.sh
+++ b/hints/dec_osf.sh
@@ -357,14 +357,10 @@ case "`/usr/sbin/sizer -v`" in
*[1-4].0*) d_modfl=undef ;; # must wait till 5.0
esac
-# Keep those leading tabs.
- needusrshlib=''
+# Keep that leading tab.
old_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
for p in $loclibpth
do
- if test -n "`ls $p/libdb.so* 2>/dev/null`"; then
- needusrshlib=yes
- fi
if test -d $p; then
echo "Appending $p to LD_LIBRARY_PATH." >& 4
case "$LD_LIBRARY_PATH" in
@@ -377,14 +373,6 @@ case "$LD_LIBRARY_PATH" in
"$old_LD_LIBRARY_PATH") ;;
*) echo "LD_LIBRARY_PATH is now $LD_LIBRARY_PATH." >& 4 ;;
esac
-# This is evil but I can't think of a nice workaround:
-# the /usr/shlib/libdb.so needs to be seen first,
-# or running Configure will fail.
-if test -n "$needusrshlib"; then
- echo "Prepending /usr/shlib to loclibpth." >& 4
- loclibpth="/usr/shlib $loclibpth"
- echo "loclibpth is now $loclibpth." >& 4
-fi
#
# Unset temporary variables no more needed.