From b585338405953c14fa2b85d55673dac20f831d5e Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sat, 3 Nov 2001 23:08:16 +0000 Subject: [PATCH] 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 --- configure | 6 +++--- configure.in | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 9bec2584a1..dff14f25eb 100755 --- a/configure +++ b/configure @@ -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" ;; *) ;; diff --git a/configure.in b/configure.in index 158eee817d..12c7feed15 100644 --- a/configure.in +++ b/configure.in @@ -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" ;; *) ;; -- 2.45.2