Make sure to check for glu.h before enabling glX support. We don't SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Fri, 15 Jun 2007 12:26:29 +0000
branchSDL-1.2
changeset 3967d22892eaa1cf
parent 3966 c0de2aac0a8c
child 3968 ae0be7edf7d0
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.
configure.in
     1.1 --- a/configure.in	Fri Jun 15 11:43:14 2007 +0000
     1.2 +++ b/configure.in	Fri Jun 15 12:26:29 2007 +0000
     1.3 @@ -1550,6 +1550,7 @@
     1.4          AC_TRY_COMPILE([
     1.5           #include <GL/gl.h>
     1.6           #include <GL/glx.h>
     1.7 +         #include <GL/glu.h>
     1.8          ],[
     1.9          ],[
    1.10          video_opengl=yes