Newer
Older
Handbook / configuration / include / ac_prog_pdflatex.m4
dnl @synopsis AC_PROG_PDFLATEX
dnl
dnl This macro test if pdflatex is installed. If pdflatex is installed,
dnl it set $pdflatex 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_PDFLATEX],[
AC_PATH_PROGS(pdflatex,[pdflatex],no)
export pdflatex;
if test $pdflatex = "no" ;
then
	AC_MSG_ERROR([Unable to find a PDFLaTeX application]);
fi
AC_SUBST(pdflatex)
])