Date: Sat, 26 Feb 2000 03:22:21 -0500
   From: Roland McGrath <[EMAIL PROTECTED]>

   That looks fine, though you should match `*-*-gnu*' for the configuration.
   Mark Kettenis is in charge of gdb for hurd and will take care of getting
   the fix put into gdb.

It is probably easier to not conditionalize the check for MiG on the
host triplet.  AC_CHECK_TOOL isn't really expensive.  I'll check in
the following patch once it is approved.

Mark


2000-02-26  Mark Kettenis  <[EMAIL PROTECTED]>

        Make cross-compilation for the Hurd more friendly.
        From Jeff Bailey <[EMAIL PROTECTED]>:
        * configure.in: Use AC_CHECK_TOOL to find MiG.
        * Makefile.in (MIG): New variable.
        * config/i386/i386gnu.mh (MIG): Remove.
        * configure: Regenerated.


Index: gdb/configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.7
diff -u -r1.7 configure.in
--- gdb/configure.in    2000/02/24 08:16:26     1.7
+++ gdb/configure.in    2000/02/26 13:31:55
@@ -77,6 +77,9 @@
 AC_CHECK_TOOL(RANLIB, ranlib, :)
 AC_PROG_YACC
 
+dnl MiG is needed for the Hurd.
+AC_CHECK_TOOL(MIG, mig)
+
 AC_ARG_PROGRAM
 
 AC_TYPE_SIGNAL
Index: gdb/Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.8
diff -u -r1.8 Makefile.in
--- gdb/Makefile.in     2000/02/24 08:16:26     1.8
+++ gdb/Makefile.in     2000/02/26 13:31:57
@@ -59,6 +59,7 @@
 RANLIB = @RANLIB@
 DLLTOOL = @DLLTOOL@
 WINDRES = @WINDRES@
+MIG = @MIG@
 
 # If the user configured GDB to include the TUI, the name of the tui
 # library goes here.
Index: gdb/config/i386/i386gnu.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386gnu.mh,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 i386gnu.mh
--- gdb/config/i386/i386gnu.mh  1999/04/16 01:34:18     1.1.1.1
+++ gdb/config/i386/i386gnu.mh  2000/02/26 13:31:57
@@ -12,7 +12,6 @@
 msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;'
 
 # ick
-MIG = mig
 MIGCOM = $(MIG) -cc cat - /dev/null
 
 # Reply servers need special massaging of the code mig generates, to make

Reply via email to