This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't include <unistd.h>
[perl5.git] / hints / sunos_4_1.sh
CommitLineData
0093f865 1# hints/sunos_4_1.sh
2# Last modified: Thu Feb 8 11:46:05 EST 1996
3# Andy Dougherty <doughera@lafcol.lafayette.edu>
4
a0d0e21e
LW
5case "$cc" in
6*gcc*) usevfork=false ;;
7*) usevfork=true ;;
8esac
0093f865 9
10# Configure will issue a WHOA warning. The problem is that
11# Configure finds getzname, not tzname. If you're in the System V
12# environment, you can set d_tzname='define' since tzname[] is
13# available in the System V environment.
a0d0e21e 14d_tzname='undef'
0093f865 15
16# SunOS 4.1.3 has two extra fields in struct tm. This works around
17# the problem. Other BSD platforms may have similar problems.
18POSIX_cflags='ccflags="$ccflags -DSTRUCT_TM_HASZONE"'
19
a0d0e21e
LW
20# check if user is in a bsd or system 5 type environment
21if cat -b /dev/null 2>/dev/null
22then # bsd
23 groupstype='int'
24else # sys5
25 groupstype='gid_t'
26fi
0093f865 27