+2000-09-12 Gary V. Vaughan <gvv@techie.com>
+
+ libtool.m4 (AC_PROG_LIBTOOL): Removed, as it was triggering a
+ bug in Autoconf-2.13 AC_REQUIRE implementation which inserted
+ some of the expanded tests too early in the generaated configure.
+ (_AC_PROG_LIBTOOL): renamed to AC_PROG_LIBTOOL, and defines
+ itself to an empty expansion to prevent multiple expansions.
+ configure.in (AC_LIBTOOL_SETUP): Replaced by a call to
+ AC_PROG_LIBTOOL now that the AC_REQUIRE bug has been worked
+ around.
+
2000-09-09 Gary V. Vaughan <gvv@techie.com>
libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to escape the
dnl Check for dlopen support
AC_LIBTOOL_DLOPEN
-
-AC_LIBTOOL_SETUP
+AC_PROG_LIBTOOL
AC_ARG_ENABLE(ltdl-install,
[ --disable-ltdl-install do not install libltdl])
## the same distribution terms that you use for the rest of that program.
# serial 45 AC_PROG_LIBTOOL
-AC_DEFUN(AC_PROG_LIBTOOL,[AC_REQUIRE([_AC_PROG_LIBTOOL])])
-AC_DEFUN(_AC_PROG_LIBTOOL,
+AC_DEFUN(AC_PROG_LIBTOOL,
[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
# This can be used to rebuild libtool when needed
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
AC_SUBST(LIBTOOL)dnl
+
+# Prevent multiple expansion
+define([AC_PROG_LIBTOOL], [])
])
AC_DEFUN(AC_LIBTOOL_SETUP,