1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

Define HAVE_OTF_GET_VARIATION_GLYPHS if libotf has

the function OTF_get_variation_glyphs.
This commit is contained in:
Kenichi Handa 2008-12-30 23:46:29 +00:00
parent c19cab20a1
commit 9e53b62ecb

View File

@ -1891,6 +1891,13 @@ if test "${HAVE_FREETYPE}" = "yes"; then
HAVE_LIBOTF=no)
if test "$HAVE_LIBOTF" = "yes"; then
AC_DEFINE(HAVE_LIBOTF, 1, [Define to 1 if using libotf.])
AC_CHECK_LIB(otf, OTF_get_variation_glyphs,
HAVE_OTF_GET_VARIATION_GLYPHS=yes,
HAVE_OTF_GET_VARIATION_GLYPHS=no)
if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then
AC_DEFINE(HAVE_OTF_GET_VARIATION_GLYPHS, 1,
[Define to 1 if libotf has OTF_get_variation_glyphs.])
fi
fi
fi
dnl FIXME should there be an error if HAVE_FREETYPE != yes?