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'
12 ldflags='-L/usr/ccs/lib -L/usr/ucblib'
13 test -d /usr/local/man || mansrc='none'
14 ccflags='-I/usr/include -I/usr/ucbinclude'
15 libswanted=`echo " $libswanted " | sed -e 's/ malloc / /' `
18 lddlflags="-G $ldflags"
20 if test "$osvers" = "3.0"; then
22 grep 'define[ ]*AF_OSI[ ]' /usr/include/sys/socket.h | grep '/\*[^*]*$' >/tmp/esix$$
23 if test -s /tmp/esix$$; then
26 WARNING: You are likely to have problems compiling the Socket extension
27 unless you fix the unterminated comment for AF_OSI in the file
28 /usr/include/sys/socket.h.
34 # dlopen routines exist but they don't work with perl.
35 # The case statement allows experimenters to override hint with