]> granicus.if.org Git - php/commitdiff
NetWare cross compile patch from 5.0 tree.
authorAnantha Kesari H Y <hyanantha@php.net>
Thu, 4 Aug 2005 12:11:29 +0000 (12:11 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Thu, 4 Aug 2005 12:11:29 +0000 (12:11 +0000)
--Kamesh

TSRM/threads.m4

index e2ae7a10338b05250bdb4bf655997c0ef1b0bc42..38494ce7cae9b3501df6bebe491959c36431a907 100644 (file)
@@ -84,7 +84,15 @@ int main() {
   pthreads_working=yes
   ], [
   pthreads_working=no
-  ], pthreads_working=no ) ] )dnl
+  ], [
+  dnl For cross compiling running this test is of no use. NetWare supports pthreads
+  pthreads_working=no
+  case $host_alias in
+  *netware*)
+    pthreads_working=yes
+  esac
+]
+) ] )dnl
 dnl
 dnl PTHREADS_CHECK()
 dnl