1 # Check whether any of the mandatory modules are not present, and
2 # print error messages in case. The mandatory list is built using
3 # --with-* arguments when invoking configure.
5 AC_DEFUN([AST_CHECK_MANDATORY],
7 AC_MSG_CHECKING([for mandatory modules: ${ac_mandatory_list}])
9 for i in ${ac_mandatory_list}; do
11 if test "x${a}" = "x1" ; then continue; fi
12 if test ${err} = "0" ; then AC_MSG_RESULT(fail) ; fi
14 eval "a=\${${i}_OPTION}"
16 AC_MSG_NOTICE([*** The $i installation appears to be missing or broken.])
17 AC_MSG_NOTICE([*** Either correct the installation, or run configure])
18 AC_MSG_NOTICE([*** including --without-${a}.])
21 if test $err = 1 ; then exit 1; fi