diff options
| author | Lars Ingebrigtsen | 2019-11-17 19:02:54 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-11-17 19:02:54 +0100 |
| commit | 3fdc36eecb3ab468eb0a55cc09a176ab503d31c3 (patch) | |
| tree | adcef10f0a4e7283ed9f9c737f5e7fb06604943a | |
| parent | 1c29ba034092660e73bce8c6ff459c75ff2c2d72 (diff) | |
| download | emacs-3fdc36eecb3ab468eb0a55cc09a176ab503d31c3.tar.gz emacs-3fdc36eecb3ab468eb0a55cc09a176ab503d31c3.zip | |
Error out on --with-harfbuzz without HarfBuzz support
* configure.ac: Error out if the user says --with-harfbuzz, but
HarfBuzz isn't available.
| -rw-r--r-- | configure.ac | 5 |
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" \ | |||
| 3469 | fi | 3469 | fi |
| 3470 | fi | 3470 | fi |
| 3471 | 3471 | ||
| 3472 | # The user explicitly asked for HarfBuzz, but it won't be used. | ||
| 3473 | if test "${with_harfbuzz}" == "yes" && test "$HAVE_HARFBUZZ" != "yes"; then | ||
| 3474 | AC_MSG_ERROR([HarfBuzz wanted, but won't be used. Maybe some library files are missing?]); | ||
| 3475 | fi | ||
| 3476 | |||
| 3472 | ### End of font-backend section. | 3477 | ### End of font-backend section. |
| 3473 | 3478 | ||
| 3474 | AC_SUBST(FREETYPE_CFLAGS) | 3479 | AC_SUBST(FREETYPE_CFLAGS) |