Correct CODE block declaration
[p5sagit/p5-mst-13.2.git] / hints / sunos_4_1.sh
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
5 case "$cc" in
6 *gcc*)  usevfork=false ;;
7 *)      usevfork=true ;;
8 esac
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.
14 d_tzname='undef'
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.
18 POSIX_cflags='ccflags="$ccflags -DSTRUCT_TM_HASZONE"'
19
20 # check if user is in a bsd or system 5 type environment
21 if cat -b /dev/null 2>/dev/null
22 then # bsd
23       groupstype='int'
24 else # sys5
25       groupstype='gid_t'
26 fi
27