autoconf/lib
Paul Eggert b5b8b59870 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
Update the long comment explaining it.

m4_require no longer writes an ``is required by'' line to the
execution stack.  It contains only one bit of non-redundant
information: that the macro was required, not called.  And even
this bit is useless in most situations: have you ever met a macro
which both calls and requires the same macro?

* lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
(_m4_defun_pro_outer): ... only via this macro, for the outermost
  macro.
(_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
(m4_expansion_stack_pop): Remove the misplaced comment.
(m4_require): Don't put the ``is required by'' line to the
  execution stack; slightly improve the out-of-a-defun error message.
(_m4_divert_grow): New macro, counter for the temporary diversions.
(_m4_require_call): Use it.
* tests/m4sugar.at (m4_require): Expect output without the
  ``is required by'' messages.
2005-01-31 23:52:49 +00:00
..
autoconf * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when this is safe. 2005-01-28 21:21:32 +00:00
Autom4te Have autoheader honor --force. 2005-01-27 10:53:41 +00:00
autoscan Regenerate. 2004-12-20 04:12:52 +00:00
autotest * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when this is safe. 2005-01-28 21:21:32 +00:00
emacs Regenerate. 2004-12-20 04:12:52 +00:00
m4sugar Simplify the implementation of m4_require (a.k.a. AC_REQUIRE). 2005-01-31 23:52:49 +00:00
.cvsignore Extend. 2001-09-17 21:11:22 +00:00
autom4te.in * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro. 2004-08-03 22:06:09 +00:00
freeze.mk * configure.ac (test suite): Cease to generate wrapper scripts. 2004-12-09 21:14:45 +00:00
Makefile.am Don't use "chmod -w". 2004-01-05 08:18:24 +00:00
Makefile.in Regenerate. 2004-12-20 04:12:52 +00:00