This patch to libgo adds no-dist and -Wno-portability to AM_INIT_AUTOMAKE in configure.ac. Adding no-dist is consistent with other GCC libraries. Adding -Wno-portability removes some automake errors because libgo relies on GNU make. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline and 4.7 branch.
Ian
diff -r d1e87161acd3 libgo/configure.ac --- a/libgo/configure.ac Wed Sep 19 21:33:54 2012 -0700 +++ b/libgo/configure.ac Thu Sep 20 09:25:12 2012 -0700 @@ -19,7 +19,7 @@ AC_CANONICAL_SYSTEM target_alias=${target_alias-$host_alias} -AM_INIT_AUTOMAKE([1.9.3 no-define foreign -Wall]) +AM_INIT_AUTOMAKE([1.9.3 no-define foreign no-dist -Wall -Wno-portability]) AH_TEMPLATE(PACKAGE, [Name of package]) AH_TEMPLATE(VERSION, [Version number of package])