diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2013-05-16 21:54:34 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2013-05-16 21:54:34 +0000 |
commit | 036c3acbab525e5125bf2d1f98cb041ed95e21d5 (patch) | |
tree | 0d2bc90b74fc27257dff40a62b8d327bb07a8727 /gdb/configure.ac | |
parent | 997b26e88c671e48527144e80536e206d655f685 (diff) | |
download | gdb-036c3acbab525e5125bf2d1f98cb041ed95e21d5.zip gdb-036c3acbab525e5125bf2d1f98cb041ed95e21d5.tar.gz gdb-036c3acbab525e5125bf2d1f98cb041ed95e21d5.tar.bz2 |
gdb/
2013-05-16 Yue Lu <hacklu.newborn@gmail.com>
* configure.ac: Ensure MIG is available when building for GNU Hurd
hosts.
* configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 3e95c25..c3f79ec 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -486,8 +486,15 @@ AC_CHECK_TOOL(AR, ar) AC_CHECK_TOOL(DLLTOOL, dlltool) AC_CHECK_TOOL(WINDRES, windres) -# Needed for GNU/Hurd. -AC_CHECK_TOOL(MIG, mig) +case $host_os in + gnu*) + # Needed for GNU Hurd hosts. + AC_CHECK_TOOL(MIG, mig) + if test x"$MIG" = x; then + AC_MSG_ERROR([MIG not found but required for $host hosts]) + fi + ;; +esac # ---------------------- # # Checks for libraries. # |