The SysV shm*() are in libc but unimplemented.
Jarkko Hietaniemi [Tue, 21 Mar 2000 21:38:20 +0000 (21:38 +0000)]
p4raw-id: //depot/cfgperl@5865

hints/unicosmk.sh

index 6113cc3..1e6f0f0 100644 (file)
@@ -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
+