From: Marko Karppinen Date: Fri, 29 Mar 2002 19:25:55 +0000 (+0000) Subject: Prepare for MH_BUNDLE build on Mac OS X / Darwin X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~964 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60663c1f6446896f23e1c13fa9a4548ce5c03784;p=php Prepare for MH_BUNDLE build on Mac OS X / Darwin --- 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)