MakeMaker 3.8
[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'
9 cccdlflags='-Kpic'
10 ;;
11esac
12ldflags='-L/usr/ccs/lib -L/usr/ucblib'
13test -d /usr/local/man || mansrc='none'
14ccflags='-I/usr/include -I/usr/ucbinclude'
15libswanted=`echo " $libswanted " | sed -e 's/ malloc / /' `
16d_index='undef'
17d_suidsafe=define
18lddlflags="-G $ldflags"
19usevfork='false'
20if test "$osvers" = "3.0"; then
21 d_gconvert='undef'
22 grep 'define[ ]*AF_OSI[ ]' /usr/include/sys/socket.h | grep '/\*[^*]*$' >/tmp/esix$$
23 if test -s /tmp/esix$$; then
24 cat <<EOM
25
26WARNING: You are likely to have problems compiling the Socket extension
27unless you fix the unterminated comment for AF_OSI in the file
28/usr/include/sys/socket.h.
29
30EOM
31 fi
32 rm -f /tmp/esix$$
33fi
34# dlopen routines exist but they don't work with perl.
35# The case statement allows experimenters to override hint with
36# Configure -D usedl
37case "$usedl" in
38'') usedl="$undef" ;;
39esac