X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Funicosmk.sh;h=f3416ffe34be55353a5fb694cd2ed4b286e77250;hb=eba8ff18d7b4f163fccc1997c51233b02fd29e80;hp=6113cc300b99ba8dbb481ea992c24854d66f5ead;hpb=cb50131aab68ac6dda048612c6e853b8cb08701e;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/unicosmk.sh b/hints/unicosmk.sh index 6113cc3..f3416ff 100644 --- a/hints/unicosmk.sh +++ b/hints/unicosmk.sh @@ -16,3 +16,17 @@ 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 + 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 + +