Download M4 Source Macro Index Page

ac_prog_mf

Synopsis

AC_PROG_MF

Description

This macro test if mf is installed. If mf is installed, it set $mf to the right value

Author

Mathieu Boretti <boretti@bss-network.com>

Last Modified

2005-01-21

M4 Source Code

AC_DEFUN([AC_PROG_MF],[
AC_CHECK_PROGS(mf,[mf mfw mf-nowin],no)
export mf;
if test $mf = "no" ;
then
        AC_MSG_ERROR([Unable to find a mf application]);
fi
AC_SUBST(mf)
])