summaryrefslogtreecommitdiff
path: root/Build/source/m4/kpse-harfbuzz-flags.m4
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/m4/kpse-harfbuzz-flags.m4')
-rw-r--r--Build/source/m4/kpse-harfbuzz-flags.m49
1 files changed, 5 insertions, 4 deletions
diff --git a/Build/source/m4/kpse-harfbuzz-flags.m4 b/Build/source/m4/kpse-harfbuzz-flags.m4
index e8fb50d0b1e..a6026fec163 100644
--- a/Build/source/m4/kpse-harfbuzz-flags.m4
+++ b/Build/source/m4/kpse-harfbuzz-flags.m4
@@ -6,13 +6,14 @@
# with or without modifications, as long as this notice is preserved.
# KPSE_HARFBUZZ_FLAGS
-# -----------------
+# -------------------
# Provide the configure options '--with-system-harfbuzz' (if in the TL tree).
#
# Set the make variables HARFBUZZ_INCLUDES and HARFBUZZ_LIBS to the CPPFLAGS and
-# LIBS required for the `-lpng' library in libs/harfbuzz/ of the TL tree.
+# LIBS required for the `-lharfbuzz' library in libs/harfbuzz/ of the TL tree.
AC_DEFUN([KPSE_HARFBUZZ_FLAGS],
[AC_REQUIRE([KPSE_FREETYPE2_FLAGS])[]dnl
+AC_REQUIRE([KPSE_GRAPHITE2_FLAGS])[]dnl
AC_REQUIRE([KPSE_ICU_FLAGS])[]dnl
_KPSE_LIB_FLAGS([harfbuzz], [harfbuzz], [],
[-IBLD/libs/harfbuzz/include], [BLD/libs/harfbuzz/libharfbuzz.a], [],
@@ -20,7 +21,7 @@ _KPSE_LIB_FLAGS([harfbuzz], [harfbuzz], [],
]) # KPSE_HARFBUZZ_FLAGS
# KPSE_HARFBUZZ_OPTIONS([WITH-SYSTEM])
-# ----------------------------------
+# ------------------------------------
AC_DEFUN([KPSE_HARFBUZZ_OPTIONS],
[m4_ifval([$1],
[AC_ARG_WITH([system-harfbuzz],
@@ -30,7 +31,7 @@ AC_DEFUN([KPSE_HARFBUZZ_OPTIONS],
]) # KPSE_HARFBUZZ_OPTIONS
# KPSE_HARFBUZZ_SYSTEM_FLAGS
-# ------------------------
+# --------------------------
AC_DEFUN([KPSE_HARFBUZZ_SYSTEM_FLAGS],
[AC_REQUIRE([_KPSE_CHECK_PKG_CONFIG])[]dnl
if $PKG_CONFIG harfbuzz; then