summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarko Karppinen <markonen@php.net>2002-03-30 03:17:25 +0000
committerMarko Karppinen <markonen@php.net>2002-03-30 03:17:25 +0000
commit676afb33b852f6bad14d8a882ae6cbef8ce603f9 (patch)
treef46810c7c9798f9ded1c7fa50c1c7d17986ab315 /acinclude.m4
parentf43ca8d2bcc63fe34e950c193fea0fdaefdc1758 (diff)
downloadphp-git-676afb33b852f6bad14d8a882ae6cbef8ce603f9.tar.gz
Enable --with-apxs build on Mac OS X. We build an MH_BUNDLE instead of
an MH_DYLIB. As all PPC code is relocatable, we don't use the libtool based shared build but go a static route. Goodbye libtool! # I'm committing this to enable widespear testing. # Anyone have any ideas on how to easily backport this to 4.2.0?
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index b1e4612610..066ca1d778 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -783,6 +783,15 @@ AC_DEFUN(PHP_BUILD_STATIC,[
])
dnl
+dnl PHP_BUILD_BUNDLE
+dnl
+AC_DEFUN(PHP_BUILD_BUNDLE,[
+ PHP_BUILD_PROGRAM
+ OVERALL_TARGET=libs/libphp4.bundle
+ php_build_target=static
+])
+
+dnl
dnl PHP_BUILD_PROGRAM
dnl
AC_DEFUN(PHP_BUILD_PROGRAM,[
@@ -1092,6 +1101,7 @@ AC_DEFUN(PHP_SELECT_SAPI,[
case "$2" in
static) PHP_BUILD_STATIC;;
shared) PHP_BUILD_SHARED;;
+ bundle) PHP_BUILD_BUNDLE;;
program) PHP_BUILD_PROGRAM;;
esac