* 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

@ -1,3 +1,9 @@
2011-07-26 Colin Watson <cjwatson@ubuntu.com>
* 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.
2011-07-26 Colin Watson <cjwatson@ubuntu.com>
* util/grub-install.in: Don't source grub-mkconfig_lib until after

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])