[GB.SDL]
* 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:
parent
e6a904c445
commit
053cc59560
1 changed files with 7 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue