* configure.ac (FREETYPE): Change AC_CHECK_PROGS to AC_CHECK_TOOLS.
(freetype_cflags,freetype_libs): Change freetype-config to $FREETYPE.
This commit is contained in:
parent
0301a8b36d
commit
a5b55c4b32
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-06-15 David Michael <fedora.dm0@gmail.com>
|
||||
|
||||
* configure.ac (FREETYPE): Change AC_CHECK_PROGS to AC_CHECK_TOOLS.
|
||||
(freetype_cflags,freetype_libs): Change freetype-config to $FREETYPE.
|
||||
|
||||
2013-06-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* tests/grub_script_eval.in: Really add the eval test.
|
||||
|
|
|
@ -944,7 +944,7 @@ fi
|
|||
|
||||
if test x"$grub_mkfont_excuse" = x ; then
|
||||
# Check for freetype libraries.
|
||||
AC_CHECK_PROGS([FREETYPE], [freetype-config])
|
||||
AC_CHECK_TOOLS([FREETYPE], [freetype-config])
|
||||
if test "x$FREETYPE" = x ; then
|
||||
grub_mkfont_excuse=["need freetype2 library"]
|
||||
fi
|
||||
|
@ -952,8 +952,8 @@ fi
|
|||
|
||||
if test x"$grub_mkfont_excuse" = x ; then
|
||||
# Check for freetype libraries.
|
||||
freetype_cflags=`freetype-config --cflags`
|
||||
freetype_libs=`freetype-config --libs`
|
||||
freetype_cflags=`$FREETYPE --cflags`
|
||||
freetype_libs=`$FREETYPE --libs`
|
||||
SAVED_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $freetype_cflags"
|
||||
AC_CHECK_HEADERS([ft2build.h], [],
|
||||
|
|
Loading…
Reference in a new issue