This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: 5.005_03 and gcc, GNU ld under Solaris 2.6
[perl5.git] / hints / esix4.sh
CommitLineData
a0d0e21e
LW
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
LW
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
LW
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
LW
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
68dc0745 33cat <<'EOM' >&4
f4cb4c40
AD
34
35If you wish to use dynamic linking, you must use
36 LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
37or
38 setenv LD_LIBRARY_PATH `pwd`
39before running make.
40
41EOM