]> granicus.if.org Git - php/commitdiff
Allow this to build on beos with it's bizarre linking.
authorDavid Reid <dreid@php.net>
Mon, 23 Sep 2002 17:40:04 +0000 (17:40 +0000)
committerDavid Reid <dreid@php.net>
Mon, 23 Sep 2002 17:40:04 +0000 (17:40 +0000)
sapi/apache2filter/config.m4

index 0d6393f8f2dee1fc38ef56c1419f0fb56e19d4b1..2eac849aa40b30c337621edb2b7fa17e2991a3e0 100644 (file)
@@ -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"