From 6639411ad1c310ee6e5b5825277318d2d45e0ab6 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 5 Feb 2013 22:39:30 +0000 Subject: PR go/55969 * configure.ac: Disable libgo on some systems where it does not work. * configure: Rebuild. --- configure | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'configure') diff --git a/configure b/configure index e669aa0ef2..caa34cae8f 100755 --- a/configure +++ b/configure @@ -3413,6 +3413,23 @@ case "${target}" in ;; esac +# Disable libgo for some systems where it is known to not work. +# For testing, you can easily override this with --enable-libgo. +if test x$enable_libgo = x; then + case "${target}" in + *-*-darwin*) + # PR 46986 + noconfigdirs="$noconfigdirs target-libgo" + ;; + *-*-cygwin* | *-*-mingw*) + noconfigdirs="$noconfigdirs target-libgo" + ;; + *-*-aix*) + noconfigdirs="$noconfigdirs target-libgo" + ;; + esac +fi + # Default libgloss CPU subdirectory. libgloss_dir="$target_cpu" -- cgit v1.2.1