[gtk+] Add more checks for the font features demo



commit 9267f73c5597e287a6f0872cfd1038a9951bed09
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Jan 26 13:29:46 2016 +0000

    Add more checks for the font features demo
    
    The demo also uses PangoFt2 API.

 configure.ac |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3ff4615..158f13b 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]