From f2693093295e5f9333c806368a19a009a7e0af91 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 13 Feb 1996 19:29:03 +0000 Subject: [PATCH] * Makefile.in (RPATH_ENVVAR): New variable. (REALLY_SET_LIB_PATH): Use it. * configure.in: On HP/UX, set RPATH_ENVVAR to SHLIB_PATH. --- configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.in b/configure.in index 49198e79d1e..54b350f5f9b 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. -- 2.30.2