summaryrefslogtreecommitdiff
path: root/sapi/apache/config.m4
diff options
context:
space:
mode:
authorMarko Karppinen <markonen@php.net>2002-03-29 19:25:55 +0000
committerMarko Karppinen <markonen@php.net>2002-03-29 19:25:55 +0000
commit60663c1f6446896f23e1c13fa9a4548ce5c03784 (patch)
treea169154dce0642540275bed4567bfd76b481dbd5 /sapi/apache/config.m4
parentef2608925c73430c25ad42a049a1039cd210ae67 (diff)
downloadphp-git-60663c1f6446896f23e1c13fa9a4548ce5c03784.tar.gz
Prepare for MH_BUNDLE build on Mac OS X / Darwin
Diffstat (limited to 'sapi/apache/config.m4')
-rw-r--r--sapi/apache/config.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4
index 4a1f1ad216..62ad45ebcd 100644
--- a/sapi/apache/config.m4
+++ b/sapi/apache/config.m4
@@ -62,6 +62,11 @@ AC_ARG_WITH(apxs,
APXS_LIBEXECDIR=`$APXS -q LIBEXECDIR`
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-bI:$APXS_LIBEXECDIR/httpd.exp"
;;
+ *darwin*)
+ APXS_HTTPD=`$APXS -q SBINDIR`/`$APXS -q TARGET`
+ MH_BUNDLE_FLAGS="-bundle -bundle_loader $APXS_HTTPD"
+ PHP_SUBST(MH_BUNDLE_FLAGS)
+ ;;
esac
],[
AC_MSG_RESULT(no)