Commit | Line | Data |
a0d0e21e |
1 | # hints/esix4.sh |
2 | # Original esix4 hint file courtesy of |
3 | # Kevin O'Gorman ( kevin@kosman.UUCP, kevin%kosman.uucp@nrc.com ) |
4 | # |
5 | # Use Configure -Dcc=gcc to use gcc. |
6 | case "$cc" in |
7 | '') cc='/bin/cc' |
8 | test -f $cc || cc='/usr/ccs/bin/cc' |
a0d0e21e |
9 | ;; |
10 | esac |
11 | ldflags='-L/usr/ccs/lib -L/usr/ucblib' |
12 | test -d /usr/local/man || mansrc='none' |
13 | ccflags='-I/usr/include -I/usr/ucbinclude' |
14 | libswanted=`echo " $libswanted " | sed -e 's/ malloc / /' ` |
15 | d_index='undef' |
16 | d_suidsafe=define |
a0d0e21e |
17 | usevfork='false' |
18 | if test "$osvers" = "3.0"; then |
19 | d_gconvert='undef' |
20 | grep 'define[ ]*AF_OSI[ ]' /usr/include/sys/socket.h | grep '/\*[^*]*$' >/tmp/esix$$ |
21 | if test -s /tmp/esix$$; then |
68dc0745 |
22 | cat <<EOM >&2 |
a0d0e21e |
23 | |
24 | WARNING: You are likely to have problems compiling the Socket extension |
25 | unless you fix the unterminated comment for AF_OSI in the file |
26 | /usr/include/sys/socket.h. |
27 | |
28 | EOM |
29 | fi |
30 | rm -f /tmp/esix$$ |
31 | fi |
f4cb4c40 |
32 | |