summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2005-03-10 10:05:28 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2005-03-10 10:05:28 +0000
commit8993ccd75c2cf61ba9f159d219c1bf6969b3d07d (patch)
tree740c33fb035dfeb39be92e260ea250bb59ed441a /TSRM
parent5ee2605386bc023e74cbb714015cbc75d0d16d54 (diff)
downloadphp-git-8993ccd75c2cf61ba9f159d219c1bf6969b3d07d.tar.gz
This fix is needed for cross compilation to go through
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 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