This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[patch] -Wall
[perl5.git] / hints / unicos.sh
CommitLineData
68decaef
LW
1case `uname -r` in
26.1*) shellflags="-m+65536" ;;
3esac
c4f23d77 4case "$optimize" in
b84d4f81 5# If we used fastmd (the default) integer values would be limited to 46 bits.
214f2c7f 6# --Mark P. Lutz
a20e3af3 7'') optimize="$optimize -h nofastmd" ;;
8bda1795 8esac
f3ff050f 9# The default is to die in runtime on math overflows.
a20e3af3 10# Let's not do that. --jhi
45ff97fd 11ccflags="$ccflags -h matherror=errno"
f3ff050f
JH
12# Give int((2/3)*3) a chance to be 2, not 1. --jhi
13ccflags="$ccflags -h rounddiv"
214f2c7f
JH
14# Avoid an optimizer bug where a volatile variables
15# isn't correctly saved and restored --Mark P. Lutz
16pp_ctl_cflags='ccflags="$ccflags -h scalar0 -h vector0"'
693762b4 17case "$usemymalloc" in
214f2c7f 18'') # The perl malloc.c SHOULD work says Ilya.
8bda1795 19 # But for the time being (5.004_68), alas, it doesn't. --jhi
5283c38d
JH
20 # usemymalloc='y'
21 # ccflags="$ccflags -DNO_RCHECK"
22 usemymalloc='n'
c4f23d77 23 ;;
693762b4 24esac
e1f2cf02
JH
25# Configure gets fooled for some reason. There is no getpgid().
26d_getpgid='undef'
214f2c7f
JH
27# These exist but do not really work.
28d_setregid='undef'
29d_setreuid='undef'