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 3967 d22892eaa1cf
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
--- a/configure.in	Fri Jun 15 11:43:14 2007 +0000
+++ b/configure.in	Fri Jun 15 12:26:29 2007 +0000
@@ -1550,6 +1550,7 @@
         AC_TRY_COMPILE([
          #include <GL/gl.h>
          #include <GL/glx.h>
+         #include <GL/glu.h>
         ],[
         ],[
         video_opengl=yes