make path absolute to install-sh, to fix contrib lib bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
9
configure
vendored
9
configure
vendored
@@ -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}'
|
||||
|
Reference in New Issue
Block a user