summaryrefslogtreecommitdiff
path: root/hints/unicosmk.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-26 03:55:54 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-26 03:55:54 +0000
commitacbe12569708df233980d61454c54f2dd2c68fd7 (patch)
tree3259e86757aa111f463521526ed37b2edd6592f6 /hints/unicosmk.sh
parent3990cdf50f04b3556c0bb3f25d178926ef5d1117 (diff)
downloadperl-acbe12569708df233980d61454c54f2dd2c68fd7.tar.gz
Add threads hints for UNICOS/mk and UNICOS.
(I'm just guessing on UNICOS.) p4raw-id: //depot/perl@15508
Diffstat (limited to 'hints/unicosmk.sh')
-rw-r--r--hints/unicosmk.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/hints/unicosmk.sh b/hints/unicosmk.sh
index 93ed9a67f9..b0fa528ef3 100644
--- a/hints/unicosmk.sh
+++ b/hints/unicosmk.sh
@@ -30,3 +30,14 @@ if test "$d_shm" = ""; then
fi
# Otherwise the unpack %65c checksums will fail.
pp_pack_cflags='optimize="-h scalar0 -h vector0"'
+cat > UU/usethreads.cbu <<'EOCBU'
+# This script UU/usethreads.cbu will get 'called-back' by Configure
+# after it has prompted the user for whether to use threads.
+case "$usethreads" in
+$define|true|[yY]*)
+ set `echo X "$libswanted "| sed -e "s/ c / pthread c /"`
+ shift
+ libswanted="$*"
+ ;;
+esac
+EOCBU