xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun--- /tmp/configure.in	2010-05-19 13:29:03.000000000 +0200
2*4882a593Smuzhiyun+++ unix/configure.in	2010-05-19 13:42:05.000000000 +0200
3*4882a593Smuzhiyun@@ -526,13 +526,9 @@
4*4882a593Smuzhiyun 	found_xft="yes"
5*4882a593Smuzhiyun 	dnl make sure package configurator (xft-config or pkg-config
6*4882a593Smuzhiyun 	dnl says that xft is present.
7*4882a593Smuzhiyun-	XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || found_xft="no"
8*4882a593Smuzhiyun-	XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
9*4882a593Smuzhiyun-	if test "$found_xft" = "no" ; then
10*4882a593Smuzhiyun 	    found_xft=yes
11*4882a593Smuzhiyun 	    XFT_CFLAGS=`pkg-config --cflags xft fontconfig 2>/dev/null` || found_xft="no"
12*4882a593Smuzhiyun 	    XFT_LIBS=`pkg-config --libs xft fontconfig 2>/dev/null` || found_xft="no"
13*4882a593Smuzhiyun-	fi
14*4882a593Smuzhiyun 	AC_MSG_RESULT([$found_xft])
15*4882a593Smuzhiyun 	dnl make sure that compiling against Xft header file doesn't bomb
16*4882a593Smuzhiyun 	if test "$found_xft" = "yes" ; then
17