* BUG: SDL_ttf prior to 2.0.10 doesn't provide pkg-config file, so add manual checking of files.


git-svn-id: svn://localhost/gambas/trunk@3927 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Laurent Carlier 2011-07-05 11:06:08 +00:00
parent e6a904c445
commit 053cc59560

View file

@ -29,12 +29,17 @@ dnl [GB_FIND(libSDL_ttf.$SHLIBEXT libGLEW.$SHLIBEXT, /usr /usr/X11R6 /usr/loca
dnl [$X_LIBS -lSDL_ttf -lGLEW],
dnl [$SDL_CFLAGS])
GB_COMPONENT_PKG_CONFIG(
GB_COMPONENT_SEARCH(
sdl,
SDL,
[SDL],
[src],
sdl "> 1.2.8" SDL_ttf glew xcursor)
sdl "> 1.2.8" SDL_ttf glew xcursor,
[GB_FIND(GL/glew.h SDL_ttf.h X11/Xcursor/Xcursor.h, /usr /usr/local `sdl-config --prefix`, include include/SDL)],
[GB_FIND(libSDL_ttf.$SHLIBEXT libGLEW.$SHLIBEXT libXcursor.$SHLIBEXT, /usr /usr/local `sdl-config --prefix`, lib)],
[$X_LIBS -lSDL_ttf -lGLEW],
[$SDL_CFLAGS]
)
AC_OUTPUT( \
Makefile \