From: Jarkko Hietaniemi Date: Tue, 26 Mar 2002 03:55:54 +0000 (+0000) Subject: Add threads hints for UNICOS/mk and UNICOS. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=acbe12569708df233980d61454c54f2dd2c68fd7;p=p5sagit%2Fp5-mst-13.2.git Add threads hints for UNICOS/mk and UNICOS. (I'm just guessing on UNICOS.) p4raw-id: //depot/perl@15508 --- diff --git a/hints/unicos.sh b/hints/unicos.sh index e25b3fd..4290bd5 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 93ed9a6..b0fa528 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