From 271df70e9be94077c3a2ec764560ae7e3e1656e6 Mon Sep 17 00:00:00 2001 From: rathnor Date: Mon, 18 Nov 2002 02:55:36 +0000 Subject: missing HAVE_XFT_UTF8_STRING test if --enable-xft was given --- configure.in | 22 +++++++++++++--------- 1 file 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( AC_MSG_RESULT([no]) XFT=false ) + AC_CHECK_LIB(Xft, XftDrawStringUtf8, + LIBS="$LIBS -lXft" + AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"), + ) else AC_MSG_RESULT([no]) XFT=false fi, AC_CHECK_LIB(Xft, XftFontOpen, - LIBS="$LIBS -lXft" - XFT=true - AC_DEFINE(USE_XFT, 1, "antialias support"), - AC_MSG_RESULT([no]) - XFT=false - ) + LIBS="$LIBS -lXft" + XFT=true + AC_DEFINE(USE_XFT, 1, "antialias support"), + AC_MSG_RESULT([no]) + XFT=false + ) AC_CHECK_LIB(Xft, XftDrawStringUtf8, - LIBS="$LIBS -lXft" - AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"), - ) + LIBS="$LIBS -lXft" + AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"), + ) ) AM_CONDITIONAL(XFT, test x$XFT = xtrue) -- cgit v0.11.2