--- jasper-1.701.0.GEO/configure.ac.GL 2006-02-20 19:58:02.000000000 -0600 +++ jasper-1.701.0.GEO/configure.ac 2006-02-24 07:40:38.000000000 -0600 @@ -242,7 +242,7 @@ OPENGL_LIBS="" if test $ENABLE_OPENGL = yes; then if test $HAVE_OPENGL = no; then - TMPLIBS="-lglut -lGL -lGLU $X_PRE_LIBS -lX11 -lXmu -lXi -lXext -lXt $X_EXTRA_LIBS $X_LIBS" + TMPLIBS="-lglut" AC_CHECK_LIB(glut, glutInit, [HAVE_OPENGL=yes; OPENGL_LIBS=$TMPLIBS], HAVE_OPENGL=no, $TMPLIBS) fi