On Sep 11, 2000, "Gary V. Vaughan" <[EMAIL PROTECTED]> wrote:
> I don't actually see the point of making AC_PROG_LIBTOOL require
> _AC_PROG_LIBTOOL, so I figured I must be missing something...
The point is to avoid duplicate expansion of AC_PROG_LIBTOOL.
AC_REQUIRE was the simplest way to accomplish that, but there are
certainly simpler ways. For example, AC_DEFUN_ONCE, in autoconf
2.49a. Another alternative is to add `define([AC_PROG_LIBTOOL],)' to
the macro itself. We wouldn't get a warning, but so be it.
I believe you're indeed stumbling across the AC_REQUIRE bug :-(
> I am tempted to commit the patch as is and wait for complaints =/O|
Please go ahead. If you decide to add the `define', consider it
pre-approved.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me