This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Scratch #3008 and introduce $crosscompile and $multiarch
[perl5.git] / hints / esix4.sh
index 6d8f266..3d3145d 100644 (file)
@@ -6,7 +6,6 @@
 case "$cc" in
 '') cc='/bin/cc'
     test -f $cc || cc='/usr/ccs/bin/cc'
-    cccdlflags='-Kpic'
     ;;
 esac
 ldflags='-L/usr/ccs/lib -L/usr/ucblib'
@@ -15,13 +14,12 @@ ccflags='-I/usr/include -I/usr/ucbinclude'
 libswanted=`echo " $libswanted " | sed -e 's/ malloc / /' `
 d_index='undef'
 d_suidsafe=define
-lddlflags="-G $ldflags"
 usevfork='false'
 if test "$osvers" = "3.0"; then
        d_gconvert='undef'
        grep 'define[   ]*AF_OSI[       ]' /usr/include/sys/socket.h | grep '/\*[^*]*$' >/tmp/esix$$
        if test -s /tmp/esix$$; then
-               cat <<EOM
+               cat <<EOM >&2
 
 WARNING: You are likely to have problems compiling the Socket extension
 unless you fix the unterminated comment for AF_OSI in the file
@@ -31,9 +29,13 @@ EOM
        fi
        rm -f /tmp/esix$$
 fi
-# dlopen routines exist but they don't work with perl.
-# The case statement allows experimenters to override hint with
-# Configure -D usedl
-case "$usedl" in
-'') usedl="$undef" ;;  
-esac
+
+cat <<'EOM' >&4
+
+If you wish to use dynamic linking, you must use 
+       LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
+or
+       setenv LD_LIBRARY_PATH `pwd`
+before running make.
+
+EOM