summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-08-07 13:26:18 +0200
committerAndy Wingo <wingo@pobox.com>2016-08-07 13:26:18 +0200
commitbcc40bc1c7ee25808153b720aa38322c211623cc (patch)
tree52089de5714bb48a45c0e2b53c597cc38ed9e27e /acinclude.m4
parent978229a52afd2fd21f79d62e5493e2f9570f77cf (diff)
Capture full path to GUILE_FOR_BUILD.
* acinclude.m4: Capture full path to GUILE_FOR_BUILD. Fixes #22342.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 6a1470f24..70cb247aa 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -557,6 +557,8 @@ AC_DEFUN([GUILE_CHECK_GUILE_FOR_BUILD], [
if test "$GUILE_FOR_BUILD" = "not-found"; then
AC_MSG_ERROR([a native Guile $PACKAGE_VERSION is required to cross-build Guile])
fi
+ else
+ GUILE_FOR_BUILD=$(which "$GUILE_FOR_BUILD" || echo "$GUILE_FOR_BUILD")
fi
AC_MSG_CHECKING([guile for build])
AC_MSG_RESULT([$GUILE_FOR_BUILD])