dreid           Mon Sep 23 13:40:04 2002 EDT

  Modified files:              
    /php4/sapi/apache2filter    config.m4 
  Log:
  Allow this to build on beos with it's bizarre linking.
  
  
Index: php4/sapi/apache2filter/config.m4
diff -u php4/sapi/apache2filter/config.m4:1.24 php4/sapi/apache2filter/config.m4:1.25
--- php4/sapi/apache2filter/config.m4:1.24      Thu Jul 11 10:41:03 2002
+++ php4/sapi/apache2filter/config.m4   Mon Sep 23 13:40:04 2002
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.24 2002/07/11 14:41:03 sas Exp $
+dnl $Id: config.m4,v 1.25 2002/09/23 17:40:04 dreid Exp $
 dnl
 
 AC_MSG_CHECKING(for Apache 2.0 module support via DSO through APXS)
@@ -84,6 +84,14 @@
     PHP_SELECT_SAPI(apache2filter, bundle, sapi_apache2.c apache_config.c 
php_functions.c)
     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) 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to