From 840ce4c2d9381e340c3239d104933fea85fff3e5 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Mon, 1 Oct 2012 17:37:00 +0200 Subject: shaper: add UCDN support Add explicit support for UCDN, without relying on any HarfBuzz integration. This finally allows easy usage of HarfBuzz without glib, ICU, or some other big bloated library! --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a9f9071..0d24c35 100644 --- a/configure.ac +++ b/configure.ac @@ -73,6 +73,10 @@ PKG_CHECK_MODULES([HARFBUZZ], harfbuzz >= 0.7.0, [ ], [harfbuzz=false]) fi +if test x$harfbuzz = xtrue; then + AC_SEARCH_LIBS([ucdn_get_unicode_version], [ucdn], AC_DEFINE(CONFIG_UCDN, 1, [use ucdn])) +fi + if test x$enable_enca != xno; then PKG_CHECK_MODULES([ENCA], enca, [ CFLAGS="$CFLAGS $ENCA_CFLAGS" -- cgit v1.2.3