install apparently ignores -p option under Mac OS X, use cp -p instead

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot 2001-11-03 23:08:16 +00:00
parent 6054113a50
commit b585338405
2 changed files with 8 additions and 7 deletions

6
configure vendored
View File

@ -8567,9 +8567,9 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
case "${host}" in
powerpc-*-darwin* )
INSTALL_PROGRAM="$INSTALL_PROGRAM -p"
INSTALL_DATA="$INSTALL_DATA -p"
powerpc-*-darwin* )
INSTALL_PROGRAM="cp -p"
INSTALL_DATA="cp -p"
;;
*)
;;

View File

@ -1461,11 +1461,12 @@ dnl defines INSTALL with the appropriate command
AC_PROG_INSTALL
case "${host}" in
dnl The other BSD's should probably go in here too, since this is
dnl to workaround a strange static lib BSDism.
dnl The other BSD's should probably go in here too, since this is
dnl to workaround a strange static lib BSDism.
dnl Mac OS X install seems to ignore -p option...
powerpc-*-darwin* )
INSTALL_PROGRAM="$INSTALL_PROGRAM -p"
INSTALL_DATA="$INSTALL_DATA -p"
INSTALL_PROGRAM="cp -p"
INSTALL_DATA="cp -p"
;;
*)
;;