[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/01: Capture full path to GUILE_FOR_BUILD.
From: |
Andy Wingo |
Subject: |
[Guile-commits] 01/01: Capture full path to GUILE_FOR_BUILD. |
Date: |
Sun, 7 Aug 2016 11:29:23 +0000 (UTC) |
wingo pushed a commit to branch master
in repository guile.
commit bcc40bc1c7ee25808153b720aa38322c211623cc
Author: Andy Wingo <address@hidden>
Date: Sun Aug 7 13:26:18 2016 +0200
Capture full path to GUILE_FOR_BUILD.
* acinclude.m4: Capture full path to GUILE_FOR_BUILD. Fixes #22342.
---
acinclude.m4 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/acinclude.m4 b/acinclude.m4
index 6a1470f..70cb247 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])