From 4b4a210e8397a37446fe7229242868055af9cd81 Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Thu, 13 Apr 2017 09:07:49 +0200 Subject: [PATCH] configure: search for (a possibly prefixed) ar e.g. when cross compiling. Signed-off-by: Heiko Becker --- configure.in | 1 + make.tmpl.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index ae5baa5d5..2e5e015c8 100644 --- a/configure.in +++ b/configure.in @@ -84,6 +84,7 @@ AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_MKDIR_P AC_PROG_RANLIB +AC_CHECK_TOOL(AR, ar) AC_PATH_TOOL(CFLOW_CMD, cflow) AC_PATH_TOOL(CSCOPE_CMD, cscope) AC_PATH_TOOL(CHMOD, chmod) diff --git a/make.tmpl.in b/make.tmpl.in index a40eaaa15..cb5953a8a 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -44,7 +44,7 @@ EGREP = @EGREP@ GREP = @GREP@ SORT = @SORT@ WC = @WC@ -AR = ar +AR = @AR@ RM = rm -f PYTHON2 = @PYTHON2@