From 229c7d7d0b2cbad645b1bb6077bafe3b60bc2f0b Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 25 Feb 2011 00:03:31 +0000 Subject: [PATCH] ALT-Fedora configure.in: fix xft detection (RH#677692) Based on incomplete tk-8.5.9-fix-xft.patch from Fedora --- tk/unix/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tk/unix/configure.in b/tk/unix/configure.in index 6456504fa..ea27f9b75 100644 --- a/tk/unix/configure.in +++ b/tk/unix/configure.in @@ -471,8 +471,8 @@ if test $tk_aqua = no; then XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no" if test "$found_xft" = "no" ; then found_xft=yes - XFT_CFLAGS=`pkg-config --cflags xft fontconfig 2>/dev/null` || found_xft="no" - XFT_LIBS=`pkg-config --libs xft fontconfig 2>/dev/null` || found_xft="no" + XFT_CFLAGS=`pkg-config --cflags xft freetype2 fontconfig 2>/dev/null` || found_xft="no" + XFT_LIBS=`pkg-config --libs xft freetype2 fontconfig 2>/dev/null` || found_xft="no" fi AC_MSG_RESULT([$found_xft]) dnl make sure that compiling against Xft header file doesn't bomb -- 2.33.0