X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Funicosmk.sh;h=6045fcfac946ec938f6e5ae79ddadbdb8e9b7ec5;hb=f5e3445d922108beb0eda8afa05a86411da18e40;hp=5fd53429cda22b1647be231380a4a386113c090e;hpb=d8526ec6c6288eb9492134d3c4807d13d145b2c9;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/unicosmk.sh b/hints/unicosmk.sh index 5fd5342..6045fcf 100644 --- a/hints/unicosmk.sh +++ b/hints/unicosmk.sh @@ -29,4 +29,18 @@ if test "$d_shm" = ""; then esac fi # Otherwise the unpack %65c checksums will fail. -pp_pack_cflags='ccflags="$ccflags -h scalar0 -h vector0"' +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