[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool incompatible with autoconf 2.53
From: |
Artem V. Andreev |
Subject: |
libtool incompatible with autoconf 2.53 |
Date: |
Thu, 5 Sep 2002 21:51:30 +0400 (MSD) |
I've found that libtool 1.4.2 is not fully compatiple with autoconf 2.53.
Namely, when checking for AC_LIBTOOL_DLOPEN it relies on autoconf's
AC_DEFUN defining AC_PROVIDE_... which seems to me not true in 2.53
The implication of this is rather sad: libtool cannot detect anymore
whether support for dlopen is required (and assumes no).
A simple patch seems to correct the situation but I am not sure whether
*this* works with autoconf before 2.53 (but at least it works for me):
=========================
--- ../libtool.m4 Tue Sep 11 07:16:01 2001
+++ libtool.m4 Thu Sep 5 17:35:54 2002
@@ -69,7 +69,6 @@
AC_CHECK_TOOL(STRIP, strip, :)
-ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
-enable_win32_dll=yes, enable_win32_dll=no)
+AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], [enable_dlopen=yes], [enable_dlopen=no])
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], [enable_win32_dll=yes],
[enable_win32_dll=no])
AC_ARG_ENABLE(libtool-lock,
==========================================
Sincerely yours
Artem V. Andreev
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- libtool incompatible with autoconf 2.53,
Artem V. Andreev <=