summaryrefslogtreecommitdiff
path: root/hints/svr4.sh
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafcol.lafayette.edu>1995-01-18 02:27:49 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1995-01-18 02:27:49 +0000
commitf4cb4c40de81ad9c5a8e775c2298ec5a52130124 (patch)
treebad0204337c331cde841254c428d1a6ebee231a2 /hints/svr4.sh
parent3edbfbe5ecbb7e6fb99acc874379580a458f3cff (diff)
downloadperl-f4cb4c40de81ad9c5a8e775c2298ec5a52130124.tar.gz
perl 5.000d : [hint file updates]
This patch consolidates most of the hint file updates I've been collecting since perl5.000's release. Some of the updates don't make any sense until you also apply the Configure patches in patch.0g. (A few late arrivals are also in patch.0g.)
Diffstat (limited to 'hints/svr4.sh')
-rw-r--r--hints/svr4.sh26
1 files changed, 12 insertions, 14 deletions
diff --git a/hints/svr4.sh b/hints/svr4.sh
index c707eb8ccd..f8536a15cb 100644
--- a/hints/svr4.sh
+++ b/hints/svr4.sh
@@ -1,9 +1,9 @@
# svr4 hints, System V Release 4.x
+# Last modified 1994/12/03 by Tye McQueen, tye@metronet.com
# Use Configure -Dcc=gcc to use gcc.
case "$cc" in
'') cc='/bin/cc'
test -f $cc || cc='/usr/ccs/bin/cc'
- cccdlflags='-Kpic' # Probably needed for dynamic loading
;;
esac
test -d /usr/local/man || mansrc='none'
@@ -17,17 +17,15 @@ libswanted=`echo $libswanted | tr ' ' '\012' | egrep -v '^(malloc|ucb)$'`
# -lucb: Defines setreuid() and other routines Perl wants but they don't
# add any/much functionality and often won't ld properly.
# -lmalloc: Anyone know what problems this caused?
-if [ "" = "$i_ndbm" -a ! -f /usr/ucblib/libndbm.a ]; then
-# UnixWare 1.1 may install /usr/ucbinclude/ndbm.h w/o /usr/ucblib/libndbm.a
- i_ndbm="$undef" # so Configure tries to build ext/NDBM_File and ld
-fi # can't find dbm_open()! "./Configure -D i_ndbm=define" overrides.
-d_index='undef'
-d_suidsafe=define # "./Configure -d" can't figure this out
-lddlflags="-G $ldflags" # Probably needed for dynamic loading
+d_index='undef' # Even if libucb.a used, use strchr() not index().
+d_suidsafe=define # "./Configure -d" can't figure this out easilly
usevfork='false'
-# 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'
+
+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