gl: Check for GLU before trying to use it in configure.ac

https://bugzilla.gnome.org/show_bug.cgi?id=738816
This commit is contained in:
Brendan Long 2014-10-20 02:27:15 -06:00 committed by Sebastian Dröge
parent 5eb538f9e2
commit eee5110fb4

View file

@ -845,7 +845,7 @@ else
fi fi
dnl check if we can include both GL and GLES2 at the same time dnl check if we can include both GL and GLES2 at the same time
if test "x$HAVE_GL" = "xyes" -a "x$HAVE_GLES2" = "xyes"; then if test "x$HAVE_GL" = "xyes" -a "x$HAVE_GLU" = "xyes" -a "x$HAVE_GLES2" = "xyes"; then
GL_INCLUDES=" GL_INCLUDES="
#ifndef GL_GLEXT_PROTOTYPES #ifndef GL_GLEXT_PROTOTYPES
#define GL_GLEXT_PROTOTYPES 1 #define GL_GLEXT_PROTOTYPES 1