summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2015-12-27 17:08:31 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2015-12-27 17:08:31 +0000
commit926cd79383db18f325adfbc24be8bb4fd32f06b9 (patch)
treeb714037115b62a7db83c09cba724de4f097c863e /configure.ac
parentTranslations. PO template update. (diff)
downloadinkscape-926cd79383db18f325adfbc24be8bb4fd32f06b9.tar.gz
inkscape-926cd79383db18f325adfbc24be8bb4fd32f06b9.zip
Apply Tav/suv patch to replace Pango OT functions with Harfbuzz
Fixed bugs: - https://launchpad.net/bugs/1488159 (bzr r14549)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fa97807b6..373430efe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -729,6 +729,15 @@ if test "x$with_glibmm_2_32" = "xyes"; then
AC_DEFINE(WITH_GLIBMM_2_32,1,[Build with Glibmm 2.32 or higher])
fi
+dnl pango with harfbuzz?
+PKG_CHECK_MODULES(HARFBUZZ, pango >= 1.31.1 harfbuzz >= 0.9.3, with_harfbuzz=yes, with_harfbuzz=no)
+
+if test "x$with_harfbuzz" = "xyes"; then
+ AC_DEFINE(WITH_HARFBUZZ,1,[Link with harfbuzz])
+ INKSCAPE_LIBS="$HARFBUZZ_LIBS $INKSCAPE_LIBS"
+ INKSCAPE_CFLAGS="$HARFBUZZ_CFLAGS $INKSCAPE_CFLAGS"
+fi
+
dnl *********************************
dnl Allow experimental GTK+3 build
dnl *********************************