grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG][PATCH] configure.ac: Respect the configured freetype-config


From: David Michael
Subject: [BUG][PATCH] configure.ac: Respect the configured freetype-config
Date: Fri, 7 Jun 2013 14:04:59 -0400

Hi,

It seems that the configure script detects freetype-config in the
usual manner, but when this command is needed, it will only call a
hard-coded freetype-config.

Can something like this fix be applied to call the configured program?

Thanks.

David


=== modified file 'configure.ac'
--- configure.ac    2013-06-07 14:02:16 +0000
+++ configure.ac    2013-06-07 17:45:34 +0000
@@ -952,8 +952,8 @@

 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], [],



reply via email to

[Prev in Thread] Current Thread [Next in Thread]