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
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 ===================================================================
20 -AR=${ac_tool_prefix}ar
22 -RANLIB=${ac_tool_prefix}ranlib
24 +AC_CHECK_TOOL([AR], [ar])
27 dnl =======================================================================
28 dnl Output our results.