meta-openembedded/meta-oe/recipes-devtools/php/php/pthread-check-threads-m4.patch
Paul Eggleton 18a97c00b7 php: integrate modphp
Build the mod_php Apache module within the main php recipe; this avoids
files in the sysroot from stepping on eachother and therefore avoids the
resulting build failure.

Changes made:
* Add an "apache2" PACKAGECONFIG, default disabled. This means that if
  you previously used the modphp recipe you now need to set
  PACKAGECONFIG for php to include "apache2".
* Bring in most patches and configure options from the modphp recipe.
* Specify ${libdir}/php5 as libdir. This avoids the PHP extensions
  directory being /usr/lib/extensions by default which is ugly.
* Tidy up some superfluous/malformed entries in FILES_${PN}-pear
* Drop obsolete PHP_MAJVER
* Replace virtclass- override with class-

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-08 12:04:26 +01:00

31 lines
804 B
Diff

From d8067ceacbf54e79c9c6b68675332c09eaa0b55d Mon Sep 17 00:00:00 2001
From: Jackie Huang <jackie.huang@windriver.com>
Date: Mon, 8 Apr 2013 14:29:51 +0800
Subject: [PATCH] pthread-check
Enable pthreads support when cross-compiling
Upstream-Status: Inapproprate [config]
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
TSRM/threads.m4 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/TSRM/threads.m4 b/TSRM/threads.m4
index 38494ce..15d9454 100644
--- a/TSRM/threads.m4
+++ b/TSRM/threads.m4
@@ -86,7 +86,7 @@ int main() {
pthreads_working=no
], [
dnl For cross compiling running this test is of no use. NetWare supports pthreads
- pthreads_working=no
+ pthreads_working=yes
case $host_alias in
*netware*)
pthreads_working=yes
--
1.7.4.1