modern libtool

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
This patch keeps libltdl in subproject mode (more libtool fixes are needed 
before we can take the leap to nonrecursive mode); it is mainly to silence a 
bootstrap warning that we are using an obsolete API.  I'm applying it now.

From: Eric Blake <[email protected]>
Date: Wed, 23 Jan 2008 18:10:40 -0700
Subject: [PATCH] Adjust to recent libtool interface change.

* configure.ac (LT_PREREQ): Require bleeding-edge libtool.
(LT_WITH_LTDL): Delete, now that it is obsolete.
(LTDL_INIT): Use new libtool macro.

Signed-off-by: Eric Blake <[email protected]>
---
 ChangeLog    |    7 +++++++
 configure.ac |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b911528..81643e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-23  Eric Blake  <[email protected]>
+
+	Adjust to recent libtool interface change.
+	* configure.ac (LT_PREREQ): Require bleeding-edge libtool.
+	(LT_WITH_LTDL): Delete, now that it is obsolete.
+	(LTDL_INIT): Use new libtool macro.
+
 2008-01-22  Ralf Wildenhues  <[email protected]>
 	and Eric Blake  <[email protected]>
 
diff --git a/configure.ac b/configure.ac
index bf2b5ff..05c5c9a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,10 +86,10 @@ M4_CHECK_DEBUGGING
 ## ----------------------- ##
 ## Libtool initialization. ##
 ## ----------------------- ##
-LT_PREREQ([2.0])
+LT_PREREQ([2.1a])
 LT_CONFIG_LTDL_DIR([ltdl])
 LT_INIT([shared dlopen win32-dll])
-LT_WITH_LTDL([ltdl])
+LTDL_INIT
 
 # Use gcc's -pipe option if available: for faster compilation.
 case "$CFLAGS" in
-- 
1.5.3.8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.