autoconf: glut doesn't need Xt
authorDan Nicholson <dbn.lists@gmail.com>
Fri, 7 Dec 2007 19:12:20 +0000 (11:12 -0800)
committerDan Nicholson <dbn.lists@gmail.com>
Tue, 11 Dec 2007 16:24:27 +0000 (08:24 -0800)
Don't link glut with libXt since it's not needed.
(see commit ce98779571eee3f51d9f571fecf8deb83dd60f78)

configure.ac

index 94fb9e3ba70598537d783b76e68bc7719f17bda2..f4a7e5e95c0555946c1dcc23daff694195f311c9 100644 (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"