Download M4 Source Macro Index Page

ac_prog_latex

Synopsis

AC_PROG_LATEX

Description

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

Author

Mathieu Boretti <boretti@bss-network.com>

Last Modified

2005-01-21

M4 Source Code

AC_DEFUN([AC_PROG_LATEX],[
AC_CHECK_PROGS(latex,[latex elatex lambda],no)
export latex;
if test $latex = "no" ;
then
        AC_MSG_ERROR([Unable to find a LaTeX application]);
fi
AC_SUBST(latex)
])