+
+ AS_IF([test "x$enable_xft" = "xyes"], [
+ PKG_CHECK_MODULES(XFT, [xft],
+ [AC_DEFINE([USE_XFT], [1], [Use XFT])])
+ ])
+fi
+
+if test "$use_japanese" != no; then
+ AC_CHECK_PROG(NKF, nkf, yes)
+ if test x"$NKF" != x"yes"; then
+ AC_MSG_ERROR([nkf is not found. Please install nkf.])
+ fi