* HACKING: Update note about use of `$#' in m4 macros.

This commit is contained in:
Stepan Kasal 2005-10-27 13:34:07 +00:00 committed by Ralf Wildenhues
parent 60f1724476
commit 6e177b3087
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-10-27 Stepan Kasal <kasal@ucw.cz>
* HACKING: Update note about use of `$#' in m4 macros.
2005-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/tagtrace.test: Allow `$AUTOCONF' to contain arguments.

View File

@ -241,8 +241,11 @@ yyyy-mm-dd Name of Author <email@address> (tiny change)
$ECHO ".." for strings without leading hyphen,
$ECHO "X.." | $Xsed otherwise.
* Do not use the number of macro arguments `$#' in public macros;
AU_ALIAS may change it.
* The Autoconf manual says that giving an empty parameter is equivalent
to not giving it at all. (In particular, the Autoconf manual doesn't
explain that "FOO()" is calling macro FOO with one empty parameter.)
To prevent misunderstanding, we should use m4_ifval to check whether
a parameter is empty, and not $# to check for the number of parameters.
9. Abstraction layers in libltdl