bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_LIBTOOL_WIN32_DLL is obsolete


From: Bruno Haible
Subject: Re: AC_LIBTOOL_WIN32_DLL is obsolete
Date: Thu, 09 Feb 2017 17:34:50 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-62-generic; KDE/5.18.0; x86_64; ; )

Reuben Thomas wrote:
> ​The gnulib manual mentions this macro, which seems to be obsolete. As
> libtool's documentation covers the replacement (win32-dll), along with
> remarks about passing -no-undefined, I suggest removing this section from
> the gnulib manual.

Good point. I prefer to keep this section, though, because it's an unexpected
behaviour of libtool that it contains support for all platforms out-of-the-box,
except for native Windows, where it has to be extra requested.


2017-02-09  Bruno Haible  <address@hidden>

        doc: Don't mention obsolete AC_LIBTOOL_WIN32_DLL macro.
        * doc/gnulib.texi (Libtool and Windows): Recommend
        LT_INIT([win32-dll]) instead of AC_LIBTOOL_WIN32_DLL.
        Reported by Reuben Thomas <address@hidden>.

diff --git a/doc/gnulib.texi b/doc/gnulib.texi
index 1b012a6..ddbac2f 100644
--- a/doc/gnulib.texi
+++ b/doc/gnulib.texi
@@ -1023,10 +1023,11 @@ available.
 @section Libtool and Windows
 
 If you want it to be possible to cross-compile your program to MinGW
-and you use Libtool, you need to put:
+and you use Libtool, you need to use the @code{win32-dll} option of
address@hidden In other words, put:
 
 @example
-AC_LIBTOOL_WIN32_DLL
+LT_INIT([win32-dll])
 @end example
 
 in your @file{configure.ac}.  This sets the correct names for the




reply via email to

[Prev in Thread] Current Thread [Next in Thread]