]> granicus.if.org Git - php/commitdiff
Prepare for MH_BUNDLE build on Mac OS X / Darwin
authorMarko Karppinen <markonen@php.net>
Fri, 29 Mar 2002 19:25:55 +0000 (19:25 +0000)
committerMarko Karppinen <markonen@php.net>
Fri, 29 Mar 2002 19:25:55 +0000 (19:25 +0000)
sapi/apache/config.m4

index 4a1f1ad2167d61a8882d31c7a78ba73b5266bec4..62ad45ebcdfba96977f9fbf40a8adf141f818cf8 100644 (file)
@@ -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)