From: Bruno Haible Date: Thu, 9 Feb 2017 16:27:40 +0000 (+0100) Subject: doc: Don't mention obsolete AC_LIBTOOL_WIN32_DLL macro. X-Git-Tag: v1.0~6369 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=ae1cef3900d3070a13f6dcd50ed7b807e3c0d428;p=gnulib.git 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 . --- diff --git a/ChangeLog b/ChangeLog index 30525490fd..95b4c23ff9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2017-02-09 Bruno Haible + + 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 . + 2017-02-08 Paul Eggert stddef-tests: port to SIZE_MAX <= INT_MAX diff --git a/doc/gnulib.texi b/doc/gnulib.texi index 1b012a60b7..ddbac2f550 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 +@code{LT_INIT}. 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