Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3457 in orxonox.OLD for orxonox/trunk/configure.ac


Ignore:
Timestamp:
Mar 5, 2005, 2:33:27 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: added new File glfont.c that will be modified, so it can display any ttf font

also included libSDL_ttf into configure. this enables the use of any ttf font as mentioned by konfuzzius in orxonox-dev mail 266.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure.ac

    r3425 r3457  
    388388fi
    389389
     390#---------#
     391# SDL_ttf #
     392#---------#
     393def_sdl_ttf=yes
     394# checking for SDL_ttf-headers
     395  AC_CHECK_HEADERS([SDL/SDL_ttf.h] ,,
     396      [echo "sdl_ttf not found."; def_sdl_ttf=no ])
     397
     398if test x$def_sdl_ttf = xyes; then
     399# checking for SDL_ttf-lib
     400  AC_CHECK_LIB([SDL_ttf], [main], [FOUND_SDL_ttf=yes])
     401     if test x$FOUND_SDL_ttf = xyes ; then
     402       LIBS="$LIBS -lSDL_ttf"
     403     else
     404        echo "------------------"
     405        echo "SDL_ttf library not found."
     406        echo "please install the SDL_ttf library, which can be found at http://www.libsdl.org/projects/SDL_ttf/"
     407        echo "------------------"
     408        exit -1
     409     fi   
     410fi
     411
    390412## case no SDL-image:
    391413if test x$def_sdl_image = xno; then
Note: See TracChangeset for help on using the changeset viewer.