Download M4 Source Macro Index Page

ac_prog_dvips

Synopsis

AC_PROG_DVIPS

Description

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

Author

Mathieu Boretti <boretti@bss-network.com>

Last Modified

2005-01-21

M4 Source Code

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