diff options
| author | Kenichi Handa | 2008-12-30 23:46:29 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-12-30 23:46:29 +0000 |
| commit | 9e53b62ecb05cd5bf4ce93c5b96bde3dece5fef2 (patch) | |
| tree | eeab54ff9d3b6da11696f04b2612cde41df04a05 | |
| parent | c19cab20a1a9fe9b00f21fef3a3fc3c559ce0710 (diff) | |
| download | emacs-9e53b62ecb05cd5bf4ce93c5b96bde3dece5fef2.tar.gz emacs-9e53b62ecb05cd5bf4ce93c5b96bde3dece5fef2.zip | |
Define HAVE_OTF_GET_VARIATION_GLYPHS if libotf has
the function OTF_get_variation_glyphs.
| -rw-r--r-- | configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 2c5f39ef2a1..ccd3ac33c0a 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1891,6 +1891,13 @@ if test "${HAVE_FREETYPE}" = "yes"; then | |||
| 1891 | HAVE_LIBOTF=no) | 1891 | HAVE_LIBOTF=no) |
| 1892 | if test "$HAVE_LIBOTF" = "yes"; then | 1892 | if test "$HAVE_LIBOTF" = "yes"; then |
| 1893 | AC_DEFINE(HAVE_LIBOTF, 1, [Define to 1 if using libotf.]) | 1893 | AC_DEFINE(HAVE_LIBOTF, 1, [Define to 1 if using libotf.]) |
| 1894 | AC_CHECK_LIB(otf, OTF_get_variation_glyphs, | ||
| 1895 | HAVE_OTF_GET_VARIATION_GLYPHS=yes, | ||
| 1896 | HAVE_OTF_GET_VARIATION_GLYPHS=no) | ||
| 1897 | if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then | ||
| 1898 | AC_DEFINE(HAVE_OTF_GET_VARIATION_GLYPHS, 1, | ||
| 1899 | [Define to 1 if libotf has OTF_get_variation_glyphs.]) | ||
| 1900 | fi | ||
| 1894 | fi | 1901 | fi |
| 1895 | fi | 1902 | fi |
| 1896 | dnl FIXME should there be an error if HAVE_FREETYPE != yes? | 1903 | dnl FIXME should there be an error if HAVE_FREETYPE != yes? |