X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/ee8c7f5465f003860e2347a2946abacac39bd9b9..938c8732ceb115a707f725327a631eb35319ba87:/hints/unicosmk.sh diff --git a/hints/unicosmk.sh b/hints/unicosmk.sh index f3416ff..6045fcf 100644 --- a/hints/unicosmk.sh +++ b/hints/unicosmk.sh @@ -28,5 +28,19 @@ if test "$d_shm" = ""; then *"undef"*) d_shm="$undef" ;; esac fi - - +# Otherwise the unpack %65c checksums will fail. +pp_pack_cflags='optimize="-h scalar0 -h vector0"' +# No shared libraries. +so='none' +# Threads call-back unit. +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