summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-04-25 20:39:23 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-04-25 20:39:23 +0200
commitb28e05e203e0739fa5db59c5af378b29eea7a232 (patch)
treed06bc47d2f15b11a9325b38917567ba817087db2
parent4e55e56252676ea4773023a08994c0f363844343 (diff)
Make sure mig is available
* configure.ac (MIG): Error out if MiG was not found.
-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