cvs: TSRM(PHP_5_0) / threads.m4
| From: | Anantha Kesari H Y | Date: | Thu, 10 Mar 2005 10:05:29 +0000 |
| Subject: | cvs: TSRM(PHP_5_0) / threads.m4 | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3468@lists.php.net to get a copy of this message | ||
hyanantha Thu Mar 10 05:05:29 2005 EDT
Modified files: (Branch: PHP_5_0)
/TSRM threads.m4
Log:
This fix is needed for cross compilation to go through
http://cvs.php.net/diff.php/TSRM/threads.m4?r1=1.12.14.1&r2=1.12.14.2&ty=u
Index: TSRM/threads.m4
diff -u TSRM/threads.m4:1.12.14.1 TSRM/threads.m4:1.12.14.2
--- TSRM/threads.m4:1.12.14.1 Thu Dec 30 02:04:10 2004
+++ TSRM/threads.m4 Thu Mar 10 05:05:28 2005
@@ -84,7 +84,15 @@
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