[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gl_CACHE_VAL_SILENT won't work correctly with upcoming autoconf 2.70
From: |
Bruno Haible |
Subject: |
Re: gl_CACHE_VAL_SILENT won't work correctly with upcoming autoconf 2.70 |
Date: |
Fri, 13 Mar 2020 22:54:16 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-174-generic; KDE/5.18.0; x86_64; ; ) |
[CCing address@hidden]
Hi Zack,
> Abstractly, the best thing to do about this would be to remove the
> macro and change all of its uses to be AC_CACHE_CHECK, with proper
> messaging, instead.
The point is that we don't want messaging for some tests. Most people
find the 'configure' output already long enough.
The underlying problem in Autoconf is the following: There is a macro
AC_CACHE_CHECK that does messaging, and a macro AC_CACHE_VAL whose
main purpose is to make a cache lookup, not messaging, but it
nevertheless outputs '(cached)' strings occasionally.
Please fix this correctly
- either by having AC_CACHE_VAL set some shell variable that
AC_CACHE_CHECK will inspect after executing AC_CACHE_VAL,
- or by introducing a macro that is like AC_CACHE_VAL but produces
no spurious output.
Then AC_CACHE_VAL or the other macro is properly silent, and then no
gl_CACHE_VAL_SILENT will be needed any more.
Bruno
- Re: gl_CACHE_VAL_SILENT won't work correctly with upcoming autoconf 2.70,
Bruno Haible <=