* configure.ac: Make unifont mandatory for powerpc-ieee1275.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-08-16 15:04:38 +02:00
parent 7b966834c5
commit b2e9d2761e
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2013-08-16 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Make unifont mandatory for powerpc-ieee1275.
2013-08-16 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Disable unifont and starfield if no freetype was found.

View File

@ -1010,8 +1010,8 @@ if test x"$grub_build_mkfont_excuse" = x ; then
else
enable_build_grub_mkfont=no
fi
if test x"$enable_build_grub_mkfont" = xno && ( test "x$platform" = xqemu || test "x$platform" = xloongson || test "x$platform" = xqemu_mips ); then
AC_MSG_ERROR([loongson port needs build-time grub-mkfont])
if test x"$enable_build_grub_mkfont" = xno && ( test "x$platform" = xqemu || test "x$platform" = xloongson || test "x$platform" = xqemu_mips || test "x$target_cpu"-"$platform" = xpowerpc-ieee1275 ); then
AC_MSG_ERROR([qemu, powerpc-ieee1275 and loongson ports needs build-time grub-mkfont])
fi
AC_SUBST([build_freetype_cflags])
@ -1062,8 +1062,8 @@ if test x"$enable_build_grub_mkfont" = xno ; then
FONT_SOURCE=
fi
if test "x$FONT_SOURCE" = x && ( test "x$platform" = xqemu || test "x$platform" = xloongson || test "x$platform" = xqemu_mips ); then
AC_MSG_ERROR([qemu and loongson ports need unifont])
if test "x$FONT_SOURCE" = x && ( test "x$platform" = xqemu || test "x$platform" = xloongson || test "x$platform" = xqemu_mips || test "x$target_cpu"-"$platform" = xpowerpc-ieee1275 ); then
AC_MSG_ERROR([qemu, powerpc-ieee1275 and loongson ports need unifont])
fi
AC_SUBST([FONT_SOURCE])