make xft support default on

This commit is contained in:
Dana Jansens 2002-08-02 08:08:06 +00:00
parent 79916c273d
commit 76451a1346

View file

@ -116,8 +116,9 @@ dnl Check for Xft extension support and proper library files.
XFT="" XFT=""
AC_MSG_CHECKING([whether to build support for the Xft extension]) AC_MSG_CHECKING([whether to build support for the Xft extension])
AC_ARG_ENABLE( AC_ARG_ENABLE(
xft, [ --enable-xft enable support of the Xft extension [default=no]], xft, [ --enable-xft enable support of the Xft extension [default=yes]])
if test x$enableval = "xyes"; then : ${enableval="yes"}
if test x$enableval = "xyes"; then
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
AC_CHECK_LIB(Xft, XftFontOpenXlfd, AC_CHECK_LIB(Xft, XftFontOpenXlfd,
@ -133,11 +134,9 @@ AC_ARG_ENABLE(
) )
) )
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi, fi
AC_MSG_RESULT([no])
)
if test x$XFT = "xyes"; then if test x$XFT = "xyes"; then
AC_DEFINE(XFT,1,Enable support of the Xft extension) AC_DEFINE(XFT,1,Enable support of the Xft extension)
fi fi