Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11214) FC_CHECK_X_PROTO_NARROWPROTO_WORKS fails wh
Home

[Freeciv-Dev] Re: (PR#11214) FC_CHECK_X_PROTO_NARROWPROTO_WORKS fails wh

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#11214) FC_CHECK_X_PROTO_NARROWPROTO_WORKS fails when cross-compiling
From: "Frédéric Brière" <fbriere@xxxxxxxxxxx>
Date: Fri, 3 Dec 2004 14:40:36 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Mon, Nov 29, 2004 at 02:15:10PM -0800, Jason Short wrote:
> 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.

Probably something with AC_REQUIRE.

Anyway, here's a patch that prevents configure from choking when
cross-compiling.


-- 
             Frédéric Brière    <*>    fbriere@xxxxxxxxxxx

 =>  <fbriere@xxxxxxxxxx> IS NO MORE:  <http://www.abacomsucks.com>  <=

Index: m4/x.252
===================================================================
RCS file: /home/freeciv/CVS/freeciv/m4/x.252,v
retrieving revision 1.3
diff -u -r1.3 x.252
--- m4/x.252    16 Jul 2004 16:21:45 -0000      1.3
+++ m4/x.252    3 Dec 2004 22:36:25 -0000
@@ -432,7 +432,7 @@
   return (0);
 }
   ],
-  [fc_x_proto_NARROWPROTO=$1])
+  [fc_x_proto_NARROWPROTO=$1], [], [:])
 CFLAGS="$fc_x_save_CFLAGS"
 AC_LANG_RESTORE
 ])

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#11214) FC_CHECK_X_PROTO_NARROWPROTO_WORKS fails when cross-compiling, Frédéric Brière <=