From 9f69bcbfe5ccca672c2042beafda94d37e677148 Mon Sep 17 00:00:00 2001 From: Vincent Abriou Date: Wed, 29 Oct 2014 10:09:35 +0100 Subject: [PATCH] configure.ac: auto decision to include GL library fails The part of the configure.ac that consist to check if we can include both GL and GLES2 at the same time is failing. Indeed, in the case NEED_GLES2=yes and NEED_OPENGL=auto, HAVE_OPENGL variable is updated whereas it should be HAVE_GL variable that has to be updated (HAVE_OPENGL variable is not used in the rest of the configure.ac). https://bugzilla.gnome.org/show_bug.cgi?id=739348 Signed-off-by: Vincent Abriou Reviewed-by: Benjamin GAIGNARD --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 85c693ae06..150ccaa92e 100644 --- a/configure.ac +++ b/configure.ac @@ -886,7 +886,7 @@ if test "x$HAVE_GL" = "xyes" -a "x$HAVE_GLU" = "xyes" -a "x$HAVE_GLES2" = "xyes" AC_MSG_ERROR([Cannot seem to include both GL and GLES2 headers. Try disabling one API]) fi AC_MSG_WARN([Disabling Desktop GL support]) - HAVE_OPENGL=no + HAVE_GL=no else AC_MSG_WARN([Disabling GL|ES 2.0 support]) HAVE_GLES2=no