Add more checks for the font features demo

The demo also uses PangoFt2 API.
This commit is contained in:
Emmanuele Bassi 2016-01-26 13:29:46 +00:00
parent c8686f0c47
commit 9267f73c55

View File

@ -1691,13 +1691,13 @@ fi
AM_CONDITIONAL(HAVE_COLORD, test "x$have_colord" = "xyes") AM_CONDITIONAL(HAVE_COLORD, test "x$have_colord" = "xyes")
################################################## ##################################################
# Check for harfbuzz # Check for harfbuzz and pangoft2
################################################## ##################################################
PKG_CHECK_MODULES(HARFBUZZ, harfbuzz >= 0.9, have_harfbuzz=yes, have_harfbuzz=no) PKG_CHECK_MODULES(FONTDEMO, harfbuzz >= 0.9 pangoft2, build_font_demo=yes, build_font_demo=no)
AC_SUBST(HARFBUZZ_CFLAGS) AC_SUBST(FONTDEMO_CFLAGS)
AC_SUBST(HARFBUZZ_LIBS) AC_SUBST(FONTDEMO_LIBS)
AM_CONDITIONAL(BUILD_FONT_DEMO, [ test "x$have_harfbuzz" = xyes ]) AM_CONDITIONAL(BUILD_FONT_DEMO, [ test "x$build_font_demo" = xyes ])
################################################## ##################################################
# Checks for gtk-doc and docbook-tools # Checks for gtk-doc and docbook-tools