[Top][All Lists]

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

Re: play nice with AC_CACHE_CHECK

From: Simon Josefsson
Subject: Re: play nice with AC_CACHE_CHECK
Date: Tue, 28 Feb 2006 15:56:56 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> 1) readline.m4 gives different results with cached reruns: for example,
> on x86_64-unknown-linux-gnu:
> ./configure -C
>         -> LIBREADLINE="-lreadline -lncurses"
> ./config.status --recheck
>         -> LIBREADLINE="-lreadline"
> This is because the commands to set the cache variable
> `gl_cv_lib_readline' also adjust LIBREADLINE and LTLIBREADLINE.
> The patch below fixes that by (ab)using the cache variable to hold the
> test result contents, making the COMMANDS-TO-SET-IT argument of the
> AC_CACHE_CHECK macro side-effect free.  Do you think the cache variable
> should be renamed (for users keeping the cache over the update; not that
> it was working well before anyway)?

Thanks, Ralf.  I couldn't find copyright papers for GNULIB for you.
Have you signed them?  I can send them off-list if you want.

reply via email to

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