[pacman-dev] [PATCH] Fix cross-compilation issues with git and libfetch

Allan McRae allan at archlinux.org
Thu Mar 25 11:12:45 CET 2010

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!


More information about the pacman-dev mailing list