diff options
author | Eric Christopher <echristo@apple.com> | 2010-07-22 21:13:40 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-07-22 21:13:40 +0000 |
commit | 86fa2f2540f8b1cf11530d78f83a255d4dcfb4a2 (patch) | |
tree | b290f7041cc0bfdc372185ae2df370f301a284ea /autoconf | |
parent | 0123c1da3592e99b3fa75c81cdffa20bfc622c12 (diff) | |
download | llvm-86fa2f2540f8b1cf11530d78f83a255d4dcfb4a2.tar.gz llvm-86fa2f2540f8b1cf11530d78f83a255d4dcfb4a2.tar.bz2 llvm-86fa2f2540f8b1cf11530d78f83a255d4dcfb4a2.tar.xz |
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
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 5dbb422d3f..9541b8a46c 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 |