This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add descriptions for $^E and $^O, and squash a typo.
[perl5.git] / hints / esix4.sh
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.
6 case "$cc" in
7 '') cc='/bin/cc'
8     test -f $cc || cc='/usr/ccs/bin/cc'
9     ;;
10 esac
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 / /' `
15 d_index='undef'
16 d_suidsafe=define
17 usevfork='false'
18 if 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
22                 cat <<EOM
23
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.
27
28 EOM
29         fi
30         rm -f /tmp/esix$$
31 fi
32
33 cat <<'EOM'
34
35 If you wish to use dynamic linking, you must use 
36         LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
37 or
38         setenv LD_LIBRARY_PATH `pwd`
39 before running make.
40
41 EOM