Download M4 Source Macro Index Page

ac_prog_gnuplot

Synopsis

AC_PROG_GNUPLOT

Description

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

Author

Mathieu Boretti <boretti@bss-network.com>

Last Modified

2005-01-21

M4 Source Code

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