В Fri, 7 Jun 2013 14:35:10 -0400 David Michael <fedora....@gmail.com> пишет:
> Hi, > > On Fri, Jun 7, 2013 at 2:20 PM, Andrey Borzenkov <arvidj...@gmail.com> wrote: > > 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? > > In my case, I noticed this issue while attempting to cross-compile > GRUB for another system. It needs to use the cross-compiled freetype > configuration, but the build system has its native freetype-config > installed as well. Using a variable here allowed me to specify the > correct freetype-config as per the usual AC_CHECK_PROGS behavior. > I still do not understand it. AC_CHECK_PROG does not change behavior in case of cross-compilation, it simply finds first program in PATH. Could you explain you setup in more details and show config.log both with and without your patch? > This isn't a big problem since I am able to build on the target system > as well, but it would be nice to have working out of the box. > > Thanks. > > David _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel