]> git.eshelyaron.com Git - emacs.git/commitdiff
Error out on --with-harfbuzz without HarfBuzz support
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 17 Nov 2019 18:02:54 +0000 (19:02 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 17 Nov 2019 18:02:54 +0000 (19:02 +0100)
* configure.ac: Error out if the user says --with-harfbuzz, but
HarfBuzz isn't available.

configure.ac

index 3b6a2a6d167b6541131744d6bcddc92590b7917c..0976b665e66d9337dec92c30d1643a6149adf70e 100644 (file)
@@ -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)