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
commit714fa3b8a57c646347accb585ae2974ba543324c (patch)
tree6b08e6286111d406f0654445532c2837afe23ac0 /configure.in
parentbe1d479e0974838b653d0ff5e285ff2489f55994 (diff)
downloadnewlib-714fa3b8a57c646347accb585ae2974ba543324c.zip
newlib-714fa3b8a57c646347accb585ae2974ba543324c.tar.gz
newlib-714fa3b8a57c646347accb585ae2974ba543324c.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