]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix $INSTALL in testsuite with relative path to install-sh.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 1 Feb 2009 14:06:03 +0000 (15:06 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 1 Feb 2009 14:41:52 +0000 (15:41 +0100)
* 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>
ChangeLog
tests/testsuite.at

index cddb5b5cb4a0c234e9d8d3918732c7c93d8b1645..cc11b3abdf6c62a14088717cacba10e6b0973de1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 92e786eff7d4f4711264e0c5a1295de468c5e976..0929849993cadc6b98a6e3bf030a72e181f3e6dc 100644 (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