summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
Diffstat (limited to 'hints')
-rw-r--r--hints/aix.sh4
-rw-r--r--hints/beos.sh4
-rw-r--r--hints/cygwin32.sh4
-rw-r--r--hints/dgux.sh5
-rw-r--r--hints/epix.sh9
-rw-r--r--hints/esix4.sh9
-rw-r--r--hints/hpux.sh6
-rw-r--r--hints/next_4.sh14
-rw-r--r--hints/os2.sh4
-rw-r--r--hints/rhapsody.sh5
-rw-r--r--hints/svr4.sh9
11 files changed, 31 insertions, 42 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index 0f255a73f6..2bd092da11 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -100,6 +100,10 @@ esac
# the required -bE:$installarchlib/CORE/perl.exp is added by
# libperl.U (Configure) later.
+case "$ldlibpthname" in
+'') ldlibpthname=LIBPATH ;;
+esac
+
# The first 3 options would not be needed if dynamic libs. could be linked
# with the compiler instead of ld.
# -bI:$(PERL_INC)/perl.exp Read the exported symbols from the perl binary
diff --git a/hints/beos.sh b/hints/beos.sh
index 8d76bc5146..8017dce9cc 100644
--- a/hints/beos.sh
+++ b/hints/beos.sh
@@ -51,3 +51,7 @@ ld='gcc'
# Of course, this may also change with R5.
export PATH="$PATH:$PWD/beos"
+
+case "$ldlibpthname" in
+'') ldlibpthname=LIBRARY_PATH ;;
+esac
diff --git a/hints/cygwin32.sh b/hints/cygwin32.sh
index 14fb300020..7d68892f39 100644
--- a/hints/cygwin32.sh
+++ b/hints/cygwin32.sh
@@ -30,3 +30,7 @@ dlext='dll'
man1dir=/usr/local/man/man1
man3dir=/usr/local/man/man3
sitelib=/usr/local/lib/perl5/site_perl
+
+case "$ldlibpthname" in
+'') ldlibpthname=PATH ;;
+esac
diff --git a/hints/dgux.sh b/hints/dgux.sh
index 03b285dbd4..9a6f7a4879 100644
--- a/hints/dgux.sh
+++ b/hints/dgux.sh
@@ -14,13 +14,8 @@
# as it would suck to try to get support if the vendor learned that you
# were physically replacing the system binaries.
#
-# Be aware that if you opt to use dynamic loading you'll need to set
-# your $LD_LIBRARY_PATH to include the source directory when you build,
-# test and install the software.
-#
# -Roderick Schertler <roderick@argon.org>
-
# Here are the things from some old DGUX hints files which are different
# from what's in here now. I don't know the exact reasons that most of
# these settings were in the hints files, presumably they can be chalked
diff --git a/hints/epix.sh b/hints/epix.sh
index b91537a202..03d5be536c 100644
--- a/hints/epix.sh
+++ b/hints/epix.sh
@@ -64,12 +64,3 @@ lddlflags="-G $ldflags" # Probably needed for dynamic loading
# We _do_ want the -L paths in ldflags, but we don't want the -non_shared.
lddlflags=`echo $lddlflags | sed 's/-non_shared//'`
-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
diff --git a/hints/esix4.sh b/hints/esix4.sh
index 3d3145d255..695f8b870f 100644
--- a/hints/esix4.sh
+++ b/hints/esix4.sh
@@ -30,12 +30,3 @@ EOM
rm -f /tmp/esix$$
fi
-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
diff --git a/hints/hpux.sh b/hints/hpux.sh
index b215335c72..8240b3ed2c 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -186,6 +186,12 @@ case "$d_dosuid" in
'') d_dosuid="$undef" ;;
esac
+# HP-UX 11 groks also LD_LIBRARY_PATH but SHLIB_PATH
+# is recommended for compatibility.
+case "$ldlibpthname" in
+'') ldlibpthname=SHLIB_PATH ;;
+esac
+
# Date: Fri, 6 Sep 96 23:15:31 CDT
# From: "Daniel S. Lewart" <d-lewart@uiuc.edu>
# I looked through the gcc.info and found this:
diff --git a/hints/next_4.sh b/hints/next_4.sh
index 8bc623a9e4..ba096ac9fd 100644
--- a/hints/next_4.sh
+++ b/hints/next_4.sh
@@ -1,13 +1,3 @@
-######################################################################
-#
-# IMPORTANT: before you run 'make', you need to enter one of these two
-# lines (depending on your shell):
-# DYLD_LIBRARY_PATH=`pwd`; export DYLD_LIBRARY_PATH
-# or
-# setenv DYLD_LIBRARY_PATH `pwd`
-#
-######################################################################
-
# Posix support has been removed from NextStep
#
useposix='undef'
@@ -106,3 +96,7 @@ clocktype='int'
# running ranlib. The '5' is an empirical number that's "long enough."
# (Thanks to Andreas Koenig <k@franz.ww.tu-berlin.de>)
ranlib='sleep 5; /bin/ranlib'
+
+case "$ldlibpthname" in
+'') ldlibpthname=DYLD_LIBRARY_PATH ;;
+esac
diff --git a/hints/os2.sh b/hints/os2.sh
index e49ab7f124..6eef5e37dc 100644
--- a/hints/os2.sh
+++ b/hints/os2.sh
@@ -351,5 +351,9 @@ for xxx in * ; do
fi
done
+case "$ldlibpthname" in
+'') ldlibpthname=none ;;
+esac
+
# Now go back
cd ../..
diff --git a/hints/rhapsody.sh b/hints/rhapsody.sh
index 7f652234c7..c564c8827e 100644
--- a/hints/rhapsody.sh
+++ b/hints/rhapsody.sh
@@ -52,3 +52,8 @@ usevfork='true';
# malloc works
usemymalloc='n';
+
+case "$ldlibpthname" in
+'') ldlibpthname=DYLD_LIBRARY_PATH ;;
+esac
+
diff --git a/hints/svr4.sh b/hints/svr4.sh
index cf6906dac7..8109b39752 100644
--- a/hints/svr4.sh
+++ b/hints/svr4.sh
@@ -142,12 +142,3 @@ d_lstat=define
d_suidsafe='define' # "./Configure -d" can't figure this out easilly
-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