summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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..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