Commit | Line | Data |
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 |
5 | case "$cc" in |
6 | *gcc*) usevfork=false ;; |
7 | *) usevfork=true ;; |
8 | esac |
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 |
14 | d_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. |
18 | POSIX_cflags='ccflags="$ccflags -DSTRUCT_TM_HASZONE"' |
19 | |
a0d0e21e |
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 |
0093f865 |
27 | |