[Pkg-libvirt-commits] [libguestfs] 27/156: golang: Fix for out-of-tree builds

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 30 08:25:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository libguestfs.

commit 713efae1a66980dfb753a9c3f9ca12c2525cf01c
Author: Hilko Bengen <bengen at debian.org>
Date:   Thu Dec 12 21:06:22 2013 +0100

    golang: Fix for out-of-tree builds
    
    RWMJ:
    
    This is half of a downstream Debian patch to fix out-of-tree builds
    for golang.
    
    (cherry picked from commit a60212ee99de88591d060a95b30aa0e0cece5832)
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index de0e81c..a942778 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1465,7 +1465,7 @@ AS_IF([test "x$enable_golang" != "xno"],[
     AC_CHECK_PROG([GOLANG],[go],[go],[no])
     AS_IF([test "x$GOLANG" != "xno"],[
         AC_MSG_CHECKING([if $GOLANG is usable])
-        AS_IF([$GOLANG run golang/config-test.go 2>&AS_MESSAGE_LOG_FD],[
+        AS_IF([$GOLANG run $srcdir/golang/config-test.go 2>&AS_MESSAGE_LOG_FD],[
             AC_MSG_RESULT([yes])
 
             # Substitute some golang environment.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list