summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure7
-rw-r--r--configure.ac7
3 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9097d0f8755..2da6790a93e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-10-23 Ian Lance Taylor <iant@google.com>
+
+ * configure.ac: Disable the Go frontend on systems where it is known
+ to not work.
+ * configure: Regenerate.
+
2014-10-23 Richard Biener <rguenther@suse.de>
* Makefile.def: Add libcpp build module and dependencies.
diff --git a/configure b/configure
index 9b337dc4e31..ce984b1f528 100755
--- a/configure
+++ b/configure
@@ -3413,6 +3413,13 @@ case "${target}" in
;;
esac
+# Disable the go frontend on systems where it is known to not work.
+case "${target}" in
+*-*-darwin* | *-*-cygwin* | *-*-mingw* | *-*-aix*)
+ unsupported_languages="$unsupported_languages go"
+ ;;
+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
diff --git a/configure.ac b/configure.ac
index f96e0f278d8..abfd038fa0b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -772,6 +772,13 @@ case "${target}" in
;;
esac
+# Disable the go frontend on systems where it is known to not work.
+case "${target}" in
+*-*-darwin* | *-*-cygwin* | *-*-mingw* | *-*-aix*)
+ unsupported_languages="$unsupported_languages go"
+ ;;
+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