]> granicus.if.org Git - php/commitdiff
Added configuration for detecting the BeOS thread implementation
authorStephen van Egmond <svanegmond@php.net>
Fri, 23 Mar 2001 04:56:51 +0000 (04:56 +0000)
committerStephen van Egmond <svanegmond@php.net>
Fri, 23 Mar 2001 04:56:51 +0000 (04:56 +0000)
(which will be used once I get my patches into Zend to use bthreads).

Also, a check for a library distributed with the new BeOS networking
environment.

configure.in

index d59697024623d42f0ead3d85349650ec01d3cac6..f0961656f88b40b6d2d5321022789ccf0bb9ecfe 100644 (file)
@@ -107,7 +107,8 @@ case "$host_alias" in
 *bsdi*)
     BSD_MAKEFILE=yes;;
 *beos*)
-       LIBS="$LIBS -lbe -lroot"
+       beos_threads=1
+       LIBS="$LIBS -lbe -lroot";;
 esac
 
 AM_PROG_CC_STDC
@@ -253,7 +254,9 @@ AC_CHECK_LIB(bind, inet_aton, [
   AC_ADD_LIBRARY(bind)
   AC_DEFINE(HAVE_LIBBIND,1,[Whether you have bind]) ], [
     AC_CHECK_LIB(resolv, inet_aton)
-  ]) 
+  ])
+AC_CHECK_LIB(bind, __inet_aton)
+
 
 dnl The res_search may be in libsocket as well, and if it is
 dnl make sure to check for dn_skipname in libresolv, or if res_search