* doc/autoconf.texi (Setting Output Variables): Mention that

@VAR1@VAR2 has unspecified behavior.  Problem reported by
Ralf Wildenhues.
* NEWS: Mention this.
This commit is contained in:
Paul Eggert 2006-11-27 22:47:33 +00:00
parent 6c4b6b50d8
commit 96945d9c02
3 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,10 @@
2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Setting Output Variables): Mention that
@VAR1@VAR2 has unspecified behavior. Problem reported by
Ralf Wildenhues.
* NEWS: Mention this.
* Makefile.am: Put only a single '#' into the copyright notice,
so that it's also present in the output file. Standardize wording
in makefile copyright notices to match GNU coding standards.

4
NEWS
View File

@ -1,6 +1,10 @@
* Major changes in Autoconf 2.61a (??)
** 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.
* Major changes in Autoconf 2.61 (2006-11-17)

View File

@ -8349,6 +8349,9 @@ or more makefiles). This means that @code{AC_OUTPUT}
replaces instances of @samp{@@@var{variable}@@} in input files with the
value that the shell variable @var{variable} has when @code{AC_OUTPUT}
is called. The value can contain newlines.
Variable occurrences should not overlap: e.g., an input file should
not contain @samp{@@@var{var1}@@@var{var2}@@} if @var{var1} and @var{var2}
are variable names.
The substituted value is not rescanned for more output variables;
occurrences of @samp{@@@var{variable}@@} in the value are inserted
literally into the output file. (The algorithm uses the special marker