aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-10-23 20:30:02 +0000
committerDaniel Jacobowitz <drow@false.org>2004-10-23 20:30:02 +0000
commit0fdbe98368891d82f23e1b972b71b9fb64fef06d (patch)
tree85f2268549ca8ac6464d809f3708369fb51fb2ea /configure.in
parentf27cf670a8729e84799f86c25401fe1be5cd2e51 (diff)
downloadgdb-0fdbe98368891d82f23e1b972b71b9fb64fef06d.zip
gdb-0fdbe98368891d82f23e1b972b71b9fb64fef06d.tar.gz
gdb-0fdbe98368891d82f23e1b972b71b9fb64fef06d.tar.bz2
* configure.in: Use an absolute path to install-sh.
* configure: Regenerated.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 0ac4304..5670f9f 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