Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yue Lu <hacklu.newborn@gmail.com>
To: Ivan Shmakov <oneingray@gmail.com>
Cc: bug-hurd@gnu.org, gdb-patches@sourceware.org
Subject: Re: [patch] for mig check in GDB's configure
Date: Sat, 04 May 2013 08:29:00 -0000	[thread overview]
Message-ID: <CAB8fV=j=sdO6DRTxBe8JxQ0kpSQxrL41y=zJ6EEOVP7xHXY+tA@mail.gmail.com> (raw)
In-Reply-To: <87txmkxlu6.fsf@violet.siamics.net>

Hi!

thanks for your review.

On Fri, May 3, 2013 at 8:57 PM, Ivan Shmakov <oneingray@gmail.com> wrote:
>         A few minor points.
>

I have update this patch after your feedback.

From b50f9b2f9ab1792ad584d07c9d2da3c5857d82fe Mon Sep 17 00:00:00 2001
From: hacklu <hacklu.newborn@gmail.com>
Date: Sat, 4 May 2013 16:17:25 +0800
Subject: [PATCH] Ensure MIG is available On GNU Hurd

    * configure.ac: Ensure MIG is available when building for GNU
    * Hurd.
    * configure: Regenerate.
---
 gdb/ChangeLog    |    5 +++++
 gdb/configure.ac |   11 +++++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 12254b7..4fa69ac 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-04  Yue Lu  <hacklu.newborn@gmail.com>
+
+       * configure.ac: Ensure MIG is available when building for GNU Hurd.
+       * configure: Regenerate.
+
 2013-04-30  Samuel Thibault  <samuel.thibault@gnu.org>

        * i386gnu-nat.c (CREG_OFFSET): New macro.
diff --git a/gdb/configure.ac b/gdb/configure.ac
index bb7fbdd..29c68b4 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.
+    AC_CHECK_TOOL(MIG, mig)
+    if test "$MIG" = "" ; then
+      AC_MSG_ERROR([MIG not found but required for $host])
+    fi
+    ;;
+esac

 # ---------------------- #
 # Checks for libraries.  #
--
1.7.0.4


-- 
Yue Lu (陆岳)


  parent reply	other threads:[~2013-05-04  8:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAB8fV=gfGtguD28FGa-A5DZT8jqvEA1AoaK4dO=cHMQcCVvB-w@mail.gmail.com>
2013-05-03  8:28 ` Thomas Schwinge
2013-05-03 10:44   ` 陆岳
     [not found]     ` <87txmkxlu6.fsf@violet.siamics.net>
2013-05-04  8:29       ` Yue Lu [this message]
2013-05-16 21:55         ` Thomas Schwinge
2013-05-17  5:30           ` Joel Brobecker
2013-05-17  6:34             ` Yue Lu
2013-05-17  7:00             ` Thomas Schwinge
2013-05-17  7:07               ` Joel Brobecker
2013-05-04 17:22     ` Doug Evans
2013-05-05  5:31       ` Yue Lu
2013-05-05 17:35         ` Doug Evans
2013-05-16 22:10           ` Thomas Schwinge
2013-05-03 14:51   ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAB8fV=j=sdO6DRTxBe8JxQ0kpSQxrL41y=zJ6EEOVP7xHXY+tA@mail.gmail.com' \
    --to=hacklu.newborn@gmail.com \
    --cc=bug-hurd@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=oneingray@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox