diff --git a/configure.ac b/configure.ac index 3ff4615596..158f13bac1 100644 --- a/configure.ac +++ b/configure.ac @@ -1691,13 +1691,13 @@ fi 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) -AC_SUBST(HARFBUZZ_CFLAGS) -AC_SUBST(HARFBUZZ_LIBS) -AM_CONDITIONAL(BUILD_FONT_DEMO, [ test "x$have_harfbuzz" = xyes ]) +PKG_CHECK_MODULES(FONTDEMO, harfbuzz >= 0.9 pangoft2, build_font_demo=yes, build_font_demo=no) +AC_SUBST(FONTDEMO_CFLAGS) +AC_SUBST(FONTDEMO_LIBS) +AM_CONDITIONAL(BUILD_FONT_DEMO, [ test "x$build_font_demo" = xyes ]) ################################################## # Checks for gtk-doc and docbook-tools