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
_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches