Patch for not to run some tests while cross compiling

php.internals

Kamesh Jayachandran

21 years ago
Hi All, I am working for NetWare port of PHP. I am trying to use the autoconf based build system to build the binaries meant to run for NetWare with build system being Linux.(Cross compilation). While running ./configure with corresponding options I got errors stating "cannot run tests while cross compiling.". I have a fix for this located at, http://puggy.symonds.net/~kameshj/Zend.m4.patch Can someone review it and apply the patch? With regards Kamesh Jayachandran

Jani Taskinen

21 years ago
On Tue, 22 Feb 2005, Kamesh Jayachandran wrote:
> Hi All, > I am working for NetWare port of PHP. I am trying to use the autoconf > based build system to build the binaries meant to run for NetWare with > build system being Linux.(Cross compilation). > > While running ./configure with corresponding options I got errors > stating "cannot run tests while cross compiling.". I have a fix for this > located at, > http://puggy.symonds.net/~kameshj/Zend.m4.patch > Can someone review it and apply the patch?
Committed, without the echo though as that is superfluous. --Jani

Kamesh Jayachandran

21 years ago
Hi Jani, Thanks for commiting the patch. But it does not work. The last param to AC_TRY_RUN need to be a non empty shell construct for cross compilation to go through(empty construct won't help). Please apply my new patch against the current HEAD(Now instead of echo the patch do test 1) http://puggy.symonds.net/~kameshj/Zend.m4.patch With regards Kamesh Jayachandran On Tue, 22 Feb 2005 15:53:41 +0200 (EET), "Jani Taskinen" <sniper@iki.fi> said:

Jani Taskinen

21 years ago
Committed, again something else. :) --Jani On Tue, 22 Feb 2005, Kamesh Jayachandran wrote: