]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Warn, not fail on whitespace-only precious variable differences.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 26 Mar 2008 05:55:22 +0000 (06:55 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 26 Mar 2008 05:55:22 +0000 (06:55 +0100)
commit4503a1da1157db572d37dc683fc78bd677594cac
tree79d919779f0023c763e45a6f8fc1accb27c3b0eb
parent5c55fb1f4db4ce31263d71744014eddde28071fd
Warn, not fail on whitespace-only precious variable differences.

* lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Output
precious variable differences less ambiguous with `ugly-quotes'.
If their settings differ only in whitespace, do not fail, but
reuse the old value.
* tests/torture.at (AT_CHECK_AC_ARG_VAR): Extend macro to allow
an optional status and expected-warning argument.  Fix m4
quotation for initial value.
(AC_ARG_VAR): Also test for whitespace-only differences, and
that the old value is retained in this case.
* doc/autoconf.texi (Setting Output Variables): Document this.
* NEWS: Update.
Report and initial patch by Paolo Bonzini.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
NEWS
doc/autoconf.texi
lib/autoconf/general.m4
tests/torture.at