Artistic fine-tuning.
[p5sagit/p5-mst-13.2.git] / hints / esix4.sh
CommitLineData
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.
6case "$cc" in
7'') cc='/bin/cc'
8 test -f $cc || cc='/usr/ccs/bin/cc'
a0d0e21e 9 ;;
10esac
11ldflags='-L/usr/ccs/lib -L/usr/ucblib'
12test -d /usr/local/man || mansrc='none'
13ccflags='-I/usr/include -I/usr/ucbinclude'
14libswanted=`echo " $libswanted " | sed -e 's/ malloc / /' `
15d_index='undef'
16d_suidsafe=define
a0d0e21e 17usevfork='false'
18if 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
24WARNING: You are likely to have problems compiling the Socket extension
25unless you fix the unterminated comment for AF_OSI in the file
26/usr/include/sys/socket.h.
27
28EOM
29 fi
30 rm -f /tmp/esix$$
31fi
f4cb4c40 32