From 3ab1178d54029745219d67e6c305df4d7564e278 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Thu, 24 Jul 2014 17:19:59 -0400 Subject: [PATCH] build: grab full paths to host tools This ensures that make will work even if PATH has changed, which is often the case when cross-compiling. Fixes cross-compiled builds when integrated into Bitcoin's repo. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 3cc58dea20..c6ed81fcac 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,10 @@ AC_PROG_INSTALL AC_PROG_SED PKG_PROG_PKG_CONFIG +AC_PATH_TOOL(AR, ar) +AC_PATH_TOOL(RANLIB, ranlib) +AC_PATH_TOOL(STRIP, strip) + AC_PROG_CC_C99 if test x"$ac_cv_prog_cc_c99" == x"no"; then AC_MSG_ERROR([c99 compiler support required])