--- wmakerconf-2.12/configure.ac~ 2015-10-22 09:35:39.470529297 +0800 +++ wmakerconf-2.12/configure.ac 2015-10-22 09:40:16.028093565 +0800 @@ -135,6 +135,7 @@ AC_PATH_PROG(wraster, get-wings-flags) if test -n "$wraster"; then WRASTERLIBS=`($wraster --ldflags --libs 2>/dev/null || $wraster --lflags --libs) | xargs` + WRASTERLIBS="$WRASTERLIBS -lX11" WRASTERINCLUDES=`$wraster --cflags` MKPREVIEW="mkpreview" OLD_LDFLAGS="$LDFLAGS"