[pango] Fix Xft detection
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Fix Xft detection
- Date: Thu, 23 Aug 2012 15:51:26 +0000 (UTC)
commit 145f5e161cad5e711cf9907b3a1cdec19e9942e7
Author: Behdad Esfahbod <behdad behdad org>
Date: Thu Aug 23 10:59:03 2012 -0400
Fix Xft detection
configure.in | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index bb2dfd0..444fb57 100644
--- a/configure.in
+++ b/configure.in
@@ -231,10 +231,6 @@ AM_CONDITIONAL(CROSS_COMPILING, [test $cross_compiling = yes])
have_harfbuzz=false
PKG_CHECK_MODULES(HARFBUZZ, harfbuzz >= 0.9.3, have_harfbuzz=true, AC_MSG_RESULT([no]))
AM_CONDITIONAL(HAVE_HARFBUZZ, $have_harfbuzz)
-if ! $have_harfbuzz; then
- have_freetype=false
- have_xft=false
-fi
#
# Check for fontconfig
@@ -264,6 +260,7 @@ AM_CONDITIONAL(HAVE_FREETYPE, $have_freetype)
#
# Checks for Xft/XRender
#
+have_xft=false
if $have_freetype ; then
PKG_CHECK_MODULES(XFT, xft >= 2.0.0 xrender, have_xft=true, AC_MSG_RESULT([no]))
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]