* configure.ac: The Loongson port requires grub-mkfont due to its

use of -DUSE_ASCII_FAILBACK.  Raise an error if it is not going to
be built.
This commit is contained in:
Colin Watson 2011-07-26 16:19:47 +01:00
parent 303b6246a3
commit 20168fcafe
2 changed files with 9 additions and 0 deletions

View file

@ -866,6 +866,9 @@ enable_grub_mkfont=yes
else
enable_grub_mkfont=no
fi
if test x"$enable_grub_mkfont" = xno && test "x$platform" = xloongson; then
AC_MSG_ERROR([loongson port needs grub-mkfont])
fi
AC_SUBST([enable_grub_mkfont])
AC_SUBST([freetype_cflags])
AC_SUBST([freetype_libs])