Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#11214) FC_CHECK_X_PROTO_NARROWPROTO_WORKS fails when c
Home

[Freeciv-Dev] (PR#11214) FC_CHECK_X_PROTO_NARROWPROTO_WORKS fails when c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: fbriere@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#11214) FC_CHECK_X_PROTO_NARROWPROTO_WORKS fails when cross-compiling
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Nov 2004 14:15:10 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11214 >

> [fbriere@xxxxxxxxxxx - Sat Nov 27 07:23:14 2004]:
> 
> The FC_CHECK_X_PROTO_NARROWPROTO_WORKS macro defined in m4/x.252
> contains a call to AC_TRY_RUN that lacks any action-if-cross-compiling
> argument.  I found no obvious way to disable that test, so I had to
> provide a dummy --with-x-funcproto argument to configure when
> cross-compiling.
> 
> I couldn't make much sense of what that macro actually looks for, but I
> think it should either provide sensible defaults if possible, or disable
> specific targets otherwise.

I get this problem when cross-compiling the win32 client from my debian
machine.  The --with-x-funcproto=no parameter to configure can disable
the test.  However unless you're building the XAW client, I don't see
why this test is run at all.  I think it used to not be run, but there's
a bug somewhere causing it to be run.

If you're cross-compiling the XAW client I guess you just have to
disable the check and hope for the best.

jason




[Prev in Thread] Current Thread [Next in Thread]