diff --git a/configure.ac b/configure.ac index 9596ad38e..b093fdaca 100644 --- a/configure.ac +++ b/configure.ac @@ -643,6 +643,11 @@ AH_TEMPLATE([HAVE_XFT_UTF8],[Define if Xft library can handle utf8 encoding]) AC_SUBST(Xft_LIBS) AC_SUBST(Xft_CFLAGS) +if test x"$with_xft" = "no" || test x"$with_fontconfig" = "xno" || \ + test x"$have_freetype" = "xno"; then + AC_MSG_ERROR(["*** XFT/Fontconfig/Freetype not found. ***]) +fi + # ********* xpm problem_xpm=": Xpm library or header not found" diff --git a/dev-docs/INSTALL.md b/dev-docs/INSTALL.md index 9f8e67eb0..3a2840e34 100644 --- a/dev-docs/INSTALL.md +++ b/dev-docs/INSTALL.md @@ -23,17 +23,18 @@ system in use. ## Core dependencies * libevent-dev (>= 2.0) +* libfontconfig-dev +* libfreetype6-dev * libx11-dev +* libxext-dev +* libxft-dev * libxrandr-dev (>= 1.5) * libxrender-dev * libxt-dev -* libxft-dev ## Optional dependencies * asciidoctor -* libfontconfig-dev -* libfreetype6-dev * libfribidi-dev * libncurses5-dev * libpng-dev @@ -41,7 +42,6 @@ system in use. * librsvg-dev * libsm-dev * libxcursor-dev -* libxext-dev * libxi-dev * libxpm-dev * sharutils @@ -77,4 +77,4 @@ Release tarballs will come bundled with `./configure` already, hence: ``` As with most things, if the default options `./configure` chooses isn't -appropriate for your needs, see `./configure --help` for appropriate options. +appropriate for your needs, see `./configure --help` for appropriate options. \ No newline at end of file