guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 04/07: Capture full path to GUILE_FOR_BUILD.


From: Andy Wingo
Subject: [Guile-commits] 04/07: Capture full path to GUILE_FOR_BUILD.
Date: Sun, 7 Aug 2016 21:24:31 +0000 (UTC)

wingo pushed a commit to branch stable-2.0
in repository guile.

commit be8be776df4dd77112b5d9b88610cc9b67a68645
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 8ef6e99..0643fe1 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -564,6 +564,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])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]