diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-02-09 17:57:57 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-02-09 18:00:10 +0100 |
commit | cfaf1849ecbdfb0bdf0fc7312271d25bb32ba38d (patch) | |
tree | d8bdf548adf274c1e797f9f2baaad2842d7693e7 /configure.ac | |
parent | 0e48e14e50ab765c957f593e42567e627bb53f8d (diff) | |
download | gnumach-cfaf1849ecbdfb0bdf0fc7312271d25bb32ba38d.tar.gz gnumach-cfaf1849ecbdfb0bdf0fc7312271d25bb32ba38d.tar.bz2 gnumach-cfaf1849ecbdfb0bdf0fc7312271d25bb32ba38d.zip |
Warn about missing mig
* configure.ac (MIG): Do not default to mig, and warn when this is
missing. Advertise the MIG variable.
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 |