Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] (PR#12061) remove auto-detection of gui-sdl
Home

[Freeciv-Dev] (PR#12061) remove auto-detection of gui-sdl

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12061) remove auto-detection of gui-sdl
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Jan 2005 14:45:49 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12061 >

THis patch removes auto-detection of gui-sdl.  It's already been removed 
from the menu (which is okay but not necessary) but it's still 
autodetected which will cause some people problems (since configure will 
succeed but compilation will fail).

This should be committed to 2.0 as well.

-jason

Index: m4/sdl-client.m4
===================================================================
RCS file: /home/freeciv/CVS/freeciv/m4/sdl-client.m4,v
retrieving revision 1.8
diff -u -r1.8 sdl-client.m4
--- m4/sdl-client.m4    31 Jan 2004 17:49:52 -0000      1.8
+++ m4/sdl-client.m4    31 Jan 2005 22:44:51 -0000
@@ -5,7 +5,9 @@
 
 AC_DEFUN([FC_SDL_CLIENT],
 [
-  if test "$client" = sdl || test "$client" = yes ; then
+  if test "$client" = yes; then
+    AC_MSG_WARN([Not checking for SDL; use --enable-client=sdl to enable])
+  elif test "$client" = sdl ; then
     AM_PATH_SDL([1.1.4], [sdl_found="yes"], [sdl_found="no"])
     if test "$sdl_found" = yes; then
       ac_save_CFLAGS="$CFLAGS"

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12061) remove auto-detection of gui-sdl, Jason Short <=