blob: 450eaf91dafa5743a82d416b42f0881c2ec68233 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
dnl @synopsis AC_PROG_LATEX
dnl
dnl This macro test if latex is installed. If latex is installed, it
dnl set $latex to the right value
dnl
dnl @category LaTeX
dnl @author Mathieu Boretti <boretti@bss-network.com>
dnl @version 2005-01-21
dnl @license GPLWithACException
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)
])
|