diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-26 03:55:54 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-26 03:55:54 +0000 |
commit | acbe12569708df233980d61454c54f2dd2c68fd7 (patch) | |
tree | 3259e86757aa111f463521526ed37b2edd6592f6 /hints | |
parent | 3990cdf50f04b3556c0bb3f25d178926ef5d1117 (diff) | |
download | perl-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.sh | 11 | ||||
-rw-r--r-- | hints/unicosmk.sh | 11 |
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 |