--- configure.ac.link 2011-07-06 15:08:41.000000000 +0800 +++ configure.ac 2011-07-06 15:08:58.000000000 +0800 @@ -97,7 +97,7 @@ if test "x$is_win32" = "xno" && test "x`uname -s`" != "xDarwin"; then AC_PATH_XTRA if test "x$no_x" = "x" ; then - TR_LIBS="$X_PRE_LIBS $X_LIBS -lX11 -lXi -lXext -lXmu -lXt $X_EXTRA_LIBS $TR_LIBS" + TR_LIBS="$X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS $TR_LIBS" fi fi