2 # Original esix4 hint file courtesy of
3 # Kevin O'Gorman ( kevin@kosman.UUCP, kevin%kosman.uucp@nrc.com )
5 # Use Configure -Dcc=gcc to use gcc.
7 # Why can't we just use PATH? It contains /usr/ccs/bin.
10 test -f $cc || cc='/usr/ccs/bin/cc'
14 ldflags="$ldflags -L/usr/ccs/lib -L/usr/ucblib"
15 test -d /usr/local/man || mansrc='none'
16 # Do we really need to tell cc to look in /usr/include?
17 ccflags="$ccflags -I/usr/include -I/usr/ucbinclude"
18 libswanted=`echo " $libswanted " | sed -e 's/ malloc / /' `
22 if test "$osvers" = "3.0"; then
24 grep 'define[ ]*AF_OSI[ ]' /usr/include/sys/socket.h | grep '/\*[^*]*$' >esix$$
25 if test -s esix$$; then
28 WARNING: You are likely to have problems compiling the Socket extension
29 unless you fix the unterminated comment for AF_OSI in the file
30 /usr/include/sys/socket.h.