summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac12
1 files changed, 1 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 3a4cb0f3..8cfe7793 100644
--- a/configure.ac
+++ b/configure.ac
@@ -197,17 +197,7 @@ AC_SUBST(WARN_CFLAGS)
AM_CONDITIONAL(HAVE_LIBMATESLAB, [test $have_libmateslab = yes])
-dnl
-dnl Check for Xft version 2; we build in extra functionality to the font capplet
-dnl when we have it.
-dnl
-xft_modules=
-if $PKG_CONFIG --exists xft ; then
- xft_modules="xft"
- AC_DEFINE(HAVE_XFT2,,[Define if Xft functionality is available])
-fi
-
-PKG_CHECK_MODULES(FONT_CAPPLET, $COMMON_MODULES $xft_modules fontconfig)
+PKG_CHECK_MODULES(FONT_CAPPLET, $COMMON_MODULES pango)
PKG_CHECK_MODULES(FONT_VIEWER, $COMMON_MODULES $xft_modules freetype2)
PKG_CHECK_MODULES(AT_CAPPLET, $COMMON_MODULES)