summaryrefslogtreecommitdiff
path: root/hints
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
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')
-rw-r--r--hints/unicos.sh11
-rw-r--r--hints/unicosmk.sh11
2 files changed, 22 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
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