]> git.saurik.com Git - wxWidgets.git/commitdiff
make path absolute to install-sh, to fix contrib lib bug
authorChris Elliott <biol75@york.ac.uk>
Fri, 28 Jun 2002 08:50:40 +0000 (08:50 +0000)
committerChris Elliott <biol75@york.ac.uk>
Fri, 28 Jun 2002 08:50:40 +0000 (08:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index bb8cb7c908e789b7cefac1d85ebba92b76f7d7c4..be7060080fd81b366c33b698a9a76e5f8fb3599c 100755 (executable)
--- a/configure
+++ b/configure
@@ -9203,6 +9203,15 @@ fi
 fi
 echo "$ac_t""$INSTALL" 1>&6
 
+#Make path Absolute if not already
+case ${INSTALL} in
+  /* ) # Absolute
+     ;;
+  *)     
+     INSTALL=`pwd`/${INSTALL} ;;
+esac
+
+
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 # It thinks the first close brace ends the variable substitution.
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
index 8fbbf434e97950df9590f845b67a94f4fe3599d2..aede61d27181b30e65bb28155c5be82736ca19ae 100644 (file)
@@ -1188,6 +1188,16 @@ AC_CHECK_PROG(AR, ar, ar, ar)
 dnl install checks
 dnl   defines INSTALL with the appropriate command
 AC_PROG_INSTALL
+
+dnl   make install path absolute (if not already); will fail with MSDOS paths
+case ${INSTALL} in
+  /* ) # Absolute
+     ;;
+  *)     
+     INSTALL=`pwd`/${INSTALL} ;;
+esac
+
+
 case "${host}" in
 
     dnl The other BSD's should probably go in here too, since this is