tk/tk-8.6.5-fix-xft.patch

16 lines
702 B
Diff
Raw Normal View History

2013-08-15 15:26:25 +00:00
diff --git a/unix/configure.in b/unix/configure.in
2016-03-22 17:30:09 +00:00
index cb412af..abfd43b 100755
2013-08-15 15:26:25 +00:00
--- a/unix/configure.in
+++ b/unix/configure.in
2016-03-22 17:30:09 +00:00
@@ -479,8 +479,8 @@ if test $tk_aqua = no; then
2013-08-15 15:26:25 +00:00
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 2>/dev/null` || found_xft="no"
- XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
+ XFT_CFLAGS=`pkg-config --cflags xft freetype2 2>/dev/null` || found_xft="no"
+ XFT_LIBS=`pkg-config --libs xft freetype2 2>/dev/null` || found_xft="no"
fi
AC_MSG_RESULT([$found_xft])
dnl make sure that compiling against Xft header file doesn't bomb