bug-hurd
[Top][All Lists]
Advanced

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

mig not being found


From: Alfred M. Szmidt
Subject: mig not being found
Date: Thu, 07 Apr 2005 22:11:08 +0200

If mig isn't found, the configure script just continues and pretends
to be happy.  If you then try to compile the Hurd, it will go into a
infinite loop.

OK to commit? 

2005-04-07  Alfred M. Szmidt  <ams@gnu.org>

        * configure.in: Error out if MiG couldn't be found.

--- configure.in        16 Feb 2003 00:57:50 +0100      1.35
+++ configure.in        07 Apr 2005 22:00:20 +0200      
@@ -87,6 +87,14 @@ AC_CHECK_TOOL(OBJCOPY, objcopy)
 AC_CHECK_TOOL(AR, ar)
 AC_CHECK_TOOL(RANLIB, ranlib)
 AC_CHECK_TOOL(MIG, mig)
+# Require MiG.
+if test x${MIG} = x; then
+  AC_MSG_ERROR([
+*** You need GNU MiG to compile the GNU Hurd, please see
+*** http://www.gnu.org/software/hurd/mig.html for further details, or
+*** download it directly from the main GNU server (ftp.gnu.org) or any
+*** GNU mirror.])
+fi
 
 dnl Let these propagate from the environment.
 AC_SUBST(CFLAGS) AC_SUBST(CPPFLAGS) AC_SUBST(LDFLAGS)




reply via email to

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