From 86fa2f2540f8b1cf11530d78f83a255d4dcfb4a2 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 22 Jul 2010 21:13:40 +0000 Subject: [PATCH] Try to work around the relative install-sh path problem. Patch from Eli. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109163 91177308-0d34-0410-b5e6-96231b3b80d8 --- autoconf/configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 5dbb422d3fe..9541b8a46c3 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -1011,6 +1011,13 @@ fi dnl Find the install program AC_PROG_INSTALL +dnl Prepend src dir to install path dir if it's a relative path +dnl This is a hack for installs that take place in something other +dnl than the top level. +case "$INSTALL" in + [[\\/$]]* | ?:[[\\/]]* ) ;; + *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;; +esac dnl Checks for documentation and testing tools that we can do without. If these dnl are not found then they are set to "true" which always succeeds but does -- 2.34.1