dnl @synopsis ACLTX_PROG_LATEX2PNG([ACTION-IF-NOT-FOUND]) dnl dnl This macro find a latex2png application and set the variable dnl latex2png to the name of the application or to no if not found if dnl ACTION-IF-NOT-FOUND is not specified, configure fail when then dnl application is not found. dnl dnl @category LaTeX dnl @author Boretti Mathieu dnl @version 2006-07-16 dnl @license LGPL AC_DEFUN([ACLTX_PROG_LATEX2PNG],[ AC_CHECK_PROGS(latex2png,[latex2png],no) if test $latex2png = "no" ; then ifelse($#,0,[AC_MSG_ERROR([Unable to find the latex2png application])], $1) fi ])