Fix $INSTALL in testsuite with relative path to install-sh.

* tests/testsuite.at: If `$INSTALL' points to in-tree
install-sh, override a possibly-relative path to it with an
absolute one.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2009-02-01 15:06:03 +01:00
parent f4788a1ba6
commit 6d08820f7c
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,10 @@
2009-02-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix $INSTALL in testsuite with relative path to install-sh.
* tests/testsuite.at: If `$INSTALL' points to in-tree
install-sh, override a possibly-relative path to it with an
absolute one.
install mode: do not pass `-m $install_override_mode' to cp.
* libltdl/config/ltmain.m4sh (func_mode_install): New variable
$install_cp, factor test when `cp' is used for installation.

View File

@ -52,6 +52,12 @@ else
unset=false
fi
: ${mkdir_p="$abs_top_srcdir/libltdl/config/install-sh -d"}
# Fix relative paths in $INSTALL
case $INSTALL in
*libltdl/config/install-sh*)
INSTALL=$abs_top_srcdir/libltdl/config/install-sh
;;
esac
# On AIX, shared libraries remain loaded in memory after use if they
# are world-readable, until root issues slibclean. On NFS, this causes