efl: check for sdl if it's required.

SVN revision: 80489
This commit is contained in:
Gustavo Sverzut Barbieri 2012-12-07 19:11:22 +00:00
parent 64942f97af
commit 64a9af8fe8
1 changed files with 4 additions and 0 deletions

View File

@ -1138,6 +1138,10 @@ AC_ARG_ENABLE([sdl],
],
[want_sdl="no"])
if test "${want_sdl}"; then
EFL_PKG_CHECK_STRICT([sdl >= 1.2.0])
fi
want_gl_sdl="no"
if test "${want_sdl}" = "yes" && test "${with_opengl}" != "none"; then
want_gl_sdl="yes"