+2013-08-16 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * configure.ac: Disable unifont and starfield if no freetype was found.
+
2013-08-16 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/posix_wrap/wchar.h: Fix wchar_t and mbstate_t conflict
enable_build_grub_mkfont=yes
else
enable_build_grub_mkfont=no
- starfield_excuse="No build-time grub-mkfont"
- FONT_SOURCE=
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])
starfield_excuse=
+if test x"$enable_build_grub_mkfont" = xno ; then
+ starfield_excuse="No build-time grub-mkfont"
+fi
+
if test x"$starfield_excuse" = x; then
for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu; do
done
done
+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])
fi