]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool.m4 (AC_PROG_LIBTOOL): Removed, as it was triggering a
authorGary V. Vaughan <gary@gnu.org>
Tue, 12 Sep 2000 20:02:16 +0000 (20:02 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 12 Sep 2000 20:02:16 +0000 (20:02 +0000)
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.

ChangeLog
configure.in
libtool.m4

index 91612ea398902ea9d6fccc60621c6c5650369d3f..53e24dc3b5b090fbc3a163545508dc0f3abae5bd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+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
index cbef7a6bc44b8fff8b77470382afb053aeef1ac4..3dc0beb010e4144983f9bca9673c6f08b561ce89 100644 (file)
@@ -44,8 +44,7 @@ AC_LIBTOOL_WIN32_DLL
 
 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])
index b6e2b64127716801613858d6bae1ca26866e8dd6..a72c7ef8215cd244aeae37483c3675cde74ffdc5 100644 (file)
@@ -22,8 +22,7 @@
 ## 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
@@ -32,6 +31,9 @@ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 # 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,