Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] (PR#3499) Check for blended_shaded extension in SDL_ttf li
Home

[Freeciv-Dev] (PR#3499) Check for blended_shaded extension in SDL_ttf li

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#3499) Check for blended_shaded extension in SDL_ttf lib
From: "Rafa³ Bursig" <bursig@xxxxxxxxx>
Date: Sat, 22 Feb 2003 04:50:07 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Hi

Since SDLClient requ. this extension in SDL_ttf lib we can check it 
with configure.

Rafal
diff -u -r freeciv/m4/sdl-client.m4 fc5/m4/sdl-client.m4
--- freeciv/m4/sdl-client.m4    Sun Feb  9 22:11:52 2003
+++ fc5/m4/sdl-client.m4        Sat Feb 22 13:30:36 2003
@@ -20,7 +20,7 @@
         AC_CHECK_HEADER([SDL/SDL_image.h],
                         [sdl_image_h_found="yes"], [sdl_image_h_found="no"])
        if test "$sdl_image_h_found" = yes; then
-         AC_CHECK_LIB([SDL_ttf], [TTF_OpenFont],
+         AC_CHECK_LIB([SDL_ttf], [TTF_RenderUNICODE_Blended_Shaded],
                        [sdl_ttf_found="yes"], [sdl_ttf_found="no"])
           if test "$sdl_ttf_found" = yes; then
             AC_CHECK_HEADER([SDL/SDL_ttf.h],
@@ -34,7 +34,7 @@
              AC_MSG_ERROR([specified client 'sdl' not configurable 
(SDL_ttf-devel is needed)])
            fi
           elif test "$client" = "sdl"; then
-            AC_MSG_ERROR([specified client 'sdl' not configurable (SDL_ttf is 
needed)])
+            AC_MSG_ERROR([specified client 'sdl' not configurable (SDL_ttf is 
needed or you have no patched version of SDL_ttf lib)])
           fi
        elif test "$client" = "sdl"; then
            AC_MSG_ERROR([specified client 'sdl' not configurable 
(SDL_image-devel is needed)])

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