diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 806a1da1..5d0ce2a3 100644 --- a/configure.ac +++ b/configure.ac @@ -89,7 +89,13 @@ 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], [no]) +AC_ARG_VAR([MIG], [Path to the mig tool]) + +if test x$MIG = xno +then + AC_MSG_WARN([mig was not found, we will not be able to build a kernel, only install headers. Install or build mig against them, and run configure again. If you already did so, perhaps you need to specify the path with MIG=]) +fi dnl Needed for the Automake option `subdir-objects'. AM_PROG_CC_C_O |