Add a --chdir option to configpm, and use this in the Win32 Makfiles.
[p5sagit/p5-mst-13.2.git] / hints / unicosmk.sh
index 5fd5342..6045fcf 100644 (file)
@@ -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