summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Reid <dreid@php.net>2002-09-23 17:40:04 +0000
committerDavid Reid <dreid@php.net>2002-09-23 17:40:04 +0000
commit8dde69004255a6f9696182f0f55423f9d09a2073 (patch)
treef510b3974fc959efb570be76cf4657f70d9ac65d
parent35d29fb69e50b46f1bbf40f3b3277d2165bbfaa1 (diff)
downloadphp-git-8dde69004255a6f9696182f0f55423f9d09a2073.tar.gz
Allow this to build on beos with it's bizarre linking.
-rw-r--r--sapi/apache2filter/config.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/sapi/apache2filter/config.m4 b/sapi/apache2filter/config.m4
index 0d6393f8f2..2eac849aa4 100644
--- a/sapi/apache2filter/config.m4
+++ b/sapi/apache2filter/config.m4
@@ -85,6 +85,14 @@ $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' -i ${optarg}-n php4"
SAPI_SHARED=libs/libphp4.so
INSTALL_IT="$INSTALL_IT $SAPI_SHARED"
;;
+ *beos*)
+ APXS_BINDIR=`$APXS -q BINDIR`
+ if test -f _APP_; then `rm _APP_`; fi
+ `ln -s $APXS_BINDIR/httpd _APP_`
+ EXTRA_LIBS="$EXTRA_LIBS _APP_"
+ PHP_SELECT_SAPI(apache2filter, shared, sapi_apache2.c apache_config.c php_functions.c)
+ INSTALL_IT="$INSTALL_IT $SAPI_LIBTOOL"
+ ;;
*)
PHP_SELECT_SAPI(apache2filter, shared, sapi_apache2.c apache_config.c php_functions.c)
INSTALL_IT="$INSTALL_IT $SAPI_LIBTOOL"