octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build without gnuplot


From: Svante Signell
Subject: Re: build without gnuplot
Date: Tue, 24 Apr 2012 17:51:34 +0200

On Tue, 2012-04-24 at 11:28 -0400, Ben Abbott wrote:
> Any autotools experts know how difficult it would be to check to see if 
> gnuplot exists before trying to build the docs ?
> 
>       https://savannah.gnu.org/bugs/index.php?36255

Do you use configure.ac?

— Macro: AC_CHECK_PROG (variable, prog-to-check-for, value-if-found,
[value-if-not-found], [path = ‘$PATH’], [reject])
        Check whether program prog-to-check-for exists in path. If it is
        found, set variable to value-if-found, otherwise to
        value-if-not-found, if given. Always pass over reject (an
        absolute file name) even if it is the first found in the search
        path; in that case, set variable using the absolute file name of
        the prog-to-check-for found that is not reject. If variable was
        already set, do nothing. Calls AC_SUBST for variable. The result
        of this test can be overridden by setting the variable variable
        or the cache variable ac_cv_prog_variable. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]