GLU is not used.

SVN revision: 32746
This commit is contained in:
Kim Woelders 2007-11-17 16:22:59 +00:00
parent efa657cc06
commit 67b96eca0f
2 changed files with 2 additions and 5 deletions

View File

@ -31,9 +31,7 @@
#include <sys/time.h>
#endif
/* preliminary OpenGL Checking */
#ifdef HAVE_GLX
#include <GL/glut.h>
#include <GL/glx.h>
#endif

View File

@ -84,12 +84,11 @@ AC_ARG_ENABLE(glx,
[ --enable-glx build with GLX support @<:@default=yes@:>@],,
enable_glx=yes)
if test "x$enable_glx" = "xyes"; then
AC_CHECK_HEADERS(GL/gl.h GL/glu.h GL/glx.h,, enable_glx=no)
AC_CHECK_HEADERS(GL/gl.h GL/glx.h,, enable_glx=no)
AC_CHECK_LIB(GL, glXChooseVisual, enable_glx=yes, enable_glx=no)
dnl# AC_CHECK_LIB(GLU, main, , GLX_LIBS="", $X_LIBS)
fi
if test "x$enable_glx" = "xyes"; then
GLX_LIBS="-lGL -lGLU"
GLX_LIBS="-lGL"
GLX_PROGS="E-OpenGL-Demo.epplet"
AC_DEFINE(HAVE_GLX, 1, [GLX support])
else