bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] for mig check in GDB's configure


From: Thomas Schwinge
Subject: Re: [patch] for mig check in GDB's configure
Date: Thu, 16 May 2013 23:55:12 +0200
User-agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.4.1 (i486-pc-linux-gnu)

Hi!

Sorry for the delay.

On Sat, 4 May 2013 16:29:01 +0800, Yue Lu <hacklu.newborn@gmail.com> wrote:
>     * configure.ac: Ensure MIG is available when building for GNU
>     * Hurd.

After reviewing and testing it, I now checked in your patch (very minor
coding style and wording changes).  Congratulations to your first
contribution!  :-)

2013-05-16  Yue Lu  <hacklu.newborn@gmail.com>

        * configure.ac: Ensure MIG is available when building for GNU Hurd
        hosts.
        * configure: Regenerate.

Index: configure.ac
===================================================================
RCS file: /cvs/src/src/gdb/configure.ac,v
retrieving revision 1.203
diff -u -p -r1.203 configure.ac
--- configure.ac        10 May 2013 16:10:40 -0000      1.203
+++ configure.ac        16 May 2013 21:50:18 -0000
@@ -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.  #
Index: configure
===================================================================
RCS file: /cvs/src/src/gdb/configure,v
retrieving revision 1.391
diff -u -p -r1.391 configure
--- configure   10 May 2013 16:10:40 -0000      1.391
+++ configure   16 May 2013 21:50:20 -0000
[...]


Grüße,
 Thomas

Attachment: pgpUh0goQewMf.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]