* Makefile.in (RPATH_ENVVAR): New variable.

(REALLY_SET_LIB_PATH): Use it.
	* configure.in: On HP/UX, set RPATH_ENVVAR to SHLIB_PATH.
This commit is contained in:
Ian Lance Taylor 1996-02-13 19:29:03 +00:00
parent 625489271d
commit f269309329
1 changed files with 9 additions and 0 deletions

View File

@ -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.