0780df
diff --git a/unix/configure.in b/unix/configure.in
0780df
index cb412af..abfd43b 100755
0780df
--- a/unix/configure.in
0780df
+++ b/unix/configure.in
0780df
@@ -479,8 +479,8 @@ if test $tk_aqua = no; then
0780df
 	XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
0780df
 	if test "$found_xft" = "no" ; then
0780df
 	    found_xft=yes
0780df
-	    XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
0780df
-	    XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
0780df
+	    XFT_CFLAGS=`pkg-config --cflags xft freetype2 2>/dev/null` || found_xft="no"
0780df
+	    XFT_LIBS=`pkg-config --libs xft freetype2 2>/dev/null` || found_xft="no"
0780df
 	fi
0780df
 	AC_MSG_RESULT([$found_xft])
0780df
 	dnl make sure that compiling against Xft header file doesn't bomb