package/libxmlrpc: bump to version 1.39.12
[buildroot-gz.git] / package / libxmlrpc / 0003-fix-ar-ranlib-handling.patch
blob1e58d24780398600886d9b3743ea56012c2a3235
1 Fix detection of AR and RANLIB
3 The configure.in script assumes that ranlib and ar are necessarily
4 prefixed by ${ac_tool_prefix}, which is the value of --host. However,
5 it's not necessarily the case.
7 So instead, use AC_CHECK_TOOL to check for AR, and AC_PROG_RANLIB to
8 check for RANLIB.
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 Index: b/configure.in
13 ===================================================================
14 --- a/configure.in
15 +++ b/configure.in
16 @@ -621,10 +621,8 @@
17 BUILDDIR=$(pwd)
18 AC_SUBST(BUILDDIR)
20 -AR=${ac_tool_prefix}ar
21 -AC_SUBST([AR])
22 -RANLIB=${ac_tool_prefix}ranlib
23 -AC_SUBST([RANLIB])
24 +AC_CHECK_TOOL([AR], [ar])
25 +AC_PROG_RANLIB
27 dnl =======================================================================
28 dnl Output our results.