summaryrefslogtreecommitdiff
path: root/hints/unicosmk.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-01-25 14:38:59 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-01-25 14:38:59 +0000
commitc71a9ceea43cad3099704164332acd80c7e8b51f (patch)
tree981e362721d6636322a6b670e2bb74310607cc13 /hints/unicosmk.sh
parentcbc136411c12f6ec4b242bce922c7013acd6aa1d (diff)
downloadperl-c71a9ceea43cad3099704164332acd80c7e8b51f.tar.gz
UNICOS/mk patches. Removing the _CRAYMPP test may be
rash but it's the best move I can think of right now. Removing the _CRAYMPP test fixes a legion of pack/unpack failures (hint: shortsize=4,intsize=8,longsize=8). One subtest, t/lib/io_sock.t #14, is still failing. p4raw-id: //depot/cfgperl@4888
Diffstat (limited to 'hints/unicosmk.sh')
-rw-r--r--hints/unicosmk.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/unicosmk.sh b/hints/unicosmk.sh
index f0b63cb0eb..6113cc300b 100644
--- a/hints/unicosmk.sh
+++ b/hints/unicosmk.sh
@@ -8,3 +8,11 @@ case "$usemymalloc" in
ccflags="$ccflags -DNO_RCHECK"
;;
esac
+# If somebody ignores the Cray PATH.
+case ":$PATH:" in
+*:/opt/ctl/bin:*) ;;
+'') case "$cc" in
+ '') test -x /opt/ctl/bin/cc && cc=/opt/ctl/bin/cc ;;
+ esac
+ ;;
+esac