Add AS_LITERAL_WORD_IF.
commit07263c965a03c979f4712c6c5cfe9243911af0f9
authorEric Blake <eblake@redhat.com>
Tue, 16 Mar 2010 21:51:23 +0000 (16 15:51 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 2 Jul 2010 17:35:34 +0000 (2 11:35 -0600)
treeb38381b95621f2b1d42ed44aa334d55b0107d844
parentbe4bf08802b79244f184dfd8dffa0fd5901df8f2
Add AS_LITERAL_WORD_IF.

* lib/m4sugar/m4sh.m4 (_AS_LITERAL_IF): Also reject shell quoting
characters as non-literal, and provide way to reject space.
(AS_LITERAL_WORD_IF): New macro.
* doc/autoconf.texi (Polymorphic Variables) <AS_LITERAL_IF>:
Document new macro.  Fix example to match reality.
* NEWS: Document change and new macro.
* tests/m4sh.at (AS@&t@_LITERAL_IF): Update test.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
NEWS
doc/autoconf.texi
lib/m4sugar/m4sh.m4
tests/m4sh.at