Index: configure.ac
===================================================================
--- configure.ac	(revision 187708)
+++ configure.ac	(working copy)
@@ -93,8 +93,8 @@ srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
 
 # We pass INSTALL explicitly to sub-makes.  Make sure that it is not
 # a relative path.
-if test "$INSTALL" = "${srcdir}/install-sh -c"; then
-  INSTALL="${srcpwd}/install-sh -c"
+if test "$INSTALL" = "${srcdir}/install-sh -c -p"; then
+  INSTALL="${srcpwd}/install-sh -c -p"
 fi
 
 # Set srcdir to "." if that's what it is.
Index: config/proginstall.m4
===================================================================
--- config/proginstall.m4	(revision 187708)
+++ config/proginstall.m4	(working copy)
@@ -54,12 +54,12 @@ case $as_dir/ in
 	    echo one > conftest.one
 	    echo two > conftest.two
 	    mkdir conftest.dir
-	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+	    if "$as_dir/$ac_prog$ac_exec_ext" -c -p conftest.one conftest.two "`pwd`/conftest.dir" &&
 	      test -s conftest.one && test -s conftest.two &&
 	      test -s conftest.dir/conftest.one &&
 	      test -s conftest.dir/conftest.two
 	    then
-	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c -p"
 	      break 3
 	    fi
 	  fi
