Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Termcap saga again
- X-seq: zsh-workers 14273
- From: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: Termcap saga again
- Date: Wed, 9 May 2001 09:19:17 +0400 (MSD)
- In-reply-to: <1010509050330.ZM15052@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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