From: Anantha Kesari H Y Date: Thu, 10 Mar 2005 10:05:28 +0000 (+0000) Subject: This fix is needed for cross compilation to go through X-Git-Tag: php-5.0.4RC1~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8993ccd75c2cf61ba9f159d219c1bf6969b3d07d;p=php This fix is needed for cross compilation to go through --- diff --git a/TSRM/threads.m4 b/TSRM/threads.m4 index e2ae7a1033..11c4230f19 100644 --- a/TSRM/threads.m4 +++ b/TSRM/threads.m4 @@ -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