From: Ralf Wildenhues Date: Sun, 1 Feb 2009 14:06:03 +0000 (+0100) Subject: Fix $INSTALL in testsuite with relative path to install-sh. X-Git-Tag: v2.2.7b~114 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6d08820f7c04dc7269c40ac01bc844e3fedde624;p=thirdparty%2Flibtool.git 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 --- diff --git a/ChangeLog b/ChangeLog index cddb5b5cb..cc11b3abd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-02-01 Ralf Wildenhues + 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. diff --git a/tests/testsuite.at b/tests/testsuite.at index 92e786eff..092984999 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -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