summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-22 14:16:54 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-22 14:16:54 +0000
commit90f189fc18030318078fe6c2504915628a7f9fd0 (patch)
treed360f50fcf42081506a7abaac8c1be2bdd5d1320 /hints
parent34163b213ca9891366c868cfe99211a3447832a9 (diff)
downloadperl-90f189fc18030318078fe6c2504915628a7f9fd0.tar.gz
Augment #5865.
p4raw-id: //depot/cfgperl@5870
Diffstat (limited to 'hints')
-rw-r--r--hints/unicosmk.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/hints/unicosmk.sh b/hints/unicosmk.sh
index 1e6f0f06ac..f3416ffe34 100644
--- a/hints/unicosmk.sh
+++ b/hints/unicosmk.sh
@@ -20,8 +20,13 @@ esac
# (an attempt to use them causes a runtime error)
# XXX Configure probe for really functional shm*() is needed XXX
if test "$d_shm" = ""; then
- test "$d_shmctl" = "" && d_shmctl="$undef"
- test "$d_shmget" = "" && d_shmget="$undef"
- d_shm="$undef"
+ d_shmat=${d_shmat:-undef}
+ d_shmdt=${d_shmdt:-undef}
+ d_shmget=${d_shmget:-undef}
+ d_shmctl=${d_shmctl:-undef}
+ case "$d_shmat$d_shmctl$d_shmdt$d_shmget" in
+ *"undef"*) d_shm="$undef" ;;
+ esac
fi
+