PR go/55969
[deliverable/binutils-gdb.git] / configure.ac
index 739cdc786cc4d143d4451d88cda3cc961709581b..f2be8abcc197d2d195a5e4fd953fae0821603dbc 100644 (file)
@@ -752,6 +752,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"
 
This page took 0.029141 seconds and 4 git commands to generate.