]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* configure.ac: Avoid some annoying error messages if freetype-config
authorYves Blusseau <blusseau@zetam.org>
Thu, 16 Sep 2010 15:07:42 +0000 (17:07 +0200)
committerYves Blusseau <blusseau@zetam.org>
Thu, 16 Sep 2010 15:07:42 +0000 (17:07 +0200)
    program is not found.

ChangeLog
configure.ac

index 050b74a3f079d4bdc88becfdb0f6dc4df176bd49..2d204338e8a56460374ca973b9339db81f921c9c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-16  Yves Blusseau  <blusseau@zetam.org>
+
+       * configure.ac: Avoid some annoying error messages if freetype-config
+       program is not found.
+
 2010-09-16  Colin Watson  <cjwatson@ubuntu.com>
 
        Support RAID on virtio devices, and others.
index 10723987bfd8041dacec0533de73ea3e1b294a57..57df640b81f0a962386675de587db3e68bccbcad 100644 (file)
@@ -796,12 +796,12 @@ if test x"$grub_mkfont_excuse" = x ; then
   if test "x$FREETYPE" = x ; then
     grub_mkfont_excuse=["need freetype2 library"]
   fi
-  freetype_cflags=`freetype-config --cflags`
-  freetype_libs=`freetype-config --libs`
 fi
 
 if test x"$grub_mkfont_excuse" = x ; then
   # Check for freetype libraries.
+  freetype_cflags=`freetype-config --cflags`
+  freetype_libs=`freetype-config --libs`
   SAVED_CPPFLAGS="$CPPFLAGS"
   CPPFLAGS="$CPPFLAGS $freetype_cflags"
   AC_CHECK_HEADERS([ft2build.h], [],