# Patch to TSRM to configure properly in cross compilation environment.(Especially NetWare)

- Thread: https://externals.io/message/15175
- Original archive: https://news-web.php.net/php.internals/15175
- Started by Kamesh Jayachandran on 2005-02-24T12:15:42+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #15175 — Kamesh Jayachandran — 2005-02-24T12:15:42+00:00

URL: https://externals.io/message/15175#15175

Hi Jani,
PTHREADS_CHECK_COMPILE macro fails with pthreads_working=no for cross
compilation environment. 
As I am aware NetWare has proper support for PTHREADS this patch sets
pthreads_working=yes for NetWare alone.

Find the patch at 
http://puggy.symonds.net/~kameshj/threads.m4.patch
Please apply the same along with my earlier patch on configure.in.


With regards
Kamesh Jayachandran

---

## #15181 — Jani Taskinen — 2005-02-24T19:30:03+00:00

URL: https://externals.io/message/15175#15181 · In reply to: #15175

> Hi Jani,
> PTHREADS_CHECK_COMPILE macro fails with pthreads_working=no for cross
> compilation environment.
> As I am aware NetWare has proper support for PTHREADS this patch sets
> pthreads_working=yes for NetWare alone.
>
> Find the patch at
> http://puggy.symonds.net/~kameshj/threads.m4.patch
> Please apply the same along with my earlier patch on configure.in.

     Committed too, but I changed the '$host_alias' to '$target_alias'
     since the former is not the one you're compiling for.. :)

     --Jani

---

## #15198 — Kamesh Jayachandran — 2005-02-25T15:47:35+00:00

URL: https://externals.io/message/15175#15198 · In reply to: #15181

Thanks Jani.

With regards
Kamesh Jayachandran
On Thu, 24 Feb 2005 21:30:03 +0200 (EET), "Jani Taskinen"
<sniper@iki.fi> said:
> 
> 
> > […]
> 
>      Committed too, but I changed the '$host_alias' to '$target_alias'
>      since the former is not the one you're compiling for.. :)
> 
>      --Jani
