summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 40e78a0..bd8a188 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,7 +86,12 @@ AC_CHECK_TOOL([AR], [ar])
AC_CHECK_TOOL([LD], [ld])
AC_CHECK_TOOL([NM], [nm])
-AC_CHECK_TOOL([MIG], [mig], [mig])
+AC_CHECK_TOOL([MIG], [mig], [:])
+
+if test "$MIG" = :
+then
+ AC_MSG_ERROR([The MiG generator is required to build GNU Mach])
+fi
dnl Needed for the Automake option `subdir-objects'.
AM_PROG_CC_C_O