1 dnl ---------------------------------------------------------------------------
2 dnl fig2dev: This program is needed for processing images. If not found,
3 dnl documentation can still be built, but without figures.
4 dnl ---------------------------------------------------------------------------
5 AC_DEFUN([GP_CHECK_FIG2DEV],
10 AC_ARG_WITH(fig2dev, [ --without-fig2dev Don't use fig2dev],[
11 if test "x$withval" = "xno"; then
15 AC_PATH_PROG(FIG2DEV,fig2dev)
16 if test -n "${FIG2DEV}"; then
20 if $have_fig2dev; then
22 ${FIG2DEV} -L ps > /dev/null <<EOF
32 1 3 0 1 0 7 50 0 -1 0.000 1 0.0000 3000 3750 270 270 3000 3750 3150 3975
38 AM_CONDITIONAL(ENABLE_FIGURES, $have_fig2dev)