From 9e53b62ecb05cd5bf4ce93c5b96bde3dece5fef2 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 30 Dec 2008 23:46:29 +0000 Subject: [PATCH] Define HAVE_OTF_GET_VARIATION_GLYPHS if libotf has the function OTF_get_variation_glyphs. --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.in b/configure.in index 2c5f39ef2a..ccd3ac33c0 100644 --- a/configure.in +++ b/configure.in @@ -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? -- 2.39.2