missing HAVE_XFT_UTF8_STRING test if --enable-xft was given
This commit is contained in:
parent
401f95cb2e
commit
271df70e9b
1 changed files with 13 additions and 9 deletions
22
configure.in
22
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue