summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-06 00:40:43 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-07 12:01:44 -0400
commitf33a46ce1714d1d691e76a1c4b0db7edf097f8e8 (patch)
tree66a3bae93e85a61ffadcab7d2a9997871af956a7 /configure.ac
parentb3ce48e2f9e44c444f3aced30cc67869d16735ac (diff)
use SDL2 everywhere
Some files were still including SDL-1 headers even though we only link against SDL2 libs. URL: https://bugs.gentoo.org/551882 Reported-by: Barnaby <badbit@me.com> Reported-by: Romain Naour <romain.naour@openwide.fr>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 8101347..5b51ea1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1958,13 +1958,13 @@ AC_SUBST([have_evas_engine_gl_xcb])
1958if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then 1958if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then
1959 AC_CHECK_DECL([SDL_GL_CONTEXT_MAJOR_VERSION], 1959 AC_CHECK_DECL([SDL_GL_CONTEXT_MAJOR_VERSION],
1960 [AC_DEFINE([HAVE_SDL_GL_CONTEXT_VERSION], [1], [SDL_GL version attributes present])],, 1960 [AC_DEFINE([HAVE_SDL_GL_CONTEXT_VERSION], [1], [SDL_GL version attributes present])],,
1961 [#include <SDL/SDL_video.h>]) 1961 [#include <SDL2/SDL_video.h>])
1962fi 1962fi
1963 1963
1964if test "${with_opengl}" = "es"; then 1964if test "${with_opengl}" = "es"; then
1965 AC_CHECK_DECL([SDL_OPENGLES], 1965 AC_CHECK_DECL([SDL_OPENGLES],
1966 [AC_DEFINE([HAVE_SDL_FLAG_OPENGLES], [1], [SDL_OPENGLES flag is present])],, 1966 [AC_DEFINE([HAVE_SDL_FLAG_OPENGLES], [1], [SDL_OPENGLES flag is present])],,
1967 [#include <SDL/SDL_video.h>]) 1967 [#include <SDL2/SDL_video.h>])
1968fi 1968fi
1969 1969
1970# OpenGL common 1970# OpenGL common