Skip to content

Commit

Permalink
PR go/55969
Browse files Browse the repository at this point in the history
	* configure.ac: Disable libgo on some systems where it does not
	work.
	* configure: Rebuild.
  • Loading branch information
Ian Lance Taylor committed Feb 5, 2013
1 parent 79a97aa commit 51ab11f
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2013-02-05 Ian Lance Taylor <[email protected]>

PR go/55969
* configure.ac: Disable libgo on some systems where it does not
work.
* configure: Rebuild.

2013-02-05 Alan Modra <[email protected]>

* configure: Regenerate after syncing config/.
Expand Down
17 changes: 17 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
17 changes: 17 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 51ab11f

Please sign in to comment.