SDL doesn't depend on GLU, and overwhelming feedback from the mailing list is that people don't want it included in SDL_opengl.h
authorSam Lantinga <slouken@libsdl.org>
Wed, 19 Jan 2011 22:55:51 -0800
changeset 5050 2add0d17180b
parent 5049 28003ba91f57
child 5051 a69e36365766
SDL doesn't depend on GLU, and overwhelming feedback from the mailing list is that people don't want it included in SDL_opengl.h
configure.in
include/SDL_opengl.h
--- a/configure.in	Wed Jan 19 22:39:02 2011 -0800
+++ b/configure.in	Wed Jan 19 22:55:51 2011 -0800
@@ -1573,7 +1573,6 @@
         AC_TRY_COMPILE([
          #include <GL/gl.h>
          #include <GL/glx.h>
-         #include <GL/glu.h>
         ],[
         ],[
         video_opengl=yes
--- a/include/SDL_opengl.h	Wed Jan 19 22:39:02 2011 -0800
+++ b/include/SDL_opengl.h	Wed Jan 19 22:55:51 2011 -0800
@@ -47,11 +47,9 @@
 #endif
 #if defined(__MACOSX__)
 #include <OpenGL/gl.h>          /* Header File For The OpenGL Library */
-#include <OpenGL/glu.h>         /* Header File For The GLU Library */
 #define __X_GL_H
 #else
 #include <GL/gl.h>              /* Header File For The OpenGL Library */
-#include <GL/glu.h>             /* Header File For The GLU Library */
 #endif
 #ifndef NO_SDL_GLEXT
 #undef __glext_h_