Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Termcap saga again



On Wed, 9 May 2001, Bart Schaefer wrote:

> On May 8,  7:25pm, Peter Stephenson wrote:
> } Subject: Re: Termcap saga again
> }
> } In that case I shall commit the following.
>
> Unfortunately, that has now broken my build on RedHat 5.2 and 6.2.  It
> appears that AC_CACHE_CHECK does *nothing* when ac_cv_header_curses_h
> is already set, so the AC_DEFINE(HAVE_CURSES_H) never happens.  In
> short, this patch works only if you configure from scratch without using
> a cache.
>

Works as designed :-) You are expected to test the value of cache variable
*after* AC_CACHE_CHECK if you need to take appropriate action. Anything
inside AC_CACHE_CHECK shuld do just that - check and set value of cache
variable.

-andrej



Messages sorted by: Reverse Date, Date, Thread, Author