configure changes for Go version string format change

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-02-19 17:20:08 +00:00
commit f617317ab5

View file

@ -2016,7 +2016,7 @@ else
GOGCC=true
else
AC_MSG_CHECKING([whether Go ($GO) version is too old])
go_version=`$GO -V | sed -e 's/.*version \([[0-9]]*\).*/\1/'`
go_version=`$GO -V | sed -e 's/.*version.* \([[0-9]]*\).*/\1/'`
go_min_version=7077
if test "$go_version" -lt $go_min_version; then
AC_MSG_RESULT([yes - minimum version is $go_min_version])