blob: 892bd43f9c6d371ea7752b67a3e656cec086ed2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- a/configure.in
+++ b/configure.in
@@ -356,10 +356,10 @@
# If Xft is installed, then there will be a xft-config file on the current path
AC_MSG_CHECKING([for xft-config])
- XFTCONFIG=`which xft-config`
+ XFTCONFIG="${PKG_CONFIG:-pkg-config} xft"
XFT_CFLAGS=""
XFT_LIBS=""
- if test -x ${XFTCONFIG}; then
+ if ${XFTCONFIG} --exists; then
AC_MSG_RESULT([$XFTCONFIG])
XFT_CFLAGS=`${XFTCONFIG} --cflags`
XFT_LIBS=`${XFTCONFIG} --libs`
|