* libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea.
[libtool.git] / ChangeLog
blob8a8693758959af4d7182d6d4d479d6bb69767562
1 2008-03-06  Peter O'Gorman  <peter@pogma.com>
3         * libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea. 
5         * libltdl/m4/libtool.m4 (_LT_PROG_FC): Report FC=no if the FC
6         compiler is not a GNU compiler and the CXX compiler is a GNU
7         compiler.
8         Reported by Nelson H. F. Beebe.
10 2008-03-06  Gary V. Vaughan  <gary@gnu.org>
12         * Makefile.maint (TSDEPS_DIST): Removed.  No longer used.
13         (TSDEPS): libtool.m4 has long since moved to libltdl.
14         (cvs-dist): Don't put the suffix dot in twice.
16 2008-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
18         * tests/convenience.at (Java convenience archives): Skip test if
19         gcj cannot compile a .java file.
20         Report by Nelson H. F. Beebe.
22 2008-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
24         * libltdl/config/ltmain.m4sh (func_lalib_unsafe_p): redirect
25         and restore from stdin, not stdout.
26         * tests/execute-mode.at (execute mode): Adjust test to catch
27         this.
28         Report by Roberto Bagnara.
30 2008-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
32         Fix libltdl to not skip dlopen on systems with several loaders,
33         such as HP-UX, Cygwin.
34         * libltdl/slist.c (slist_concat): When appending to the tail
35         of a list, do not drop items off the beginning of the list.
36         * NEWS: Update.
38         * libltdl/config/ltmain.m4sh (func_mode_execute): Replace only
39         arguments we have identified as shell or C wrappers.
40         (func_emit_wrapper): Output error message on stderr.
41         * tests/execute-mode.at: New file, with --mode=execute tests.
42         * Makefile.am: Adjust.
43         * NEWS: Update.
44         Fixes 2.2 regression.  Report by Roberto Bagnara.
46         * libltdl/m4/libtool.m4 (_LT_CONFIG): Drop misleading `GNU'
47         prefix before the host package name in the "Generated by" line
48         for the libtool script.
49         * THANKS: Update.
50         Reports by Peter Rosin and Roberto Bagnara.
52         * doc/libtool.texi (Module loaders for libltdl): Fix typo.
54         * libltdl/loaders/dld_link.c (vl_exit): New function, zero out ...
55         (vtable): ... this new file static variable split out from ...
56         (get_vtable): ... here.  Initialize vtable, register vl_exit as
57         dlloader_exit function.
58         * libltdl/loaders/dlopen.c: Likewise.
59         * libltdl/loaders/dyld.c: Likewise.
60         * libltdl/loaders/load_add_on.c: Likewise.
61         * libltdl/loaders/loadlibrary.c: Likewise.
62         * libltdl/loaders/shl_load.c: Likewise.
63         * libltdl/loaders/preopen.c: Likewise; vl_exit existed here
64         already.
65         * tests/lt_dlexit.at (lt_dlexit unloading libs): Update test.
66         * NEWS: Update.
67         Report by Andreas Schwab.
69 2008-03-01  Gary V. Vaughan <gary@gnu.org>
71         * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
72         number to 2.3a.
74         GNU Libtool 2.2 was released.
76         * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
77         number to 2.2.
78         * NEWS: Updated.
80         * tests/lt_dladvise.at, tests/lt_dlexit.at,
81         tests/need_lib_prefix.at: Skip these tests when called from
82         `make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install'.
83         The tests try to link against the dummy installed libltdl.la
84         from .../_inst/lib/libltdl.la, which does not exist when
85         configured with --disable-ltdl-install.
87 2008-02-29  Gary V. Vaughan  <gary@gnu.org>
89         * libltdl/m4/argz.m4 (AC_CHECK_FUNCS): Also use our replacement
90         argz if the system argz_add or argz_count are missing.
91         Report by Juan Manuel Guerrero <juan.guerrero@gmx.de>.
93 2008-02-26  Karl Berry  <karl@freefriends.org>
95         * libltdl/argz.c (argz_add, argz_count): New functions.
96         * libltdl/argz_.h: Declare them.
97         Report by Juan Manuel Guerrero <juan.guerrero@gmx.de>.
99 2008-02-20  Peter O'Gorman  <peter@pogma.com>
101         * libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Do not call the
102         _LT_SYS_DYNAMIC_LINKER macro here.
103         Reported by Mike Frysinger <vapier@gentoo.org>
105 2008-02-15  Peter O'Gorman  <peter@pogma.com>
107         * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Fix typo.
109 2008-02-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
111         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better handling
112         of predefined values for lt_cv_sys_lib_search_path_spec and
113         lt_cv_sys_lib_dlsearch_path_spec.
115 2008-02-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
117         * libtoolize.m4sh (func_install_pkgconfig_files): Only call
118         func_install_pkgconfig_parent if $seen_autoconf.
119         * tests/standalone.at (compiling softlinked libltdl)
120         (compiling copied libltdl, installable libltdl)
121         (linking libltdl without autotools): Use checked libtoolize
122         calls to catch warnings.
124 2008-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
126         * libltdl/configure.ac: Bump package version.
127         * HACKING: Reminder to do it next time, too.
129 2008-02-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
131         * tests/mdemo/Makefile.am (@LIBLTDL@): Update outdated
132         dependencies.
133         ($(top_distdir)/libltdl/libtool): Remove.
134         Fixes spurious mdemo-dryrun failure with OpenBSD make.
136 2008-02-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
138         * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
139         Treat like icc and ecc, for fixed `-Wl,' and `-KPIC' settings.
141 2008-02-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
143         * tests/archive-in-archive.at
144         (static library contains static library): Test also the actual
145         broken link command, and the following install command, as
146         UnixWare ar rightly refuses to put an archive into an archive.
147         Report by Tim Rice.
149 2008-02-06  Peter O'Gorman  <peter@pogma.com>
151         * libltdl/m4/ltoptions.m4 (_LT_SET_OPTIONS): Only set default
152         LT_INIT values for LT_INIT, not LTDL_INIT.
153         Reported by Jochem Huhmann <joh@revier.com> 
155 2008-02-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
157         * tests/testsuite.at (LT_AT_TAG): For the CXX tag, if $CXX is
158         g++, check that `g++ -v' works; AC_PROG_CXX may have set that
159         as default value even if it found no C++ compiler.
160         Report by Andreas Schwab.
162 2008-02-02  Gary V. Vaughan  <gary@gnu.org>
164         * libltdl/Makefile.inc (EXTRA_DIST): Now that we're not using
165         Autoconf's AC_SOURCES macro, Automake can't trace our extra
166         source files argz, lt__dirent.c and lt__strl.c.  List them
167         manually here to make sure they are distributed.
168         * NEWS: Updated.
169         Reported by Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
171 2008-02-01  Gary V. Vaughan  <gary@gnu.org>
173         * configure.ac (AC_INIT): Bump version number to 2.1c.
175         GNU Libtool 2.1b was released.
177         * configure.ac (AC_INIT): Bump version number to 2.1b.
178         * libltdl/Makefile.inc (LTDL_VERSION_INFO): Increment to account
179         for new interfaces since the last libltdl update.
180         * HACKING (Release Procedure): Note that LTDL_VERSION_INFO is now
181         kept in libltdl/Makefile.inc.
183 2008-02-01  Gary V. Vaughan  <gary@gnu.org>
185         * tests/cdemo, tests/depdemo, tests/fcdemo, tests/pdemo,
186         tests/demo, tests/f77demo, tests/mdemo, tests/tagdemo
187         (distclean-local): Remove compiler file droppings left by
188         Autoconf tests that prevent make dist from finishing on
189         several machines including Mac OS 10.5.
191 2008-02-01  Gary V. Vaughan  <gary@gnu.org>
193         Unfortunately, the autoconf implementation of AC_LIBOBJ and
194         friends requires all libobjs to be in the same directory, as
195         declared by AC_CONFIG_LIBOBJ_DIR.  That might prevent using
196         either recursive or nonrecursive libltdl if the parent project
197         has libobjs of its own, except that this patch tracks libltdl's
198         libobjs in another namespace:
200         * libltdl/m4/ltdl.m4 (_LT_LIBOBJ, _LT_LIBSOURCES): Versions of
201         AC_LIBOBJ and AC_LIBSOURCES that save missing sources in a
202         ltdl_LIBOBJS automake macro, instead of the global LIBOBJS
203         automake macro.  Content of the macros inspired by code from
204         gnulib-tool.
205         (_LTDL_MODE_DISPATCH): Initialise lt_libobj_prefix in
206         nonrecursive mode.
207         (LTDL_INIT): Push and pop the new definitions around potential
208         sites that call AC_LIBOBJ.  Also, using lt_libobj_prefix,
209         initialise ltdl_LIBOBJS and ltdl_LTLIBOBJS.
210         * libtoolize.m4sh (func_fixup_Makefile): Substitute ltdl_LIBOBJS
211         and ltdl_LTLIBOBJS for LIBOBJS and LTLIBOBJS during copying
212         either Makefile.am or Makefile.inc, depending on ltdl_mode.
213         Reported by Eric Blake <ebb9@byu.net>
215 2008-01-30  Gary V. Vaughan  <gary@gnu.org>
217         There are 5 distinct batches of files that libtoolize might
218         install into a project, depending on whether libltdl is
219         being installed in subproject mode, and in that case whether
220         the parent project shares the config and macro directories
221         with the subproject ltdl.  Make a separate function for each
222         of those 5 batches (4 new functions below, plus the recently
223         factored func_install_pkgltdl_files), and make a clearer
224         distinction between when each of them is needed:
226         * libtoolize.m4sh (func_install_pkgmacro_subproject):
227         New function for installing and reporting on m4 files copied
228         to a subproject ltdl directory.
229         (func_install_pkgmacro_parent): Similar new function for m4
230         files copied solely for the use of the parent project,
231         including serial checking.
232         (func_install_pkgconfig_subproject): New function for
233         installing and reporting on config helper files copied to a
234         subproject ltdl directory.
235         (func_install_pkgconfig_parent): Similar new function for
236         config helper files copied solely for the use of the parent
237         project, including serial checking.
238         (func_install_pkgmacro_files, func_install_pkgconfig_files):
239         Rewritten in terms of the above functions.
240         * tests/libtoolize.at: Adjust test expout's to match newly
241         regularized libtoolize output.
242         Move parent project pkgconfig files to build-aux directory
243         so that progress messages show an obvious difference to
244         pkgconfig files installed to subproject `config' directory.
245         (nonrecursive ltdl with AC_CONFIG_MACRO_DIR): New test.
246         (diagnose missing LT_CONFIG_LTDL_DIR): New test.
247         (subproject ltdl with non-shared directories): New test.
248         Reported by Eric Blake <ebb9@byu.net>
250 2008-01-29  Peter O'Gorman  <peter@pogma.com>
252         * libltdl/m4/libtool.m4 [darwin]: Changes to glob pattern matching
253         to be safer.
255         Search the compiler path too.
256         * libltdl/m4/libtool.m4 (compiler_lib_search_dirs): New variable.
257         * libltdl/config/ltmain.m4sh: Use it.
258         Reported by Maynard Johnson
260 2008-01-28  Gary V. Vaughan  <gary@gnu.org>
262         * libtoolize.m4sh (func_check_macros): Correct typo with
263         '$opt_quiet ||' where '$opt_quiet &&' that was preventing
264         func_check_macros from running!
266         * libtoolize.m4sh: Set opt_ltdl whenever seen_ltdl is set
267         so that libtoolize behaves as though --ltdl was passed even
268         if it wasn't as long as LTDL_INIT (or equivalent) was seen
269         in configure.ac.  Adjust redundant '$opt_ltdl || $seen_ltdl'
270         to simply '$opt_ltdl'.
271         Reported by Eric Blake <ebb9@byu.net>
273         * libtoolize.m4sh (func_check_macros): Check opt_quiet
274         in the function itself to simplify calling it.  Also move
275         the definition of the function.
277         * libtoolize.m4sh (func_scan_files): Be sure to set the
278         default libltdl mode to 'subproject' when libtoolize is
279         executed before configure.ac has been updated.
281 2008-01-27  Gary V. Vaughan  <gary@gnu.org>
283         * libtoolize.m4sh (func_install_pkgconfig_files)
284         (func_install_pkgmacro_files, func_install_pkgltdl_files):
285         Factored out from the 'Main' section of the file.
287         * libtoolize.m4sh (subproject_auxdir, subproject_macrodir):
288         New variables to hold the default locations for auxfiles
289         and macrofiles in a subproject libltdl.
290         (ac_auxdir, ac_macrodir): New variables to hold the values
291         passed by AC_CONFIG_AUX_DIR and AC_CONFIG_MACRO_DIR resp.
292         (auxdir, macrodir): Adjust to contain the values to be
293         used by libtoolize at runtime.
295         * libtoolize.m4sh (func_fixup_Makefile)
296         (func_massage_aclocal_DATA, func_massage_pkgltdl_files)
297         (func_massage_pkgconfig_files): Add missing $opt_debug.
299 2008-01-27  Gary V. Vaughan  <gary@gnu.org>
301         * libtoolize (func_fixup_Makefile, func_massage_aclocal_DATA)
302         (func_massage_pkgltdl_files, func_massage_pkgconfig_files):
303         Add missing $opt_debug.
305 2008-01-26  Gary V. Vaughan  <gary@gnu.org>
307         * libtoolize.m4sh (Main): Copy (or link) libltdl sources
308         into project tree when LTDL_INIT was seen, whether or not
309         `--ltdl' is passed.
310         (func_check_macros): Recommend LTDL_INIT instead of
311         LT_WITH_LTDL when `--ltdl' is used before configure.ac is
312         upgraded.
313         * tests/libtoolize.at: Test that it works.
314         (_LT_AT_LTDL_SETUP): Factor out some common test setup.
315         Reported by Eric Blake <ebb9@byu.net>
317 2008-01-24  Peter O'Gorman  <peter@pogma.com>
319         * doc/notes.texi: Fix errors in previous commit.
321         * libltdl/m4/libtool.m4 (sys_lib_search_path_spec, 
322         sys_lib_dlsearch_path_spec): Allow for a cache variable 
323         lt_cv_sys_lib_... to set these at configure time.
324         * doc/notes.texi: Short note about the above change.
326 2008-01-24  Eric Blake  <ebb9@byu.net>
328         Add proper quoting to doc examples.
329         * doc/libtool.texi: Use m4 quotes where appropriate.
330         (Test descriptions): Fix truncated sentence.
332 2008-01-18  Gary V. Vaughan  <gary@gnu.org>
334         * Makefile.am (DISTCLEANFILES): Remove libtool.dvi generated
335         by 'make dvi'.
337 2008-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
339         * libtoolize.m4sh (func_scan_files): Avoid matching our own
340         macro code when scanning configure.ac and aclocal.m4.
341         Don't produce spurious output if AC_PROG_RANLIB is found.
342         * tests/old-m4-iface.at (AM_PROG_LIBTOOL): Add a (weak) check
343         that we don't match our own macro code when searching for user
344         code calling us.
345         * TODO: Updated.
347 2008-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
349         New variable LTDLDEPS for use in output_DEPENDENCIES.
351         * libltdl/m4/ltdl.m4 (_LTDL_CONVENIENCE, _LTDL_INSTALLABLE)
352         (LTDL_INIT): Set and substitute LTDLDEPS according to chosen
353         method.
354         * tests/configure-iface.at (installable libltdl)
355         (--with-ltdl-include/lib, --with-included-ltdl): Test it.
356         * doc/libtool.texi (Distributing libltdl): Document LTDLDEPS.
357         * NEWS: Updated.
358         Dependency bug exposed by Eric Blake in M4, found by Bob Proulx
359         build daemon.
361 2008-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
363         * doc/libtool.texi (Distributing libltdl): Clarify that
364         `${top_build_prefix}' may be used in place of `${top_builddir}/'.
366         * doc/libtool.texi (Distributing libltdl): Clarify that
367         LTDL_INIT goes after LT_INIT; also show the latter in the
368         respective examples.
369         * tests/subproject.at: Adjust order.
371 2008-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
373         * libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Use AM_CONDITIONAL
374         only if defined.  Allows to use libltdl without aclocal.
376 2008-01-16  Peter O'Gorman  <peter@pogma.com>
378         * libltdl/m4/libtool.m4: Set GCC var for every tag, avoids need
379         to set withGCC var.
381 2008-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
383         * configure.ac: Set libltdl nonrecursive option, to avoid
384         configuring libltdl inside the Libtool package.
386 2008-01-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
388         Silence all non-warning output from `libtool --silent'.
389         * libltdl/config/ltmain.m4sh (func_generate_dlsyms)
390         (func_extract_archives, func_mode_link): Use func_verbose
391         instead of func_echo for all non-warning output.
393         * Makefile.maint (fetch): Update to match upstream git sources.
394         Pull `INSTALL' from gnulib instead of from Autoconf.
396         * doc/notes.texi: Mention AIX binutils deficiency for C++ code.
397         Report by Rainer Tammer.
398         Suggest using bash for configure.
400         * libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Fix to use
401         new _LT_SET_OPTION semantics.
403 2008-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
405         * libltdl/m4/ltdl.m4 (_LTDL_SETUP): Define
406         LTDL_DLOPEN_SELF_WORKS, depending upon lt_cv_dlopen_self.
407         * libltdl/loaders/dlopen.c (vm_open) [!LTDL_DLOPEN_SELF_WORKS]:
408         Fail for dlopen(NULL), so that the preopen loader is used.  This
409         fixes mdemo-exec.test failures on AIX where dlopen(NULL)
410         succeeds but dlsym resolves no symbol.
411         * NEWS: Update.
412         Report by Rainer Tammer.
414         * tests/am-subdir.at: Drop unused variables.
415         * tests/configure-iface.at: Likewise.
416         * tests/ctor.at: Likewise.
417         * tests/early-libtool.at: Likewise.
418         * tests/lt_dladvise.at: Likewise.
419         * tests/old-m4-iface.at: Likewise.
420         * tests/lt_dlexit.at: Likewise.  Also drop unused functions.
422         * tests/old-m4-iface.at (AM_PROG_LIBTOOL): Also copy needed
423         lt~obsolete.m4.
425         * libltdl/config/ltmain.m4sh (func_mode_link): Fix warning
426         about -l and -L for archives and objects as output, to not
427         trigger for *.la files.  Non-convenience archives are diagnosed
428         later on.
430         * tests/configure-iface.at: Ensure LTDLINCL is expanded
431         before CPPFLAGS, so that even CPPFLAGS=-I/usr/local/include
432         won't make the tests prefer an installed ltdl.h over the
433         in-package one.
434         * tests/lt_dladvise.at, tests/lt_dlexit.at: Likewise.
435         * tests/need_lib_prefix.at, tests/old-m4-iface.at: Likewise.
436         Report by Bob Friesenhahn.
438 2008-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
440         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <exclude_expsyms>:
441         Also exclude `_GLOBAL__F[ID]_.*'.  Also set for the C++ tag.
442         Fixes esp. demo/helldl build failure with GCC on AIX.
443         Report by Rainer Tammer.
445 2008-01-11  Peter O'Gorman  <peter@pogma.com>
447         * libltdl/m4/libtool.m4 [darwin]: Reorganize darwin support, use
448         dsymutil if it is available so that debugging is possible, check
449         for nmedit and dsymutil with AC_CHECK_TOOL, use the linker flag
450         -exported_symbols_list in preference to nmedit if it is available.
451         Drop support for xlc, it is probably broken.
452         * tests/template.at [darwin]: Skip this test, I can not find a way
453         to make it work on darwin9 with Xcode-3.0.
454         * NEWS: Note the dropping of xlc support.
456 2008-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
458         * libltdl/m4/libtool.m4 (LT_INIT): m4_require, not AC_REQUIRE
459         _LT_CHECK_BUILDDIR, as it's m4_defun'ed, not AC_DEFUN'ed.
460         Report by Peter O'Gorman.
462         * libltdl/m4/ltdl.m4 (_LTDL_INSTALLABLE): Restore correct
463         _LT_BUILD_PREFIX-using code.
465 2008-01-08  Gary V. Vaughan  <gary@gnu.org>
467         * tests/recursive.at: Remove bogus --debug option.
468         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
470         * tests/configure-iface.at: Build libltdl in a subdir so that
471         it can be easily removed without trying to remove config.log
472         on windows (which can't delete a file until it is closed).
473         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
475         * libltdl/m4/ltdl.m4 (LTDL_INSTALLABLE): Use _LT_BUILD_PREFIX
476         instead of ${top_builddir} for Autoconf-2.62.
477         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
479         * libltdl/m4/ltdl.m4 (_LT_CONFIG_LTDL_DIR): Correct closing
480         comment.
481         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
483         * NEWS: Grammar nit.
485         * tests/configure-iface.at, tests/nonrecursive.at,
486         tests/recursive.at, tests/subproject.at (_LTDL_SETUP):
487         Renamed to _LT_AT_LTDL_SETUP to avoid a nameclash with
488         libltdl/m4/ltoptions.m4:_LTDL_SETUP from yesterday's patch.
489         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
491 2008-01-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
493         * tests/runpath-in-lalib.at (Runpath in libtool library files):
494         Compile program file without libtool.
495         Report by Rainer Tammer.
497 2008-01-07  Rainer Tammer <tammer@tammer.net>  (tiny change)
498             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
500         Support AIX 6.1.
501         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
502         (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
503         (_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG)
504         (_LT_LANG_FC_CONFIG): Adjust case patterns to match AIX 6
505         through 9 as well.
506         * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
507         * NEWS: Update.
508         * THANKS: Update.
510 2008-01-07  Gary V. Vaughan  <gary@gnu.org>
512         Move libltdl build mode options from LT_CONFIG_LTDL_DIR to
513         LTDL_INIT.  Accept (optional) new 'convenience' and 'installable'
514         options in lieu of LTDL_CONVENIENCE and LTDL_INSTALL macros. And
515         also, implement --with-included-ltdl, --with-ltdl-lib and
516         --with-ltdl-include configure-time options:
518         * libltdl/m4/ltoptions.m4: Associate existing option settings with
519         LT_INIT.
520         (LT_OPTION_DEFINE): Associate options 'nonrecursive', 'recursive',
521         'subproject', 'installable' and 'convenience' with LTDL_INIT.
522         (_LT_MANGLE_OPTION, _LT_SET_OPTION, _LT_IF_OPTION)
523         (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Add MACRO-NAME argument to
524         support options to named macros instead of hardcoding only LT_INIT
525         options.
526         * libltdl/m4/ltdl.m4 (_LTDL_CONVENIENCE): Factor common code from
527         LTDL_CONVENIENCE and LTDL_INIT([convenience]).
528         (_LTDL_INSTALLABLE): Factor out common code from LTDL_INSTALLABLE
529         and LTDL_INIT([installable]).
530         (_LTDL_SETUP): Renamed from LTDL_INIT.  Support new configure-time
531         options: --with-included-ltdl, --with-ltdl-lib,
532         --with-ltdl-include.
533         (LTDL_CONVENIENCE, LTDL_INSTALLABLE): Adjust.
534         (LT_WITH_LTDL): Removed.
535         (LTDL_INIT): Parse caller options.
536         * libltdl/m4/libtool.m4 (LT_INIT): Declare that this macro must be
537         expanded before LTDL_INIT, and be sure to parse caller options.
538         * configure.ac: Call directly into internal _LTDL_SETUP macro.
539         * libtoolize.m4sh (func_scan_files): Ltdl mode argument moved from
540         LT_CONFIG_LTDL_DIR to LTDL_INIT.
541         * tests/nonrecursive.at, tests/recursive.at: Use new interfaces.
542         * tests/configure-iface.at: Test it.
543         * Makefile.am (TESTSUITE_AT): Add configure-iface.at.
544         * doc/libtool.texi (Distributing libltdl): Document improved
545         LTDL_INIT interfaces.
546         * NEWS: Updated.
548 2008-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
550         * libltdl/config/ltmain.m4sh (func_mode_link): When creating
551         reloadable object files, avoid issuing plain `rm -f' without
552         further arguments, even if the line length limit is ridiculously
553         low as in the `Run tests with low max_cmd_len' test.  This
554         failure is exposed on NetBSD.
555         Report by Patrick Welche.
557         * Makefile.am (EXTRA_DIST): Add ChangeLog.2007.
558         * ChangeLog.2007: New, rotated, from...
559         * ChangeLog: ...here.
560         * NEWS, README, README.alpha, Makefile.am, libtoolize.m4sh,
561         libltdl/config/getopt.m4sh, libltdl/config/ltmain.m4sh,
562         libltdl/m4/libtool.m4: Bump copyright years.
564 Continued in ChangeLog.2007
566         $Revision$ $Date$
568 vim:tw=72