]> granicus.if.org Git - php/commitdiff
- cross-compile fix
authorfoobar <sniper@php.net>
Thu, 24 Feb 2005 19:05:01 +0000 (19:05 +0000)
committerfoobar <sniper@php.net>
Thu, 24 Feb 2005 19:05:01 +0000 (19:05 +0000)
TSRM/threads.m4

index e2ae7a10338b05250bdb4bf655997c0ef1b0bc42..9873c25543f77d012065eaee0719fc499f1c2e64 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