mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-12 14:06:37 +08:00
* HACKING: Update note about use of `$#' in m4 macros.
This commit is contained in:
parent
60f1724476
commit
6e177b3087
@ -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>
|
2005-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
* tests/tagtrace.test: Allow `$AUTOCONF' to contain arguments.
|
* tests/tagtrace.test: Allow `$AUTOCONF' to contain arguments.
|
||||||
|
7
HACKING
7
HACKING
@ -241,8 +241,11 @@ yyyy-mm-dd Name of Author <email@address> (tiny change)
|
|||||||
$ECHO ".." for strings without leading hyphen,
|
$ECHO ".." for strings without leading hyphen,
|
||||||
$ECHO "X.." | $Xsed otherwise.
|
$ECHO "X.." | $Xsed otherwise.
|
||||||
|
|
||||||
* Do not use the number of macro arguments `$#' in public macros;
|
* The Autoconf manual says that giving an empty parameter is equivalent
|
||||||
AU_ALIAS may change it.
|
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
|
9. Abstraction layers in libltdl
|
||||||
|
Loading…
Reference in New Issue
Block a user