summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-02-24 19:05:01 (GMT)
committerfoobar <sniper@php.net>2005-02-24 19:05:01 (GMT)
commit9a3c0eca4bd41a56df402846c4fb3828f11df133 (patch)
tree96fcbde7653b04bc9224785d4dd57ed5f7a91b83 /TSRM
parent74b722f14c40918a46eb8a06152accd8872454d1 (diff)
downloadphp-9a3c0eca4bd41a56df402846c4fb3828f11df133.tar.gz
- cross-compile fix
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/threads.m410
1 files changed, 9 insertions, 1 deletions
diff --git a/TSRM/threads.m4 b/TSRM/threads.m4
index e2ae7a1..9873c25 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