From 8dde69004255a6f9696182f0f55423f9d09a2073 Mon Sep 17 00:00:00 2001 From: David Reid Date: Mon, 23 Sep 2002 17:40:04 +0000 Subject: [PATCH] Allow this to build on beos with it's bizarre linking. --- sapi/apache2filter/config.m4 | 8 ++++++++ 1 file changed, 8 insertions(+) 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" -- 2.50.1