doc: Patterns in m4_pattern_forbid cause error, not warning
commita6b2acf29d66a1824572c27c2104d24a2b034790
authorEric Blake <eblake@redhat.com>
Thu, 22 Dec 2016 19:03:21 +0000 (22 13:03 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 22 Dec 2016 19:34:35 +0000 (22 13:34 -0600)
tree5a4a58c59c90f939b33ddf0f5ffbeba26a47bece
parent78ad1b0b2cea606bf401ed0262540b503db73e1c
doc: Patterns in m4_pattern_forbid cause error, not warning

The example text regarding a desired literal AC_DC in output
claimed that the result would trigger a warning if one does
not use creative quoting; but in reality, autoconf's use of
m4_pattern_forbid to reserve the entire AC_ namespace makes
it a hard error.  Reword the section to mention the use of
m4_pattern_allow() as the fix, and beef up the example to
better demonstrate the problem.

* doc/autoconf.texi (Autoconf Language): Improve AC_DC example.
Reported by Gavin Smith <gavinsmith0123@gmail.com>.
Signed-off-by: Eric Blake <eblake@redhat.com>
doc/autoconf.texi