stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3cc0e400cdb55ce90761de747dea2b8185bc2cd7
commit 3cc0e400cdb55ce90761de747dea2b8185bc2cd7 Author: Stefan Schmidt <[email protected]> Date: Tue Mar 25 17:38:41 2014 +0100 build: Disallow non-working sdl + opengl ES combination To build SDL with OpenGL ES we need a SDL version which ships these headers which only starts with SDL 2.x. So we only allow it for full OpenGL right now until someone wants to port our code over to SDL 2.x Fixes T856 @fix --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 672e1ba..4001d29 100644 --- a/configure.ac +++ b/configure.ac @@ -1177,8 +1177,14 @@ if test "${want_sdl}" = "yes"; then EFL_PKG_CHECK_STRICT([sdl >= 1.2.0]) fi +# We only enable SDL with opengl if it is not the full version and not ES +# This can be changed if we ported our SDL code over to SDL 2.0. For older +# versions the SDL_opengles.h has never been released. want_gl_sdl="no" -if test "${want_sdl}" = "yes" && test "${with_opengl}" != "none"; then +if test "${want_sdl}" = "yes" && test "${with_opengl}" = "es"; then + AC_MSG_ERROR([We currently do not support SDL with OpenGL ES. Please consider full OpenGL if you want to use it with SDL.]) +fi +if test "${want_sdl}" = "yes" && test "${with_opengl}" = "full"; then want_gl_sdl="yes" fi --
