Hi again, here's a patch that adds a simple configure switch to select Uniscribe. I disabled Uniscribe support by default.
Similar switches for ICU and glib might be handy as well. Grigori
>From 7f0b6832cc17e76012d249c7ccb536da59aa35a3 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy <greg@blackbox> Date: Sat, 20 Aug 2011 18:34:23 +0200 Subject: [PATCH 1/2] Add Uniscribe configure toggle, disabled by default --- configure.ac | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index f42fb3c..82b5df1 100644 --- a/configure.ac +++ b/configure.ac @@ -71,6 +71,9 @@ if test "x$GCC" = "xyes"; then esac fi +AC_ARG_ENABLE([uniscribe], AS_HELP_STRING([--enable-uniscribe], + [enable uniscribe backend @<:@default=no@:>@])) + dnl ========================================================================== PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.16, have_glib=true, have_glib=false) @@ -157,7 +160,9 @@ AM_CONDITIONAL(HAVE_OT, $have_ot) dnl =========================================================================== -AC_CHECK_HEADERS(usp10.h windows.h, have_uniscribe=true, have_uniscribe=false) +if test x$enable_uniscribe = xyes; then + AC_CHECK_HEADERS(usp10.h windowsx.h, have_uniscribe=true, have_uniscribe=false) +fi if $have_uniscribe; then UNISCRIBE_CFLAGS= UNISCRIBE_LIBS="-lusp10 -lgdi32" -- 1.7.2.3
_______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz