aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-php/modphp/files/pthread-check.patch
blob: 1388b2b0bb9d58fe5a2ab37d545440dada4d666d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Hack configure script so it does not disable pthread support when cross-compiling

Upstream-Status: Inapproprate [config]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>

diff --git a/configure b/configure
index 03d8f95..6794d45 100755
--- a/configure
+++ b/configure
@@ -3506,7 +3506,7 @@ fi
   
 if test "$cross_compiling" = yes; then
   
-    pthreads_working=no
+    pthreads_working=yes
   case $host_alias in
   *netware*)
     pthreads_working=yes
@@ -3566,7 +3566,7 @@ else
       
 if test "$cross_compiling" = yes; then
   
-    pthreads_working=no
+    pthreads_working=yes
   case $host_alias in
   *netware*)
     pthreads_working=yes
@@ -3636,7 +3636,7 @@ if test "$pthreads_working" != "yes"; then
     
 if test "$cross_compiling" = yes; then
   
-    pthreads_working=no
+    pthreads_working=yes
   case $host_alias in
   *netware*)
     pthreads_working=yes
@@ -106833,7 +106833,7 @@ fi
   
 if test "$cross_compiling" = yes; then
   
-    pthreads_working=no
+    pthreads_working=yes
   case $host_alias in
   *netware*)
     pthreads_working=yes
@@ -106893,7 +106893,7 @@ else
       
 if test "$cross_compiling" = yes; then
   
-    pthreads_working=no
+    pthreads_working=yes
   case $host_alias in
   *netware*)
     pthreads_working=yes
@@ -106963,7 +106963,7 @@ if test "$pthreads_working" != "yes"; then
     
 if test "$cross_compiling" = yes; then
   
-    pthreads_working=no
+    pthreads_working=yes
   case $host_alias in
   *netware*)
     pthreads_working=yes