compile also gl_common when gl engines are static
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 8 Feb 2010 16:14:32 +0000 (16:14 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 8 Feb 2010 16:14:32 +0000 (16:14 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@45987 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 3a5dcb9..738d726 100644 (file)
@@ -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 <SDL/SDL_video.h>])