Download M4 Source Macro Index Page

ac_prog_ps2pdf

Synopsis

AC_PROG_PS2PDF

Description

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

Author

Mathieu Boretti <boretti@bss-network.com>

Last Modified

2005-01-21

M4 Source Code

AC_DEFUN([AC_PROG_PS2PDF],[
AC_CHECK_PROGS(ps2pdf,[ps2pdf14 ps2pdf13 ps2pdf12 ps2pdf],no)
export ps2pdf;
if test $ps2pdf = "no" ;
then
        AC_MSG_ERROR([Unable to find a ps2pdf application]);
fi
AC_SUBST(ps2pdf)
])