summaryrefslogtreecommitdiff
path: root/sapi/apache
diff options
context:
space:
mode:
authorWilfredo Sanchez <wsanchez@php.net>2001-04-03 20:59:50 +0000
committerWilfredo Sanchez <wsanchez@php.net>2001-04-03 20:59:50 +0000
commit0df6e8dd88e7233e75683271b96a38bf7c4c6fef (patch)
treedf2629a47c454055dd0c7403d0d052a01a29b5f7 /sapi/apache
parenta0a471e7a3eca3ec17655951b3020cf32570eb36 (diff)
downloadphp-git-0df6e8dd88e7233e75683271b96a38bf7c4c6fef.tar.gz
Add INSTALL_ROOT variable to specify install location.
Diffstat (limited to 'sapi/apache')
-rw-r--r--sapi/apache/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4
index 8030f2c8ee..1abef24515 100644
--- a/sapi/apache/config.m4
+++ b/sapi/apache/config.m4
@@ -49,7 +49,7 @@ AC_ARG_WITH(apxs,
done
PHP_ADD_INCLUDE($APXS_INCLUDEDIR)
PHP_SAPI=apache
- APACHE_INSTALL="$APXS -i -a -n php4 $SAPI_SHARED"
+ APACHE_INSTALL="\$(mkinstalldirs) \"\$(INSTALL_ROOT)`$APXS -q LIBEXECDIR`\" && $APXS -S LIBEXECDIR=\"\$(INSTALL_ROOT)`$APXS -q LIBEXECDIR`\" -i -a -n php4 $SAPI_SHARED"
PHP_BUILD_SHARED
if test -z "`$APXS -q LD_SHLIB`" || test "`$APXS -q LIBEXECDIR`" = "modules"; then
PHP_APXS_BROKEN=yes