autoconf: Go Compiler

1 
1 5.10.9 Go Compiler Characteristics
1 ----------------------------------
1 
1 Autoconf provides basic support for the Go programming language when
1 using the `gccgo' compiler (there is currently no support for the `6g'
1 and `8g' compilers).
1 
1  -- Macro: AC_PROG_GO ([COMPILER-SEARCH-LIST])
1      Find the Go compiler to use.  Check whether the environment
1      variable `GOC' is set; if so, then set output variable `GOC' to its
1      value.
1 
1      Otherwise, if the macro is invoked without an argument, then
1      search for a Go compiler named `gccgo'.  If it is not found, then
1      as a last resort set `GOC' to `gccgo'.
1 
1      This macro may be invoked with an optional first argument which, if
1      specified, must be a blank-separated list of Go compilers to
1      search for.
1 
1      If output variable `GOFLAGS' was not already set, set it to `-g
1      -O2'.  If your package does not like this default, `GOFLAGS' may
1      be set before `AC_PROG_GO'.
1