This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The SysV shm*() are in libc but unimplemented.
[perl5.git] / hints / unicosmk.sh
CommitLineData
c4f23d77
AD
1case "$optimize" in
2'') optimize="-O1" ;;
3esac
7a4c00b4
PP
4d_setregid='undef'
5d_setreuid='undef'
c4f23d77
AD
6case "$usemymalloc" in
7'') usemymalloc='y'
8 ccflags="$ccflags -DNO_RCHECK"
9 ;;
10esac
c71a9cee
JH
11# If somebody ignores the Cray PATH.
12case ":$PATH:" in
13*:/opt/ctl/bin:*) ;;
14'') case "$cc" in
15 '') test -x /opt/ctl/bin/cc && cc=/opt/ctl/bin/cc ;;
16 esac
17 ;;
18esac
2220a076
JH
19# As of UNICOS/mk 2.0.5.24 the shm* are in libc but unimplemented
20# (an attempt to use them causes a runtime error)
21# XXX Configure probe for really functional shm*() is needed XXX
22if test "$d_shm" = ""; then
23 test "$d_shmctl" = "" && d_shmctl="$undef"
24 test "$d_shmget" = "" && d_shmget="$undef"
25 d_shm="$undef"
26fi
27