[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config
From: |
David Michael |
Subject: |
Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config |
Date: |
Mon, 10 Jun 2013 17:05:39 -0400 |
Hi,
On Sat, Jun 8, 2013 at 12:00 AM, Andrey Borzenkov <address@hidden> wrote:
>> 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?
Sorry, I meant to say that it allows me to manually specify the path
to the proper freetype-config script. You are correct that configure
detects the system's native script by default, since it appears first
in $PATH.
I was referring to the behavior of overriding the AC_CHECK_PROGS
variable with configure arguments or environment variables. The patch
allows:
FREETYPE=/cross-stuff/bin/freetype-config ./configure ...
or
./configure FREETYPE=/cross-stuff/bin/freetype-config ...
which will then build the grub-mkfont utility with the proper system's
libraries.
Thanks.
David
- [BUG][PATCH] configure.ac: Respect the configured freetype-config, David Michael, 2013/06/07
- Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config, Andrey Borzenkov, 2013/06/07
- Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config, David Michael, 2013/06/07
- Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config, Andrey Borzenkov, 2013/06/08
- Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config, Paul Menzel, 2013/06/09
- Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config,
David Michael <=
- Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config, David Michael, 2013/06/11
- Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config, Andrey Borzenkov, 2013/06/11
- Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config, David Michael, 2013/06/11
- Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config, Andrey Borzenkov, 2013/06/11
- Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config, David Michael, 2013/06/11
- Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/06/15