aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
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.