summaryrefslogtreecommitdiff
path: root/hints/svr5.sh
diff options
context:
space:
mode:
authorJoe Orton <jorton@redhat.com>2001-04-17 16:50:43 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-21 16:43:52 +0000
commit0373784c56e67e63843eac86468648d320514ed5 (patch)
treeade7a9e133d66d978a56b8f5159e9e15898b1b0b /hints/svr5.sh
parente8f26592060726c4aab21f7ba28e74d8aefe1518 (diff)
downloadperl-0373784c56e67e63843eac86468648d320514ed5.tar.gz
[ID 20010421.010] Perl 5.6.1 on Unixware 7
Message-Id: <20010417155043.D19132@eu.c2.net> p4raw-id: //depot/perl@9774
Diffstat (limited to 'hints/svr5.sh')
-rw-r--r--hints/svr5.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/hints/svr5.sh b/hints/svr5.sh
index f73689507a..334e288576 100644
--- a/hints/svr5.sh
+++ b/hints/svr5.sh
@@ -83,7 +83,7 @@ libswanted=`echo " $libswanted " | sed -e 's/ malloc / /' -e 's/ c / /'`
# remove /shlib and /lib from library search path as both symlink to /usr/lib
# where runtime shared libc is
-glibpth=`echo " $glibpth " | sed -e 's/ \/shlib / /' -e 's/ \/lib / /`
+glibpth=`echo " $glibpth " | sed -e 's/ \/shlib / /' -e 's/ \/lib / /'`
# Don't use BSD emulation pieces (/usr/ucblib) regardless
# these would probably be autonondetected anyway but ...
@@ -156,8 +156,10 @@ fi
# cccdlflags: must tell the compiler to generate relocatable code
# lddlflags : must tell the linker to output a shared library
-# use shared perl lib
-useshrplib='true'
+# use shared perl lib if the user doesn't choose otherwise
+if test "x$useshrplib" == "x"; then
+ useshrplib='true'
+fi
case "$cc" in
*gcc*)