comparison configure.in @ 3967:d22892eaa1cf SDL-1.2

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.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 15 Jun 2007 12:26:29 +0000
parents 9d9e15ab1697
children 590d6f5da52b
comparison
equal deleted inserted replaced
3966:c0de2aac0a8c 3967:d22892eaa1cf
1548 AC_MSG_CHECKING(for OpenGL (GLX) support) 1548 AC_MSG_CHECKING(for OpenGL (GLX) support)
1549 video_opengl=no 1549 video_opengl=no
1550 AC_TRY_COMPILE([ 1550 AC_TRY_COMPILE([
1551 #include <GL/gl.h> 1551 #include <GL/gl.h>
1552 #include <GL/glx.h> 1552 #include <GL/glx.h>
1553 #include <GL/glu.h>
1553 ],[ 1554 ],[
1554 ],[ 1555 ],[
1555 video_opengl=yes 1556 video_opengl=yes
1556 ]) 1557 ])
1557 AC_MSG_RESULT($video_opengl) 1558 AC_MSG_RESULT($video_opengl)