]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
authorStepan Kasal <kasal@ucw.cz>
Mon, 3 Jan 2005 23:32:35 +0000 (23:32 +0000)
committerStepan Kasal <kasal@ucw.cz>
Mon, 3 Jan 2005 23:32:35 +0000 (23:32 +0000)
ChangeLog
lib/m4sugar/m4sh.m4

index 14f2323665ad03e6b77d8b65f062617e64ef6e8f..4fa08b45c768f1e50e97c7378b25feb8bdbecf1a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-03  Stepan Kasal  <kasal@ucw.cz>
+
+       * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
+
 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
 
        A cleanup of the diversion support in m4sugar.
index 05532560a5c2235103f5ce3fb5c8fb4ffbf1464a..bc63d826253273d1351cdaa6dd6300766afa3593 100644 (file)
@@ -131,6 +131,11 @@ m4_copy([_m4_divert(M4SH-INIT)], [_m4_divert(NOTICE)])
 #      bar1=`echo $bar`
 #      bar2=`echo $bar`
 #
+# Due to the simple implementation, all the AS_REQUIRE calls have to be at
+# the very beginning of the macro body, or the AS_REQUIREs may not be nested.
+# More exactly, if a macro doesn't have all AS_REQUIREs at its beginning,
+# it may not be AS_REQUIREd.
+#
 m4_define([AS_REQUIRE],
 [m4_provide_if([$1], [],
               [m4_divert_text([M4SH-INIT], [m4_default([$2], [$1])])])])