Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | From d8067ceacbf54e79c9c6b68675332c09eaa0b55d Mon Sep 17 00:00:00 2001 |
| 2 | From: Jackie Huang <jackie.huang@windriver.com> |
| 3 | Date: Mon, 8 Apr 2013 14:29:51 +0800 |
| 4 | Subject: [PATCH] pthread-check |
| 5 | |
| 6 | Enable pthreads support when cross-compiling |
| 7 | |
| 8 | Upstream-Status: Inapproprate [config] |
| 9 | |
| 10 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
| 11 | --- |
| 12 | TSRM/threads.m4 | 2 +- |
| 13 | 1 files changed, 1 insertions(+), 1 deletions(-) |
| 14 | |
| 15 | diff --git a/TSRM/threads.m4 b/TSRM/threads.m4 |
| 16 | index 38494ce..15d9454 100644 |
| 17 | --- a/TSRM/threads.m4 |
| 18 | +++ b/TSRM/threads.m4 |
| 19 | @@ -86,7 +86,7 @@ int main() { |
| 20 | pthreads_working=no |
| 21 | ], [ |
| 22 | dnl For cross compiling running this test is of no use. NetWare supports pthreads |
| 23 | - pthreads_working=no |
| 24 | + pthreads_working=yes |
| 25 | case $host_alias in |
| 26 | *netware*) |
| 27 | pthreads_working=yes |
| 28 | -- |
| 29 | 1.7.4.1 |
| 30 | |