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