forked from enlightenment/efl
compile also gl_common when gl engines are static
SVN revision: 45987
This commit is contained in:
parent
4fd8d21586
commit
b2082d7527
|
@ -495,8 +495,11 @@ EVAS_CHECK_ENGINE([software-16-wince], [${want_evas_engine_software_16_wince}],
|
||||||
# common gl
|
# common gl
|
||||||
have_evas_engine_gl_common="no"
|
have_evas_engine_gl_common="no"
|
||||||
if test "x$have_evas_engine_gl_x11" = "xyes" \
|
if test "x$have_evas_engine_gl_x11" = "xyes" \
|
||||||
|
|| test "x$have_evas_engine_gl_x11" = "xstatic" \
|
||||||
|| test "x$have_evas_engine_gl_glew" = "xyes" \
|
|| test "x$have_evas_engine_gl_glew" = "xyes" \
|
||||||
|| test "x$have_evas_engine_gl_sdl" = "xyes"; then
|
|| test "x$have_evas_engine_gl_glew" = "xstatic" \
|
||||||
|
|| test "x$have_evas_engine_gl_sdl" = "xyes" \
|
||||||
|
|| test "x$have_evas_engine_gl_sdl" = "xstatic"; then
|
||||||
have_evas_engine_gl_common="yes"
|
have_evas_engine_gl_common="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -510,7 +513,7 @@ AC_SUBST([evas_engine_gl_common_libs])
|
||||||
AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, [test "x$have_evas_engine_gl_common" = "xyes"])
|
AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, [test "x$have_evas_engine_gl_common" = "xyes"])
|
||||||
|
|
||||||
# gl_sdl
|
# gl_sdl
|
||||||
if test "x$have_evas_engine_gl_sdl" = "xyes"; then
|
if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then
|
||||||
AC_CHECK_DECL(SDL_GL_CONTEXT_MAJOR_VERSION,
|
AC_CHECK_DECL(SDL_GL_CONTEXT_MAJOR_VERSION,
|
||||||
[AC_DEFINE(HAVE_SDL_GL_CONTEXT_VERSION, [1], [SDL_GL version attributes present])],,
|
[AC_DEFINE(HAVE_SDL_GL_CONTEXT_VERSION, [1], [SDL_GL version attributes present])],,
|
||||||
[#include <SDL/SDL_video.h>])
|
[#include <SDL/SDL_video.h>])
|
||||||
|
|
Loading…
Reference in New Issue