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@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 yes which is a bit messy. But messy is better than broken! Allan