diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-02-07 22:51:37 +0000 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-02-07 22:51:37 +0000 |
commit | 0093f865a9591685e5133706620ffc98921355da (patch) | |
tree | 78b5e0f428dd7c3c3a42d8a7767d05f300243ff0 /hints/sunos_4_1.sh | |
parent | b1db1e901acc353b9c8544637ca499b425942b3d (diff) | |
download | perl-0093f865a9591685e5133706620ffc98921355da.tar.gz |
perl 5.002gamma: hints/sunos_4_1.sh
Add comment at tzname.
Add -DSTRUCT_TM_HASZONE flag for POSIX.
Diffstat (limited to 'hints/sunos_4_1.sh')
-rw-r--r-- | hints/sunos_4_1.sh | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/hints/sunos_4_1.sh b/hints/sunos_4_1.sh index ba469b3e71..ee42e2c448 100644 --- a/hints/sunos_4_1.sh +++ b/hints/sunos_4_1.sh @@ -1,8 +1,22 @@ +# hints/sunos_4_1.sh +# Last modified: Thu Feb 8 11:46:05 EST 1996 +# Andy Dougherty <doughera@lafcol.lafayette.edu> + case "$cc" in *gcc*) usevfork=false ;; *) usevfork=true ;; esac + +# Configure will issue a WHOA warning. The problem is that +# Configure finds getzname, not tzname. If you're in the System V +# environment, you can set d_tzname='define' since tzname[] is +# available in the System V environment. d_tzname='undef' + +# SunOS 4.1.3 has two extra fields in struct tm. This works around +# the problem. Other BSD platforms may have similar problems. +POSIX_cflags='ccflags="$ccflags -DSTRUCT_TM_HASZONE"' + # check if user is in a bsd or system 5 type environment if cat -b /dev/null 2>/dev/null then # bsd @@ -10,5 +24,4 @@ then # bsd else # sys5 groupstype='gid_t' fi -# we don't set gidtype because unistd.h says gid_t getgid() but man -# page says int getgid() for bsd. utils.c includes unistd.h :-( + |