Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] (PR#2744) an FC_GTK_CLIENT autoconf macro
Home

[Freeciv-Dev] (PR#2744) an FC_GTK_CLIENT autoconf macro

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#2744) an FC_GTK_CLIENT autoconf macro
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Wed, 8 Jan 2003 19:17:56 -0800
Reply-to: rt@xxxxxxxxxxxxxx

[jdorje - Tue Jan  7 10:18:37 2003]:

> The attached patch provides a macro FC_GTK_CLIENT.  The primary
> advantage is that it removes duplicated autoconf 2.13 and 2.5x code. 
> I've also put it in what I consider a more readable and useful form.

Oops!  This patch is required to fix it; otherwise GTK will be detected
but then other GUIs will also be tested.

jason

Index: m4/gtk-client.m4
===================================================================
RCS file: /home/freeciv/CVS/freeciv/m4/gtk-client.m4,v
retrieving revision 1.1
diff -u -r1.1 gtk-client.m4
--- m4/gtk-client.m4    2003/01/08 20:23:15     1.1
+++ m4/gtk-client.m4    2003/01/09 03:16:41
@@ -10,6 +10,7 @@
       [
         AM_PATH_GDK_IMLIB(1.9.2,
           [
+            client=gtk
             CLIENT_CFLAGS="$GDK_IMLIB_CFLAGS"
             CLIENT_LIBS="$GDK_IMLIB_LIBS"
           ],

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