aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-02-13 19:29:03 +0000
committerIan Lance Taylor <ian@airs.com>1996-02-13 19:29:03 +0000
commitf2693093295e5f9333c806368a19a009a7e0af91 (patch)
tree7e0a77d76e6c600f6e5cc741fa6e5e699f8bdcf1 /configure.in
parent625489271da5a6e44cad4d8f501e07512b661a10 (diff)
downloadgdb-f2693093295e5f9333c806368a19a009a7e0af91.zip
gdb-f2693093295e5f9333c806368a19a009a7e0af91.tar.gz
gdb-f2693093295e5f9333c806368a19a009a7e0af91.tar.bz2
* Makefile.in (RPATH_ENVVAR): New variable.
(REALLY_SET_LIB_PATH): Use it. * configure.in: On HP/UX, set RPATH_ENVVAR to SHLIB_PATH.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 49198e7..54b350f 100644
--- a/configure.in
+++ b/configure.in
@@ -717,6 +717,15 @@ if [ "${enable_shared}" = "yes" ]; then
Makefile > Makefile.tem
rm -f Makefile
mv -f Makefile.tem Makefile
+
+ case "${host}" in
+ *-*-hpux*)
+ sed -e 's/RPATH_ENVVAR[ ]*=.*$/RPATH_ENVVAR = SHLIB_PATH/' \
+ Makefile > Makefile.tem
+ rm -f Makefile
+ mv -f Makefile.tem Makefile
+ ;;
+ esac
fi
# Record target_configdirs and the configure arguments in Makefile.