dnl @synopsis AC_PROG_XELATEX dnl dnl This macro test if xelatex is installed. If xelatex is installed, it dnl set $xelatex to the right value dnl dnl @category LaTeX dnl @author Mathieu Boretti dnl @version 2005-01-21 dnl @license GPLWithACException AC_DEFUN([AC_PROG_XELATEX],[ AC_PATH_PROGS(xelatex,[xelatex],no) export xelatex; if test $xelatex = "no" ; then AC_MSG_ERROR([Unable to find a XeLaTeX application]); fi AC_SUBST(xelatex) ])