This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate perlio:
[perl5.git] / hints / unicos.sh
... / ...
CommitLineData
1case `uname -r` in
26.1*) shellflags="-m+65536" ;;
3esac
4case "$optimize" in
5# If we used fastmd (the default) integer values would be limited to 46 bits.
6# --Mark P. Lutz
7'') optimize="$optimize -h nofastmd" ;;
8esac
9# The default is to die in runtime on math overflows.
10# Let's not do that. --jhi
11ccflags="$ccflags -h matherror=errno"
12# Give int((2/3)*3) a chance to be 2, not 1. --jhi
13ccflags="$ccflags -h rounddiv"
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"'
17case "$usemymalloc" in
18'') # The perl malloc.c SHOULD work says Ilya.
19 # But for the time being (5.004_68), alas, it doesn't. --jhi
20 # usemymalloc='y'
21 # ccflags="$ccflags -DNO_RCHECK"
22 usemymalloc='n'
23 ;;
24esac
25# Configure gets fooled for some reason, these do not exist.
26d_getpgid='undef'
27d_setitimer='undef'
28# These exist but do not really work.
29d_setregid='undef'
30d_setreuid='undef'