mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 15:51:36 +00:00
4d5b38f0c9
Right now, this just initializes the library and loads a font into memory, preloading a given set of characters (specified by unicode values).
15 lines
445 B
Text
15 lines
445 B
Text
AC_ARG_ENABLE(freetype,
|
|
AS_HELP_STRING([--disable-freetype], [disable freetype support]))
|
|
if test "x$enable_freetype" != "xno"; then
|
|
if test "x$PKG_CONFIG" != "x"; then
|
|
PKG_CHECK_MODULES([FREETYPE], [freetype2], HAVE_FREETYPE=yes, HAVE_FREETYPE=no)
|
|
fi
|
|
else
|
|
HAVE_FREETYPE=no
|
|
FREETYPE_LIBS=
|
|
fi
|
|
AC_SUBST(FREETYPE_LIBS)
|
|
|
|
if test "x$HAVE_FREETYPE" == "xyes"; then
|
|
AC_DEFINE(HAVE_FREETYPE, 1, [Define if you have the freetype library])
|
|
fi
|