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.
8 test -f $cc || cc='/usr/ccs/bin/cc'
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 / /' `
18 if test "$osvers" = "3.0"; then
20 grep 'define[ ]*AF_OSI[ ]' /usr/include/sys/socket.h | grep '/\*[^*]*$' >/tmp/esix$$
21 if test -s /tmp/esix$$; then
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.