diff options
author | Ian Lance Taylor <iant@google.com> | 2014-01-21 11:18:55 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2014-01-21 11:18:55 -0800 |
commit | 3785454a87eb2d4eaafcf0439cdc3da10efcbc02 (patch) | |
tree | fc7143888da680372f265f3edfd7f87e52bc8eca /configure.ac | |
parent | cc650e692e3e1201092d99a34a04e3af11ee2347 (diff) | |
download | swig-3785454a87eb2d4eaafcf0439cdc3da10efcbc02.tar.gz |
[Go] Add support for Go 1.3, not yet released.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index f048ccda5..03677f90d 100644 --- a/configure.ac +++ b/configure.ac @@ -1997,6 +1997,7 @@ if test x"${GOBIN}" = xno -o x"${with_alllang}" = xno ; then GOC= GO1=false GO12=false + GO13=false GOGCC=false GOOPT= GOVERSIONOPTION= @@ -2011,6 +2012,7 @@ else GOGCC=false GO1=false GO12=false + GO13=false GOOPT= GOVERSIONOPTION= if test -n "$GO" ; then @@ -2050,12 +2052,14 @@ else esac case $go_version in go1.0* | go1.1*) - GO12=false GOOPT="$GOOPT -use-shlib" ;; - *) + go1.2*) GO12=true ;; + *) + GO13=true + ;; esac else GOC=`echo $GO | sed -e 's/g/c/'` @@ -2071,6 +2075,7 @@ else fi GOOPT="-intgosize 32" GO12=false + GO13=false fi fi fi @@ -2080,6 +2085,7 @@ AC_SUBST(GO) AC_SUBST(GOC) AC_SUBST(GO1) AC_SUBST(GO12) +AC_SUBST(GO13) AC_SUBST(GOOPT) AC_SUBST(GOVERSIONOPTION) |