summaryrefslogtreecommitdiff
path: root/hints/unicosmk.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/unicosmk.sh')
-rw-r--r--hints/unicosmk.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/unicosmk.sh b/hints/unicosmk.sh
index 6113cc300b..1e6f0f06ac 100644
--- a/hints/unicosmk.sh
+++ b/hints/unicosmk.sh
@@ -16,3 +16,12 @@ case ":$PATH:" in
esac
;;
esac
+# As of UNICOS/mk 2.0.5.24 the shm* are in libc but unimplemented
+# (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"
+fi
+