diff options
author | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-23 20:28:46 +0000 |
---|---|---|
committer | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-23 20:28:46 +0000 |
commit | 3a8631fa382145ff192027b18da5ecf5b1465be2 (patch) | |
tree | 01c4e23e16f4e49f5e37f6659416fc976db44d6c /configure.in | |
parent | 362a0c32ee115f4a45524c0eac44cff1704f517e (diff) | |
download | gcc-3a8631fa382145ff192027b18da5ecf5b1465be2.tar.gz |
* configure.in: Use an absolute path to install-sh.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89495 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 0ac43043abd..5670f9f1e02 100644 --- a/configure.in +++ b/configure.in @@ -80,10 +80,17 @@ AC_SUBST(TOPLEVEL_CONFIGURE_ARGUMENTS) moveifchange=${srcdir}/move-if-change +srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}` + +# We pass INSTALL explicitly to sub-makes. Make sure that it is not +# a relative path. +if test "$INSTALL" = "${srcdir}/install-sh -c"; then + INSTALL="${srcpwd}/install-sh -c" +fi + # Set srcdir to "." if that's what it is. # This is important for multilib support. pwd=`${PWDCMD-pwd}` -srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}` if test "${pwd}" = "${srcpwd}" ; then srcdir=. fi |