bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* gl_CACHE_VAL_SILENT won't work correctly with upcoming autoconf 2.70
@ 2020-03-13 20:57 Zack Weinberg
  2020-03-13 21:54 ` Bruno Haible
  0 siblings, 1 reply; 9+ messages in thread
From: Zack Weinberg @ 2020-03-13 20:57 UTC (permalink / raw)
  To: Gnulib bugs

I'm doing groundwork for the long-overdue release of autoconf 2.70,
and part of that is checking to make sure that various changes in
development trunk since 2.69 haven't broken third-party macros.  I
noticed that gnulib-common.m4 contains a macro, gl_CACHE_VAL_SILENT,
that attempts to make AC_CACHE_VAL not print " (cached)" by changing
the value of the shell variable $as_echo_n.  This has had no effect
with development autoconf's AC_CACHE_VAL since 2013 (!)  and since,
um, today, it will also trigger -Wobsolete warnings.

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.  This would only not be possible if there was ever
a gl_CACHE_VAL_SILENT invocation *nested inside* an AC_CACHE_CHECK
invocation -- which shouldn't be done anyway, since the entire thing
would be skipped if the outer test is cached.  However, reviewing the
various uses, they are complicated enough that I don't think I am the
best person to write that patch.  I may still attempt it ...
eventually ... but I have a whole bunch of other work to do to make
the release possible, and this particular problem is mostly cosmetic.

zw


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-03-14 14:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13 20:57 gl_CACHE_VAL_SILENT won't work correctly with upcoming autoconf 2.70 Zack Weinberg
2020-03-13 21:54 ` Bruno Haible
2020-03-13 22:04   ` Nick Bowler
2020-03-13 23:30     ` Paul Eggert
2020-03-14  0:27       ` Bruno Haible
2020-03-14  1:27       ` Nick Bowler
2020-03-14  1:11   ` Zack Weinberg
2020-03-14  2:49     ` debugging autoconf tests (was: gl_CACHE_VAL_SILENT) Bruno Haible
2020-03-14 14:06       ` Zack Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).