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