test/configure.in
changeset 3280 00cace2d9080
parent 3090 37f9304df6a9
child 3292 245a7d79577c
equal deleted inserted replaced
3279:fd207dce9f94 3280:00cace2d9080
   126     GLLIB=""
   126     GLLIB=""
   127 fi
   127 fi
   128 
   128 
   129 AC_SUBST(GLLIB)
   129 AC_SUBST(GLLIB)
   130 
   130 
       
   131 dnl Check for SDL_ttf
       
   132 AC_MSG_CHECKING(for SDL_ttf)
       
   133 have_SDL_ttf=no
       
   134 AC_TRY_COMPILE([
       
   135  #include "SDL_ttf.h"
       
   136 ],[
       
   137 ],[
       
   138 have_SDL_ttf=yes
       
   139 ])
       
   140 AC_MSG_RESULT($have_SDL_ttf)
       
   141 
       
   142 if test x$have_SDL_ttf = xyes; then
       
   143     CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
       
   144     SDL_TTF_LIB="-lSDL_ttf"
       
   145 fi
       
   146 
       
   147 AC_SUBST(SDL_TTF_LIB)
       
   148 
   131 dnl Finally create all the generated files
   149 dnl Finally create all the generated files
   132 AC_OUTPUT([Makefile])
   150 AC_OUTPUT([Makefile])