configure: remove freetype checks, we do not need freetype anymore

This commit is contained in:
Jon Trulson
2021-07-08 16:35:51 -06:00
parent 10eb1ef8e0
commit cc60fb8241
4 changed files with 8 additions and 37 deletions

View File

@@ -418,32 +418,6 @@ AC_CHECK_LIB(Xm, XmTextSetString, [XTOOLLIB="-lXm ${XTOOLLIB}"], ,
XTOOLLIB="${EXTRA_INCS} ${EXTRA_LIBS} ${X_EXTRA_LIBS} ${XTOOLLIB}"
AC_SUBST([XTOOLLIB])
dnl Check for freetype libraries/headers
AC_CHECK_TOOLS([FREETYPE_CONFIG], [freetype-config])
if test -z "$FREETYPE_CONFIG"; then
dnl freetype-config not available try pkg-config
AC_CHECK_TOOLS([FREETYPE_CONFIG], [pkg-config])
if test -z "$FREETYPE_CONFIG"; then
AC_MSG_ERROR([Missing freetype-config or pkg-config. Install freetype development headers and library.])
fi
dnl check specific package is available
PKG_CHECK_MODULES([FREETYPE_CHECK], [freetype2])
FREETYPE_CFLAGS=`$FREETYPE_CONFIG freetype2 --cflags`
AC_SUBST(FREETYPE_CFLAGS)
FREETYPE_LIBS=`$FREETYPE_CONFIG freetype2 --libs`
AC_SUBST(FREETYPE_LIBS)
else
dnl freetype-config is available
FREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags`
AC_SUBST(FREETYPE_CFLAGS)
FREETYPE_LIBS=`$FREETYPE_CONFIG --libs`
AC_SUBST(FREETYPE_LIBS)
fi
dnl figure out pam support
AC_CHECK_LIB(pam, pam_start,