diff options
author | Ian Lance Taylor <ian@airs.com> | 2013-02-05 22:39:30 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2013-02-05 22:39:30 +0000 |
commit | a413f71ae575f76be8f210c85e0306a2322653d6 (patch) | |
tree | 3238d2c3293d6e9d9739c350bf29015cb1f4d567 | |
parent | 4d4ef6fd751ccdf80dbb1f7254113349cfd9b5ce (diff) | |
download | gdb-a413f71ae575f76be8f210c85e0306a2322653d6.zip gdb-a413f71ae575f76be8f210c85e0306a2322653d6.tar.gz gdb-a413f71ae575f76be8f210c85e0306a2322653d6.tar.bz2 |
PR go/55969
* configure.ac: Disable libgo on some systems where it does not
work.
* configure: Rebuild.
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | configure | 17 | ||||
-rw-r--r-- | configure.ac | 17 |
3 files changed, 41 insertions, 0 deletions
@@ -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/. @@ -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" diff --git a/configure.ac b/configure.ac index 739cdc7..f2be8ab 100644 --- a/configure.ac +++ b/configure.ac @@ -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" |