From c349a24f89c44f8f153d89c0cc6d554a642052e6 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 11 Dec 2006 17:39:00 +0000 Subject: [PATCH] * NEWS: Document changes with echo and printf, and the lack of limits on the total size of multi-line values of substituted variables. --- ChangeLog | 7 +++++++ NEWS | 23 +++++++++++++++++++---- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 97c60f18..1740dc88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-12-11 Paul Eggert + and Ralf Wildenhues + + * NEWS: Document changes with echo and printf, and the lack + of limits on the total size of multi-line values of substituted + variables. + 2006-12-10 Paul Eggert * doc/autoconf.texi (Writing Autoconf Input): Renamed from diff --git a/NEWS b/NEWS index 4f2ded1e..1a1cb4bb 100644 --- a/NEWS +++ b/NEWS @@ -8,10 +8,25 @@ due to lack of ancient systems to test it on. ** config.status now uses awk instead of sed for most substitutions, for speed. - It is now documented that Makefile.in should not contain - overlapping variable occurrences, e.g., @VAR1@VAR2@. Autoconf's - behavior was always iffy in such cases, and the awk implementation - has changed the behavior. + + - As a side effect multi-line values of substituted variables are + no longer limited in total size, though for portability each line + should not exceed the POSIX length limit for text lines. + + - It is now documented that Makefile.in should not contain + overlapping variable occurrences, e.g., @VAR1@VAR2@. + Autoconf's behavior was always iffy in such cases, and the + awk implementation has changed the behavior. + +** Many uses of 'echo' have been rewritten so that Autoconf-generated + scripts have fewer problems with strings or file names containing + embedded special characters such as backslash or leading "-". This + was implemented by using `printf '%s\n' "$foo"' instead of `echo + "$foo"' when printf works. Due to the implementation technique + used, Autoconf-generated scripts now run considerably more slowly + on ancient implementations lacking printf. However, this should + not be a problem, since Autoconf-generated scripts in practice + invariably find a more-modern shell these days. * Major changes in Autoconf 2.61 (2006-11-17) -- 2.11.4.GIT