mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-16 10:30:41 +01:00
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.
This commit is contained in:
@@ -15,6 +15,10 @@ AC_PROG_INSTALL
|
|||||||
AC_PROG_SED
|
AC_PROG_SED
|
||||||
PKG_PROG_PKG_CONFIG
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
|
AC_PATH_TOOL(AR, ar)
|
||||||
|
AC_PATH_TOOL(RANLIB, ranlib)
|
||||||
|
AC_PATH_TOOL(STRIP, strip)
|
||||||
|
|
||||||
AC_PROG_CC_C99
|
AC_PROG_CC_C99
|
||||||
if test x"$ac_cv_prog_cc_c99" == x"no"; then
|
if test x"$ac_cv_prog_cc_c99" == x"no"; then
|
||||||
AC_MSG_ERROR([c99 compiler support required])
|
AC_MSG_ERROR([c99 compiler support required])
|
||||||
|
|||||||
Reference in New Issue
Block a user