diff options
author | Gary V. Vaughan <gary@gnu.org> | 2013-01-28 10:44:45 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2013-01-29 16:47:48 +0700 |
commit | 2b59b6f8a79b8bf77e178ff4e5aa0ede433d39cf (patch) | |
tree | 36462f9e7d254e88968a82bfac61611d012b4f99 /NEWS | |
parent | bea5177adc0c924fe7483509a5e38a6d49319fcb (diff) | |
download | autoconf-2b59b6f8a79b8bf77e178ff4e5aa0ede433d39cf.tar.gz |
m4sugar: factor away _AS_ECHO_PREPARE.
"printf '%s\n' ..." has been a fine replacement for plain "echo"
for at least 5 years (probably more like 10), even with most
museum-piece shells.
* lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Remove.
(_AS_SHELL_SANITIZE): Keep as_nl setting originally from
_AS_ECHO_PREPARE here where it more properly belongs.
(AS_ECHO, AS_ECHO_N): Use printf unconditionally.
* doc/autoconf.texi (Limitations of Shell Builtins): Document
preference for 'printf' over working around 'echo' bugs.
* NEWS: Updated.
Reported by Jim Meyering.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -8,6 +8,10 @@ GNU Autoconf NEWS - User visible changes. ** Older version of automake and aclocal (< 1.8) are no longer supported by autoreconf. +** Use of printf is now recommended instead of working around bugs in + echo. Macros AS_ECHO and AS_ECHO_N now expand unconditionally to + "printf '%s\n'" and "printf %s". + ** Macros - New macro AC_C__GENERIC. |