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=""
AC_MSG_CHECKING([whether to build support for the Xft extension])
AC_ARG_ENABLE(
xft, [ --enable-xft enable support of the Xft extension [default=no]],
if test x$enableval = "xyes"; then
xft, [ --enable-xft enable support of the Xft extension [default=yes]])
: ${enableval="yes"}
if test x$enableval = "xyes"; then
AC_MSG_RESULT([yes])
AC_CHECK_LIB(Xft, XftFontOpenXlfd,
@ -133,11 +134,9 @@ AC_ARG_ENABLE(
)
)
else
else
AC_MSG_RESULT([no])
fi,
AC_MSG_RESULT([no])
)
fi
if test x$XFT = "xyes"; then
AC_DEFINE(XFT,1,Enable support of the Xft extension)
fi