Download M4 Source Macro Index Page

ac_prog_dvipdf

Synopsis

AC_PROG_DVIPDF

Description

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

Author

Mathieu Boretti <boretti@bss-network.com>

Last Modified

2005-01-21

M4 Source Code

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