* libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4 [darwin]:
[libtool.git] / ChangeLog
blob6a4b5e92365eba46d647c05189ac5c8440150e69
1 2005-12-07  Peter O'Gorman  <peter@pogma.com>
3         * libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4 [darwin]:
4         Use -single_module by default when linking shared libraries. Can
5         be overridden by specifying -multi-module or by setting the env
6         var LT_MULTI_MODULE before configure.
7         * libltdl/m4/libtool.m4 (archive_expsyms_cmds) [darwin]:
8         Simplify.
9         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11 2005-12-04  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13         * doc/libtool.texi (References): Do not use `@/' for the benefit
14         of older `makeinfo', break lines instead.
16         * Makefile.am (install-data-local): No continuation here.
17         (dist-hook): Fix copying of README.alpha to README.
18         * tests/early-libtool.at (configure.ac): Remove
19         `AM_INIT_AUTOMAKE', we do not use automake in these tests.
21         * README, README.alpha, libtoolize.m4sh: Typos.
22         * tests/am-subdir.at, tests/duplicate_members.at: Make all
23         banners end with a dot, for symmetry.
25         * libtoolize.m4sh (func_copy_all_files)
26         (glob_exclude_pkgaux_files): Removed, since unused.
28         * libtoolize.m4sh (func_copy_cb, func_copy_some_files)
29         (func_serial_update, func_keyword_update): Fail immediately
30         if some file we may install does not exist.
31         Reported by Troy Benjegerdes <hozer@hozed.org>.
33 2005-12-03  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
35         * TODO: A bunch of items fixed. :)
37         * tests/convenience.at: Updated to expose more corner cases.
39         * doc/libtool.texi (Invoking libtoolize): Remove mention of
40         the nonrecursive restriction to name the directory `libltdl'.
42         * libtoolize.m4sh (func_fixup_Makefile_inc): New function.
43         (main): Call it in nonrecursive mode to mangle Makefile.inc.
44         * tests/nonrecursive.at: adjusted to test this.
46 2005-12-03  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
48         Basic support for PIE (position-independent executables).
50         * libltdl/config/ltmain.m4sh (func_generate_dlsyms):
51         Don't pass PIE flag for compilation of the symbol file object.
52         (func_mode_compile): Pass PIE flag only for non-PIC objects.
53         * NEWS: Updated.
55 2005-12-03  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
57         * libltdl/config/general.m4sh (func_show_eval): Rewrite use of
58         the failure expression, because the exit status of the previous
59         command may not be preserved in the next `eval' by some shells,
60         such as pdksh.
61         * libltdl/config/ltmain.m4sh (func_extract_an_archive):
62         Use func_show_eval correctly.
63         (func_mode_link): Likewise.  Also, do not use `$status'.
64         * tests/fail.at: New set of tests to ensure libtool fails.
65         * Makefile.am, tests/testsuite.at: Adjusted.
67 2005-11-26  Peter O'Gorman  <peter@pogma.com>
69         * libltdl/m4/libtool.m4 [darwin]: Use $LTCC $LTCFLAGS to create
70         reloadable objects.
72 2005-11-25  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
74         * libltdl/Makefile.inc (libltdl/argz.h): Create libltdl
75         directory if it does not exist yet.  Take care that munging
76         of the file will not mess up the build rule.
77         Reported by Peter O'Gorman <peter@pogma.com>.
79 2005-11-25  Eric Blake  <ebb9@byu.net>,
80             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
82         * libltdl/loaders/loadlibrary.c (iface_id): New variable.
83         (get_vtable): Get an `iface_id' from `lt_dlinterface_register'.
84         (get_vtable): Rewrite to catch up with lt_dlhandle_iterate
85         interface change.  Append dot only after w32 path conversion
86         so it works on cygwin managed mounts.
88         * libltdl/ltdl.h, libltdl/ltdl.c (lt_dlinterface_free): New
89         function.
90         * doc/libtool.texi (User defined module data): Document it.
92 2005-11-25  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
94         * libltdl/m4/libtool.m4 [aix] <archive_expsym_cmds>
95         (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Always move -bnoentry
96         before $compiler_flags, so it can be overridden.
98         * libltdl/config/ltmain.m4sh (func_mode_link): Allow GCC
99         response files through.
101 2005-11-25  Peter O'Gorman  <peter@pogma.com>
103         * libltdl/config/ltmain.m4sh (func_mode_link): Pass through
104         -isysroot for cross architecture builds on darwin.
106 2005-11-24  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
108         * libltdl/config/ltmain.m4sh (func_mode_uninstall): In clean
109         mode, don't remove non-existent libfoo.lai.
111 2005-11-20  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
113         * Makefile.am (aclocalfiles): Also install lt~obsolete.m4.
114         * libtoolize.m4sh (func_check_macros): Updated.
115         * tests/libtoolize.at: Adjusted.
117 2005-11-20  Eric Blake  <ebb9@byu.net>,
118             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
120         * bootstrap (--help): Provide some help.
122 2005-11-20  Todd Vierling <tv@netbsd.org>,
123             Thorsten Glaser <tg@mirbsd.org>
125         * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN, _LT_SYS_DYNAMIC_LINKER)
126         (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
127         (_LT_LANG_CXX_CONFIG) [ interix3 ]: Support for Interix/Microsoft
128         Services for Unix.
129         * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
130         * NEWS: Updated.
132 2005-11-20  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
134         * tests/link-order.at [ interix ]: Skip command line grep.
135         * tests/deplibs-ident.at [ interix ]: Not broken here.
136         Reported by Thorsten Glaser <tg@66h.42h.de>.
138 2005-11-18  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
140         * libtoolize.m4sh (func_copy_all_files)
141         (func_massage_aclocal_DATA, func_massage_pkgltdl_files)
142         (func_massage_pkgconfig_files): Work around ksh limitation.
143         Reported by Thorsten Glaser <tg@66h.42h.de>.
145 2005-11-14  Albert Chin  <china@thewrittenword.com>
147         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
148         [ hpux11 ]: Pass +nodefaultrpath when linking on ia64*.
150 2005-11-14  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
152         Testsuite portability update round.
154         * tests/inherited_flags: skip when shared libs are disabled.
155         * tests/deplibs-ident.at [ aix ]: No unexpected failure here.
156         * tests/libtoolize.at: Fix for distcheck (readonly sources).
157         * tests/nonrecursive.at, tests/recursive.at, tests/subproject.at
158         (foo.c): Actually export a symbol, for AIX.
159         * tests/old-m4-iface.at: Use AC_LIBTOOL_DLOPEN, for AIX.
160         * tests/nonrecursive.at: Set foo_la_SOURCES, for automake-1.7.
161         * tests/subproject.at: Require automake-1.9, we use indirect
162         subdirs.
163         * tests/am-subdir.at: Move AT_KEYWORDS settings..
164         * tests/testsuite.at: ..here, in respective macros.
165         (LT_AT_AUTOMAKE): Skip if we detect failure due to old version.
166         (PREPARE_TESTS): Set autotool variables to `no' if not present.
167         (LT_AT_ACLOCAL, LT_AT_AUTOCONF, LT_AT_AUTOMAKE)
168         (LT_AT_AUTOHEADER, LT_AT_AUTORECONF): Use to XFAIL tests.
169         Reported by Tim Rice <tim@multitalents.net>.
170         (LT_AT_MAKE): Do not use `make -e'.
171         (_LTDL_PROJECT_FILES): Adjust sub-make call.  Work around `make'
172         which does not set `MAKE' or `SHELL'.  Fix for user-set
173         `CONFIG_SHELL'.
174         Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
176         * libltdl/m4/lt~obsolete.m4 (_LT_CC_BASENAME)
177         (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE):
178         Added because they were added to branch-1-5 AC_DEFUNed.
179         * HACKING: Add note about lt~obsolete.m4.
181         * Makefile.am, libltdl/Makefile.inc (INSTALL_LTDL):
182         For nonrecursive mode, add to include_HEADERS as well.
183         * doc/libtool.texi (Invoking libtoolize, Distributing libltdl),
184         tests/nonrecursive.at: Adjusted, and removed TABS from .texi.
186         * libtoolize.m4sh: Revert use of `$tst_aclocaldir'.
188 2005-11-13  Eric Blake  <ebb9@byu.net>
190         * libltdl/ltdl.c (lt_dlhandle_iterate): Fix endless loop.
191         (lt_dlinterface_register): Fail if lt__strdup did.
193 2005-11-13  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
195         * libltdl/m4/libtool.m4 (_LT_LANG_C_CONFIG):
196         Removed `lt_prog_cc_shlib' cruft, not needed any more.
198 2005-11-13  Kean Johnston  <jkj@sco.com>,
199             Tim Rice  <tim@multitalents.net>
201         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
202         (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
203         (_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG)
204         [ sco3.2v5, sysv4, sysv4.3, sysv5, sco3.2v5, sco5v6, unixware,
205         OpenUNIX, sysv4*uw2 ]: Complete overhaul of SCO support.
206         * THANKS: Updated.
208 2005-11-13  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
210         * tests/quote.test: Do not fail on harmless shell bug present
211         in some ksh versions.
212         Reported by Tim Rice <tim@multitalents.net> and others.
214 2005-11-12  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
216         * libltdl/m4/ltoptions.m4 (_LT_SET_OPTION): Use m4_warning
217         instead of m4_warn.
219         * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC): `wl' is tagged here.
221         * libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF, _LT_COMPILER_PIC):
222         Make sure `$wl' is properly expanded for tests involving
223         `export_dynamic_flag_spec', `lt_prog_compiler_static'.
225         * tests/defs.m4sh (func_configure): Actually pass
226         options (like --disable-shared) to func_configure_nofail.
228 2005-11-11  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
230         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ freebsd ]:
231         Fix shlibpath_overrides_runpath settings.
232         Reported by Dave Benson <daveb@idealab.com>.
234 2005-09-10  Charles Wilson  <cygwin@cwilson.fastmail.fm>
236         * libltdl/config/ltmain.m4sh (func_win32_libid): use $SED not
237         sed.
238         
239 2005-11-10  Albert Chin-A-Young  <china@thewrittenword.com>
241         * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [ hpux10, hpux11 ]
242         <hppa*64,ia64, aCC,g++>:
243         Use C++ compiler for linking rather than ld.
245 2005-11-10  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
247         * libltdl/m4/ltsugar.m4 (lt_join, lt_combine, lt_dict_filter):
248         Rewrite to eliminate tail recursion; use ..
249         (lt_unquote): New trivial helper macro.
250         * libltdl/m4/libtool.m4 (_lt_decl_filter): Document.
252 2005-11-10  Gary V. Vaughan  <gary@gnu.org>
254         * tests/testsuite.ac (macrodir): Don't set it here...
255         * Makefile.am (BUILDCHECK_ENVIRONMENT, INSTALLCHECK_ENVIRONMENT):
256         ...set it here to pick up files from the right place in context.
257         * tests/libtoolize.at, tests/old-m4-iface.at: Adjust.
258         * libtoolize.m4sh: Take tst_aclocaldir into account when running
259         inside the test harness.
261 2005-11-10  Gary V. Vaughan  <gary@gnu.org>
263         * tests/am-subdir.at: Now that we don't run autoreconf, we have to
264         explicitly tell aclocal what flags to use.
266         * tests/testsuite.at (LT_AT_BOOTSTRAP): Allow passing arguments to
267         configure.
268         * tests/am-subdir.at, tests/nonrecursive.at, tests/old-m4-iface.at,
269         tests/subproject.at: Use LT_AT_BOOTSTRAP.
271 2005-11-09  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
273         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Also set pic_flag.
274         (_LT_LANG_CXX_CONFIG): Use $as_unset, not unset.
275         (_LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG): Remove bogus
276         ld_shlibs tests.
278         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Move setting of
279         `variables_saved_for_relink'..
280         (_LT_SYS_DYNAMIC_LINKER): here, when both `shlibpath_var'
281         and `runpath_var' have been set.
282         Reported by Mike Frysinger <vapier@gentoo.org>.
284         * libltdl/Makefile.inc (AM_CPPFLAGS): Do not define
285         HAVE_CONFIG_H.
286         * libltdl/m4/ltdl.m4 (LTDL_INIT): Do not invoke
287         AC_CONFIG_HEADERS ourselves, we can build with or without now.
289 2005-11-07  Kean Johnston  <jkj@sco.com>
291         * libltdl/config/ltmain.m4sh (func_mode_link) [ sysv4*uw2*,
292         unixware7* ]: Work around linker bug on older SCO systems.
294 2005-11-07  Albert Chin-A-Young  <china@thewrittenword.com>
296         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
297         (_LT_LANG_CXX_CONFIG) [ hpux10, hpux11 ]:
298         hardcode_libdir_flag_spec and hardcode_minus_L are the same for
299         hppa*64 and ia64*. Don't set
300         hardcode_libdir_flag_spec='-L$libdir' on ia64* because if you
301         specify +b and -L, +b overrides what is set into DT_RPATH.
303 2005-11-07  Gary V. Vaughan  <gary@gnu.org>
305         * tests/testsuite.at (_LTDL_PROJECT_FILES): Factored out from
306         common code to build a basic libltdl using project.
307         * tests/old-m4-iface.at, tests/standalone.at, tests/subproject.at:
308         Use it.
310         * doc/libtool.texi (Distributing libltdl): Document correct use of
311         LT_CONFIG_LTDL_DIR mode argument with Autoconf and Automake.
313 2005-11-07  Gary V. Vaughan  <gary@gnu.org>
315         Support 'recursive' mode for building libltdl: Automake will
316         recursively descend into the libltdl directory, and use libltdl's
317         Makefile.am code to build libltdl:
319         * ltdl.m4 (LT_CONFIG_LTDL_DIR): Don't barf on 'recursive' mode
320         for 2nd argument.
321         (_LTDL_MODE_DISPATCH): Handle recursive mode.
323 2005-11-07  Gary V. Vaughan  <gary@gnu.org>
325         * tests/recursive.at: New tests for libltdl as a subdirectory,
326         configured and compiled from the toplevel project using a
327         recursive make..
328         * tests/testsuite.at: Use it.
329         * Makefile.am (TESTSUITE_AT): Depend on it.
331         * libltdl/m4/ltdl.m4 (LTDL_INIT): Don't force running
332         AC_CONFIG_HEADERS for subproject ltdl.
333         * tests/old-m4-iface.at, tests/subproject.at: Remove workaround.
335         * libltdl/m4/ltdl.m4 (LT_CONFIG_LTDL_DIR): Add LTDL-MODE
336         argument.
337         * configure.ac: Use it.
339 2005-11-06  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
341         * libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): lt_unknown is
342         lt_dlunknown.
344         * libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Revert
345         expansion of `$wl'.
346         (_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_GCJ_CONFIG):
347         Do not require LT_SYS_DLOPEN_SELF.
348         (_LT_LANG_C_CONFIG): Instead call it at the right time.
349         (_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
350         (_LT_LANG_GCJ_CONFIG): Do not call _LT_CMD_STRIPLIB.
352         * Makefile.am: `2>&1' as suggested by Albert Chin.
353         * libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4:
354         Two newlines before each macro, fix underlines.
356 2005-11-05  Kean Johnston  <jkj@sco.com>,
357             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
359         * libltdl/config/ltmain.m4sh (func_mode_link) [*-*-sco3.2v5*]:
360         Don't pass through -lc, nor add it to deplibs.
361         [*-*-sysv5*]: Ditto.
362         [*-*-openbsd*, *-*-freebsd*, *-*-dragonfly*]: Remove bogus
363         `$arg'.
365 2005-11-04  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
367         * THANKS: Updated.
369 2005-11-02  Gary V. Vaughan  <gary@gnu.org>
371         * tests/nonrecursive.at: New tests for libltdl as a subdirectory,
372         configured and compiled from the toplevel project.
373         * tests/testsuite.at: Use it.
374         (LT_AT_AUTOHEADER): New macro.
375         * Makefile.am (TESTSUITE_AT): Depend on nonrecursive.at.
377 2005-11-01  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
379         * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [ solaris ]: Add `-64'
380         to $LD if necessary, to permit combining of several convenience
381         libs without any further objects added.
382         Reported by Brian Barrett <brbarret@open-mpi.org>.
384 2005-11-01  Kean Johnston  <jkj@sco.com>,
385             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
387         * libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Use
388         `lt_prog_compile_static', not `link_static_flag'.  Expand `$wl'
389         so expansion of `export_dynamic_flag_spec' works.
390         (_LT_TRY_DLOPEN_SELF): Show dlerror() in case of failure.
391         (_LT_LINKER_SHLIBS) [ aix3 ]: Likewise.
392         (_LT_COMPILER_PIC) [ hpux* ]: Use `${wl}'.
394 2005-11-01  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
396         * THANKS: Updated.
398 2005-11-01  Gary V. Vaughan  <gary@gnu.org>
400         * libltdl/m4/ltdl.m4 (LTDL_INIT): Call _LT_ENABLE_INSTALL directly
401         instead of m4_requiring it, as it relies on enable_ltdl_install
402         and enable_ltdl_convenience to have been initialised first.
404         * libtoolize.m4sh: Use serial tags to locate the correct serial
405         numbers when deciding whether to update.
406         (func_serial): Allow for macro_regex argument to be originating
407         file name.
408         (func_serial_update): Use NL2SP to flatten list of extracted
409         m4_include files.
410         * tests/libtoolize.at: More tests for old-style verbatim copying
411         of macros into aclocal.m4.
413         * libltdl/m4/argz.m4, libltdl/m4/ltoptions.m4, libltdl/ltsugar.m4,
414         libltdl/m4/ltversion.in: Add serial number tags, and bump serial
415         number.
417 2005-10-31  Kean Johnston  <jkj@sco.com>
419         [ sysv5*, sco3.2v5*, sco5v6*, unixware*, OpenUNIX*, sysv4*uw2* ]
420         Patches for various bug fixes, small improvements and updating
421         the SCO platform support.
423         * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Set correctly for SCO.
425         * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Set correct
426         symcode values for the native nm on SCO platforms.
428         * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): All SCO platforms
429         open dependency libraries when you dlopen a module.
431 2005-10-31  Albert Chin-A-Young  <china@thewrittenword.com>
433         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
434         [ aix ]: Remove duplicate always_export_symbols=yes for AIX.
436 2005-10-29  Howard Chu  <hyc@highlandsun.com>
438         * libltdl/config/ltmain.m4sh (func_mode_link):
439         With `-static', only link statically against uninstalled
440         libtool libraries.  Fixes 1.5.x regression to match documented
441         behavior.
442         * NEWS: Updated.
444 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
446         * HACKING: Update note about use of `$#' in m4 macros.
448 2005-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
450         * tests/tagtrace.test: Allow `$AUTOCONF' to contain arguments.
451         Skip if the running `autoconf' version is older than the one
452         used to bootstrap Libtool.
454 2005-10-26  Eric Blake  <ebb9@byu.net>,
455             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
457         * Makefile.am (vcl-tmp): Avoid warnings from diff.
458         * bootstrap: Avoid warnings from find.
459         (lt_tab): Use to prevent editor whitespace "cleanup".
461 2005-10-26  Gary V. Vaughan  <gary@gnu.org>
463         * libtoolize.m4sh: Put back the func_serial_update callback for
464         func_copy_some_files so that the testsuite passes again.  We'll
465         have to find a better way of handling serial numbers in libtool
466         macro files.
468         * libltdl/Makefile.inc: New file, factored out of Makefile.am for
469         use in non-recursive libltdl installations.
470         * bootstrap: Adjust.
471         * Makefile.am: include it.
472         (libltdl/Makefile.am): Adjust to build from the new
473         libltdl/Makefile.inc.
474         (SUBDIR_LIBOBJS): Renamed from this...
475         (LTDL_SUBDIR_LIBOBJS): ...to this.
476         * configure.ac: Adjust.
477         * doc/libtool.texi (Invoking libtoolize): Document the new modes
478         and libtoolize option to select them.
479         * libtoolize.m4sh: Parse new options, --nonrecursive, --recursive
480         and --subproject.  Install the appropriate files with --ltdl
481         according to the selected mode.
482         (func_scan_files): If --subproject, --recursive or --nonrecursive
483         options were not given, use the value from LT_CONFIG_LTDL_DIR; if
484         a mode was given, and there is also an argument to
485         LT_CONFIG_LTDL_DIR, ensure they are the same.
486         * NEWS: Updated.
488         * libtoolize.m4sh: Don't use func_serial_update as a copy
489         function for libtool m4 files with no macro_regex.  If the
490         files are copied directly into aclocal.m4, because
491         AC_CONFIG_MACRO_DIR isn't set for example, there is no way
492         to tell what serial number goes with what source file.
493         (func_serial_update): For future-proofing, only make the second
494         serial number check if the destination file wasn't m4_included
495         into aclocal.m4 (and hence updated automatically by the cat of
496         copying a new version to the dest directory).
498         * libtoolize.m4sh: Move the consistency checks...
499         (func_check_macros): ...into here.  Also suggest LT_WITH_LTDL if
500         appropriate.
502         * libtoolize.m4sh: Copying just libtool.m4 for hand maintained
503         aclocal.m4 doesn't work.  List all required files in that case,
504         using the files from installed libltdl if available.  Also, list
505         the additional files required when using libltdl.
506         Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
508         * libltdl/ltdl.h, libltdl/ltdl.c (lt_dlhandle_first): Removed.
509         * libltdl/ltdl.h, libltdl/ltdl.c (lt_dlhandle_next)
510         (lt_dlhandle_find, lt_dlforeach): Removed...
511         (lt_dlhandle_iterate, lt_dlhandle_fetch, lt_dlhandle_map): Similar
512         functions that are multi-loader safe, and require a registered
513         interface validator argument.
514         * doc/libtool.texi: Updated.
515         * NEWS: Updated.
517         * libtoolize.m4sh: Always copy pkgconfig_files for --ltdl, incase
518         ltdl needs additional things not found by automake when looking at
519         the parent project configury.
520         * tests/libtoolize.at: Adjust.
522 2005-10-17  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
524         * libltdl/config/ltmain.m4sh [darwin]: Don't check for "bundle"
525         in file path.
526         Reported by Christoph Egger <Christoph_Egger@gmx.de>.
528 2005-10-14  Gary V. Vaughan  <gary@gnu.org>
530         * libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Don't nest AC_MSG_CHECKING/
531         AC_MSG_RESULT pairs.
533 2005-10-14  Gary V. Vaughan  <gary@gnu.org>
535         * tests/subproject.at: Move 'touch config.h.in' invocation.
537         * tests/subproject.at (_LTDL_SETUP): Use pushdef/popdef to
538         simulate file-local scope.  Empty source file compilation is not
539         portable, so add minimal code to generated foo.c file.
541 2005-10-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
543         * libltdl/m4/libtool.m4 (LT_PATH_NM): End test source with
544         newline.
545         Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
547 2005-10-13  Peter O'Gorman  <peter@pogma.com>
549         * libltdl/ltdl.c (find_module): Check that dir is set.
550         (load_deplibs): Don't free the user search paths too early.
552 2005-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
554         * tests/testsuite.at (LT_AT_AUTOMAKE): New macro.
555         * tests/subproject.at: Use it.  Do not call `autoreconf' in
556         tests, since it will try to reconfigure `sub/ltdl', which
557         breaks `make check' during `distcheck' because of a readonly
558         source tree.
560         * libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Also set INCLTDL.
562         * libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE, LTDL_INSTALLABLE)
563         (LT_WITH_LTDL): Revert Gary's 2005-10-10 patch.
565         * tests/stresstest.at: Use `allow_undefined_flag' instead of
566         host_os setting.
568 2005-10-10  Gary V. Vaughan  <gary@gnu.org>
570         * libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Remove bogus extra
571         closing brackets.
573 2005-10-10  Gary V. Vaughan  <gary@gnu.org>
575         * libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE, LTDL_INSTALLABLE): Remove
576         AC_SUBST of LIBLTDL, LTDLINCL, and all mention of INCLTDL.
577         (LT_WITH_LTDL): Due to order constraints between LTDL_CONVENIENCE,
578         LTDL_INSTALLABLE, LT_WITH_LTDL & LTDL_INIT, we can safely AC_SUBST
579         LIBLTDL and LTDLINCL here.  Also, remember to synch INCLTDL.
581 2005-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
583         * tests/stresstest.at [ aix3, beos, os2 ]: Always use
584         `-no-undefined'.
586 2005-10-09  Christian Biesinger  <cbiesinger@web.de>
588         * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [ beos ]:
589         Initial shared library support for C++.
591 2005-10-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
593         * configure.ac (abs_top_builddir, abs_top_srcdir): always
594         substitute.
595         * Makefile.am (BUILDCHECK_ENVIRONMENT)
596         (INSTALLCHECK_ENVIRONMENT): New macros.  Set _lt_pkgdatadir,
597         LIBTOOL, LIBTOOLIZE accordingly, by using above, and
598         program_transform_name.
599         * tests/testsuite.at (TESTS_PREPARE): Do not set them anymore.
600         Set $unset.
601         (LT_AT_MAKE): Use to unset LIBTOOL and LIBTOOLIZE.
603 2005-10-05  Gary V. Vaughan  <gary@gnu.org>
605         * tests/subproject.at: Commit the right file this time.
607 2005-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
609         * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Fix m4 quoting
610         for lt_simple_link_test_code.
611         Reported by Nicolas Joly <njoly@pasteur.fr>.
613 2005-10-05  Gary V. Vaughan  <gary@gnu.org>
615         * tests/subproject.at: New tests for libltdl as a subproject with
616         its own configuration.
617         * tests/testsuite.at: Use it.
618         * Makefile.am (TESTSUITE_AT): Depend on it.
620 2005-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
622         * Makefile.am: Simplify.  Do not use abs_top_srcdir.
623         Reported by Gary V. Vaughan <gary@gnu.org>.
625 2005-10-05  Gary V. Vaughan  <gary@gnu.org>
627         * libltdl/m4/ltdl.m4 (_LT_CONFIG_LTDL_DIR): Spurious './' prefixes
628         upset BSD pmake, don't set lt_ltdl_dir in this case.
629         (LTDL_CONVENIENCE, LTDL_INSTALLABLE): Adjust.
631 2005-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
633         * Makefile.am (BUILDCHECK_ENVIRONMENT)
634         (INSTALLCHECK_ENVIRONMENT): New macros.
635         (check-local, installcheck-local): Use them.
636         * tests/testsuite.at (PREPARE_TESTS): Extract host_alias, ECHO.
637         Set configure_options appropriately.
638         (LT_AT_CONFIGURE, LT_AT_AUTORECONF, LT_AT_MAKE): New macros.
639         (LT_AT_BOOTSTRAP): Use them.
640         * tests/am-subdir.at, tests/early-libtool.at,
641         tests/old-m4-iface.at, tests/standalone.at: Likewise.
642         * tests/link-order.test: Do not extract ECHO any more.
644         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Require
645         AC_CANONICAL_HOST and _LT_DECL_SED.
647 2005-10-03  Gary V. Vaughan  <gary@gnu.org>
649         * libltdl/m4/ltdl.m4: Bump serial as we are changing the
650         interface.
651         (LT_CONFIG_LTDL_DIR): New macro to centralise setting the
652         subdirectory used for libltdl.
653         (LTDL_CONVENIENCE): Continue backwards compatibility support for
654         declaring the libltdl source subdirectory with an argument, but
655         defer to LT_CONFIG_LTDL_DIR.
656         (AC_LIBLTDL_CONVENIENCE): Adjust to upgrade to the new style.
657         (LTDL_INSTALLABLE, AC_LIBLTDL_INSTALLABLE): Ditto.
658         (LTDL_INIT): lt_ltdl_dir is set by LT_CONFIG_LTDL_DIR now, and
659         even `./' needs trailing slashes trimming!  If the user didn't
660         upgrade their configure.ac yet, call LT_CONFIG_LTDL_DIR for them.
661         * libtoolize.m4sh (func_scan_files): If --ltdl option is given
662         without a directory argument, use the value from
663         LT_CONFIG_LTDL_DIR; if the argument is given, and there is also a
664         value in LT_CONFIG_LTDL_DIR, ensure they are the same.
665         * libltdl/configure.ac: Use it.
666         * NEWS: Updated.
668 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
670         * tests/old-m4-iface.at (Makefile.in): Do not reconfigure
671         libltdl directory.
673 2005-09-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
675         * tests/deplibs-ident.at: New file with XFAIL test to expose
676         wrong multiple listing of a deplib on the command line.
677         * Makefile.am, tests/testsuite.at: Updated.
678         Reported by Brian Barrett <brbarret@open-mpi.org>.
680         * tests/old-m4-iface.at: Define top_srcdir, work around current
681         ltdl.m4 bug.
683         * libltdl/config/ltmain.m4sh (func_mode_link):
684         Fix wrong logic introduced in last commit.
686 2005-09-30  Gary V. Vaughan  <gary@gnu.org>
688         * tests/libtoolize.at: Add a new test to catch a regression I
689         almost introduced with respect to copying macro files when
690         AC_CONFIG_MACRO_DIR is shared with libltdl subproject.
692 2005-09-30  Gary V. Vaughan  <gary@gnu.org>
694         * tests/old-m4-iface.at: Start of a new test series for m4
695         interface backwards compatibility.
696         * tests/testsuite.at: Use it.
697         (macrodir): Declare the location of uninstalled libtool m4 macros.
698         * Makefile.am (TESTSUITE_AT): Depend on it.
700 2005-09-29  Tim Rice  <tim@multitalents.net>  (tiny change)
702         * tests/early-libtool.at (Makefile.in): Set $(SHELL).
704 2005-09-29  Peter Ekberg  <peda@lysator.liu.se>
706         * libltdl/config/ltmain.m4sh (func_mode_link): Don't modify
707         user provided symbols file. Adjust removal of temporary files
708         and also remove temporary files used during symbols file
709         filtering.
711 2005-09-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
713         * libtoolize.m4sh (func_included_files): Do not recurse
714         non-existent files.
716 2005-09-27  Gary V. Vaughan  <gary@gnu.org>
718         * libtoolize.m4sh (func_scan_files): Support projects that have
719         upgraded libtool, but still use an old autoconf.  When the libtool
720         macros are not copied (because of missing ACLOCAL_AMFLAGS and
721         AC_CONFIG_MACRO_DIR ), point them at the libtoolize master tree
722         for files to manually copy into acinclude.m4 or aclocal.m4.
724         * libltdl/lt_error.c (lt__last_error, lt__error_strings): The lt__
725         prefix is used to indicate internal symbols that are only exported
726         for use by other parts of libltdl.  These are now static, so...
727         (last_error, error_strings): ...renamed to this.  Changed all
728         callers.
730         * libltdl/ltdl.h (lt_dlmutex_register, lt_dlmutex_lock)
731         (lt_dlmutex_unlock, lt_dlmutex_seterror, lt_dlmutex_geterror)
732         (lt_dlmalloc, lt_dlrealloc, lt_dlfree): Remove deprecated APIs.
733         * doc/libtool.tex: Updated.
734         * NEWS: Updated.
736         * libltdl/ltdl.c (lt_dlcaller_register): Renamed to avoid problems
737         with module visibilty when linked with programs written for the
738         old API.
739         (lt_dlinterface_register): New name.
740         * Makefile.am (VERSION_INFO): Bumped.
741         * doc/libtool.texi (User defined module data): Updated.
743 2005-09-27  Tim Rice  <tim@multitalents.net>
745         * tests/defs.m4sh, tests/testsuite.at (PREPARE_TESTS)
746         <AUTORECONF>: Allow variable override.
748 2005-09-26  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
750         * HACKING: Only update libltdl version info before release.
752 2005-09-26  Tim Rice  <tim@multitalents.net>
754         * configure.ac <AUTOM4TE>: Allow variable override.
756 2005-09-25  Alan W. Irwin  <irwin@beluga.phys.uvic.ca>,
757             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
759         * libltdl/config/ltmain.m4sh (func_win32_libid)
760         [ cygwin, mingw ]: Robustify sed script to determine
761         win32_libid_type.
762         (func_mode_link) [ mingw ]: Ignore `-lm'.
764 2005-09-25  Peter Ekberg  <peda@lysator.liu.se>
766         * libltdl/libltdl/lt__private.h, libltdl/lt_error.c:
767         Don't export the lt__last_error and lt__error_strings
768         variables. Define lt__error_strings so that no relocations
769         are needed.
770         * libltdl/libltdl/lt__private.h (LT__STRERROR, LT__GETERROR)
771         (LT__SETERRORSTR): Adjust to not use the above variables,
772         instead use the following functions...
773         * libltdl/lt_error.c: (lt__error_string, lt__get_last_error)
774         (lt__set_last_error): Reimplement the functionality in
775         these functions instead.
776         * libltdl/libltdl/lt_error.h: Add LT_ERROR_LEN_MAX define for
777         max error string length.
778         (lt_dlerror_table): Append explicit nul terminators so that
779         compilers warn more reliably if the above define is too small.
781 2005-09-23  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
783         * tests/link-order.at [ aix* ]: skip path syntax grep.
785 2005-09-23  Peter Ekberg  <peda@lysator.liu.se>
787         * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Fix awk
788         script to be a single line so that the cache variable isn't
789         multiline.
791 2005-09-23  Eric Blake  <ebb9@byu.net>  (tiny change)
793         * libltdl/loaders/loadlibrary.c (vm_open): Silence gcc warnings.
794         [__CYGWIN__]: Include <sys/cygwin.h> for prototype.
796 2005-09-22  Gary V. Vaughan  <gary@gnu.org>
798         * bootstrap: Don't clobber the working copy metadata in
799         ./{arch}/libtool during bootstrap.
801 2005-09-22  Peter Ekberg  <peda@lysator.liu.se>,
802             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
804         * libltdl/config/ltmain.m4sh (func_mode_link): Filter
805         user supplied symfile to tag relevant symbols as data
806         symbols. Fixes segfault in stresstest.at on Cygwin and
807         makes the test pass.
809 2005-09-22  Peter Ekberg  <peda@lysator.liu.se>
811         * tests/link-order.test: Clean up the uninstalled libraries
812         before linking the test executables so that they don't pick
813         up the dlls from the current dir on Cygwin and MinGW.
815 2005-09-22  Tim Rice  <tim@multitalents.net>
817         * libltdl/m4/libtool.m4 (LT_PATH_NM, _LT_LINKER_SHLIBS)
818         (_LT_LANG_CXX_CONFIG, _LT_SYS_HIDDEN_LIBDEPS):
819         Add missing `;;' after case list.
821 2005-09-22  Peter Ekberg  <peda@lysator.liu.se>,
822             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
824         * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS, _LT_COMPILER_PIC)
825         (_LT_LINKER_SHLIBS): Require _LT_TAG_COMPILER to make sure that
826         $compiler is assigned. Fixes crippled configure output.
828 2005-09-21  Peter Ekberg  <peda@lysator.liu.se>
830         * libltdl/m4/libtool.m4 (LT_PATH_NM): Fix autodetection of
831         dumpbin and also check for "link -dump -symbols" as a synonym
832         for "dumpbin -symbols".
834         * libltdl/config/ltmain.m4sh (func_mode_uninstall): Clean
835         up $dlname as well when cleaning a uninstalled libtool
836         library. Fixes -mode=clean on Cygwin and MinGW to actually
837         remove the dll when cleaning up an uninstalled library.
839 2005-09-20  Peter Ekberg  <peda@lysator.liu.se>
841         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
842         Split up --out-implib option for linker in separate args so that
843         the MSYS path translation can do its magic on the provided path
844         to the import library. Fixes problem in stresstest.at on MinGW.
846 2005-09-19  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
848         * Makefile.am (ltdldatafiles): Fix installation order to match
849         dependency order.
850         (libltdl/Makefile.in): Use $(srcdir) for non-GNU make.
852 2005-09-17  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
854         * libltdl/config/ltmain.m4sh (func_mode_link): Allow some
855         ARM gcc ABI flags through.
856         Reported by Andrés Moré <more.andres@gmail.com>.
858         * Makefile.am (all-local): Rebuild libltdl/Makefile.in.
860         * libltdl/m4/ltdl.m4 (LTDL_INIT) <CONFIG_H>: Rename to..
861         <LT_CONFIG_H>: this, to contain the name of the config
862         header.
863         * Makefile.am <DEFS>: Use it to define LT_CONFIG_H.
864         * HACKING, libltdl/argz.c, libltdl/lt__alloc.c,
865         libltdl/libltdl/lt__dirent.h, libltdl/libltdl/lt__glibc.h,
866         libltdl/libltdl/lt__private.h, libltdl/libltdl/lt__strl.h:
867         Adjusted.
869 2005-09-16  Peter Ekberg  <peda@lysator.liu.se>
871         * tests/testsuite.at (LT_AT_EXEC_CHECK): Make sure
872         that the exit status of the tested program is
873         propagated as the exit status of the expression
874         fed to AT_CHECK.
876 2005-09-14  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
878         * libltdl/argz.c <HAVE_CONFIG_H>: Avoid redefinition warning.
880         * libltdl/ltdl.c (lt_argz_insert): Work around newlib
881         argz_insert bug.
882         * Makefile.am (VERSION_INFO): Bumped revision.
883         Reported by Eric Blake <ebb9@byu.net>.
885 2005-09-13  Peter Ekberg  <peda@lysator.liu.se>,
886             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
888         * libltdl/config/ltmain.m4sh (func_generate_dlsyms):
889         Fix escape expression to actually escape relevant
890         characters from the following grep. Fix Cygwin and
891         MinGW to use the filtered symbol list when exporting
892         from self, and not the symbol filter.
893         * tests/stresstest.at: Export w8, not w8$
895 2005-09-12  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
897         Make tagdemo work smoothly with both pre- and ISO C++ compilers,
898         and remove all use of libstdc from other tests.
900         * tests/tagdemo/configure.ac (HAVE_NAMESPACES, HAVE_IOSTREAM):
901         New tests for ISO C++ features.  Reimplementation of similar
902         macros from the autoconf archive.
903         * tests/tagdemo/foo.cpp, tests/tagdemo/main.cpp: Adjusted.
904         * tests/am-subdir.at, tests/template.at: Do not use iostream.
906 2005-09-12  Peter Ekberg  <peda@axentia.se>,
907             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
909         * tests/testsuite.at (host_os): Pull from `libtool --config'.
910         * tests/stresstest.at [ cygwin, mingw, pw32 ]: Use it to fix
911         setting of `-no-undefined'.
913 2005-09-12  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
915         * libltdl/m4/ltdl.m4 (LT_WITH_LTDL, LTDL_CONVENIENCE)
916         (LTDL_INSTALLABLE): Use less quoting for expanded LIBLTDL,
917         LTDLINCL.  Use m4_default instead of m4_if, to work
918         around AU_ALIAS bug with empty macro arguments.
919         (LTDL_INIT): Likewise.
920         * libltdl/m4/ltoptions.m4 (_LT_WITH_PIC): Likewise.
921         * TODO, HACKING: Updated.
923 2005-09-10  Gary V. Vaughan  <gary@gnu.org>
925         * libtoolize.m4sh (TAR): Allow the user to override the tar
926         command.
928 2005-09-09  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
930         * libltdl/m4/libtool.m4 (_LT_COMPILER_BOILERPLATE)
931         (_LT_LINKER_BOILERPLATE, _LT_COMPILER_OPTION, _LT_LINKER_OPTION)
932         (_LT_COMPILER_C_O): When comparing expected and actual compiler/
933         linker output for warnings, weed out both empty lines as well as
934         lines starting with possibly indented `+', to allow for shell
935         debugging with `set -x'.
936         Check the weeded instead of unweeded contents for emptiness.
938         * libltdl/config/ltmain.m4sh (func_mode_link): Actually provide
939         a useful error message.  Fixes long-standing shameful user
940         neglection.
941         Reported by Martin Paljak <martin.paljak@gmail.com>.
943 2005-09-08  Peter Ekberg  <peda@axentia.se>
945         * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS) [dumpbin]:
946         Symbols in "pick any" sections are not global. Use
947         awk, not sed, in the global_symbol_pipe so that keeping
948         track of sections is easier.
949         * doc/libtool.texi (libtool script contents): Update to hint
950         at new findings concerning "pick any" sections.
952 2005-09-08  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
954         * tests/early-libtool.at (config.status): Use EXEEXT
955         consistently.
956         Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
958 2005-09-08  Charles Wilson  <cygwin@cwilson.fastmail.fm>
960         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
961         [ cygwin, mingw, pw32 ]: Use --enable-auto-image-base instead of
962         a fixed image base address.
964 2005-09-06  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
966         * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD) [ sysv4*uw2*,
967         sysv4.2uw2* ]: Fix my last checkin to really match the more special
968         case before the general case.
969         Reported by Stepan Kasal <kasal@ucw.cz>.
971 2005-09-06  Roger Cornelius  <rac@tenzing.org>
973         * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD)
974         [ sysv5OpenUNIX8, sysv5UnixWare7, sysv5uw[78], unixware7,
975         sysv4*uw2* ]: Match special cases before general case.
977 2005-09-05  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
979         * bootstrap: another AIX sed fix.
981         * Makefile.am (TESTS_ENVIRONMENT): Export SHELL.
982         * bootstrap (SHELL): Set to $CONFIG_SHELL or /bin/sh.
983         Name `make' targets in portable fashion.  Work around `rm'
984         warnings.  Unconditionally create fake `libtoolize'.
985         Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
987         * Makefile.am (doc/notes.txt): Use --no-headers instead of
988         --plaintext for makeinfo.
989         Reported by Peter O'Gorman <peter@pogma.com>.
991 2005-09-04  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
993         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ aix ]
994         <export_symbols_cmds>: Work around shell expansion issue in
995         func_show_eval by separating `$' and field number; drop then
996         unnecessary m4 quoting.
998 2005-09-02  Gary V. Vaughan  <gary@gnu.org>
1000         AC_BEFORE only works if declarations are made inside the macro
1001         cited as the first argument:
1003         * libltdl/m4/libtool.m4 (LT_OUTPUT): Move AC_BEFORE decls...
1004         (LT_INIT, LT_LANG): ...to the macro that has to come first.
1006 2005-09-01  Peter O'Gorman  <peter@pogma.com>
1008         * libltdl/m4/libtool.m4 (old_postintall_cmds): chmod 644 before
1009         running ranlib.
1010         Reported by Gerald Pfeifer <gerald@pfeifer.com>
1012 2005-09-01  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1014         * libltdl/m4/libtool.m4 (_LT_PROG_CXX, _LT_PROG_F77)
1015         (_LT_PROG_FC): aclocal-1.4 compatibility workaround.
1017         * bootstrap: Do not use nonportable -path.
1018         Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.
1020 2005-09-01  Gary V. Vaughan  <gary@gnu.org>
1022         * doc/libtool.texi (LT_INIT): Fix a logical error with
1023         documentation of --with-pic vs --without-pic.
1025 2005-09-01  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1027         * libltdl/m4/ltoptions.m4 (_LT_SET_OPTIONS): m4_defun this..
1028         * libltdl/m4/libtool.m4 (LT_INIT): so it can be m4_require'd
1029         from here with user-supplied options.  Fixes output macro
1030         ordering issue.
1032 2005-09-01  Gary V. Vaughan  <gary@gnu.org>
1034         * libtoolize.m4sh (func_scan_files): When searching for evidence
1035         of Autotools in aclocal.m4, be careful not to trip over requires
1036         and defuns.
1038 2005-08-31  Gary V. Vaughan <gary@gnu.org>,
1039             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1041         * libltdl/m4/ltoptions.m4 (_LT_SET_OPTIONS): Move option macro
1042         dipatch..
1043         (_LT_SET_OPTION): here.  Do not fail but warn on unknown
1044         options.
1045         (_LT_UNLESS_OPTIONS(win32-dll), LT_OPTION_DEFINE(dlopen)):
1046         Add whitespace.
1047         Reported by Robert Ögren <lists@roboros.com> and
1048         Akim Demaille <akim@lrde.epita.fr>.
1050 2005-08-31  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1052         * libltdl/m4/libtool.m4 [ solaris CC ]: Document issue with C++
1053         standard libraries.
1055 2005-08-30  Gary V. Vaughan  <gary@gnu.org>
1057         * libltdl/m4/ltoptions.m4 (AC_LIBTOOL_PIC_MODE): Renamed...
1058         (AC_LIBTOOL_PICMODE): ...this in the backwards compatibility
1059         code.  There never was an AC_LIBTOOL_PIC_MODE macro.
1061         * libltdl/m4/libtool.m4 (_LT_SETUP): Remove duplicate
1062         --enable-libtool-lock declaration.
1064 2005-08-29  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1066         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
1067         (_LT_PATH_TOOL_PREFIX, _LT_SYS_HIDDEN_LIBDEPS, _LT_DECL_EGREP):
1068         Fix typos.
1070         * Makefile.am: Install libltdl data files in correct order.
1071         Use pre-defined programs for installation; use NORMAL_INSTALL
1072         and NORMAL_UNINSTALL.  Really fix ownership and timestamp
1073         problems.  Fix typo in uninstallation of aclocal files.
1074         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> and
1075         Charles Wilson <cygwin@cwilson.fastmail.fm>.
1077 2005-08-29  Gary V. Vaughan <gary@gnu.org>,
1078             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1080         Allow for portability with Autoconf 2.59, Automake 1.9.6,
1081         which lack AC_CONFIG_LIBOBJ_DIR support.
1083         * bootstrap: Unless environment variable WORKING_LIBOBJS_SUPPORT
1084         is set to true aka `:', symlink ..
1085         * argz.c lt__dirent.c lt__strl.c: .. these from the copies in
1086         libltdl.
1087         * configure.ac (SUBDIR_LIBOBJS): Automake conditional, set if
1088         bootstrap didn't make the extra copies of libobj sources in
1089         top srcdir...
1090         * Makefile.am: Add these to EXTRA_DIST if SUBDIR_OBJS is not set,
1091         as well as the originals in libltdl/, in order to work when
1092         bootstrapped both with old and newer Automake/Autoconf.
1094 2005-08-29  Gary V. Vaughan  <gary@gnu.org>
1096         * libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE): Fix the comment to not
1097         pretend that LIBLTDL and LTDLINCL are not AC_SUBSTed here.
1099 2005-08-29  Gary V. Vaughan  <gary@gnu.org>
1101         Some macros had relied on accidentally correct ordering in order
1102         for $MV to be defined before use.  Factor out setting of some
1103         common file commands and m4_require it before use:
1105         * libltdl/m4/libtool.m4 (_LT_FILEUTILS_DEFAULTS): Allow user to
1106         override some common file commands at configure time.
1107         (_LT_SETUP, _LT_CONFIG, _LT_COMPILER_OPTION, _LT_LINKER_OPTION)
1108         (_LT_COMPILER_C_O, _LT_COMPILER_FILE_LOCKS)
1109         (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
1110         (_LT_SYS_HIDDEN_DEPLIBS): m4_require it to ensure the commands are
1111         defined before they are called.
1113 2005-08-28  Gary V. Vaughan  <gary@gnu.org>
1115         * libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4: AU_DEFUN doesn't pass
1116         arguments.  Use AU_ALIAS instead!
1118 2005-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
1119             Gary V. Vaughan <gary@gnu.org>
1121         * libltdl/config/ltmain.m4sh (func_lalib_unsafe_p) [osf]:
1122         Save file descriptor to original STDIN, and restore after
1123         redirection.  Fixes memory corruption with Tru64 and OSF sh.
1124         Reported by Nicolas Joly <njoly@pasteur.fr>.
1126 2005-08-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
1127             Peter Ekberg  <peda@lysator.liu.se>
1129         * tests/early-libtool.at: Fix goofed up make rules in
1130         previous commit.
1132         * tests/inherited_flags.at: Weaken for MSVC.
1133         * tests/early-libtool.at, tests/template.at: Fix for compiler
1134         that do not understand '-c -o'.
1136 2005-08-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1138         * tests/standalone.at, tests/template.at: Do not compare
1139         output because of EOL issues.  Resolve warnings, make cross-
1140         compilation aware.
1141         Reported by Peter Ekberg <peda@axentia.se>.
1143         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
1144         (_LT_LINKER_SHLIBS): Double-quote unsafe tag variable
1145         descriptions: they are literals.
1147 2005-08-25  Peter Ekberg  <peda@lysator.liu.se>,
1148             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1150         * tests/standalone.at: (without autotools): Add
1151         $(CFLAGS) to LTCOMPILE and LTLINK. Separate compiling
1152         and linking. Remove compiling flags from link. Add
1153         --tag. Add -no-undefined flag.
1155 2005-08-24  Bruno Haible  <bruno@clisp.org>
1157         * libltdl/config/ltmain.sh (func_mode_install): Try "ln -s -f"
1158         and "rm -f && ln -s" to make a symlink for a shared library: the
1159         former is needed for libraries `ln' depends on, the latter for
1160         Solaris /bin/ln.
1161         Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
1163         * libltdl/config/ltmain.sh (cwrappersource): return 127 if exec
1164         failed.
1166 2005-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1168         * libltdl/m4/libtool.m4 (_LT_COMPILER_C_O): Send chmod warning to log.
1170         * tests/defs.m4sh (m4dir, auxdir, scripts): Fix for source tree
1171         reorganization.
1172         * tests/sh.test: Adjust.  Also barf on sed diagnostics so this
1173         test will not fail again silently.
1175         * libltdl/m4/ltdl.m4 (LT_SYS_SYMBOL_USCORE): Use _LT_EOF, not
1176         EOF.
1178         * tests/fcdemo/Makefile.am (suffix rules): Explicitly add
1179         $(FCFLAGS_f90) so the tests can pass on AIX.
1181 2005-08-24  Peter O'Gorman  <peter@pogma.com>
1183         * libltdl/config/ltmain.m4sh (inherited_linker_flags): Work when
1184         output is an application too.
1185         Reported by Christopher Egger <Christoph_Egger@gmx.de>
1187 2005-08-23  Stepan Kasal  <kasal@ucw.cz>,
1188             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1190         * libltdl/m4/ltdl.m4 (LTDL_INIT): Use AH_HEADER if defined.
1191         Compute CONFIG_H only before creating config.status.
1192         Reported by Peter Ekberg <peda@axentia.se>.
1194 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1196         * Makefile.maint (web-manual): Fix $(LN_S) to use absolute path.
1197         Fix creating the manual for VPATH build.
1199         * bootstrap: Fix missing replace config -> $auxdir.  ltmain.m4sh
1200         is prerequisite to ltmain.sh.  Improve warning message.
1202 2005-08-22  Gary V. Vaughan  <gary@gnu.org>
1204         Reorganise the libtool tree to create a bootstrapped libltdl for
1205         installation to the libtoolize master tree, so that libltdl is
1206         useable even in the extreme case of when automake and autoconf are
1207         not installed on the developers machine.  Part of this change
1208         requires some duplication of rules between Makefile.am (which
1209         builds libltdl for this distribution) and libltdl/Makefile.am
1210         (which is used by projects that libltoolize --ltdl --copy), so
1211         libtool now really does use a single toplevel Makefile.am, and we
1212         generate libltdl/Makefile.am from that:
1214         * m4, config: Moved from here...
1215         * libltdl/m4, libltdl/config: ...to here, to reduce the amount of
1216         kludging needed in bootstrap for autoreconf to run.
1217         * tests/cdemo/Makefile.am, tests/demo/Makefile.am,
1218         tests/depdemo/Makefile.am, tests/f77demo/Makefile.am,
1219         tests/fcdemo/Makefile.am, tests/mdemo/Makefile.am,
1220         tests/mdemo2/Makefile.am, tests/pdemo/Makefile.am,
1221         tests/tagdemo/Makefile.am (ACLOCAL_AMFLAGS): Adjust to
1222         compensate.
1223         * tests/cdemo/configure.ac, tests/demo/configure.ac,
1224         tests/depdemo/configure.ac, tests/f77demo/configure.ac,
1225         tests/fcdemo/configure.ac, tests/mdemo/configure.ac,
1226         tests/mdemo2/configure.ac, tests/pdemo/configure.ac,
1227         tests/tagdemo/configure.ac (AC_CONFIG_AUX_DIR): Ditto.
1228         * libltdl/m4/ltdl.m4: Increment serial number.
1229         (LTDL_INIT): Accept an optional directory argument to prefix each
1230         of the LD_DLLOADERS locations.  Default to empty for backwards
1231         compatibility.
1232         * Makefile.maint: Adjust to compensate.
1233         * configure.ac (AC_CONFIG_AUX_DIR, AC_CONFIG_MACRO_DIR): Adjust.
1234         (AC_CONFIG_LIBOBJ_DIR): Set here so that we can build LTLIBOBJS
1235         from in a subdirectory from the amalgamated Makefile.am.
1236         (AM_PROG_CC_C_O, AM_INIT_AUTOMAKE): Use subdir-objects.
1237         (AC_CONFIG_FILES): Remove libltdl/Makefile.am.
1238         * libltdl/Makefile.am: Removed from repository, and merged into
1239         Makefile.am as we now generate it...
1240         * Makefile.am (libltdl/Makefile.am): ...from here, by extracting
1241         the merged rules, and tweaking paths to accomodate the difference
1242         in directory from Makefile.am to libltdl/Makefile.am.
1243         (nobase_dist_pkgdata_DATA): Automake generated installation rules
1244         change timestamps of installed files, so renamed this...
1245         (configauxfiles): ...to this...
1246         (libtoolize): ...substitute it...
1247         (install-data-local): ...install manually, preserving
1248         timestamps...
1249         (install-data-hook): ...and set execute bit as appropriate.
1250         (uninstall-hook): Not forgetting to remove them at uninstall.
1251         (libltdl/Makefile.in): New rule.  Called from...
1252         * bootstrap: ...here to avoid relying on config.status at
1253         bootstrap time.
1254         (auxdir, m4dir): Extract from configure.ac for ease of future
1255         maintenance.  Adjust all references.
1256         (reconfdirs): Call autoreconf for libltdl too -- even
1257         though we don't use it for the build, libltdl/configure and
1258         friends are installed with `libtoolize --ltdl --copy'.
1259         * libtoolize.m4sh: Add files from the installed config master tree
1260         to libtoolize --ltdl project subdirectory.
1261         Diagnose duplicated files when --ltdl is used in an autotooled
1262         project.
1263         It's perfectly fine to run `libtoolize --ltdl --copy' in a tree
1264         that has no configure.ac or configure.in; we want libltdl to be
1265         useful even to projects that don't use autotools themselves.
1266         (libtoolize_flags): Removed.  Changed all callers.
1267         (func_massage_pkgconfig_files): New function.
1268         * tests/standalone.at: New tests for using libltdl without
1269         supporting configury in the parent project.
1270         * tests/testsuite.at: Run them!
1271         * NEWS: Updated.
1273 2005-08-22  Peter Ekberg  <peda@lysator.liu.se>
1275         * m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS) [dumpbin]: Add
1276         forgotten end bracket.
1278         * doc/libtool.texi: Shorten the lines describing the
1279         output from MS dumpbin, and align the columns.
1281         * m4/libtool.m4: Bump serial number.
1282         (LT_PATH_NM): If nm is not found on the path, look for
1283         dumpbin. Then check if $NM responds as dumpbin would
1284         and if not, assume the name lister is BSD nm compatible.
1285         (_LT_CMD_GLOBAL_SYMBOLS): If the name lister uses the
1286         dumpbin interface, adjust the test to find a working
1287         global_symbol_pipe.
1288         * doc/libtool.texi: Document $NM to possibly be MS
1289         dumpbin compatible, and also document the format of the
1290         relevant output from MS dumpbin.
1292 2005-08-21  Gary V. Vaughan  <gary@gnu.org>
1294         * libltdl/Makefile.am: revert mistaken commit.
1296         * tests/template.at [darwin]: Some of these tests result in
1297         unresolved symbols on darwin, so don't run those test on that
1298         host!
1300 2005-08-18  Gary V. Vaughan  <gary@gnu.org>,
1301             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1303         * m4/libtool.m4 (LT_OUTPUT): New macro to generate
1304         libtool before config.status.
1305         (_LT_CONFIG_COMMANDS): If LT_OUTPUT has been invoked, then
1306         generate code in config.status to call config.lt instead of
1307         generating libtool directly.
1308         * doc/libtool.texi (LT_INIT): Document LT_OUTPUT.
1309         * tests/early-libtool.at: New test.
1310         * Makefile.am (TESTSUITE_AT): Updated.
1311         * tests/testsuite.at: Updated.  Define defaults for $ACLOCAL,
1312         $AUTOCONF.
1314 2005-08-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1316         * TODO: Actually updated now.
1318         * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ freebsd ]: Do not
1319         assume `aout' for modern FreeBSD by absence of deprecated
1320         `objformat'.
1322         * m4/libtool.m4 [sun, CC] (_LT_LANG_CXX_CONFIG): Move postdeps
1323         override ..
1324         (_LT_SYS_HIDDEN_LIBDEPS): ..here.
1325         * TODO: Updated.
1327 2005-08-18  Stepan Kasal  <kasal@ucw.cz>
1329         * config/general.m4sh (SP2NL, NL2SP): Simplify.
1331 2005-08-17  Gary V. Vaughan  <gary@gnu.org>
1333         * m4/ltdl.m4 (LTDL_INIT): Fix mismatched parens.
1335 2005-08-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1337         * tests/inherited_flags.at: Store intermediate libtool output
1338         for better debugging.
1340         * tests/link-order.at: Add -no-undefined to LDFLAGS.
1342         * tests/convenience.at, tests/template.at: Change suffix of C++
1343         files to .cpp, for compatibility with MSVC.
1344         Reported by Peter Ekberg <peda@axentia.se>.
1346 2005-08-12  Jeremie LE HEN  <tataz@sitadelle.com>,
1347             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1349         * doc/libtool.texi (Creating object files, Linking libraries):
1350         Update description of library object (.lo) and libtoo library
1351         (.la) files.
1352         (all over): Replace MODE with --mode=MODE in examples.
1354 2005-08-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1356         * config/ltmain.m4sh (func_source): New function.
1357         (func_mode_execute, func_mode_install, func_mode_link): Use it.
1358         Do not append a dot to a file name to source, it breaks on
1359         cygwin managed mounts and is not necessary anywhere.
1360         Reported by Eric Blake <ebb9@byu.net>.
1362         * config/ltmain.m4sh (func_execute_cmds): New function.
1363         (func_mode_finish, func_mode_install, func_mode_link)
1364         (func_mode_uninstall): Use it.
1366         * tests/defs.m4sh (func_configure): Rename to ..
1367         (func_configure_nofail): this, call from old.
1368         * tests/fcdemo-conf.test, tests/fcdemo-shared.test,
1369         tests/fcdemo-static.test: Use.  Do not fail gratuitously but
1370         SKIP on compilers that look like they could be Fortran 77-only.
1371         Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
1373         * config/ltmain.m4sh (mode): Do not initialize, for nicer error
1374         messages.
1376 2005-08-10  Peter Ekberg  <peda@lysator.liu.se>
1378         * m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Set ac_ext to cpp, not cc.
1380 2005-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1382         * config/ltmain.m4sh (inherited_linker_flags): Backed out broken
1383         patch.
1385 2005-08-08  Peter O'Gorman  <peter@pogma.com>
1387         * config/ltmain.m4sh (inherited_linker_flags): Work when output
1388         is an application too.
1389         Reported by Christopher Egger <Christoph_Egger@gmx.de>
1391 2005-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1393         * m4/libtool.m4 (_LT_PROG_FC, _LT_LANG_FC_CONFIG): New macros
1394         for modern Fortran.
1395         (LT_LANG, _LT_LANG_DEFAULT_CONFIG, _LT_SYS_DYNAMIC_LINKER,
1396         _LT_SYS_HIDDEN_LIBDEPS): Adjusted.
1397         * tests/fcdemo-conf.test, tests/fcdemo-exec.test,
1398         tests/fcdemo-make.test, tests/fcdemo-shared.test,
1399         tests/fcdemo-static.test, tests/fcdemo/Makefile.am,
1400         tests/fcdemo/README, tests/fcdemo/configure.ac,
1401         tests/fcdemo/cprogram.c, tests/fcdemo/foo.h, tests/fcdemo/fooc.c,
1402         tests/fcdemo/foof.f90, tests/fcdemo/foof2.f90,
1403         tests/fcdemo/foof3.f90, tests/fcdemo/fprogram.f90: New tests for
1404         Fortran.
1405         * tests/convenience.at: Extended.
1406         * Makefile.am, configure.ac: Adjusted.
1407         * NEWS: Updated.
1409         * AUTHORS, HACKING: Updated.
1411 2005-08-05  Albert Chin-A-Young  <china@thewrittenword.com>
1413         * config/ltmain.m4sh (func_mode_link): Ignore errors from expr
1414         when determining if piece-wise linking should be done.
1416 2005-08-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1418         * config/ltmain.m4sh (func_mode_link) <cwrappersource>: Add
1419         missing bit from Christoph's patch.
1421         * m4/libtool.m4 (_LT_LINKER_HARDCODE_LIBPATH, _LT_LINKER_SHLIBS)
1422         (_LT_LANG_CXX_CONFIG): Comment typos.
1424 2005-08-04  Christoph Egger  <Christoph_Egger@gmx.de>
1426         * config/ltmain.m4sh (func_mode_link) <cwrappersource>: Change
1427         basename() to base_name() and have it return a pointer to const,
1428         fix compilation warnings.
1430 2005-07-30  Peter Ekberg  <peda@lysator.liu.se>
1432         * m4/libtool.m4 (_LT_PROG_F77): Set it up so that saying F77=no
1433         to configure disables the fortran tests in the testsuite.
1435 2005-07-29  Richard Moseley  <dickie.moseley@virgin.net>
1437         * m4/ltdl.m4 (LTDL_INIT): Handle in addition the new name for
1438         AC_LIST_HEADERS which is _AC_LIST_TAGS.
1440 2005-07-28  Peter Ekberg  <peda@lysator.liu.se>
1442         * libltdl/Makefile.am: Make the LTDLOPEN define controllable
1443         from the configure script.
1444         * m4/ltdl.m4 (LTDL_INIT): Set the LTDLOPEN define according
1445         to libname_spec.
1447         * tests/mdemo-dryrun.test: ls -l in MSYS sometimes shows year,
1448         not time, for really fresh files. Add sleep 1 calls at
1449         strategic places. Makes the test pass for MinGW.
1451         * m4/libtool.m4 (_LT_LINKER_OPTION): Fix copy-paste bug, it is
1452         the linker that is tested.
1454         * tests/demo-noinst-link.test: $make is empty on MSYS, replace
1455         with $MAKE. Makes the test pass for MinGW.
1457         * config/ltmain.m4sh (func_generate_dlsyms): Properly remove
1458         the fake symbol line ": @PROGRAM@ " from the list of exported
1459         symbols.
1461         * libltdl/loaders/loadlibrary.c (vm_open): Set the error mode so
1462         that no dialog is popped up in case the file given to
1463         LoadLibrary is not a dll.
1465         * config/ltmain.m4sh (func_mode_link) <lib>: Make sure
1466         skipped_export is set to colon if _some_ cmd of
1467         export_symbols_cmds is too long.
1469         * libltdl/ltdl.c: The linker is confused by having one
1470         definition of lt_libltdlc_LTX_preloaded_symbols tagged with
1471         __declspec(dllexport) in ltdl.c and one definition with an
1472         initial value in libltdlcS.c. So, just say extern in ltdl.c.
1473         Fixes the mdemo-exec.test for MinGW.
1475         * config/ltmain.m4sh (func_mode_link) <lib>: Zap duplicate
1476         message "creating reloadable object files..."
1478 2005-07-23 Peter O'Gorman  <peter@pogma.com>
1480         * m4/libtool.m4 (CXX, archive_cmds) [sun]: Add -lCstd, -lCrun
1481         and -lc for c++ builds with Sun C++ and Centerline C++..
1482         Reported by Albert Chin-A-Young <china@hewrittenword.com>
1484 2005-07-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1486         * m4/libtool.m4 (_LT_CHECK_XSI_SHELL): Fix bogus merge.
1487         Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
1489 2005-07-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1491         * libltdl/Makefile.am (libltdl_la_DEPENDENCIES): Depend on
1492         $(BUILT_SOURCES) as well, so that argz.h gets created through
1493         `make libltdlc.la'.
1494         Reported by Sven Verdoolaege <skimo@liacs.nl>.
1496 2005-07-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
1498         * Makefile.am (install-data-local): Have root own of installed
1499         files (but do not fail, for user installs).
1501 2005-07-08  Bruno Haible  <bruno@clisp.org>
1503         * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <postinstall_cmds>
1504         [cygwin,mingw,pw32]: Make DLL executable after installing it.
1506 2005-07-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1508         * config/ltmain.m4sh (func_mode_install): Do not assume `-f'
1509         needs an argument if the install program is `cp'.  Cleanup
1510         install mode somewhat.
1511         Reported by Juergen Leising <juergen.leising@gmx.de>.
1513 2005-07-03  Thorsten Glaser  <tg@66h.42h.de>
1515         * m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Quieten configure
1516         output for corner cases on some BSDs.
1517         (LT_CMD_MAX_LEN): Another comment cleanup.
1519         * config/ltmain.m4sh (func_extract_archives, func_mode_install),
1520         m4/libtool.m4 (_LT_SETUP, _LT_SYS_DYNAMIC_LINKER, LT_PATH_LD)
1521         (_LT_PATH_LD_GNU, _LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
1522         Comment language, indentation, and backquote cleanup.
1523         * THANKS: Updated.
1525 2005-07-02  Peter O'Gorman  <peter@pogma.com>
1527         * tests/inherited_flags.at: Use -no-undefined.
1528         Reported by Chris Oxenreider <oxenreid@state.net>
1530 2005-07-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1532         * config/ltmain.m4sh (func_mode_compile, func_mode_link),
1533         m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH, _LT_ENABLE_LOCK):
1534         Remove some unnecessary quotes.
1536         * tests/convenience.at <GCJ>: Fix java test.
1537         Reported by Eric Blake <ericblake@comcast.net>.
1539 2005-07-01  Derek R. Price  <derek@ximbiot.com>
1541         * config/ltmain.m4sh (func_mode_link) <shell wrapper>: Handle
1542         spaces in paths to executed programs.  Quote path in error message.
1544 2005-06-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1546         * THANKS: Updated.
1548 2005-06-28  Stepan Kasal  <kasal@ucw.cz>
1550         * clcommit.m4sh: "grep|sed" can be replaced by mere "sed".
1551         * m4/libtool.m4 (_LT_LIBTOOL_TAGS): Remove unnnecessary "[]".
1552         * m4/lt~obsolete.m4: Use m4_ifndef.
1554 2005-06-27  Stepan Kasal  <kasal@ucw.cz>
1556         * m4/ltsugar.m4 (lt_combine, _lt_combine): Fix default separator.
1558         * m4/ltoptions.m4 (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Replace
1559         AC_FOREACH by a combination of m4_foreach/m4_split/m4_normalize.
1561 2005-06-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1563         * m4/ltoptions.m4 (_LT_SET_OPTIONS): Remove unnecessary workaround
1564         for CVS Automake bug (fixed).
1565         Reported by Stepan Kasal <kasal@ucw.cz>.
1567 2005-06-21  Peter O'Gorman  <peter@pogma.com>
1569         * conig/ltmain.m4sh [darwin]: Accept -arch flag.
1571 2005-06-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1573         * m4/libtool.m4 (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE):
1574         New macros: save warnings and boilerplate of simple compile/link
1575         tests.
1576         (_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG)
1577         (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Call.
1578         (_LT_COMPILER_OPTION, _LT_LINKER_OPTION, _LT_COMPILER_C_O, ):
1579         Fail only if nonempty warnings different from default
1580         compile/link.
1582 2005-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1584         * m4/ltsugar.m4 (lt_car, lt_cdr): New macros, clones of
1585         m4_car/m4_cdr with the fixed semantics of Autoconf-2.59c CVS, in
1586         order to work with 2.59.
1587         (lt_combine): Use it.
1588         Reported by Christoph Egger <Christoph_Egger@gmx.de>.
1590 2005-06-11  Ralf Menzel  <menzel@ls6.cs.uni-dortmund.de>,
1591             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1593         * m4/ltoptions.m4 (_LT_SET_OPTIONS): Loop options only if
1594         nonempty.
1595         * m4/ltsugar.m4 (lt_combine): Don't test against empty quotes,
1596         test against empty arg.  Fixes infinite m4 loop with CVS
1597         Autoconf.
1599 2005-06-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1601         * m4/libtool.m4 (_LT_COMPILER_OPTION, _LT_LINKER_OPTION): No
1602         need for $ECHO here.  Fix sed script syntax to be portable.
1603         This should now put the pic-flag right after the last $*FLAGS
1604         variable again, if any.  Necessary for Fortran AC_FC_SRCEXT.
1606 2005-06-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1608         * m4/libtool.m4 (_LT_CONFIG_COMMANDS): Remove long lines.
1610 2005-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1612         * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS,
1613         _LT_LANG_CXX_CONFIG): PGI also has pgf95.  PGI static flag is
1614         `-Bstatic'.  Remove harmless extra comma from whole_archive
1615         output.
1617 2005-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1619         * config/ltmain.m4sh (func_mode_compile): In order to find out
1620         about forbidden characters in output, check with grep after
1621         checking func_quote_for_eval result.  Also, warn instead of fail.
1622         * config/general.m4sh (func_quote_for_eval)
1623         (func_quote_for_expand): Revert SunOS sh bug workaround patch from
1624         2004-12-28 as it triggers bugs in the Tru64 5.1B shell.
1625         Reported by Albert Chin <libtool@mlists.thewrittenword.com> and
1626         Nicolas Joly <njoly@pasteur.fr>.
1628 2005-06-01  Olly Betts <olly@survex.com>  (tiny change)
1630         * libltdl/argz.c (argz_create_sep): Fix typo.
1632 2005-05-31  Peter O'Gorman  <peter@pogma.com>
1634         * config/ltmain.m4sh: Do not add installed static litool libraries
1635         to convenience, they are not convenience libraries.
1636         Reported by Chen-Mou Cheng <chenmou.cheng@gmail.com>
1638 2005-05-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1640         * THANKS: Updated.
1642 2005-05-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1644         * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [aix]:
1645         Fix wrong $ECHO use overlooked in 2005-04-27.  Simplify slightly.
1647         * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS,
1648         _LT_LANG_CXX_CONFIG) [linux]: PGI:
1649         Add $pic_flag to archive_cmds and archive_expsyms_cmds.
1650         Bug reported against LAM by Troy Telford <ttelford@lnxi.com>.
1652 2005-05-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1654         * THANKS: Updated.
1656 2005-05-06  Gary V. Vaughan  <gary@gnu.org>
1658         * libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Propogate ltdl directory.
1660 2005-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1662         * Makefile.am (stamp-vcl): Use `diff' instead of `cmp'.
1664 2005-04-30  Gary V. Vaughan  <gary@gnu.org>
1666         Revert the parallel installation changes from November last year:
1668         * libtoolize.m4sh (pkgdatadir, aclocaldir): Substituted from
1669         configure.
1670         (func_copy_all_from_path): Removed.  No longer used.
1671         (func_copy_some_files): Simplify now that nothing is copied from a
1672         list of possible directories now.
1673         (func_scan_files): Remove directory readability check...
1674         (func_nonemptydir_p): ...in favour of a dedicated sanity check
1675         function called from the main body.
1676         (_lt_pkgvdatadir): Set pkgdatadir and aclocaldir appropriately if
1677         this is in the environment.
1678         * configure.ac: Tests for `ln' removed.
1679         (APIVERSION): Removed.
1680         * Makefile.am (pkgvdatadir, nobase_dist_pkgvdata_DATA)
1681         (nobase_pkgvdata_DATA): Renamed to...
1682         (pkgdatadir, nobase_dist_pkgdata_DATA, aclocalfiles): ...these
1683         respectively.
1684         (edit): Adjust for new variable names.
1685         (install-data-local): Don't bother to remove old macro files that
1686         will be overwritten by the installation, and perform a manual
1687         installation of $(aclocalfiles) to preserve timestamps.
1688         (install-exec-hook): Removed.  No need to make versioned links.
1689         (uninstall-hook): No need to remove versioned links, but now we
1690         need to manually remove the manually installed $(aclocalfiles).
1691         * doc/libtool.texi: Remove bogus notes about setting
1692         ACLOCAL_AMFLAGS for versioned libtool installations.
1693         * NEWS: Remove parallel installation item.
1695 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1697         * m4/ltdl.m4 (all over): Quote all arguments to AC_DEFINE and
1698         AC_DEFINE_UNQUOTED consistently.  Reported by
1699         Michael Koch  <konqueror@gmx.de>, Riccardo Mottola <zuse@libero.it>,
1700         and Dalibor Topic <robilad@kaffe.org>.
1702         * HACKING: Updated.
1704 2005-04-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1706         * tests/convenience.at: Actually add.
1708         * tests/convenience.at: New.  Test convenience archives.
1709         * Makefile.am, tests/testsuite.at: Adjust.
1710         * tests/testsuite.at: Reorder tests.  Suspend AT_TESTED.
1711         (PREPARE_TESTS): Define EGREP, host, build, LIBTOOL.
1712         (LT_AT_BOOTSTRAP): Fail if autoreconf fails.
1713         (LT_AT_EXEC_CHECK): New macro for execution of $build binaries.
1714         (LT_AT_TAG): New macro to test tag availability or skip test.
1715         * tests/am-subdir.at, tests/duplicate_members.at,
1716         tests/inherited_flags.at, tests/link-order.at,
1717         tests/stresstest.at, tests/template.at: Adjust.  Use LT_AT_TAG,
1718         LT_AT_EXEC_CHECK, AT_KEYWORDS. Use compiler/linker flags
1719         consistently.
1720         * tests/link-order.at: Fix use of AT_DATA, bogus redirection
1721         inside AT_CHECK.
1722         * tests/stresstest.at: Do not use wildcards/regex in symbol files,
1723         they are not portable.  Use -no-undefined on win32.  Fix to ignore
1724         compile/link warnings.
1726         * tests/f77demo/foo.h, tests/f77demo/fooc.c,
1727         tests/f77demo/cprogram.c, tests/mdemo2/main.c, tests/pdemo/foo.h:
1728         Make declarations available.
1730         * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: sed 3.02 does
1731         not understand \t in regex.
1732         Reported by Tim Van Holder <tim.vanholder@gmail.com>.
1734         * tests/defs.m4sh (func_configure): Don't run the whole configure
1735         script with -x.
1737         * config/ltmain.m4sh: Audit use of echo vs $ECHO.
1738         Reported by Robert Ögren <lists@roboros.com> and others.
1740         * TODO: Updated.
1742 2005-04-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
1743             Gary V. Vaughan  <gary@gnu.org>
1745         * HACKING, THANKS: Updated.
1747 2005-04-25  David Edelsohn  <dje@watson.ibm.com>
1749         * m4/libtool.m4 (_LT_LINKER_SHLIBS): _LT_TAGDECL(file_list_spec).
1750         * config/ltmain.m4sh (func_mode_link): Change $filelist to
1751         $output.
1753 2005-04-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1755         * m4/libtool.m4 (_LT_CC_BASENAME): Ignore `compile'.
1757 2005-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1759         * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [solaris]:
1760         Update wl for Sun Studio f77/f90/f95.  Fix whole_archive_flag_spec
1761         for cc and f77/f90/f95 to prevent reordering in case we link with
1762         $CC.
1764         * m4/libtool.m4: Audit use of echo vs $ECHO.
1765         * TODO: Update.
1766         Reported by Robert Ögren <lists@roboros.com> and others.
1768 2005-04-23  Gary Kumfert <kumfert@llnl.gov>
1770         * m4/libtool.m4 (_LT_LANG_F77_CONFIG) [aix4, aix5]:
1771         Adjust logic to match the C case: Only disable static if not
1772         on ia64 nor runtimelinking.
1774 2005-04-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
1776         * Makefile.am, HACKING: Use lt__cd throughout.
1778 2005-04-22  Gary V. Vaughan  <gary@gnu.org>
1780         The FSF are moving offices today.  Changed their contact address
1781         in all files from `59 Temple Place, Suite 330, MA 02111-1307' to
1782         `51 Franklin Street, Fifth Floor, MA 02110-1301'.
1784 2005-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1786         * libtoolize.m4sh (func_scan_files, func_serial,
1787         func_ltmain_update, func_config_update, func_install_update):
1788         Placate AIX sed.
1790 2005-04-19  David Edelsohn  <dje@watson.ibm.com>
1792         * config/ltmain.m4sh (func_mode_link): If command exceeds
1793         max_cmd_len and file_list_spec exists, write list of input files
1794         to temporary file.
1795         * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
1796         [aix4,aix5]: Define file_list_spec.
1798 2005-04-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1800         * tests/demo-hardcode.test: Fix typo.
1802 2005-04-17 Alexandre Oliva  <aoliva@redhat.com>,
1803            Peter O'Gorman  <peter@pogma.com>
1805         * config/ltmain.m4sh: Don't add files with the same base name to
1806         an archive; rename duplicates instead.
1807         (func_extract_an_archive): Remove section to deal with duplicate
1808         base names in an archive.
1809         * tests/functests.at: remove.
1810         * tests/duplicate_members.at: new test.
1811         * tests/testsuite.at: Add new test, remove old.
1812         * Makefile.am: Add new test, remove old.
1814 2005-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1816         * tests/demo-hardcode.test [solaris]:  Use dumpstabs if available,
1817         to avoid false failure caused by debug section which contains
1818         command line (Solaris cc).
1819         Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.
1821 2005-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
1823         * libtoolize.m4sh (func_copy_cb): Fix syntax typo.
1825 2005-04-15  Maciej W. Rozycki  <macro@linux-mips.org>
1827         * m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Add old_archive_cmds
1828         definition.
1830 2005-04-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1832         * m4/libtool.m4 (_LT_CC_BASENAME): New macro to figure out
1833         $cc_basename.  Skip ccache, distcc, purify, cmdline options,
1834         `$host_alias-' prefix.
1835         (_LT_SETUP, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG)
1836         (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Use.
1837         * NEWS, TODO: Update.
1839 2005-04-15  Gary V. Vaughan  <gary@gnu.org>
1841         * libltdl/configure.ac (AC_OUTPUT): loaders/Makefile is no longer
1842         used.
1844         * Makefile.am (lt__cd, CD_TESTDIR): New make macros to work around
1845         problems with CDPATH in some shells.
1846         (check-local, installcheck-local, clean-local): Use them.
1848 2005-04-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
1850         * bootstrap: Define srcdir for making `commit'.
1852 2005-04-14  Alexandre Oliva  <aoliva@redhat.com>,
1853             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1855         * config/ltmain.m4sh (link mode): Add to tmp_libs paths for
1856         libtool dep libs in reverse order as well.
1857         * Makefile.am, tests/testsuite.at, tests/link-order.at: New test.
1859 2005-04-13  Gary V. Vaughan  <gary@gnu.org>
1861         Since the bootstrap process requires that several of the rules for
1862         files generated in doc and tests already lived in
1863         $top_srcdir/Makefile.am, along with proxy rules in sub-Makefiles,
1864         this changeset consolidates almost everything into the top
1865         Makefile.am, simplifying things considerably:
1867         * doc/Makefile.am, tests/Makefile.am: Removed.  All rules moved...
1868         * Makefile.am: ...to here and adjusted to run from $top_builddir.
1869         Some reformatting to group rules and declarations by purpose, and
1870         simplify with respect to removing much of the make recursion.
1871         Add `doc/PLATFORMS', `doc/fdl.texi' and `doc/notes.texi'.
1872         `defs.in' and `defs.m4sh' are in directory `tests'.
1873         (uninstall-hook): Don't forget to uninstall libtoolize's libltdl
1874         source tree.
1875         * bootstrap: Simplified dirty makefile management, and bootstrap
1876         file creation in light of having only a single pertinent
1877         Makefile.
1878         * configure.ac (CONF_SUBDIRS): Add tests/ prefix to each subdir to
1879         compensate.
1880         (DIST_MAKEFILE_LIST): Adjust.
1881         (AC_CONFIG_FILES): Remove doc/Makefile and tests/Makefile.
1882         * tests/defs.m4sh (LIBTOOL, scripts): Adjust paths.
1883         * tests/cdemo-conf.test, tests/cdemo-exec.test,
1884         tests/cdemo-make.test, tests/cdemo-shared.test,
1885         tests/cdemo-static.test, tests/cdemo-undef.test,
1886         tests/demo-conf.test, tests/demo-deplibs.test,
1887         tests/demo-exec.test, tests/demo-hardcode.test,
1888         tests/demo-inst.test, tests/demo-make.test,
1889         tests/demo-nofast.test, tests/demo-noinst-link.test,
1890         tests/demo-nopic.test, tests/demo-pic.test,
1891         tests/demo-relink.test, tests/demo-shared.test,
1892         tests/demo-static.test, tests/demo-unst.test,
1893         tests/depdemo-conf.test, tests/depdemo-exec.test,
1894         tests/depdemo-inst.test, tests/depdemo-make.test,
1895         tests/depdemo-nofast.test, tests/depdemo-relink.test,
1896         tests/depdemo-shared.test, tests/depdemo-static.test,
1897         tests/depdemo-unst.test, tests/f77demo-conf.test,
1898         tests/f77demo-exec.test, tests/f77demo-make.test,
1899         tests/f77demo-shared.test, tests/f77demo-static.test,
1900         tests/link-2.test, tests/link.test, tests/mdemo-conf.test,
1901         tests/mdemo-dryrun.test, tests/mdemo-exec.test,
1902         tests/mdemo-inst.test, tests/mdemo-make.test,
1903         tests/mdemo-shared.test, tests/mdemo-static.test,
1904         tests/mdemo-unst.test, tests/mdemo2-conf.test,
1905         tests/mdemo2-exec.test, tests/mdemo2-make.test, tests/nomode.test,
1906         tests/objectlist.test, tests/pdemo-conf.test,
1907         tests/pdemo-exec.test, tests/pdemo-inst.test,
1908         tests/pdemo-make.test, tests/quote.test, tests/sh.test,
1909         tests/suffix.test, tests/tagdemo-conf.test,
1910         tests/tagdemo-exec.test, tests/tagdemo-make.test,
1911         tests/tagdemo-shared.test, tests/tagdemo-static.test,
1912         tests/tagdemo-undef.test, tests/tagtrace.test (func_cd,
1913         func_require): Adjust paths.
1915 2005-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1917         * config/general.m4sh, libtool.m4 (_LT_SETUP), tests/defs.m4sh,
1918         tests/functests.at: Fix definition of $Xsed.
1920 2005-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1922         Improved Portland support: prelinking of C++ templates and
1923         whole_archive.
1925         * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [linux]:
1926         Reinstate formatted whole_archive_flag_spec for PGI compilers.
1927         * config/ltmain.m4sh (func_mode_link), m4/libtool.m4
1928         (_LT_LINKER_SHLIBS): New tag prelink_cmds, to be executed before
1929         linking a program.
1930         (_LT_LANG_CXX_CONFIG) [linux]: Use for pgCC.
1931         (_LT_COMPILER_C_O): conftest might be nonempty, clean up more
1932         thoroughly.
1934         * tests/testsuite.at (LT_AT_BOOTSTRAP): Temporary fix for testing
1935         in-tree libtoolize.
1937         * m4/libtool.m4 (_LT_CONFIG_COMMANDS): Only call sed if
1938         necessary while quoting all libtool variables.
1939         Reported by Robert Ögren <lists@roboros.com>.
1941 2005-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1943         * tests/Makefile.am: Typo.
1945 2005-04-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1947         * notes.texi: Platform-specific configuration notes.
1948         * doc/libtool.texi: Include as section.
1949         * bootstrap, doc/Makefile.am: build also as notes.txt and
1950         distribute.
1952 2005-04-04  Gary V. Vaughan  <gary@gnu.org>
1954         Under certain circumstances, not all of the macro files were
1955         copied into the destination directory.  This changeset fixes
1956         that bug:
1958         * libtoolize.m4sh (func_serial_update):  Renamed local variable
1959         `my_update_p' to `my_serial_update_p', and initialise it correctly
1960         even when the destination file is not yet there.
1961         Reported by Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1963 2005-04-04  Gary V. Vaughan  <gary@gnu.org>
1965         * tests/libtoolize.at: New tests for basic libtoolize
1966         functionality and reporting.
1967         * tests/testsuite.at: Call them.
1968         * tests/Makefile.am: Distribute them.
1970         * libtoolize.m4sh (pkgvdatadir): Renamed from this...
1971         (_lt_pkgvdatadir): ...to this.
1972         * tests/testsuite.at (LT_AT_LIBTOOLIZE): The `-I' option is no
1973         longer supported by libtoolize.  Set _lt_pkgvdatadir in the
1974         environment of the invocation instead.
1976 2005-04-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1978         * tests/template.at: New Autotest tests for C++ with templates.
1979         First test provided by
1980         Markus Christen <markus@igc.phys.chem.ethz.ch>.
1981         * tests/Makefile.am, tests/testsuite.at: Use and distribute.
1983 2005-04-04  Gary V. Vaughan  <gary@gnu.org>
1985         * libtoolize.m4sh (func_serial_update): Replace missing
1986         destination serial calculation line, presumably lost due to a bad
1987         merge.
1989         * libltdl/loaders/Makefile.am: Removed actually.
1991 2005-04-04  Gary V. Vaughan  <gary@gnu.org>
1993         Getting the value of ltdldatafiles from a submake was not
1994         portable, and had problems with GNU make-3.80 at least.  This
1995         changeset pulls the installation rules for libtoolize's copy of
1996         the libltdl sources out of libltdl/Makefile.am so that
1997         ltdldatafiles is defined in the same Makefile that uses it.  Also,
1998         this makes a start at cleaning up libltdl/Makefile.am so that it
1999         is useful in a package that uses `libtoolize --ltdl':
2001         * libltdl/loaders/Makefile.am: Removed entirely.
2002         * libltdl/Makefile.am (dlopen.la, dld_link.la, dyld.la)
2003         (load_add_on.la, loadlibrary.la, shl_load.la): All built from here
2004         now that the loaders submake has gone.
2005         (show-ltdldatafiles): Removed.  No longer required.
2006         (ltdldatadir, ltdldatafiles, install-local): Moved from here...
2007         * Makefile.am (ltdldatadir, ltdldatafiles, install-local): ..to
2008         here.
2009         (libtoolize): Substitute $(ltdldatafiles) directly without calling
2010         make to get the value from libltdl/Makefile.
2012 2005-04-01  Gary V. Vaughan  <gary@gnu.org>
2014         * Makefile.am (libtoolize): Substitute $(nobase_pkgvdata_DATA).
2015         pkgvmacro_DATA is no longer set in the makefile.
2016         * libtoolize.m4sh (func_massage_pkgvmacro_DATA): Use it and, for
2017         consistency, renamed from this...
2018         (func_massage_nobase_pkgvdata_DATA): ...to this.  Adjust all
2019         callers.
2021 2005-04-01  Gary V. Vaughan  <gary@gnu.org>
2023         Fix problems with serial comparison sed scripts, and factor out
2024         common code from similar serial comparison functions:
2026         * libtoolize.m4sh (func_keyword_update): Common code factored out
2027         of func_ltmain_update and func_config_update.
2028         (func_ltmain_update, func_config_update): Adjust, and fix sed
2029         expressions to not use unportable ? modifier.
2030         (func_install_update): New serial number based file updater keyed
2031         off 'scriptversion' variable in install-sh.  Adjust all callers.
2033 2005-04-01  Gary V. Vaughan  <gary@gnu.org>
2035         Most of the hair introduced ostensibly to enable testing of
2036         uninstalled libtoolize isn't necessary if we allow overriding of
2037         the libtool master copy directory:
2039         * configure.ac (pkvmacrodir): No need to substitute this.
2040         * Makefile.am (edit): No need to substitute pkgvmacrodir.
2041         (dist_pkgvdata_DATA): Use nobase_ prefix so that these files are
2042         installed to $(pkgvdatadir)/config.
2043         (pkgvmacro_DATA): Renamed to...
2044         (nobase_pkgvdata_DATA): ...this, so that files are installed to
2045         $(pkgvdatadir)/m4.
2046         (install-data-hook): Adjust.
2047         * libtoolize.m4sh: Remove -I processing.
2048         (func_filename_path_search): No longer required without -I.
2049         Adjust all callers.
2050         (pkgvltdldirs, pkgvmacrodirs): Deleted.
2051         (pkgvdatadir): Allow overriding from the environment so that we
2052         can write tests for uninstalled libtoolize.
2053         (func_serial_update, func_ltmain_update, func_config_update):
2054         Rename srcdirs parameter to srcdir, and don't call the path_search
2055         function anymore.  Adjust all callers.
2056         (--install): Don't blindly copy all config files.
2058 2005-04-01  Mike Stump  <mrs@apple.com>
2060         * m4/libtool.m4 (LT_CMD_MAX_LEN) [netbsd, freebsd, openbsd
2061         darwin, dragonfly]: Use 3/4 of argmax, instead of 1/4.
2063 2005-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2065         * m4/libtool.m4 (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG):
2066         Set $cc_basename.
2068         * HACKING: echo vs $ECHO.
2070 2005-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
2072         * doc/libtool.texi: Minor formatting cleanups.
2074 2005-03-24  Gary V. Vaughan  <gary@gnu.org>
2076         * libtoolize.m4sh: Propogate --debug flag to sub-libtoolizes.
2078         * libtoolize.m4sh: Fix a typo, s/pkgvltdldirs/pkgvdatadirs/.
2079         When using -I to test an uninstalled libtoolize, we need to add
2080         the config subdirectory to the search path so that ltmain.sh can
2081         be found in the source tree.
2083         * libtoolize.m4sh (func_copy_some_files): IFS needs to be set to
2084         path delimiter for all inner loop iterations.
2085         Once a matching file has been copied, no need to keep searching
2086         the path for another -- move on to the next file!
2088         * libtoolize.m4sh: For verbose mode, explain why macro files are
2089         not installed without an AC_CONFIG_MACRO_DIR declaration.
2091 2005-03-24  Gary V. Vaughan  <gary@gnu.org>
2093         As a prerequisite for being able to test an uninstalled libtoolize
2094         for copying files correctly from the source tree, we must know
2095         exactly which files should be copied by the --ltdl option to avoid
2096         accidentally picking up compilation objects and other noise when
2097         $builddir == $srcdir:
2099         * libltdl/loaders/Makefile.am (ltdldatadir, ltdldatafiles)
2100         (install-data-local): Removed...
2101         * libltdl/Makefile.am (ltdldatafiles): ...and consolidated here.
2102         (show-ltdldatafiles): New rule...
2103         * Makefile.am (ltdldatafiles, libtoolize): ...used to substitute
2104         exactly which files are installed by libtoolize --ltdl.
2105         (edit): Move pkgvmacro_DATA substitution expression...
2106         (libtoolize): ...to here.
2107         * libtoolize.m4sh: Use func_copy_some_files() instead of
2108         func_copy_all_from_path() to copy the --ltdl option installed
2109         files.
2110         (pkgvltdldirs): New path variable to search for files installed by
2111         --ltdl option.
2112         (func_massage_pkgvltdl_files): New function to calculate the list
2113         of ltdl installation files.
2115 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
2117         * m4/libtool.m4, m4/ltdl.m4: Indentation and quoting cleanup.
2119 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2121         * m4/libtool.m4 (_LT_LINKER_SHLIBS) [solaris]: Use ${wlarc}
2122         and set to empty when using $LD for linking.  Fixes regression
2123         introduced in 2004-11-17.
2124         Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> and
2125         Пухальский Юрий Андреевич <pooh@cryptopro.ru>.
2127 2005-03-21  Gary V. Vaughan  <gary@gnu.org>,
2128             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2130         * m4/libtool.m4 (_LT_SETUP, _LT_LANG_CXX_CONFIG)
2131         (_LT_LANG_F77_CONFIG): For matching compiler names -- Pick only
2132         first word, allow leading white space.
2133         * tests/sh.test: ..and test for missing `*' at end of patterns.
2135 2005-03-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2137         * TODO: Update.
2139 2005-03-20  Peter Ekberg  <peda@lysator.liu.se>
2141         * m4/libtool.m4 (_LT_LINKER_SHLIBS) [irix5, irix6, nonstopux]:
2142         Test if it is possible to use the -exports_file linker option on
2143         irix with gcc, as the gcc specs file may include a -hidden_symbol
2144         option that is clashing with the -exports_file option.
2145         See this gcc bugzilla entry for further details:
2146         http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15288
2147         * THANKS: Update.
2149 2005-03-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2151         * tests/demo-nopic.test: Enhance status output
2152         noted by Tom Burger <tvburger@few.vu.nl>.
2154 2005-03-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2156         * config/ltmain.m4sh, tests/defs.m4sh: Typos.
2158 2005-03-18  Peter O'Gorman  <peter@pogma.com>,
2159             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2161         * m4/libtool.m4: The compiler can be a program name with args, so
2162         always check cc_basename against compiler name and a wildcard.
2163         Also, drop unnecessary quotes in `case' argument.
2165 2005-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2167         * Makefile.am: tests/defs.in depends on config/general.m4sh.
2169         * config/general.m4sh: unconditionally set IFS, and set it
2170         to the one true right sequence: space, tab, newline.
2171         * m4/libtool.m4: remove IFS setting and as_* namespace
2172         infringement.
2174         * m4/libtool.m4 (_LT_CONFIG): Reset IFS to fix failure with ash.
2176         * configure.ac, libltdl/configure.ac: s/##/dnl/ for comments
2177         that are meaningless in configure.
2178         Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.
2180 2005-03-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2182         * libltdl/configure.ac: Update version; require Autoconf >= 2.59.
2184         * bootstrap: Allow to override tools.
2186 2005-03-15  Gary V. Vaughan  <gary@gnu.org>
2188         * libtoolize.m4sh (func_massage_pkgvmacro_DATA): New function
2189         to calculate the macro filenames to be copied by libtoolize.
2190         * Makefile.am (edit): Substitute pkgvmacro_DATA.
2192         * bootstrap: Need to generate tests/package.m4 from Makefile.am
2193         before generating tests/testsuite from tests/Makefile.am, or
2194         else bootstrap of a fresh checkout fails.
2196 2005-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2198         * m4/libtool.m4 (_LT_COPYING): Update Copyright year.
2200         * m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]: Remove MAIN_
2201         dependency when creating shared libraries with Portland pgf77.
2203 2005-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2205         * configure.ac: stamp-vcl is in $top_srcdir, not $top_builddir.
2207 2005-03-12  Per Bothner <per@bothner.com>,
2208             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2210         Allow special characters in source file names.  Will break unless
2211         `-o target' is also given, which must not contain special
2212         characters. En passant, fix source file quoting broken for
2213         cygwin/MSVC:
2215         * config/ltmain.m4sh (func_mode_compile): Use new variable
2216         qsrcfile for quoted source file name for compile $command.  Fix
2217         missing quotes for _c_o lockfile.
2218         * NEWS: Update.
2220 2005-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2222         * config/ltmain.m4sh (func_mode_link): Reword double negation in
2223         error message.
2224         Reported by Jesper Louis Andersen <jlouis@mongers.org>.
2226         * bootstrap: really remove bogus files Makefile tests/Makefile.
2228         * doc/libtool.texi: Replace wicked whiches by thats or other
2229         better-sounding constructs.
2231 2005-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
2233         * tests/Makefile (clean-local): Ignore testsuite cleanup
2234         failures.
2236 2005-03-11  Per Bothner  <per@bothner.com>  (tiny change)
2238         * tests/Makefile (clean-local): Only run the testsuite cleanup
2239         if the testsuite has been generated.
2241 2005-03-10  Gary V. Vaughan  <gary@gnu.org>
2243         * libltdl/Makefile.am (install-data-local): Don't force v7 tar
2244         format with the `o' flag in create mode.
2245         Set the umask to 0 when untarring to avoid copied files taking
2246         their mode from the installer's umask.
2247         * libltdl/loaders/Makefile.am (install-data-local): Ditto.
2248         * libtoolize.m4sh (func_copy_cb): Ditto.
2249         Ignore errors from failed `cd' in the tar processes, since we
2250         may be running in dryrun mode.
2251         Reported by Noah Misch <noah@cs.caltech.edu>,
2252                     Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
2254 2005-03-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2256         * libltdl/Makefile.am: $(builddir) is not defined, replace by
2257         `.'.
2259 2005-03-08  Albert Chin-A-Young  <china@thewrittenword.com>
2261         * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
2262         [irix*, osf*]: Output -update_registry information to
2263         ${output_objdir} directory, not ${objdir}. ${output_objdir}
2264         will work when a project has a single Makefile and performs
2265         builds in subdirectories. ${objdir} expects the source in
2266         the current directory, breaking single-Makefile builds.
2268 2005-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2270         * tests/stresstest.at: Remove multiple variable definition.
2272         * TODO: Update.
2274         * THANKS: Update.
2276 2005-03-02  Gary V. Vaughan  <gary@gnu.org>
2278         * libtoolize.m4sh (func_copy_cb): Use tar chof to avoid symlink
2279         attacks.
2280         * libltdl/Makefile.am, libltdl/loaders/Makefile.am
2281         (install-data-local): Ditto.
2283 2005-02-27  Gary V. Vaughan  <gary@gnu.org>
2285         In branch-2-0 (and in time, others) ltversion.m4 has a dot
2286         delimited serial number that didn't used to be processed
2287         correctly by libtoolize.  This changeset fixes that, and
2288         leverages those changes to check versions of ltmain.sh and
2289         config.sub, config.guess before overwriting when --force is
2290         not given:
2292         * libtoolize.m4sh: Don't overwrite pkgaux files with --force
2293         unless --install is given too.
2294         (func_serial): Fix underquoting in regexp.
2295         (func_serial_max): New function to compare serial numbers.
2296         (func_serial_update_check): New function factored out of
2297         func_serial_update().
2298         (func_serial_update): Bail if SRCFILE is missing.
2299         Don't display both 'already up to date' and 'use --force to
2300         update' messages for the same file.
2301         Use func_serial_max to cope with `.' delimited serial numbers.
2302         (func_ltmain_update): Use func_serial_update_check and
2303         func_serial_max to do version checking with $package_revision.
2304         (func_config_update): Ditto with $timestamp.
2306 2005-02-26  Gary V. Vaughan  <gary@gnu.org>
2308         * libltdl/Makefile.am (install-data-local):  cd to $(srcdir)
2309         before tarring up the files for installation to
2310         $(DESTDIR)$(ltdldatadir).  Don't remove the destination directory,
2311         since that interacts badly with the multi-Makefile installation.
2312         * libltdl/loaders/Makefile.am (install-data-local): Ditto.
2314 2005-02-26  Gary V. Vaughan  <gary@gnu.org>
2316         I assume that it is okay to have undefined symbols in convenience
2317         libraries that will be used as modules -- the pic objects are
2318         built normally, and are not expected to resolve all their symbols
2319         until they are linked into a library; convenience libraries are
2320         then rolled using 'ar' and 'ranlib' (or equivalent) which also do
2321         not check whether symbols are resolved.  We now build each of the
2322         loaders as a convenience library module under these assumptions,
2323         and link libltdl.la with selected modules, at which time all of
2324         the symbols *are* resolved:
2326         * TODO: Remove item addressed by this changeset.
2327         * libltdl/Makefile.am (lib_LTLIBRARIES): Remove libdlloader.la.
2328         (libdlloader_la_SOURCES): Declaration removed.  Changed all
2329         clients.  Source files..
2330         (libltdl_la_SOURCES): ...added back in here.
2331         (libdlloader_LDFLAGS, libdlloader_la_LIBADD): Removed.
2332         (libltdl_la_LIBADD): Remove libdlloader.la; add $(LTLIBOBJS).
2333         * libltdl/loaders/Makefile.am: Removed all references to
2334         libdlloader.la.
2336 2005-02-25  Gary V. Vaughan  <gary@gnu.org>
2338         * libtoolize.m4sh (func_copy): Split arguments to func_copy_cb
2339         calls across lines so that quote.test doesn't misdiagnose nested
2340         quotes.
2342         * m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_COMPILER_PIC):
2343         Fix some typos -- s/_LT_AC_TAGVAR/_LT_TAGVAR/g.
2345 2005-02-24  Peter O'Gorman  <peter@pogma.com>
2347         * m4/libtool.m4 (_LT_LINKER_SHLIBS): The Portland group's
2348         compiler does not pass --whole-archive. Move gnu ld check for
2349         the flag to the top so it can be overridden.
2350         (_LT_LANG_CXX_CONFIG, _LT_COMPILER_PIC): Unset
2351         whole_archive_flag_spec for the portland group's c++ compiler
2352         too.
2353         Reported by Jeff Squyres <jsquyres@lam-mpi.org>
2355 2005-02-23  Gary V. Vaughan  <gary@gnu.org>
2357         * libltdl/Makefile.am (install-data-local): Don't forget about
2358         $(DESTDIR).
2359         * libltdl/loaders/Makefile.am (install-data-local): Ditto.
2361 2005-02-23  Gary V. Vaughan  <gary@gnu.org>
2363         Preserving the installed timestamps for libltdl sources from
2364         `libtoolize --ltdl --copy' is pointless if they are not preserved
2365         from the libtool source tree at install time:
2367         * libltdl/Makefile.am, libltdl/loaders/Makefile.am
2368         (nobase_ltdldata_DATA): Renamed to...
2369         (ltdldatafiles): ...this.
2370         (install-data-local): New rule to install libltdl tree with tar to
2371         preserve timestamps.
2373 2005-02-23  Christoph Egger  <Christoph_Egger@gmx.de> (tiny change)
2375         * config/ltmain.m4sh (func_mode_link): Add -pthread like flags to
2376         inherited_linker_flags.
2378 2005-02-22  Gary V. Vaughan  <gary@gnu.org>
2380         * libtoolize.m4sh (func_copy_cb): self.leg->shoot_off() :-/
2381         Let's not redirect stdout to null when sending tar output to a
2382         pipe.
2384 2005-02-22  Gary V. Vaughan  <gary@gnu.org>
2386         Using `libtoolize --copy --ltdl' was not preserving timestamps, so
2387         parts of the autoconf bootstrap would be rerun spuriously after
2388         the files had been copied into the source tree:
2390         * libtoolize.m4sh (TAR): New default tar command.
2391         (func_copy_cb): Move the core copying internals to here, using
2392         $TAR to transfer files if possible when --copy was specified.
2393         (func_copy): Adjust to call func_copy_cb.
2394         * TODO: Remember to refactor this fix in due course.
2395         Reported by Jeff Squyres <jsquyres@lam-mpi.org>
2397 2005-02-21  Peter O'Gorman  <peter@pogma.com>
2399         * config/ltmain.m4sh (func_extract_archives) [darwin]: This didn't
2400         actually work on a real fat archive, should do now.
2401         * tests/functests.at [darwin]: remove darwin fat tests which
2402         did not actually work.
2404 2005-02-07  Peter O'Gorman  <peter@pogma.com>
2406         * config/ltmain.m4sh: Add -pthread like flags when linking
2407         executables too.
2408         Reported by Andreas Schwab <schwab@suse.de>
2410 2005-02-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2412         * config/ltmain.m4sh (func_mode_link): Allow five digits in
2413         version-info.
2415         * NEWS: s/Linux/GNU &/.
2417 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2419         * tests/Makefile.am, tests/testsuite.at, tests/stresstest.at:
2420         New test.  Stresses several combinations of link flags and
2421         path specifications.  Uses several data types to test linkage
2422         against symbols in all kinds of (e.g., ELF) sections.
2424 2005-02-03  Reid Spencer  <reid@x10sys.com>,
2425             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2427         * config/ltmain.m4sh (func_generate_dlsyms): Fix broken subdir
2428         path computation, exposed by using `-dlopen self'.  Fix broken
2429         sed script exposed by additionally using `-export-symbols FILE'.
2431 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2433         * THANKS: Update.
2435         * THANKS: Update.
2437 2005-02-03  Peter O'Gorman  <peter@pogma.com>
2439         * config/ltmain.m4sh [darwin]: Don't add installed libs to
2440         temp_rpath when building executables on darwin, or other systems
2441         which use hardcode_automatic. It may break our wrapper scripts.
2443 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2445         * config/getopt.m4sh (func_version, func_usage, func_help):
2446         Exit with nonzero status on write failures.
2447         * config/ltmain.m4sh (func_mode_help, func_config, func_features):
2448         Ditto.
2450         * tests/sh.test: Check for preferred function definition layout.
2452 2005-02-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2454         * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
2455         [pw32, freebsd3.[01], freebsdelf3.[01]]:  Fix [] quoting.  Should
2456         fix various spurious failures.
2457         (_LT_LINKER_SHLIBS) [linux with GNU ld < 2.11, aix4.[012]*]:
2458         Ditto.
2459         (_LT_LANG_CXX_CONFIG) [aix4.[012]*, freebsd[12], solaris2.[0-5]]:
2460         Ditto.
2461         (_LT_LANG_GCJ_CONFIG): Ditto.
2463         * tests/Makefile.am: Add `atconfig' to DISTCLEANFILES.
2465         * clcommit.m4sh: Test whether the shell understands `read -r'.
2466         Use as `$read_r' if available, so `\' is preserved in commit
2467         notices.
2469         * HACKING (Editing `.m4sh' Files): Document preferred function
2470         header layout.
2471         * config/ltmain.m4sh (func_win32_libid, func_infer_tag)
2472         (func_generate_dlsyms, func_extract_an_archive)
2473         (func_extract_archives): Adjust to fit.
2475 2005-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2477         * m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Unicos 9 sed rejects
2478         empty parentheses as in 's/x\(\)/\1/'.
2479         (_LT_COMPILER_PIC) [unicos*]: wl=-Wl,.
2480         * tests/sh.test: Not all sed's like '/.*\n.*/' (Unicos 9 sed
2481         loops endlessly).
2483         * tests/quote.test: Match link  quoting against `"$wl"', not
2484         `-Wl,'.
2486         * tests/quote.test: Check for `--no-reexec' in $1 to avoid one
2487         reexec.
2489         * m4/libtool.m4 (_LT_COMPILER_C_O): _LT_TAGDECL(lt_compiler_c_o),
2490         not _LT_DECL, since this is tag-dependent.
2492         * config/ltmain.m4sh, m4/libtool.m4: Change `( cmd ) 2>/dev/null'
2493         to  `{ cmd; } 2>/dev/null', when cmd has no side effects and might
2494         be a builtin.  Note that it is unspecified whether cmd will run
2495         within a subshell (e.g. Bourne shells) or within the current shell
2496         (most modern shells).
2498 2005-01-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2500         * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [linux]:
2501         Update for Intel Compiler icc/icpc/ifort: add -i_dynamic and
2502         -nofor_main, if necessary.  Simplify logic somewhat.
2504 2005-01-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2506         * tests/Makefile.am: also re-export CPP, CXXCPP, and the value of
2507         SHELL as CONFIG_SHELL.
2508         Reported by Heinz Salzmann <heinz.salzmann@micronas.com>.
2510 2005-01-26  Craig Dooley  <xlnxminusx@gmail.com>,
2511             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2513         * NEWS, m4/libtool.m4, config/ltmain.m4sh [dragonfly]:
2514         Add support for DragonFly.
2516 2005-01-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2518         * m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Work around pdksh
2519         positional parameter expansion bug.
2521 2005-01-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2523         * config/ltmain.m4sh: Fix endless loop in cmdline parsing.
2525 2005-01-25  Albert Chin-A-Young  <china@thewrittenword.com>
2527         * config/ltmain.m4sh (func_mode_link) [irix]: Preserve processor
2528         option for SGI Compiler (-r[0-9][0-9]*).
2530 2005-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2532         * m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Define Bourne and XSI
2533         variants of new function func_stripname for stripping literal
2534         prefixes and suffixes.
2535         * config/ltmain.m4sh (all over): Use func_stripname.
2537         * tests/defs.m4sh: Extract $build from $LIBTOOL.
2538         (func_configure): Pass --host if $host != $build.
2539         (func_exec): Try executing cross-compiled binaries (e.g. i686 ->
2540         i386), but SKIP rather than FAIL.
2541         * tests/depdemo-relink.test: Do not try to access possibly non-
2542         existent files.  SKIP rather than FAIL or PASS falsely when
2543         cross-compiling.
2545         * m4/libtool.m4 (_LT_SETUP) [mingw, cygwin, pw32, os2]:
2546         Add _LT_DECLs for host_os, build_alias, build and build_os.
2547         host_os and build were used in a few occasions in ltmain.m4sh
2548         and affect above-mentioned systems, the others are added for
2549         symmetry and in order to be able to detect cross-compiling.
2551 2005-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2553         * libltdl/Makefile.am: Add $(AM_LDFLAGS) to all per-target
2554         variables *_LDFLAGS as per CVS Automake semantic change.
2556 2005-01-16  Peter O'Gorman  <peter@pogma.com>
2558         * config/ltmain.m4sh (func_mode_link): Don't pass through
2559         compiler-like thread flags when using $LD to do the linking.
2560         Use compiler_flags instead.
2561         Reported by Mark_Andrews@isc.org.
2563         * m4/libtool.m4 (LT_CMD_MAX_LEN) [osf]: On Tru64 there could
2564         be a kernel panic when testing the maximum command line length
2565         if exec_disable_arg_limit=1. Don't do the tests to figure it
2566         out on *-osf*.
2567         Reported by Dr. Hans Ekkehard Plesser
2568         <hans.ekkehard.plesser@umb.no>
2570 2005-01-14  Guido Draheim  <guidod-2003-@gmx.de>  (tiny change)
2572         * m4/libtool.m4 (AC_PROG_SED): Don't break test loop early.
2574 2005-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2576         * TODO: Update.
2578         * libltdl/ltdl.c: Whitespace cleanup.
2580         * config/ltmain.m4sh: New option `--verbose'/`-v' to enable
2581         override of `--silent'.  Verbose is the default behavior.
2582         * doc/libtool.texi (Invoking libtool): Document it.
2584         * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: While "parsing"
2585         /etc/ld.so.conf, skip comments.
2586         Reported by Jens Elkner <elkner@linofee.org>.
2588 2005-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2590         * libltdl/libltdl/lt__glibc.h: Move all exported slist
2591         symbols into the lt__* namespace.
2592         * libltdl/libltdl/lt__private.h, libltdl/libltdl/slist.h:
2593         Adjust includes.
2595 2005-01-10  Peter O'Gorman  <peter@pogma.com>
2597         * config/ltmain.m4sh (func_mode_link): Fix
2598         inherited_linker_flags so it puts it on the link line when
2599         linking shared libraries as well as when linking executables.
2600         * tests/inherited_flags.at: test inherited_linker_flags.
2601         * tests/Makefile.am: Add test.
2602         * tests/testsuite.at: Add test.
2603         Reported by: Albert Chin-A-Young <china@thewrittenword.com>
2605 2005-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2607         * tests/sh.test: After `set dummy [...]', check for `shift'
2608         within the same and following line.
2609         * config/ltmain.m4sh (func_enable_tag, func_mode_install)
2610         (func_mode_link): Sprinkle `shift's all over to conform to this.
2612 2005-01-09  Gary V. Vaughan  <gary@gnu.org>
2614         * HACKING (Editing 'ChangeLog'): Follow the GCS with respect to
2615         attributions, and mention how to handle tiny changes.
2616         Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.
2618         * ChangeLog.2004: Trim 2005 entries.
2619         * ChangeLog: Add missing entries.
2621 2005-01-08  Gary V. Vaughan  <gary@gnu.org>
2623         * ChangeLog: Move 2004 change logs from here...
2624         * ChangeLog.2004: ...to here.
2626         * m4/argz.m4, m4/libtool.m4, m4/ltdl.m4, m4/ltoptions.m4,
2627         m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: RMS says,
2628         'I think the [license of autoconf macro files] should be:
2629         # This file is free software; the Free Software Foundation
2630         # gives unlimited permission to copy and/or distribute it,
2631         # with or without modifications, as long as this notice is
2632         # preserved.'.
2634         * ChangeLog: Reformatting.
2635         * HACKING: Fix section numbering.
2636         (Editing 'ChangeLog'): New notes on ChangeLog entry format.
2638 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2640         * tests/am-subdir.at tests/testsuite.at (AT_BOOTSTRAP,
2641         AT_LIBTOOLIZE, AT_CHECK_LIBTOOLIZE): Rename to ...
2642         (LT_AT_BOOTSTRAP, LT_AT_LIBTOOLIZE, LT_AT_CHECK_LIBTOOLIZE):
2643         ...and make use of new names.
2645 Continued in ChangeLog.2004
2647         $Revision$ $Date$