Error out on --with-harfbuzz without HarfBuzz support
* configure.ac: Error out if the user says --with-harfbuzz, but HarfBuzz isn't available.
This commit is contained in:
parent
1c29ba0340
commit
3fdc36eecb
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue