Add configure support for HarfBuzz.
* builds/unix/pkg.m4: New file.
* builds/unix/configure.raw: Search for libharfbuzz using
`pkg-config'.
Add `--without-harfbuzz' option.
* builds/unix/freetype-config.in, builds/unix/freetype2.in,
builds/unix/unix-def.in (freetype-config, freetype2.pc): Handle
HarfBuzz.
* docs/INSTALL.UNIX: Document interdependency of Freetype with
HarfBuzz.
diff --git a/docs/INSTALL.UNIX b/docs/INSTALL.UNIX
index 7175ca0..ad7bfcc 100644
--- a/docs/INSTALL.UNIX
+++ b/docs/INSTALL.UNIX
@@ -81,9 +81,27 @@
make
make install
+
+ 3.1 Interdependency with HarfBuzz
+ .................................
+
+ Note that there is a chicken-and-egg problem currently since the
+ HarfBuzz library (used by the auto-hinter to improve support of
+ OpenType fonts) depends on FreeType, which can be solved as
+ follows in case HarfBuzz is not yet installed on your system.
+
+ 1. Call FreeType's configure script with option
+ `--without-harfbuzz', then compile and install FreeType.
+
+ 2. Compile and install HarfBuzz.
+
+ 3. Call FreeType's configure script without option
+ `--without-harfbuzz', then compile and install FreeType again.
+
+
----------------------------------------------------------------------
-Copyright 2003-2007, 2013 by
+Copyright 2003-2007, 2013, 2014 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used,