--- configure.in.old
+++ configure.in
@@ -276,7 +276,7 @@
 
         LDFLAGS="$LDFLAGS $X_LIBS"
 
-        LIBS="$LIBS $X_PRE_LIBS -lXi -lXmu -lXext -lX11 $X_EXTRA_LIBS -lm"
+        LIBS="$LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lm"
 
 dnl =========================================================
 dnl    if test "x$x_includes" != "x"; then
