В Fri, 7 Jun 2013 14:04:59 -0400 David Michael <fedora....@gmail.com> пишет:
> 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. > But FREETYPE cannot be anything than freetype-config, can it? Do you actually have situation when AC_CHECK_PROGS([FREETYPE], [freetype-config]) succeeds but call to freetype-config fails? > 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], [], > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel