Make sure to check for glu.h before enabling glX support. We don't

directly need GLU, but SDL_opengl.h tries to include it, and it shows that
 the workstation is misconfigured or incompletely configured if just this
 one header is missing.

   Fixes Bugzilla #336.

--HG--
branch : SDL-1.2
This commit is contained in:
Ryan C. Gordon
2007-06-15 12:26:29 +00:00
parent 6d5359a85e
commit f914aeee1f

View File

@@ -1550,6 +1550,7 @@ CheckOpenGLX11()
AC_TRY_COMPILE([
#include <GL/gl.h>
#include <GL/glx.h>
#include <GL/glu.h>
],[
],[
video_opengl=yes