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