installing modules to avoid segfault.
Submitted by: <hirose31 gmail.com>
PR: 47951
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@823613
13f79535-47bb-0310-9956-
ffa450edef68
mod_proxy_ftp: NULL pointer dereference on error paths.
[Stefan Fritsch <sf fritsch.de>, Joe Orton]
+ *) Build: Use install instead of cp if available on installing
+ modules to avoid segmentation fault. [hirose31 gmail.com]
+
*) mod_cache: correctly consider s-maxage in cacheability
decisions. [Dan Poirier]
$CMD || exit $?
fi
-CMD="$SH_LIBTOOL --mode=install cp $DSOARCHIVE $TARGETDIR/"
+type install >/dev/null 2>&1 && INSTALL_CMD=install || INSTALL_CMD=cp
+CMD="$SH_LIBTOOL --mode=install $INSTALL_CMD $DSOARCHIVE $TARGETDIR/"
echo $CMD
$CMD || exit $?