Fix underquoted example in manual.

* doc/autoconf.texi (Common Shell Constructs) <AS_TR_CPP>:
Properly m4-quote #.
* THANKS: Update spelling.
Reported by Matěj Týč.

Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
Eric Blake 2009-03-24 05:58:52 -06:00
parent abee382683
commit dbcfd3b29f
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2009-03-24 Eric Blake <ebb9@byu.net>
Fix underquoted example in manual.
* doc/autoconf.texi (Common Shell Constructs) <AS_TR_CPP>:
Properly m4-quote #.
* THANKS: Update spelling.
Reported by Matěj Týč.
2009-03-18 Eric Blake <ebb9@byu.net>
Manual: mention more expr pitfalls.

2
THANKS
View File

@ -232,7 +232,7 @@ Martin Koeppe mkoeppe@gmx.de
Martin Mokrejs mmokrejs@natur.cuni.cz
Martin Wilck martin@tropos.de
Martyn Johnson Martyn.Johnson@cl.cam.ac.uk
Matej Tyc matej.tyc@gmail.com
Matěj Týč matej.tyc@gmail.com
Matteo Frigo ?
Matthew D. Langston langston@SLAC.Stanford.EDU
Matthew Mueller donut@azstarnet.com

View File

@ -12451,8 +12451,9 @@ For example:
@example
# This outputs "#define HAVE_CHAR_P 1".
# Notice the m4 quoting around #, to prevent an m4 comment
type="char *"
echo "#define AS_TR_CPP([HAVE_$type]) 1"
echo "[#]define AS_TR_CPP([HAVE_$type]) 1"
@end example
@end defmac