From: foobar Date: Thu, 24 Feb 2005 19:05:01 +0000 (+0000) Subject: - cross-compile fix X-Git-Tag: RELEASE_0_3~204 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a3c0eca4bd41a56df402846c4fb3828f11df133;p=php - cross-compile fix --- diff --git a/TSRM/threads.m4 b/TSRM/threads.m4 index e2ae7a1033..9873c25543 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