comparison test/configure.in @ 3280:00cace2d9080

Merged a cleaned up version of Jiang's code changes from Google Summer of Code 2009
author Sam Lantinga <slouken@libsdl.org>
date Sat, 19 Sep 2009 13:29:40 +0000
parents 37f9304df6a9
children 245a7d79577c
comparison
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])