[PATCH] m4sugar: factor away _AS_ECHO_PREPARE.

2013-01-28 Thread Gary V. Vaughan
From: Gary V. Vaughan g...@gnu.org Following a recent discussion on bug-gnulib, Jim tells me not to use the ugly as_echo setting boilerplate in my scripts anymore, since printf has been available on every shell we care about for at least 5 if not 10 years. That affords us the opportunity to

Re: [PATCH] m4sugar: factor away _AS_ECHO_PREPARE.

2013-01-28 Thread Paul Eggert
This change would break gnulib's gl_CACHE_VAL_SILENT. Is there some way you can fix that? It's OK if we have to modify gl_CACHE_VAL_SILENT, it's just that we need to modify it in a way that'll work with both old and new Autoconf. Also, any such patch to Autoconf should update the documentation a

Re: [PATCH] m4sugar: factor away _AS_ECHO_PREPARE.

2013-01-28 Thread Gary V. Vaughan
Hi Paul, On 29 Jan 2013, at 06:13, Paul Eggert egg...@cs.ucla.edu wrote: This change would break gnulib's gl_CACHE_VAL_SILENT. Is there some way you can fix that? Sure, since gl_CACHE_VAL_SILENT is already using undocumented internals of Autoconf, how about: m4_pushdef([_AS_ECHO_N], [: ]) ...