]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR go/55969
authorIan Lance Taylor <ian@airs.com>
Tue, 5 Feb 2013 22:39:30 +0000 (22:39 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 5 Feb 2013 22:39:30 +0000 (22:39 +0000)
* configure.ac: Disable libgo on some systems where it does not
work.
* configure: Rebuild.

ChangeLog
configure
configure.ac

index 0ff8e410077ea86f2227ea5fbc58f0fae53215eb..e22e8a0fb1d372b84e2dfe46b63d4e7c48b26008 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-02-05  Ian Lance Taylor  <iant@google.com>
+
+       PR go/55969
+       * configure.ac: Disable libgo on some systems where it does not
+       work.
+       * configure: Rebuild.
+
 2013-02-05  Alan Modra  <amodra@gmail.com>
 
        * configure: Regenerate after syncing config/.
index e669aa0ef2ea0ff86fea838f86a501433fe32e26..caa34cae8f208f6ff1e59afc4f7ed3002cc0546a 100755 (executable)
--- 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"
 
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"