summaryrefslogtreecommitdiff
path: root/hints/dec_osf.sh
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-02 16:58:47 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-02 16:58:47 +0000
commitb981e18eed642fda0e5e9d3395495003bfc2f8fd (patch)
tree390dcedf386d532ea79208d1d758739a8fabcbfc /hints/dec_osf.sh
parent3d5dd49f6fd6a17df0d459462f84e0df03c9de63 (diff)
downloadperl-b981e18eed642fda0e5e9d3395495003bfc2f8fd.tar.gz
Configure -Dusethreads hints for dec_osf and solaris_2 and
fix sv_bless3 prototype. p4raw-id: //depot/perl@96
Diffstat (limited to 'hints/dec_osf.sh')
-rw-r--r--hints/dec_osf.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
index 0ba4dad077..fa7596b398 100644
--- a/hints/dec_osf.sh
+++ b/hints/dec_osf.sh
@@ -161,6 +161,16 @@ case "$optimize" in
;;
esac
+if [ "X$usethreads" != "X" ]; then
+ ccflags="-DUSE_THREADS $ccflags"
+ optimize="-pthread $optimize"
+ ldflags="-pthread $ldflags"
+ set `echo X "$libswanted "| sed -e 's/ c / pthread c_r /'`
+ shift
+ libswanted="$*"
+ usemymalloc='n'
+fi
+
#
# Unset temporary variables no more needed.
#