AC_DEFUN([AC_PROG_GNUPLOT],[ AC_REQUIRE([AC_EXEEXT])dnl AC_PATH_PROG(GNUPLOT, gnuplot$EXEEXT, nocommand) if test "$GNUPLOT" = nocommand; then AC_MSG_WARN([gnuplot not found in $PATH]) else AC_DEFINE([HAVE_GNUPLOT], [], [Define if gnuplot is present]) AC_SUBST(GNUPLOT) fi;dnl ])