mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Currently, no minimum go compiler version is required by the configure scripts. However, the go bindings actually will not build with some older versions of go. Add a check for a minimum go version of 1.11.1 in accordance with tools/golang/xenlight/go.mod. Signed-off-by: Nick Rosbrook <rosbrookn@ainfosec.com> Acked-by: George Dunlap <george.dunlap@citrix.com> Tested-by: Nick Rosbrook <rosbrookn@ainfosec.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Release-acked-by: Paul Durrant <paul@xen.org>
9 lines
201 B
Plaintext
9 lines
201 B
Plaintext
AC_DEFUN([AC_PROG_GO], [
|
|
dnl Check for the go compiler
|
|
AC_CHECK_TOOL([GO],[go],[no])
|
|
|
|
if test "$GO" != "no"; then
|
|
GOVERSION=`$GO version | cut -d " " -f 3 | sed "s/go//"`
|
|
fi
|
|
])
|