diff --git a/legacy/evas/configure.in b/legacy/evas/configure.in index 3946229c9e..51813ab315 100644 --- a/legacy/evas/configure.in +++ b/legacy/evas/configure.in @@ -609,10 +609,7 @@ have_evas_gl_glew="no"; ## Automatic check... AC_CHECK_HEADERS(GL/glew.h, [ have_evas_gl_glew="yes" ], - [ have_evas_gl_glew="no" ], - [ -#include - ] + [ have_evas_gl_glew="no" ] ) ## manually disable gl engine by default - not auto detected. have_evas_gl_glew="no" @@ -635,17 +632,13 @@ if test "x$have_evas_gl_glew" = "xyes"; then AC_DEFINE(BUILD_ENGINE_GL_COMMON, 1, [Generic OpenGL Rendering Support]) glew_libs="-lglew32 -lopengl32 -lgdi32" gl_libs="-lglu32" - ], [ have_evas_gl_glew="no" - ], - [ -#include ] ) fi AM_CONDITIONAL(BUILD_ENGINE_GL_GLEW, test "x$have_evas_gl_glew" = "xyes") -AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, test "x$have_evas_gl_glew" = "xyes") +AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, test "x$have_evas_gl_glew" = "xyes" -o "x$have_evas_gl_x11" = "xyes")