This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/xawtv3.git tree:

Subject: Improve xft library detection
Author:  Dmitry Butskoy <[email protected]>
Date:    Wed Feb 2 14:23:48 2011 -0300

Since the version of 2.2.0, the libXft library pkgconfig no more implies
auto-include of fontconfig (and others) libraries and headers. The code
authors say that they no more link with additional libraries directly.
Users should link "manually" if they use the correspond libraries in
their code.

Xawtv uses both xft and fontconfig libraries, but checks now for "xft"
only. To link and compile properly with Xft >= 2.2.0 we should do
"pkgconfig fontconfig" as well.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

---

http://git.linuxtv.org/xawtv3.git?a=commitdiff;h=1c5dcf18f3bcb6eb80fd2d9e371804b202c71362

diff --git a/configure.ac b/configure.ac
index d128e31..b07a95e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -145,9 +145,9 @@ if test "$no_x" != "yes"; then
   XFT_LIBS=""
   if test "$enable_xft" != "no"; then
     AC_MSG_CHECKING(for Xft)
-    if test -x "`which pkg-config 2>/dev/null`" && pkg-config xft; then
-      XFT_FLAGS="`pkg-config --cflags xft`"
-      XFT_LIBS="`pkg-config --libs xft`"
+    if test -x "`which pkg-config 2>/dev/null`" && pkg-config xft && 
pkg-config fontconfig; then
+      XFT_FLAGS="`pkg-config --cflags xft fontconfig`"
+      XFT_LIBS="`pkg-config --libs xft fontconfig`"
       AC_DEFINE(HAVE_XFT,1,"have xft")
       AC_MSG_RESULT(yes)
     else

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to