From 9cbdf69fdc3554a5d3c1bc8c3a0fbe7e3c182254 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 7 Dec 2014 21:53:17 +0000 Subject: [PATCH] Correctly detect Go1 during configure --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 4633f8ed0..40eeb5a18 100644 --- a/configure.ac +++ b/configure.ac @@ -2297,7 +2297,7 @@ else go_version=$($GO $GOVERSIONOPTION | sed -e 's/go version //') AC_MSG_CHECKING([whether go version is too old]) case $go_version in - go1.0*) + go1.0* | go1 ) AC_MSG_RESULT([yes - minimum version is 1.1]) GO= GOOPT="-intgosize 32" @@ -2312,7 +2312,7 @@ else ;; esac case $go_version in - go1.0* | go1.1*) + go1.0* | go1 | go1.1*) GOOPT="$GOOPT -use-shlib" ;; go1.2*)