Download M4 Source Macro Index Page

ac_prog_pdflatex

Synopsis

AC_PROG_PDFLATEX

Description

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

Author

Mathieu Boretti <boretti@bss-network.com>

Last Modified

2005-01-21

M4 Source Code

AC_DEFUN([AC_PROG_PDFLATEX],[
AC_CHECK_PROGS(pdflatex,[pdflatex],no)
export pdflatex;
if test $pdflatex = "no" ;
then
        AC_MSG_ERROR([Unable to find a PDFLaTeX application]);
fi
AC_SUBST(pdflatex)
])