Hi,

On Tue, Jan 17, 2006 at 05:37:43PM +0100, Tobias Schlemmer wrote:
> wxwin.m4 checks for cross compiling to determine, if --host should be
> passed to wx-config. 
> 
> But, setting only --host=i586-mingw32msvc but not --build ./configure
> scripts don't necessarily run in cross compiling mode, as run time
> checks are still possible using wine.

Not specifying both was deprecated (and in fact will usually not work),
quite some time ago unless I'm mistaken.  If I understand what you
are reporting, and this is (still) true, then this is not a bug in wx
and we can probably close this report.

I have seen wine, along with binfmt_misc, fool cross compiling tests
before though.  

> So in that case wx-config will
> provide the wrong configuration even if the cross compiled libraries and
> headers are installed.
> 
> This can be changed by replacing 
> 
>   if test "$cross_compiling" = "yes" || test "$host_alias" ; then
>      wx_config_args="$wx_config_args --host=$host_alias"
>   fi

But it probably can't fix the other problems with that macro.
My best advice would be not to use it at all, but instead call
wx-config directly from your own makefiles (and not in a configure
script), where you need things that only it knows.

hth,
Ron




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to