From: caro Date: Mon, 8 Feb 2010 16:14:32 +0000 (+0000) Subject: compile also gl_common when gl engines are static X-Git-Tag: accepted/2.0/20130306.225542~242^2~2052 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9c3371bee27c8b141b31022a89ff54c373dc469;p=profile%2Fivi%2Fevas.git compile also gl_common when gl engines are static git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@45987 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/configure.ac b/configure.ac index 3a5dcb9..738d726 100644 --- a/configure.ac +++ b/configure.ac @@ -495,8 +495,11 @@ EVAS_CHECK_ENGINE([software-16-wince], [${want_evas_engine_software_16_wince}], # common gl have_evas_engine_gl_common="no" 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_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" 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"]) # 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_DEFINE(HAVE_SDL_GL_CONTEXT_VERSION, [1], [SDL_GL version attributes present])],, [#include ])