From 9267f73c5597e287a6f0872cfd1038a9951bed09 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 26 Jan 2016 13:29:46 +0000 Subject: [PATCH] Add more checks for the font features demo The demo also uses PangoFt2 API. --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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