From: David Reid Date: Mon, 23 Sep 2002 17:40:04 +0000 (+0000) Subject: Allow this to build on beos with it's bizarre linking. X-Git-Tag: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003~226 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8dde69004255a6f9696182f0f55423f9d09a2073;p=php Allow this to build on beos with it's bizarre linking. --- 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"