[pacman-dev] [PATCH] Fix cross-compilation issues with git and libfetch
dpmcgee at gmail.com
Fri Mar 26 03:30:36 CET 2010
On Thu, Mar 25, 2010 at 5:12 AM, Allan McRae <allan at archlinux.org> wrote:
> On 25/03/10 20:03, Matthias Lanzinger wrote:
>> This patch fixes 2 issues I encountered when cross-compiling pacman.
>> First is the test for libfetch which requires explicit linking to all
>> libraries libfetch depends on.
>> The other problem results from the AC_CHECK_PROGS test for git. This
>> test will stop configure with an error when cross-compiling.
>> The fix moves the call to AC_CHECK_PROG so that is only called of
>> --enable-git is actually set.
>> Signed-off-by: Matthias Lanzinger<mlaenz at gmail.com>
> Signed-off-by: Allan
> The only thing that might be a tiny concern is with --enable-git-version the
> configure output for the check looks like:
> checking whether to use git version if available... checking for git... git
> checking for .git/... yes
> which is a bit messy. But messy is better than broken!
Oh well, I can deal with it and I'm sure you can. Thanks for the patch.
More information about the pacman-dev