Skip to content

Commit

Permalink
configure.ac: remove --disable-xft
Browse files Browse the repository at this point in the history
XFT is now a core dependency and this option doesn't make any sense.

Fixes #667
  • Loading branch information
ThomasAdam committed Jun 4, 2022
1 parent f0ed978 commit 8332a19
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -537,28 +537,11 @@ fi
AC_SUBST(Xcursor_CFLAGS)
AC_SUBST(Xcursor_LIBS)

# ********* xft
problem_xft=""

AC_ARG_ENABLE(xft,
AS_HELP_STRING([--disable-xft],[disable Xft anti-aliased font rendering]),
[ if test x"$enableval" = xyes; then
with_xft="yes, check"
else
with_xft="no"
problem_xft=": Explicitly disabled"
fi ],
[
with_xft="not specified, check"
]
)

freetype_CFLAGS=""
freetype_LIBS=""
AH_TEMPLATE([HAVE_XFT],[Define if Xft library is used.])
AH_TEMPLATE([HAVE_XFT2],[Define if Xft 2 library is used.])
AH_TEMPLATE([HAVE_XFT_UTF8],[Define if Xft library can handle utf8 encoding])
if test ! x"$with_xft" = xno; then
AC_MSG_CHECKING([whether pkg-config could find freetype2])
if "${PKG_CONFIG}" --exists freetype2; then
AC_MSG_RESULT([yes])
Expand Down Expand Up @@ -641,7 +624,6 @@ if test ! x"$with_xft" = xno; then
fi
fi

fi
AC_SUBST(Xft_LIBS)
AC_SUBST(Xft_CFLAGS)

Expand Down

0 comments on commit 8332a19

Please sign in to comment.