summaryrefslogtreecommitdiff
path: root/hints/unicos.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/unicos.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/unicos.sh')
-rw-r--r--hints/unicos.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/hints/unicos.sh b/hints/unicos.sh
index e25b3fdac8..4290bd53f8 100644
--- a/hints/unicos.sh
+++ b/hints/unicos.sh
@@ -30,3 +30,14 @@ d_setitimer='undef'
# These exist but do not really work.
d_setregid='undef'
d_setreuid='undef'
+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