2010-02-09 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Check for ft2build.h.
This commit is contained in:
parent
62509f0434
commit
660960d697
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2010-02-09 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* configure.ac: Check for ft2build.h.
|
||||||
|
|
||||||
2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* kern/ieee1275/openfw.c (grub_halt): Try executing "poweroff".
|
* kern/ieee1275/openfw.c (grub_halt): Try executing "poweroff".
|
||||||
|
|
10
configure.ac
10
configure.ac
|
@ -679,6 +679,16 @@ if test x"$grub_mkfont_excuse" = x ; then
|
||||||
freetype_cflags=`freetype-config --cflags`
|
freetype_cflags=`freetype-config --cflags`
|
||||||
freetype_libs=`freetype-config --libs`
|
freetype_libs=`freetype-config --libs`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test x"$grub_mkfont_excuse" = x ; then
|
||||||
|
# Check for freetype libraries.
|
||||||
|
SAVED_CFLAGS="$CFLAGS"
|
||||||
|
CFLAGS="$CFLAGS $freetype_cflags"
|
||||||
|
AC_CHECK_HEADERS([ft2build.h], [],
|
||||||
|
[grub_mkfont_excuse=["need freetype2 headers"]])
|
||||||
|
CFLAGS="$SAVED_CFLAGS"
|
||||||
|
fi
|
||||||
|
|
||||||
if test x"$enable_grub_mkfont" = xyes && test x"$grub_mkfont_excuse" != x ; then
|
if test x"$enable_grub_mkfont" = xyes && test x"$grub_mkfont_excuse" != x ; then
|
||||||
AC_MSG_ERROR([grub-mkfont was explicitly requested but can't be compiled])
|
AC_MSG_ERROR([grub-mkfont was explicitly requested but can't be compiled])
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue