]> git.saurik.com Git - wxWidgets.git/commitdiff
install apparently ignores -p option under Mac OS X, use cp -p instead
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 3 Nov 2001 23:08:16 +0000 (23:08 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 3 Nov 2001 23:08:16 +0000 (23:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 9bec2584a14df16f4a28efdace40d0f5bb7d565a..dff14f25eb30ba3b17c45a86b99fe3fd0faa6331 100755 (executable)
--- 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"
         ;;
     *)
         ;;
index 158eee817d106d1b5b14f5e1990ebe366408d927..12c7feed1521ea434effd3e95bd663899f1244c2 100644 (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"
         ;;
     *)
         ;;