autoconf: glut doesn't need Xt

Don't link glut with libXt since it's not needed.
(see commit ce98779571)
This commit is contained in:
Dan Nicholson
2007-12-07 11:12:20 -08:00
parent 9cad8e312f
commit 70d0c83890
+2 -2
View File
@@ -632,11 +632,11 @@ if test "x$enable_glut" = xyes; then
GLUT_CFLAGS="-fexceptions"
fi
if test "$x11_pkgconfig" = yes; then
PKG_CHECK_MODULES(GLUT, x11 xmu xt xi)
PKG_CHECK_MODULES(GLUT, x11 xmu xi)
GLUT_LIB_DEPS="$GLUT_LIBS"
else
# should check these...
GLUT_LIB_DEPS="$X_LIBS -lX11 -lXmu -lXt -lXi"
GLUT_LIB_DEPS="$X_LIBS -lX11 -lXmu -lXi"
fi
GLUT_LIB_DEPS="$GLUT_LIB_DEPS -lm"