* Ralf Wildenhues wrote on Sat, Jan 12, 2008 at 03:15:03PM CET: > > So I ask to please clarify once and for all the order in which things > should be (including a notice in NEWS), the rationale for it, and please > to make it clear in the manual whether LTDL_INIT requires that LT_INIT > also be called or not (some examples given in the manual carry LTDL_INIT > but do not mention LT_INIT at all).
OK to apply this fix? Cheers, Ralf 2008-01-16 Ralf Wildenhues <[EMAIL PROTECTED]> * doc/libtool.texi (Distributing libltdl): Clarify that LTDL_INIT goes after LT_INIT; also show the latter in the respective examples. * tests/subproject.at: Adjust order. Index: doc/libtool.texi =================================================================== RCS file: /cvsroot/libtool/libtool/doc/libtool.texi,v retrieving revision 1.234 diff -u -r1.234 libtool.texi --- doc/libtool.texi 6 Jan 2008 16:33:30 -0000 1.234 +++ doc/libtool.texi 16 Jan 2008 19:07:07 -0000 @@ -4378,7 +4378,8 @@ if you move to a different release of libltdl. @c }. Having made the macros available, you must add a call to the [EMAIL PROTECTED] macro to your package's @file{configure.ac} to [EMAIL PROTECTED] macro (after the call to @samp{LTDL_INIT} +to your package's @file{configure.ac} to perform the configure time checks required to build the library correctly. Unfortunately, this method has problems if you then try to link the package binaries with an installed libltdl, or a library that @@ -4489,6 +4490,7 @@ AM_INIT_AUTOMAKE([subdir-objects]) AC_CONFIG_HEADERS([config.h]) LT_CONFIG_LTDL_DIR([libltdl]) +LT_INIT([dlopen]) LTDL_INIT([nonrecursive]) @end example @@ -4531,6 +4533,7 @@ AM_INIT_AUTOMAKE AC_CONFIG_HEADERS([config.h]) LT_CONFIG_LTDL_DIR([libltdl]) +LT_INIT([dlopen]) LTDL_INIT([recursive]) AC_CONFIG_FILES([libltdl/Makefile]) @end example Index: tests/subproject.at =================================================================== RCS file: /cvsroot/libtool/libtool/tests/subproject.at,v retrieving revision 1.13 diff -u -r1.13 subproject.at --- tests/subproject.at 8 Jan 2008 05:07:41 -0000 1.13 +++ tests/subproject.at 16 Jan 2008 19:07:07 -0000 @@ -33,8 +33,8 @@ AC_CONFIG_AUX_DIR([sub/ltdl/config]) AC_CONFIG_MACRO_DIR([sub/ltdl/m4]) AM_INIT_AUTOMAKE([foreign]) -LT_WITH_LTDL LT_INIT +LT_WITH_LTDL AC_CONFIG_FILES([Makefile]) AC_OUTPUT ]])