From a5c8eae057746618443c788fcaa04221d8ad7ba4 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 29 Dec 2008 14:02:01 -0700 Subject: Added support for True Type Fonts using GUIChan's inbuilt SDLTrueType class. NOTE: This commit adds a brand new dependency (SDL_TTF). Make sure to install it, regenerate your config files, reconfigure, and then install before attempting to compile. Signed-off-by: Ira Rice --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ac227410..4424d152 100755 --- a/configure.ac +++ b/configure.ac @@ -55,6 +55,9 @@ AC_CHECK_LIB(SDL_image, IMG_LoadPNG_RW, , AC_MSG_ERROR([ *** Unable to find SDL_image library with PNG support (http://www.libsdl.org/projects/SDL_image/)])) +AC_CHECK_LIB(SDL_ttf, TTF_Quit, , +AC_MSG_ERROR([ *** Unable to find SDL_ttf library (http://www.libsdl.org/projects/SDL_ttf/)])) + AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio], , AC_MSG_ERROR([ *** Unable to find SDL_mixer library (http://www.libsdl.org/projects/SDL_mixer/)])) @@ -86,7 +89,7 @@ fi AC_PATH_PROG(LIBSDL_CONFIG, sdl-config) if test -n "$LIBSDL_CONFIG"; then - LIBSDL_LIBS="`$LIBSDL_CONFIG --libs` -lSDL_image -lSDL_mixer" + LIBSDL_LIBS="`$LIBSDL_CONFIG --libs` -lSDL_image -lSDL_mixer -lSDL_ttf" LIBSDL_CFLAGS="`$LIBSDL_CONFIG --cflags`" AC_SUBST(LIBSDL_LIBS) AC_SUBST(LIBSDL_CFLAGS) @@ -103,6 +106,7 @@ AC_CONFIG_FILES([ Makefile src/Makefile data/Makefile +data/fonts/Makefile data/graphics/Makefile data/graphics/gui/Makefile data/graphics/images/Makefile -- cgit v1.2.3-70-g09d2