--- a/mk/linux/configure.ac +++ b/mk/linux/configure.ac @@ -63,6 +63,7 @@ AC_PATH_X if test "$no_x" != "yes"; then AC_DEFINE([X11_AVAILABLE], [1], [Defined if X11 is avilable]) + LIBS="$LIBS -lX11" else AC_MSG_ERROR("Please install X11 libraries and headers.") fi