octave-maintainers
[Top][All Lists]
Advanced

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

Re: build without gnuplot


From: Mike Miller
Subject: Re: build without gnuplot
Date: Tue, 24 Apr 2012 14:59:52 -0400

On Tue, Apr 24, 2012 at 2:37 PM, Svante Signell
<address@hidden> wrote:
> What about something like the below (has to be tested of course)
> [...]
> Don't know what happens if --enable-docs is given and gnuplot is missing
> though. Then both tests have to be combined.

Yeah, I can't test anything right now, give me a few hours and I'll be
able to, but something like

if test -n "$DOCDIR" && test -n "$warn_gnuplot"; then
  DOCDIR=
  warn_docs="some msg about disabling docs because gnuplot not available"
  AC_MSG_WARN([$warn_docs])
fi
AM_CONDITIONAL([AMCOND_BUILD_DOCS], [test -n "$DOCDIR"])

This should be able to go anywhere near the end of configure.ac where
the other warning blobs are.  The last line is the same as line 199
above, I think it's safe to call more than once, or make it a
relocation of line 199.

-- 
mike


reply via email to

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