aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in22
1 files changed, 13 insertions, 9 deletions
diff --git a/configure.in b/configure.in
index 66a13c4..ec59948 100644
--- a/configure.in
+++ b/configure.in
@@ -247,21 +247,25 @@ AC_ARG_ENABLE(
247 AC_MSG_RESULT([no]) 247 AC_MSG_RESULT([no])
248 XFT=false 248 XFT=false
249 ) 249 )
250 AC_CHECK_LIB(Xft, XftDrawStringUtf8,
251 LIBS="$LIBS -lXft"
252 AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"),
253 )
250 else 254 else
251 AC_MSG_RESULT([no]) 255 AC_MSG_RESULT([no])
252 XFT=false 256 XFT=false
253 fi, 257 fi,
254 AC_CHECK_LIB(Xft, XftFontOpen, 258 AC_CHECK_LIB(Xft, XftFontOpen,
255 LIBS="$LIBS -lXft" 259 LIBS="$LIBS -lXft"
256 XFT=true 260 XFT=true
257 AC_DEFINE(USE_XFT, 1, "antialias support"), 261 AC_DEFINE(USE_XFT, 1, "antialias support"),
258 AC_MSG_RESULT([no]) 262 AC_MSG_RESULT([no])
259 XFT=false 263 XFT=false
260 ) 264 )
261 AC_CHECK_LIB(Xft, XftDrawStringUtf8, 265 AC_CHECK_LIB(Xft, XftDrawStringUtf8,
262 LIBS="$LIBS -lXft" 266 LIBS="$LIBS -lXft"
263 AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"), 267 AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"),
264 ) 268 )
265) 269)
266AM_CONDITIONAL(XFT, test x$XFT = xtrue) 270AM_CONDITIONAL(XFT, test x$XFT = xtrue)
267 271