summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3b6a2a6d167..0976b665e66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3469,6 +3469,11 @@ if test "${HAVE_X11}" = "yes" && test "${HAVE_FREETYPE}" = "yes" \
fi
fi
+# The user explicitly asked for HarfBuzz, but it won't be used.
+if test "${with_harfbuzz}" == "yes" && test "$HAVE_HARFBUZZ" != "yes"; then
+ AC_MSG_ERROR([HarfBuzz wanted, but won't be used. Maybe some library files are missing?]);
+fi
+
### End of font-backend section.
AC_SUBST(FREETYPE_CFLAGS)