# HG changeset patch # User Kenichi Handa # Date 1230680789 0 # Node ID 2e96171086be36daf83092f9716191eb38861fc3 # Parent e377e3a76c3b1d86261b80cb48c8d8f0939b1b69 Define HAVE_OTF_GET_VARIATION_GLYPHS if libotf has the function OTF_get_variation_glyphs. diff -r e377e3a76c3b -r 2e96171086be configure.in --- a/configure.in Tue Dec 30 23:42:40 2008 +0000 +++ b/configure.in Tue Dec 30 23:46:29 2008 +0000 @@ -1891,6 +1891,13 @@ 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?