]> granicus.if.org Git - php/commitdiff
This fix is needed for cross compilation to go through
authorAnantha Kesari H Y <hyanantha@php.net>
Thu, 10 Mar 2005 10:05:28 +0000 (10:05 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Thu, 10 Mar 2005 10:05:28 +0000 (10:05 +0000)
TSRM/threads.m4

index e2ae7a10338b05250bdb4bf655997c0ef1b0bc42..11c4230f19a25eeac0d86f8eb203543f76be9cbb 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 $target_alias in
+  *netware*)
+    pthreads_working=yes
+  esac
+] 
+) ] )dnl
 dnl
 dnl PTHREADS_CHECK()
 dnl