libltdl belongs to System/Libraries
[platform/upstream/libtool.git] / ChangeLog.2008
1 2008-12-19  Akim Demaille  <demaille@gostai.com>
2
3         Fix copyright notice.
4         * libltdl/config/ltmain.m4sh: Add missing comma.
5
6 2008-12-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7
8         Add cache variables to link tests.
9         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
10         (_LT_LINKER_SHLIBS): Add cache variables to tests that
11         require the linker to work.  For shlibpath_overrides_runpath,
12         this also changes the semantics to let the result from the C
13         compiler take precedence.
14         * tests/no-executables.at (AC_NO_EXECUTABLES): New file.
15         * Makefile.am: Update.
16         * NEWS: Update.
17         Report of shlibpath_overrides_runpath issue by Mike Frysinger,
18         report of GCC issue by Andreas Schwab.
19
20 2008-11-28  Paolo Bonzini  <bonzini@gnu.org>
21
22         Fix inadvertent commit.
23         * bootstrap: Revert.
24
25 2008-11-28  Paolo Bonzini  <bonzini@gnu.org>
26
27         Fix manual typo.
28         * doc/libtool.texi (LT_INIT): Use correct config.status
29         invocation.  Reported by Akim Demaille.
30
31 2008-11-28  Paolo Bonzini  <bonzini@gnu.org>
32
33         Do not use $ECHO within eval-ed `...`, as %s\\n becomes %s\n.
34         * HACKING: Document func_echo_all.
35         * libltdl/m4/libtool.m4: Use it within backticks that appear in
36         eval-ed variables.  Reported by Akim Demaille.
37
38 2008-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
39
40         Fix func_infer_tag $ECHO usage; some testsuite exposure.
41         * libltdl/config/ltmain.m4sh (func_infer_tag): Use func_echo_all
42         rather than $ECHO for possibly multiple arguments.
43         * tests/infer-tag.at (inferred tag, CXX inferred tag)
44         (F77 inferred tag, FC inferred tag, GCJ inferred tag): New file,
45         new tests.
46         * Makefile.am: Adjust.
47
48         * tests/runpath-in-lalib.at (Runpath in libtool library files):
49         Add $EXEEXT overlooked in patch yesterday.
50
51 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
52
53         Fix expout and experr line ending issues.
54         * tests/testsuite.at (LT_AT_HOST_DATA): Renamed from..
55         (_LT_AT_TRANSLATE_TEXT_OUTPUT): ..this.
56         (LT_AT_EXEC_CHECK, LT_AT_NOINST_EXEC_CHECK): Do not use
57         _LT_AT_TRANSLATE_TEXT_OUTPUT any more.
58         * tests/configure-iface.at: Use LT_AT_HOST_DATA instead of
59         AT_DATA for `expout' files.
60         * tests/lt_dladvise.at (lt_dlopenadvise library loading):
61         Likewise.
62         * tests/need_lib_prefix.at (enforced lib prefix): Likewise.
63         Report by Roumen Petrov.
64
65         Relax link-order2 test for systems with partial wrong order.
66         * tests/link-order2.at (Link order of deplibs.): On w32 (and
67         others, e.g., AIX), the wrongly linked executable picks up only
68         one instance of the bad function instead of two; relax the test
69         to accept this; we still require the right link order with the
70         correctly linked executable.
71         Reported by Roumen Petrov and others.
72
73 2008-11-23  Roumen Petrov  <bugtrack@roumenpetrov.info>
74             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
75
76         Add $EXEEXT to all linked programs in the new testsuite.
77         * tests/convenience.at, tests/ctor.at, tests/darwin.at,
78         tests/deplibs-ident.at, tests/duplicate_conv.at,
79         tests/duplicate_deps.at, tests/duplicate_members.at,
80         tests/export.at, tests/fail.at, tests/indirect_deps.at,
81         tests/inherited_flags.at, tests/link-order.at,
82         tests/link-order2.at, tests/lt_dladvise.at, tests/lt_dlexit.at,
83         tests/need_lib_prefix.at, tests/runpath-in-lalib.at,
84         tests/search-path.at, tests/shlibpath.at, tests/static.at,
85         tests/stresstest.at, tests/template.at, tests/testsuite.at:
86         Use $EXEEXT throughout, except in Makefile.am snippets where
87         automake takes care of it, and in testsuite macros that take
88         care of the extension.
89         Reports by Roumen Petrov and Alon Bar-Lev.
90
91 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
92
93         Adjust executable run tests to cwrapper changes.
94         * tests/testsuite.at (LT_AT_EXEC_CHECK): Accept fifth argument
95         ARGS-OR-STATUS-ADJUST, for command-line arguments and/or exit
96         status flattening.  Rewrite to prefer the executable with the
97         `.exe' prefix over one without.  Test exit status against
98         expected exit status, not against zero, when determining whether
99         this may be a cross-compilation-induced result.
100         (LT_AT_NOINST_EXEC_CHECK): Likewise.
101         * tests/static.at (static linking flags for programs): Adjust
102         calls.
103         Report by Roumen Petrov.
104
105         No trailing period in Autotest test group names.
106         * tests/link-order.at (Link order test): Drop trailing period
107         from test name.
108         * tests/link-order2.at (Link order of deplibs): Likewise.
109
110 2008-11-23  Vincent Torri  <vtorri@univ-evry.fr>  (tiny change)
111
112         Fix func_emit_cwrapperexe_src for WinCE: no errno support.
113         * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
114         [__MINGW32CE__]: Do not use errno, do not include errno.h and
115         remove calls related to errno when using the mingw32ce compiler.
116
117 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
118
119         No libm in WinCE.
120         * libltdl/m4/libtool.m4 (LT_LIB_M) [cegcc*]: This system has
121         only a dummy libm, ignore.
122         Report by Vincent Torri.
123
124         Fix import library detection for WinCE.
125         * libltdl/config/ltmain.m4sh (func_win32_libid): Work for
126         pe-arm-wince import libraries.
127         * NEWS: Update.
128         Report by Vincent Torri.
129
130 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
131             Eric Blake  <ebb9@byu.net>
132
133         Fix $ECHO test to not influence other _AS_DETECT_SUGGESTED code.
134         * libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Fix test to
135         not influence further tests registered with _AS_DETECT_SUGGESTED
136         and do not use a PATH below /tmp, to avoid influence by a third
137         party.
138
139 2008-11-23  Alon Bar-Lev  <alon.barlev@gmail.com>  (tiny change)
140
141         Fix func_win32_libid for 64-bit Windows.
142         * libltdl/config/ltmain.m4sh (func_win32_libid): Accept file
143         format 'pe-x86-64'.
144         * NEWS: Update.
145
146 2008-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
147
148         Avoid newlines in some AT_CHECK commands.
149         * tests/standalone.at (linking libltdl without autotools): Wrap
150         lines with dnl, to avoid turning off tracing of AT_CHECK.
151         * tests/subproject.at (linking libltdl without autotools):
152         Likewise.
153
154         Replace uses of $SED $basename.
155         * libltdl/config/ltmain.m4sh (func_mode_link): Replace instances
156         of `$ECHO ... | $SED' with calls to func_basename.
157         * libtoolize.m4sh (func_copy, func_serial)
158         (func_massage_aclocal_DATA): Likewise, replace with
159         func_dirname_and_basename.
160         * tests/defs.m4sh (func_configure_nofail, func_make, func_exec):
161         Likewise.
162
163         No need to prepend $progname with './'.
164         * libltdl/config/general.m4sh (func_dirname_and_basename): $ECHO
165         copes with leading hyphens now, so do not mangle $progname any
166         more.
167
168         Revenge of the $ECHO. Kill most uses of Xsed.
169         * libltdl/config/general.m4sh: Replace all uses of `$ECHO "X..."
170         | $Xsed' with `$ECHO "..." | $SED', and employ further trivial
171         simplifications.  Replace $ECHO with echo where appropriate.
172         (func_echo_all): New function.
173         * libltdl/config/getopt.m4sh: Likewise simplifications.
174         * libltdl/config/ltmain.m4sh: Likewise.
175         * libltdl/m4/libtool.m4: Likewise.
176         (LT_CMD_MAX_LEN): Use func_fallback_echo, to ensure that the
177         command line is passed through an exec* function.
178         * libtoolize.m4sh: Likewise simplifications.  Use func_echo_all
179         to implement --dry-run.
180         * tests/defs.m4sh: Likewise simplifications.
181         * tests/quote.test: Likewise simplifications.
182
183         Fix matching of Sun Fortran compiler on Linux.
184         * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: Also
185         match `Sun Ceres Fortran' compiler; reorder with C compiler
186         matching.
187         * THANKS: Update.
188         Report by Ethan Mallove.
189
190 2008-11-21  Charles Wilson  <libtool@cwilson.fastmail.fm>
191
192         Fix --verbose option; add new --no-{silent|quiet|verbose} options.
193
194         * libltdl/config/ltmain.m4sh (usage): Document
195         new options --no-silent/--no-quiet and --no-verbose.
196         (func_enable_tag): Handle new options.
197         Modified --verbose to actually activate opt_verbose.
198         New behavior: --silent disables both "normal" output and
199         func_verbose output.  --verbose enables both "normal"
200         output and func_verbose output. --no-silent enables
201         "normal" output, but does not affect func_verbose output.
202         --no-verbose disables func_verbose output, but does not
203         affect "normal" output.
204         * NEWS: announce new options --no-silent/--no-quiet, and
205         --no-verbose.
206         * doc/libtool.texi: document new options --no-silent/--no-quiet
207         and --no-verbose.
208
209 2008-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
210
211         Fix match patterns for cegcc*.
212         * libltdl/config/ltmain.m4sh (func_mode_link): Match '*cegcc*'
213         instead of '*cegcc' for $host_os.
214         * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Likewise.
215         * tests/lt_dladvise.at (lt_dlopenadvise library loading):
216         Likewise.
217         * libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Match
218         '*-*-cegcc*' for $host.
219
220         Ensure $ac_aux_dir is initialized for LIBTOOL_DEPS.
221         * libltdl/m4/libtool.m4 (LT_INIT): Require
222         AC_CONFIG_AUX_DIR_DEFAULT.
223         * tests/old-m4-iface.at (AM_PROG_LIBTOOL): Amend test to
224         expose this.
225         Report, analysis, and test example by Jakub Bogusz.
226
227         Check for bogus aclocal.m4 contents in bootstrap and dist-hook.
228         * Makefile.am (dist-hook): Bail out if shipped aclocal.m4 files
229         contain LT_INIT, AC_PROG_LIBTOOL, or AM_PROG_LIBTOOL macro
230         definitions.  These can only come from bogus pull-ins from older
231         installed Libtool macro files.
232         * bootstrap: Likewise.
233         Report by Akim Demaille.
234
235 2008-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
236
237         Fix $ECHO abuse exposed by recent patch.
238         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Require
239         _LT_CHECK_SHELL_FEATURES, for $lt_NL2SP.  Always quote argument
240         to $ECHO.
241
242         Skip sys_lib_search_path on systems without libz.
243         * tests/search-path.at (sys_lib_search_path): Autotest needs at
244         least one AT_CHECK executed in a test group.  So if we haven't
245         found -lz anywhere, as may happen with cross-compilers, skip the
246         test.
247         * THANKS: Update.
248         Report by Alon Bar-Lev.
249
250         Fix execute mode test to actually expose cwrapper failures.
251         * tests/execute-mode.at (execute mode): Actually also test the
252         cwrapper on the arguments.
253         Report by Bruno Haible.
254
255 2008-11-15  Charles Wilson  <libtool@cwilson.fastmail.fm>
256
257         Add func_win32_import_lib_p.
258         * libltdl/config/ltmain.m4sh (func_win32_import_lib_p):
259         New function.
260
261 2008-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
262
263         Fix archive_cmds for older cc on HP-UX 11.
264         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hp-ux11*, !GCC]
265         [!hppa*64*, !ia64*] <archive_cmds>: Older releases of the HP-UX
266         11.00 C compiler do not support -b yet; use a link test to
267         decide whether $LD should be used for library creation.
268         * THANKS: Update.
269         Report by Daniel Richard G.
270
271 2008-11-12  Paolo Bonzini  <bonzini@gnu.org>
272
273         * configure.ac: Bump Autoconf requirement.
274         * libltdl/config/general.m4sh: Use $as_echo as default $ECHO.
275         * tests/testsuite.at: Use $as_echo as default $ECHO.
276
277         * libltdl/m4/libtool.m4 (LT_INIT): Add _LT_SHELL_INIT to
278         work around Autoconf <2.64 bug.
279         (_LT_OUTPUT_LIBTOOL_COMMANDS_INIT): Add func_fallback_echo.
280         Eliminate lt_ECHO requoting.
281         (_LT_SHELL_INIT): Use a public M4sh diversion.
282         (_LT_PROG_ECHO_BACKSLASH): Rewrite.
283         (LT_CMD_MAX_LEN): Do not use --fallback-echo.
284         * libltdl/config/ltmain.m4sh: Remove --no-reexec and --fallback-echo
285         handling.
286         (func_fallback_echo): New.
287         (func_emit_wrapper_part1): Quote ECHO.  Remove --no-reexec and
288         --fallback-echo handling.
289         (Execute mode): Do not set qecho.
290
291 2008-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
292
293         Use -no-undefined in install tests.
294         * tests/install.at (Install tests): Use `-no-undefined'.
295
296 2008-11-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
297
298         Do not use `test ... -a ...'.
299         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hpux10, hpux11]:
300         Replace test -a with test && test.
301
302 2008-11-11  Roumen Petrov  <bugtrack@roumenpetrov.info>  (tiny change)
303
304         Fix destdir tests in cross compile mode.
305         * tests/destdir.at (Simple DESTDIR install)
306         (DESTDIR with in-package deplibs): Use $EXEEXT throughout.
307         * THANKS: Update.
308
309 2008-11-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
310
311         Simplify cwrapper handling a bit.
312         * libltdl/config/ltmain.m4sh (func_emit_wrapper_part1)
313         (func_emit_wrapper_part2, func_to_host_path)
314         (func_to_host_pathlist, func_emit_wrapper): Simplify using
315         default argument, func_append.
316
317 2008-11-10  Paolo Bonzini  <bonzini@gnu.org>
318
319         Separate part of _LT_SETUP into other macros, detect ECHO sooner.
320         * libltdl/m4/libtool.m4 (_LT_PREPARE_SED_QUOTE_VARS): New macro,
321         extracted from...
322         (_LT_SETUP): ... here.  Require _LT_PROG_ECHO_BACKSLASH sooner.
323
324 2008-11-10  Paolo Bonzini  <bonzini@gnu.org>
325
326         Fix quoting when config.status generates libtool config.
327         * libltdl/m4libtool.m4 (_LT_OUTPUT_LIBTOOL_COMMANDS_INIT):
328         Double quote ECHO-ed variables.
329
330 2008-11-10  Paolo Bonzini  <bonzini@gnu.org>
331
332         Use documented M4sh interfaces.
333         * clcommit.m4sh: Do not unset CDPATH, use AS_INIT and M4sh diversions.
334         * libltdl/config/mailnotify.m4sh: Likewise.
335         * libtoolize.m4sh: Likewise.
336         * tests/defs.m4sh: Likewise.
337         * tests/testsuite.at: Move AT_INIT invocation at the top.
338
339         * libltdl/m4/libtool.m4 (_LT_INIT_GENERATED): New.
340         (LT_OUTPUT): Use it.
341
342         * libltdl/config/general.m4sh (M4SH_IN_HEADER): New.
343         (progpath): Move setting before $0 could be clobbered.
344         * libltdl/config/ltmain.m4sh (M4SH_IN_HEADER): New.
345
346 2008-11-10  Paolo Bonzini  <bonzini@gnu.org>
347
348         Run sh.test on the M4sh source.
349         * tests/defs.m4sh (scripts): Point to pre-m4 sources.
350
351 2008-11-10  Paolo Bonzini  <bonzini@gnu.org>
352
353         Avoid that autom4te complains about unexpanded macros.
354         * libtoolize.m4sh: Allow occurrences of "dnl" and use quadrigraphs
355         to protect other m4 macros.
356
357 2008-11-11  Bruno Haible  <bruno@clisp.org>
358             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
359
360         Fix cwrapper argument mangling on w32.
361         * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): On
362         mingw, preprocess the argument vector through prepare_spawn.
363         * tests/execute-mode.at (execute mode): Output args
364         newline-separated.  Extend tests by more argument pairs that
365         contain special characters, where the w32 cwrapper fails.
366         Also test a real compiled program, linked against an uninstalled
367         library, to expose cwrapper issues.
368         * NEWS: Update.
369
370 2008-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
371
372         Update to GFDL 1.3.
373         * doc/fdl.texi: Update to GFDL 1.3.
374         * doc/libtool.texi: Adjust.
375         * NEWS: Update.
376
377 2008-11-09  Alexei Sheplyakov  <varg@theor.jinr.ru>  (tiny change)
378
379         Fix cross compilation with wine for the case SHELL != bash.
380         * libltdl/config/ltmain.m4sh (func_to_host_path): Avoid escape
381         sequence interpretation by 'echo', for w32-style paths.
382         * THANKS: Update.
383
384 2008-10-28  Michael Haubenwallner  <michael.haubenwallner@salomon.at> (tiny change)
385
386         Fix checks for unsupported allow_undefined_flag.
387         * tests/tagdemo-undef.test: Match allow_undefined_flag
388         correctly, for SKIPping.
389         * tests/cdemo-undef.test: Likewise.
390
391 2008-10-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
392
393         * tests/testsuite.at (_LTDL_PROJECT_FILES): Fix dependencies for
394         parallel make.
395
396         * libtoolize.m4sh (func_nonemptydir_p): Fix typo in error
397         message.
398
399 2008-10-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
400
401         Fix Autoconf 2.59 incompatibilty.
402         * libltdl/m4/ltdl.m4 (_LTDL_SETUP): m4_pattern_allow
403         `LT_LIBEXT'; Autoconf 2.59's AC_DEFINE* macros didn't do this
404         automatically yet.
405         * NEWS, THANKS: Update.
406         Report by Marcel Loose.
407
408 2008-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
409
410         Atomic shared library install permissions on HP-UX.
411         The HP-UX 11 runtime linker fails to mmap shared libraries
412         without execute permissions.  Fixing them with postinstall_cmds
413         may be too late, as ln, sed, and chmod may link against the
414         library being installed.
415
416         * libltdl/m4/libtool.m4 (install_override_mode): New LT_DECL.
417         (_LT_SYS_DYNAMIC_LINKER) [hpux9*, hpux10*, hpux11*]: Set it.
418         * libltdl/config/ltmain.m4sh (func_mode_install): Build a second
419         command line, $install_shared_prog, for the installation of the
420         shared library.  Override resp. set the permission mode if
421         install_override_mode is nonempty.
422         * doc/libtool.texi (libtool script contents): Document it.
423         * tests/install.at (Install tests): New test.
424         * Makefile.am (TESTSUITE_AT): Adjust.
425         (TESTS_ENVIRONMENT): Pass INSTALL.
426         Report by Bruno Haible.
427
428 2008-09-26  Eric Blake  <ebb9@byu.net>
429
430         Avoid gcc warning.
431         * libltdl/loaders/loadlibrary.c (vm_open): Don't check for array
432         being a NULL pointer.
433
434 2008-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
435
436         Man pages for libtoolize and libtool, new command line option
437         --help-all.
438         * Makefile.am (dist_man1_MANS, update_mans): New macros.
439         ($(srcdir)/doc/libtool.1, $(srcdir)/doc/libtoolize.1): New
440         rules.  Use --help-all for libtool.
441         (MAINTAINERCLEANFILES): New macro.  Add dist_man1_MANS.
442         (BUILT_SOURCES): Add libtoolize.
443         * configure.ac: Check for help2man, set HELP2MAN.
444         * doc/libtool.texi: Add @direntry for libtool-invocation.
445         (Invoking libtool): Document -h, --help-all.  Reorder mode
446         description for consistency.
447         (Compile mode): Do not document -Wl,FLAG and -XCClinker here.
448         (Link mode): Document -Wc,FLAG here, reformat a bit.
449         * libtoolize.m4sh: Reformat --help output a bit, to help
450         help2man.
451         * libltdl/config/ltmain.m4sh: Likewise.  Also, set PROGRAM to
452         `libtool', not `ltmain.sh', so the former is used in the man
453         page.
454         New argument `--help-all'.  If given, call func_help and
455         func_mode_help several times, beating output in shape with sed.
456         (func_mode_help): Do not exit here.
457         * libltdl/config/getopt.m4sh (func_usage): Work with different
458         indentations, but require comment hash in first column, when
459         grepping for '-h' in usage to end short help.
460         (func_help): Accept optional argument to not exit.
461         * NEWS, THANKS: Update.
462         Suggestion by Karl Berry.
463
464 2008-09-08  Gary V. Vaughan  <gary@gnu.org>
465
466         Use `-version-info 9:0:2' for one added iface since 2.2.4.
467         * libltdl/Makefile.inc (LTDL_VERSION_INFO): Make the libltdl
468         version number match 2.2.6a rerelease.
469
470         Add ./commit option for pushing tags back to origin.
471         * clcommit.m4sh (opt_tags): New --tags push option.
472         (func_commit): Run `$GIT push --tags' if --tags was passed.
473         * HACKING (Release Procedure): Note the requirement to pass
474         --tags to ./commit for new release tag to be push back to
475         origin.
476
477 2008-09-07  Gary V. Vaughan  <gary@gnu.org>
478
479         Retire gnu.org news.html in favour of savannah news.
480         * HACKING (Release Procedure): Add instructions for sending
481         a web release announcement to http://planet.gnu.org via
482         the savannah news manager.
483
484         Add untested git push conflict testing to commit script.
485         * clcommit.m4sh (func_check_conflicts): Test return status
486         of 'git push --dry-run', and display an error on non-zero.
487
488         Enable release procedure to work with lzma OLDRELEASE file.
489         * Makefile.maint (diffs, prev-tarball, new-tarball): If lzma
490         tarballs are present use them to generate the diffs, otherwise
491         use gz tarballs if they are present, or else complain if both
492         are missing.
493
494         Set SCM version number to 2.2.7a.
495         * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
496         number to 2.2.7a.
497         * NEWS: Updated.
498
499         GNU Libtool 2.2.6 was released.
500
501         Fix typo in Makefile.maint.
502         * Makefile.maint (git-news): Renamed to check-news, since it
503         doesn't actually run git.  Adjust all dependees.
504
505         Run `git commit -a' when no files are passed.
506         * clcommit.m4sh (func_commit): Add -a argument if necessary.
507
508         Prepare for next stable release.
509         * libltdl/Makefile.inc (LTDL_VERSION_INFO): Update.
510         * libltdl/m4/libtool.m4: Bump serial number to account for
511         changes since 2.2.4 release.
512         * INSTALL, config/config.guess, config/texinfo.tex: Updated
513         from canonical source.
514         * configure.ac (AM_INIT_AUTOMAKE): Specify dist-lzma, which
515         was introduced after automake-1.10 was released.
516         (abs_top_srcdir, abs_top_builddir): No need to substitute these
517         from configure anymore, since we require automake 1.10.1, which
518         does perform the substitutions properly.
519         (TIMESTAMP): Normal releases were displaying the long-form
520         timestamp.  Fix to show the short release timestamp as per
521         alpha release numbers.
522         * NEWS: Update with missing entries from ChangeLog.
523         * HACKING (Release Procedure): We release lzma tarballs now
524         but no xdeltas.
525         * Makefile.maint: Updated to match Release Procedure
526         instructions in HACKING.
527
528         Convert mailnotify headers to git.
529         * clcommit.m4sh: Improve mailnotify contents.
530
531         Make ./commit useful again.
532         * clcommit.m4sh: Major overhaul and simplification for git.
533
534 2008-09-06  Gary V. Vaughan  <gary@gnu.org>
535
536         Fix 'DISTCHECK_CONFIGURE_FLAGS=--program-prefix=g' bug.
537         * tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): Fix test failures
538         with --program-prefix, where the test case output contains the
539         transformed name somewhere other than the beginning of a line.
540         * libtoolize.m4sh (func_check_macros): Be sure to always use
541         the transformed name in output messages.
542
543 2008-09-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
544
545         Do not remove .gcno files when linking.
546         * libltdl/config/ltmain.m4sh (func_mode_link): When removing
547         potential output files before linking, do not remove *.gcno
548         profile information GCC outputs next to object files in `.libs'.
549         Report by Vincent Torri.
550
551 2008-09-01  Peter O'Gorman  <peter@pogma.com>
552
553         Revert 75142db4f8afc65ba7aae0ed80ea0b35bd9cc382 (AIX libltdl
554         dlopen(NULL)
555
556         * libltdl/m4/ltdl.m4: Remove LTDL_DLOPEN_SELF_WORKS define.
557         * libltdl/loaders/dlopen.c: Remove LTDL_DLOPEN_SELF_WORKS check.
558         * libltdl/m4/libtool.m4 [aix]: Set export_dynamic_flag_spec to
559         -Wl,-bexpall. This is a temporary workaround until a real fix
560         is implemented.
561         * NEWS: document it.
562
563 2008-08-26  Peter O'Gorman  <peter@pogma.com>
564
565         Allow for extensions other than .a for preloaded modules.
566         * libltdl/m4/ltdl.m4 (_LTDL_SETUP): Define LT_LIBEXT.
567         * libltdl/ltdl.c (lt_dladvise_preload): Use it.
568         Reported by Ralf Wildenhues.
569
570 2008-08-26  Peter O'Gorman  <peter@pogma.com>,
571             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
572
573         Remove unnecessary global argz functions.
574         * libltdl/argz.c (argz_add,argz_count): Remove.
575         * libltdl/argz_.h (argz_add,argz_count): Remove.
576         * NEWS: Announce it.
577         * tests/ltdl-api.at: Test so we don't repeat it.
578         * Makefile.am: Add new test.
579
580 2008-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
581
582         Initial support for Lahey Fortran on GNU/Linux.
583         * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
584         [linux] <lf95>: Add support for Lahey Fortran 8.1.
585         * NEWS, THANKS: Update.
586         Suggested by Craig Tierney.
587
588 2008-08-21  Sam Thursfield  <ssssam@gmail.com>  (tiny change)
589
590         Avoid leading separator in PATH for DLL search.
591         * libltdl/config/ltmain.m4sh (func_mode_link) [cygwin, mingw]
592         [ pw32, os2, cegcc]: Fix dllsearchpath not to contain leading
593         separator.
594         * THANKS: Update.
595
596 2008-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
597
598         * libltdl/config/ltmain.m4sh (func_mode_link): Quote $#.
599
600         Disallow `-L path', do not misparse it silently.
601         * libltdl/config/ltmain.m4sh (func_mode_link): Diagnose `-L'
602         without argument, and `-L path', i.e., with a space.
603         * tests/fail.at (Failure tests): Test for these failures.
604         * THANKS: Update.
605         Report by Olaf Lenz.
606
607 2008-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
608
609         Avoid test failure due to broken dlpreloading of shared library.
610         * tests/lt_dladvise.at (lt_dlopenadvise library loading): Drop
611         some newlines in AT_CHECK commands, for better 'testsuite -x'
612         output.  Only create a static installable libpreload.la, to
613         avoid exposing the bug libtool currently has with preloading of
614         shared libraries.  Add a note to revisit this later.
615
616 2008-08-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
617
618         Parallel make testsuite fixes.
619         * tests/configure-iface.at (installable libltdl)
620         (--with-ltdl-include/lib, --with-included-ltdl): Add dlopened
621         libmodule.la to main_DEPENDENCIES.
622         * tests/old-m4-iface.at (AC_WITH_LTDL): Likewise, let ltdldemo
623         depend upon module.la and libltdl/libltdlc.la.
624         * tests/testsuite.at (LT_AT_MAKE): Invoke each target in turn,
625         default to 'all'.
626         * tests/early-libtool.at (config.lt): Define 'all' target.
627
628         * HACKING: Update for git, fix some minor nits.
629
630 2008-08-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
631
632         Remove use of exit in configure test sources.
633         * libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Return from main,
634         to avoid using undeclared exit.
635         Report against OpenMPI from Coverity via Jeff Squyres.
636
637         * tests/configure-iface.at (convenience libltdl): Ignore warning
638         from parallel make.
639
640 2008-08-07  DJ Delorie  <dj@redhat.com>
641
642         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [tpf]
643         <library_names_spec>: Fix typo in variable name.
644
645 2008-08-06  Steve Ellcey  <sje@cup.hp.com>
646
647         Use -fPIC with GCC on HP-UX/ia64.
648         * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
649         [ia64-*-hpux*]: Specify -fPIC when using GCC to build shared
650         libraries.
651
652 2008-08-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
653
654         * NEWS: Minor fixups.
655
656 2008-08-01  Gary V. Vaughan  <gary@gnu.org>
657
658         Bring NEWS up to date.
659         * NEWS: Add missing summaries since 2.2.4 release.
660
661         Implement lt_dlopening of only preloaded modules.
662         * libltdl/m4/ltdl.m4 (LTDL_INIT): Check for a libltdl that
663         provides lt_dladvise_preopen when deciding if installed libltdl
664         is 'new enough'.
665         * libltdl/libltdl/lt__private.h (lt__advise): Add a new
666         is_preload flag.
667         * libltdl/ltdl.c (lt_dladvise_preload): New api call to set it.
668         (try_dlopen): If it is set, and the search of preloaded modules
669         didn't return a match, don't bother searching the filesystem.
670         * libltdl/ltdl.h (lt_dladvise_preload): Declare it.
671         * doc/libtool.texi (Libltdl Interface): Document it.
672         * tests/lt_dladvise.at: Test it (and incidentally add some test
673         coverage for `libtool -dlpreopen').
674         * NEWS: Announce it.
675
676 2008-08-01  Vincent Torri  <doursse@users.sf.net>
677
678         Add cegcc (Windows CE/PocketPC) support.
679         * libltdl/config/ltmain.m4sh: Add 'cegcc' case where needed.
680         * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN, LT_SYS_DLOPEN_SELF)
681         (_LT_SYS_DYNAMIC_LINKER, _LT_CHECK_MAGIC_METHOD)
682         (_LT_CMD_GLOBAL_SYMBOLS, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
683         (_LT_LANG_CXX_CONFIG): Likewise.
684         * libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Likewise.
685         * NEWS: Update.
686         * THANKS: Update.
687
688 2008-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
689
690         * libltdl/config/ltmain.m4sh (func_to_host_path): Fix sh.test
691         failure.
692         Report by Paolo Bonzini.
693
694 2008-07-31  Paolo Bonzini  <bonzini@gnu.org>
695
696         * ltmain.m4sh (func_emit_cwrapperexe_src): Factor
697         multiple closed braces into the next cat command.
698
699 2008-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
700
701         * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <icc, icpc>:
702         Use -fPIC, newer Intel compilers (icc 10, ifort 9) reject -KPIC.
703         * tests/localization.at: Skip test if the compiler fails merely
704         due to the locale setting.
705         * THANKS: Update.
706         Report by Vincent Lefevre.
707
708 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
709
710         * doc/libtool.texi (Linking executables, Static libraries)
711         (Modules for libltdl, Distributing libltdl): Remove TABs from
712         the manual.
713
714 2008-06-13  Peter O'Gorman  <peter@pogma.com>
715
716         Support ifort on darwin.
717         * libltdl/m4/libtool.m4 (_LT_DARWIN_LINKER_FEATURES): Build
718         shared libraries with ifort.
719         Reported by Christopher Hulbert.
720
721 2008-06-01  Charles Wilson  <libtool@cwilson.fastmail.fm>
722
723         [mingw] fix cross-compile-with-wine case
724         * libltdl/config/ltmain.m4sh (func_to_host_path)
725         [host=mingw, build!=mingw|cygwin]: check that winepath
726         stdout is non-empty and exit code is 0, instead of checking
727         stderr.
728         Reported by: Roumen Petrov
729
730 2006-06-01  Stas Maximov  <smaximov@ieee.org>  (tiny change)
731
732         Check only regular files, not devices, for lalibs.
733         * libltdl/config/ltmain.m4sh (functions func_lalib_p)
734         (func_lalib_unsafe_p): Only read regular files and not device
735         files.  Avoids blocking libtool executing gdb, when a
736         pseudo-terminal device /dev/pts/NN is given as one of the
737         arguments to gdb, as in:
738         libtool --mode=execute gdb -q -nw -i mi -tty /dev/pts/4 prog
739
740 2008-05-31  Peter O'Gorman  <peter@pogma.com>
741
742         Skip darwin test if fat link fails.
743         * tests/darwin.at: Skip if we can not link a fat program.
744         Reported by Daniel Macks <dmacks@netspace.org>
745
746 2008-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
747
748         libtoolize should not remove config.guess, config.sub.
749         * libtoolize.m4sh (all_pkgconfig_files): Do not list
750         config.guess nor config.sub.  We don't install them without
751         --install, and the project may not be using Automake.
752         Report by Andreas Schwab.
753
754         Simplify argument parsing in cwrapper.
755         * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src):
756         Use NULL where appropriate.  Do not compute length of arguments
757         needlessly.
758
759 2008-05-25  Charles Wilson  <libtool@cwilson.fastmail.fm>
760
761         [mingw] Add cross-compile support to cwrapper
762         * libltdl/config/ltmain.m4sh (func_to_host_path) [$host=mingw]:
763         If present, use winepath to convert from $build to $host
764         if $build is neither mingw (msys) nor cygwin.  Use unconverted
765         path as fallback when conversion fails. Also update comments.
766         (func_to_host_pathlist) [$host=mingw]: Ditto. For fallback case,
767         use simplistic ':' to ';' path separator translation.
768
769 2008-05-25  Charles Wilson  <libtool@cwilson.fastmail.fm>
770
771         Cwrapper should not eat -- arguments
772         * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
773         [file scope]: Defined all option strings in terms of macro
774         LTWRAPPER_OPTION_PREFIX. Similarly defined all option string
775         lengths in terms of macro LTWRAPPER_OPTION_PREFIX_LENGTH.
776         [main]: Modified option parsing algorithm to pass -- on to
777         target, and to not stop processing arguments when -- is seen.
778         Added check for unrecognized options in reserved namespace
779         defined by LTWRAPPER_OPTION_PREFIX.
780
781 2008-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
782
783         Fix ifort settings again.
784         * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
785         Unlike icc and ecc, not all ifort versions understand `-KPIC',
786         e.g. version 10.1, so use `-fPIC' instead.
787         Report by Jeff Squyres.
788
789 2008-05-20  Eric Blake  <ebb9@byu.net>
790
791         Resynchronize argz whitespace changes from gnulib.
792         * libltdl/m4/argz.m4: Kill trailing whitespace.
793         * libltdl/argz.c: Likewise.
794
795 2008-05-19  Eric Blake  <ebb9@byu.net>
796
797         Fix regression from two days ago.
798         * libltdl/m4/ltdl.m4 (_LT_LIBOBJ): Don't refer to deleted macro.
799
800 2008-05-17  Eric Blake  <ebb9@byu.net>
801
802         Speed up bootstrap by improving lt_combine.
803         * libltdl/m4/ltsugar.m4 (lt_combine): Mirror Autoconf 2.62
804         improvements.  Includes a semantic change where the separator can
805         now be empty, and where an empty fourth argument is now treated as
806         a valid suffix.
807         * libltdl/m4/libtool.m4 (_lt_decl_varnames_tagged): Adjust to new
808         semantics of lt_combine.
809         (lt_decl_varnames_tagged): Fix quoting and optimize.
810
811         Kill _LT_LIBSOURCES; it wasn't checking anything useful.
812         * libltdl/m4/ltdl.m4 (_LT_LIBSOURCES): Delete.
813         (LTDL_INIT): Ignore arguments to AC_LIBSOURCES during _LTDL_SETUP,
814         on the assumption that libtoolize correctly installed them.
815
816 2008-05-13  Charles Wilson  <libtool@cwilson.fastmail.fm>
817
818         [mingw|cygwin] Modify cwrapper to invoke target directly.
819         * libltdl/config/ltmain.m4sh (func_to_native_path):
820         New function. If $host is mingw, and $build is mingw
821         or cygwin, convert path to mingw native format.
822         (func_to_native_pathlist): New function. Ditto, for
823         :-separated pathlists.
824         (func_emit_cwrapperexe_src) [__CYGWIN__ && __STRICT_ANSI__]:
825         Ensure putenv and setenv are declared. Define HAVE_SETENV.
826         (func_emit_cwrapperexe_src) [main]: Add new constants to
827         hold desired PATH settings; initialize and use functions
828         above to convert to $host format if necessary. Add new
829         command-line options --lt-env-set, --lt-env-prepend, and
830         --lt-env-append. No longer emit wrapper script as integral
831         part of launching child. Remove support for (now) unnecessary
832         $TARGETSHELL. Exec actual target executable directly.
833         (func_emit_cwrapperexe_src) [lt_setenv, lt_extend_str]
834         [lt_split_name_value, lt_opt_process_env_set]
835         [lt_opt_process_env_prepend, lt_opt_process_env_append]
836         [lt_update_exe_path, lt_update_lib_path]: New functions.
837
838 2008-05-11  Charles Wilson  <libtool@cwilson.fastmail.fm>
839
840         Ensure cwrapper compiles without warnings under -std=c99.
841         * libltdl/config/ltmain.m4sh (func_emit_wrapper_part1):
842         new function.
843         (func_emit_wrapper_part2): new function.
844         (func_emit_wrapper): delegate to new functions.
845         (func_emit_cwrapperexe_src) [__CYGWIN__ && __STRICT_ANSI__]:
846         ensure realpath is declared.
847         (func_emit_cwrapperexe_src): declare two different strings
848         to each hold part of the wrapper script content. Initialize
849         using new func_emit_wrapper_partX functions.
850         (func_emit_cwrapperexe_src) [main]: when emitting wrapper
851         script content, use both strings.
852         Reported by Yaakov Selkowitz.
853
854 2008-05-06  Charles Wilson  <libtool@cwilson.fastmail.fm>
855
856         Ensure $OBJDUMP is defined
857         * libltdl/m4/libtool.m4 (_LT_DECL_OBJDUMP): new macro ensures
858         that $OBJDUMP is always defined sanely.
859         (_LT_SYS_DYNAMIC_LINKER): call it.
860         (_LT_CHECK_MAGIC_METHOD): call it.
861
862 2008-05-05  Gary V. Vaughan  <gary@gnu.org>
863
864         Fix libtoolize test failure with aclocal < 1.10.1
865         * tests/libtoolize.at
866         (verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIR): Older aclocal
867         requires a space between -I and the directory argument.
868         Reported by Daniel Macks <dmacks@netspace.org>
869
870 2008-05-04  Gary V. Vaughan  <gary@gnu.org>
871
872         Set SCM version number to 2.2.5a.
873         * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
874         number to 2.2.5a.
875         * NEWS: Updated.
876
877         GNU Libtool 2.2.4 was released.
878
879         * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
880         number to 2.2.4.
881         * libltdl/Makefile.inc (LTDL_VERSION_INFO): C:R+1:A because the
882         interfaces are unchanged, even though we improved the code some
883         more.
884         * NEWS: Updated.
885
886         Macro file serial updates for next stable release.
887         * libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
888         libltdl/m4/ltoptions.m4, libltdl/m4/lt~obsolete.m4: Bump serial
889         numbers to account for changes since 2.2.2 release.
890
891         Make libtoolize tests work with distcheck.
892         * tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): When $tst_aclocal
893         is set, transform paths that use it to generic
894         /usr/local/share/aclocal in time for AT_CHECK comparisons.
895
896 2008-05-03  Gary V. Vaughan  <gary@gnu.org>
897
898         Don't trip over outdated acinclude.m4.
899         * libtoolize.m4sh (all_pkgconfig_files, all_pkgmacro_files)
900         (all_pkgltdl_files): New variables listing all files ever
901         maintained by any release of libtoolize.
902         (func_install_pkgconfig_parent, func_install_pkgltdl_files)
903         (func_install_pkgconfig_subproject, func_install_pkgmacro_parent)
904         (func_install_pkgmacro_subproject): Carefully clean up any files
905         that may have been installed by previous libtoolize releases.
906         * tests/libtoolize.at: New test for libltdl/acinclude.m4 removal.
907         Reported by Andreas Schwab <schwab@suse.de>.
908
909 2008-05-02  Peter O'Gorman  <peter@pogma.com>
910
911         It helps to close quotes.
912         * libltdl/config/ltmain.m4sh (func_mode_link): Add closing '.
913
914 2008-05-01  Peter O'Gorman  <peter@pogma.com>
915
916         Use AC_CHECK_TOOL for otool and otool64.
917         * libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check.
918         * libltdl/config/ltmain.m4sh (func_mode_link): Use.
919         Reported by Richard Purdie <rpurdie@rpsys.net>
920
921 2008-04-30  Eric Blake  <ebb9@byu.net>
922
923         Support cygwin 1.7.0 in loadlibrary loader.
924         * libltdl/m4/ltdl.m4 (LT_LIB_DLLOAD) <cygwin>: Check for modern
925         function.
926         * libltdl/loaders/loadlibrary.c (vm_open): Avoid deprecated
927         cygwin_conv_to_full_win32_path.
928
929 2008-04-29  Gary V. Vaughan  <gary@gnu.org>
930
931         New libtoolize --no-warn option and LIBTOOLIZE_OPTIONS parsing.
932         * libltdl/config/general.m4sh (opt_warning): New option.
933         (func_warning): Only display a warning message if $opt_warning
934         is true.
935         * libtoolize.m4sh: Accept options in LIBTOOLIZE_OPTIONS
936         environment variable.
937         (--no-warn): Parse new option.
938         (func_serial_update_check, func_keyword_update): Use func_warning.
939         (func_check_macros): Bail out before style issues nags when
940         $opt_warning is false.
941         * doc/libtool.texi (Invoking Libtoolize): Document it.
942         * tests/libtoolize.at: Test it.
943         * NEWS: Updated.
944
945         Fix libtoolize test failure with aclocal-1.10.1.
946         * tests/libtoolize.at
947         (verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIR): Force aclocal to
948         search the source tree for latest libtool macros.
949
950 2008-04-24  Eric Blake  <ebb9@byu.net>
951
952         Fix bug in 2008-04-21 type improvements.
953         * libltdl/ltdl.c (load_deplibs): Fix casting bug.
954
955 2008-04-23  Michael Haubenwallner  <michael.haubenwallner@salomon.at>
956
957         Use /nonexistent as destination for files not to be installed.
958         * tests/darwin.at (darwin fat compile): Fix typo.
959         * tests/inherited_flags.at (inherited_linker_flags): Change
960         -rpath to /nonexistent.  This helps to avoid accidentally
961         picking up libraries below /usr/local.
962         * tests/template.at (simple template test): Likewise.  Fixes
963         test failure for additional incompatible libstdc++ in
964         /usr/local.
965         * tests/testsuite.at (configure_options): Add
966         --prefix=/nonexistent.
967
968 2008-04-23  Gary V. Vaughan  <gary@gnu.org>
969
970         * libtoolize.m4sh (rerun_aclocal): Remove unused variable.
971         Reported by Olly Betts <olly@survex.com>
972
973 2008-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
974
975         * tests/static.at (ccache -all-static): Ignore link warnings.
976         Report by Gary V. Vaughan.
977
978 2008-04-22  Gary V. Vaughan  <gary@gnu.org>
979
980         Libtoolize now advises AC_CONFIG_MACRO_DIR use where appropriate.
981         * libtoolize.m4sh (func_check_macros): Always advise use of
982         AC_CONFIG_MACRO_DIR when not able to copy libtool macros into
983         the project tree.
984         * tests/libtoolize.at: New test for correct diagnosis of mismatch
985         between AC_CONFIG_MACRO_DIR and ACLOCAL_AMFLAGS.
986         Update expected output of other tests.
987         * NEWS: Updated.
988
989 2008-04-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
990
991         Fix regression over 1.5.26 with ccache $CC -all-static.
992         * libltdl/config/ltmain.m4sh (func_mode_link): Add
993         $link_static_flag to compile_command and link_command only
994         later, instead of right after a possible compiler wrapper.
995         * tests/static.at (ccache -all-static): New test.
996         * THANKS: Update.
997         Report by Richard Purdie.
998
999 2008-04-22  Andreas Schwab  <schwab@suse.de>
1000             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1001
1002         Fix default argument for AC_LIBLTDL_CONVENIENCE.
1003         * libltdl/m4/ltdl.m4 (AC_LIBLTDL_CONVENIENCE): Default argument
1004         to libltdl.
1005         (AC_LIBLTDL_INSTALLABLE): Likewise.
1006         * tests/configure-iface.at (convenience libltdl): New test.
1007
1008 2008-04-21  Gary V. Vaughan  <gary@gnu.org>
1009
1010         Only complain that files are up-to-date with --force.
1011         As a side effect, this also means that when `aclocal' copies the
1012         libtool macros into `aclocal.m4' libtoolize complains only about
1013         the macro files that are missing or not up-to-date.
1014         * libtoolize.m4sh (func_echo_once): New function that prints
1015         the contents of a named variable only on the first call.
1016         (func_aclocal_update_check): New function that compares serial
1017         numbers of libtool macros in aclocal.m4 and only diagnoses the
1018         missing files.
1019         (func_copy, func_copy_cb, func_copy_some_files, func_serial_update)
1020         (func_keyword_update, func_ltmain_update, func_config_update)
1021         (func_install_update): Accept a new argument naming a variable
1022         containing a header string to print with func_echo_once iff any
1023         body text is output by this function.
1024         (func_install_pkgmacro_subproject, func_install_pkgmacro_parent)
1025         (func_install_pkgltdl_files, func_install_pkgconfig_subproject)
1026         (func_install_pkgconfig_parent: Set and pass a suitable
1027         header string variable for the above functions.
1028         (func_serial_update_check): Don't advise rerunning `libtoolize
1029         --force' when aclocal.m4 is not m4_including libtoolize installed
1030         macro files.
1031         * tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): Transform generic
1032         /usr/local/share/aclocal paths to point into the uninstalled
1033         libtool macro directory.
1034         * tests/libtoolize.at: Update tests that were checking for old
1035         behaviour of outputing `file is already up to date' even when
1036         --force was not passed.
1037         * tests/libtoolize.at: New tests to prevent regressions of these
1038         smarter messages.
1039         * NEWS: Updated.
1040         Reported by Olly Betts <olly@survex.com>
1041
1042         Capture lt~obsolete.m4 serial number correctly in libtoolize.
1043         * libltdl/m4/lt~obsolete.m4: Add the filename to the #serial
1044         marker so that libtoolize's serial number checks can find it
1045         in a non-include using aclocal.m4.
1046         * NEWS: Updated.
1047         Reported by Olly Betts <olly@survex.com>
1048
1049         Allow better compile time type checking for lt_dladvise.
1050         * libltdl/lt__private.h (lt__handle, lt__advise): Typedefs
1051         removed in favour of...
1052         * libltdl/ltdl.h (lt_dlhandle),
1053         libltdl/libltdl/lt_dlloader.h (lt_dladvise): ...changing from
1054         void* to forward declarations.
1055         * libltdl/loaders/dlopen.c, libltdl/loaders/loadlibrary.c,
1056         libltdl/lt_dlloader.c, libltdl/ltdl.c: Remove many redundant
1057         type casts.
1058         * NEWS: Updated.
1059         Suggested by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1060
1061 2008-04-21  Peter O'Gorman  <peter@pogma.com>
1062
1063         basename does not take a list of strings.
1064         * libltdl/config/ltmain.m4sh(func_extract_archives): Use sed
1065         $basename.
1066         * tests/darwin.at: New. Check that we can built fat program,
1067         shared library and convenience library.
1068         * Makefile.am: Add test.
1069         Reported by LiKai Liu <liulk@cs.bu.edu>
1070
1071         Use AC_CHECK_TOOL for lipo too.
1072         * libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check.
1073         * libltdl/config/ltmain.m4sh (func_extract_archives): Use.
1074
1075 2008-04-20  Gary V. Vaughan  <gary@gnu.org>
1076
1077         Fix misleading lt_dlopenadvise documentation.
1078         * doc/libtool.texi (lt_dlopenadvise): The last parameter is of
1079         type lt_dladvise, not lt_dladvise*.
1080         (my_dlopenext): Correct the example too.
1081         * NEWS: Updated.
1082         Reported by Gary Kumfert <kumfert@llnl.gov>
1083
1084 2008-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1085
1086         Fix testsuite cleanup warnings on AIX with NFS.
1087         * tests/testsuite.at [ aix ]: Set file mode creation so that
1088         'others' have no permissions.  Shared libraries are kept in
1089         memory on AIX after use if they are world-readable, which means
1090         on NFS mounts cleanup of test group directories will fail later.
1091         * THANKS: Update.
1092         Report and analysis by Michael Haubenwallner.
1093
1094         Fix nonportable use of expr.
1095         * libltdl/config/ltmain.m4sh (func_mode_link) <Transforming
1096         deplibs into only shared deplibs>: Fix expr portability issues,
1097         noted on FreeBSD.  While at it, simplify and avoid forking.
1098         Report by Bob Friesenhahn.
1099
1100         Exploit shell arithmetic expansion and ${#var}.
1101         * libltdl/m4/libtool.m4 (_LT_CHECK_SHELL_FEATURES): Also check
1102         for arithmetic expansion, and ${#var}.
1103         (_LT_PROG_XSI_SHELLFNS): Define func_arith and func_len
1104         accordingly, falling back on 'expr'.  Note that the argument to
1105         func_len may not start with a hyphen.  In the pre-Posix
1106         fallback, take care not to rely on the exit status of the
1107         variable assignment (not portable), but set the length to
1108         $max_cmd_len instead.
1109         * libltdl/config/ltmain.m4sh (func_mode_link): Use func_arith
1110         and func_len throughout for integer arithmetic, fixing
1111         quadratical amount of counting for reloadable object and
1112         piecewise archive linking.  Change all comparisons with
1113         max_cmd_len to test for smaller, non-equal length.
1114         * THANKS: Update.
1115         Suggested by Roland Mainz.
1116
1117         * libltdl/config/ltmain.m4sh (func_mode_compile): Avoid
1118         redundant removal of old output files before compilation.
1119         Do not remove $obj until we have successfully grabbed the
1120         lockfile (in case the compiler doesn't grok `-c -o'), because
1121         it might be identical to $output_obj.
1122         At the end of the function, before we remove the lockfile,
1123         update $removelist so that if the trap hits after the lockfile
1124         has been removed, we do not accidentally remove $output_obj that
1125         does not belong to us.
1126         (func_write_libtool_object): Use $MV instead of mv.
1127
1128 2008-04-18  Andreas Schwab  <schwab@suse.de>
1129
1130         * libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Check optional
1131         argument.
1132         (AC_ENABLE_STATIC): Likewise.
1133         (AC_ENABLE_FAST_INSTALL): Likewise.
1134
1135 2008-04-16  Eric Blake  <ebb9@byu.net>
1136
1137         Make ChangeLog merges easier.
1138         * .gitattributes: New file.
1139         * HACKING: Mention how it helps.
1140
1141 2008-04-15  Peter O'Gorman  <peter@pogma.com>
1142
1143         Allow bootstrap from git repository.
1144         * Makefile.am: Pass srcdir as an argument to mkstamp and expect
1145         only 2 fields in mkstamps output.
1146         * clcommit.m4sh: Ditto.
1147         * configure.ac: Ditto.
1148         * libltdl/config/mkstamp: return a revision and date based on
1149         the number of lines which look like dates in all the ChangeLog*
1150         files in the directory we got as arg 1.
1151
1152 2008-04-11  Eric Blake  <ebb9@byu.net>
1153
1154         Fix usage of setmode without declaration on cygwin.
1155         * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Ensure
1156         setmode has prototype for both mingw and cygwin.
1157
1158 2008-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1159
1160         * libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Move non-XSI
1161         definition of func_dirname_and_basename ...
1162         * libltdl/config/general.m4sh (func_dirname_and_basename):
1163         ... here, to use it for the other scripts that use general.m4sh
1164         (and as portable fallback for libtool).  Add marker for early
1165         insertion of generated shell functions (into libtool, not the
1166         other scripts) here.
1167         Use func_dirname_and_basename to compute progname, progpath.
1168         * libltdl/config/ltmain.m4sh (func_mode_help): Remove marker
1169         for insertion of generated shell functions.
1170         * tests/sh.test: Adjust function definition test to not match
1171         function call.
1172
1173         * libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS) <func_xform>:
1174         New function.
1175         * libltdl/config/ltmain.m4sh (func_mode_compile): Use it to
1176         avoid two forks with XSI shells.
1177         * tests/suffix.test: Also test a file with multiple dots.
1178
1179 2008-04-10  Peter O'Gorman  <peter@pogma.com>
1180
1181         * libltdl/config/ltmain.m4sh (func_win32_libid,
1182         func_generate_dlsyms, func_extract_an_archive,
1183         func_extract_archives, func_mode_help): move these so they
1184         appear after func_mode_compile.
1185         * tests/nomode.test: Check that --mode=link --help works.
1186         Reported by Josh Triplett <josh@freedesktop.org>
1187
1188 2008-04-07  Gary V. Vaughan  <gary@gnu.arg>
1189
1190         * doc/libtool.texi (Libltdl interface): Add missing
1191         documentation for lt_dlopenavise.
1192         Reported by Anton Erti <anton@mips.complang.tuwien.ac.at>
1193
1194         * configure.ac, libltdl/configure.ac (AM_INIT_AUTOMAKE): Use
1195         gnu rather than gnits standards so that version number 2.2.3a
1196         is not rejected!
1197         Reported by Olly Betts <olly@survex.com>
1198
1199 2008-04-01  Gary V. Vaughan  <gary@gnu.arg>
1200
1201         * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
1202         number to 2.2.3a.
1203
1204         GNU Libtool 2.2.2 was released.
1205
1206         * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
1207         number to 2.2.2.
1208         * libltdl/Makefile.in (LTDL_VERSION_INFO): C:R+1:A because the
1209         interfaces are unchanged, even though we improved the code some
1210         more.
1211         * NEWS: Updated.
1212
1213         * libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
1214         libltdl/m4/ltoptions.m4: Bump serial numbers to account for
1215         changes since 2.2 release.
1216
1217 2008-03-27  Peter O'Gorman  <peter@pogma.com>
1218
1219         * libltdl/m4/libtool.m4 [_LT_REQUIRED_DARWIN_CHECKS]: Fix the
1220         test for -single_module and log it to config.log.
1221         Reported by Torok Edwin and Nigel Home.
1222
1223 2008-03-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1224
1225         Document that disable-static plus -all-static is not portable.
1226         * doc/libtool.texi (Link mode): -all-static does not go well
1227         with disable-static on most systems.
1228         * tests/static.at (static linking flags for programs) [!aix]:
1229         With --disable-static but nonempty link_static_flag, skip the
1230         m-all-static link.  Do not skip it on AIX, as there the
1231         enable_static is self-inflicted, and thus expected to work.
1232         * THANKS: Update.
1233         Report by Nix.
1234
1235 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1236
1237         * libltdl/m4/libtool.m4 (_LT_CHECK_BUILDDIR): No need to escape
1238         backticks in argument to AC_MSG_WARN or AC_MSG_ERROR.
1239         * libltdl/m4/ltdl.m4 (_LTDL_INSTALLABLE, LTDL_INIT): Likewise.
1240
1241 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1242
1243         * libltdl/config/ltmain.m4sh (NLS nuisances): Fix quoting of
1244         localization variables for shell-active characters.
1245         * tests/localization.at (localized compiler messages): Extend
1246         test.
1247         * THANKS: Update.
1248         Report by Mike Frysinger.
1249
1250 2008-03-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1251
1252         * tests/defs.m4sh (func_get_config): Build egrep regex to speed
1253         up extracting several variables at once.  Use it to extract all
1254         default variables at once.  Also extract build_alias and
1255         host_alias from the libtool script.
1256         (func_configure_nofail): Use build_alias and host_alias for
1257         --build and --host, respectively.  Pass each if nonempty.
1258         * tests/testsuite.at: Pass --build if build_alias is nonemtpy.
1259         * tests/quote.test: Extract ECHO and wl at once.
1260
1261         * libltdl/m4/ltoptions.m4 (AC_LIBTOOL_WIN32_DLL): Require
1262         AC_CANONICAL_HOST.
1263         * THANKS: Update.
1264         Report by Jakub Bogusz.
1265
1266 2008-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1267
1268         * NEWS: Update.
1269
1270 2008-03-12  Charles Wilson  <libtool@cwilson.fastmail.fm>
1271
1272         * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src) [file
1273         scope]: additional #includes and #defines to support...
1274         (func_emit_cwrapperexe_src) [main]: ensure stdout is set to
1275         binary mode for cygwin|mingw builds. Ensure temporary script
1276         file is written in binary mode for cygwin|mingw builds.
1277         (func_mode_link) [cygwin|mingw]: cross-build support - only
1278         use cwrapper to generate shell wrapper if building native;
1279         otherwise use func_emit_wrapper()
1280
1281 2008-03-12  Henning Nielsen Lund  <hnl_dk@amigaos.dk>
1282
1283         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
1284         (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [amigaos]: Port to
1285         AmigaOS4 shared libraries on powerpc.
1286         * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS) [amigaos]:
1287         Likewise.
1288         * THANKS, NEWS: Update.
1289
1290 2008-03-09  Bruno Haible  <bruno@clisp.org>
1291         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1292
1293         Fix compiler output to be in the user locale.
1294         * libltdl/config/general.m4sh (func_show_eval_locale): New
1295         function, for running commands in the user locale.
1296         * libltdl/config/ltmain.m4sh (func_mode_compile): Use it for
1297         compiling.
1298         * tests/localization.at (localized compiler messages): New test.
1299         * Makefile.am: Adjust.
1300         Report by Bruno Haible.
1301
1302 2008-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1303
1304         Fix several test failures on Cygwin and MinGW.
1305         * tests/nonrecursive.at: Use -no-undefined for foo.la.
1306         * tests/recursive.at: Likewise.
1307         * tests/subproject.at: Likewise.
1308         * tests/lt_dladvise.at: For systems where undefined symbols are
1309         not allowed, to not try to load the module libdepend.
1310         [ mingw ]: Add to list of such systems.
1311         * tests/testsuite.at (_LT_AT_TRANSLATE_TEXT_OUTPUT): New macro,
1312         to translate line ending of expout and experr files suitable for
1313         host executables.
1314         (LT_AT_CHECK, LT_AT_NOINST_EXEC_CHECK): Use it.
1315         Report by Bob Friesenhahn.
1316
1317         Fix installcheck dependencies, fix for --program-transform-name.
1318         * Makefile.am (installcheck-local): Depend upon tests/atconfig
1319         and $(srcdir)/$(TESTSUITE).
1320         * tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): New macro.
1321         (LT_AT_CHECK_LIBTOOLIZE): Use it to transform expout and experr
1322         files suitably.
1323         * HACKING: Update.
1324
1325         Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
1326         * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK, _LT_COMPILER_OPTION)
1327         (_LT_COMPILER_C_O, LT_PATH_NM, _LT_CMD_GLOBAL_SYMBOLS, _LT_SETUP):
1328         Drop usage of obsolete AC_OBJEXT and AC_EXEEXT.
1329         * tests/am-subdir.at (C++ subdir-objects): Likewise.
1330
1331 2008-03-07  Peter O'Gorman  <peter@pogma.com>
1332
1333         * tests/convenience.at (Java convenience archives): Skip test if
1334         gcj cannot compile a working executable from .java files.
1335         Report by Nelson H. F. Beebe.
1336
1337         * libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Need to set LD.
1338         Reported by Nelson H. F. Beebe.
1339
1340 2008-03-06  Peter O'Gorman  <peter@pogma.com>
1341
1342         * libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea.
1343
1344         * libltdl/m4/libtool.m4 (_LT_PROG_FC): Report FC=no if the FC
1345         compiler is not a GNU compiler and the CXX compiler is a GNU
1346         compiler.
1347         Reported by Nelson H. F. Beebe.
1348
1349 2008-03-06  Gary V. Vaughan  <gary@gnu.org>
1350
1351         * Makefile.maint (TSDEPS_DIST): Removed.  No longer used.
1352         (TSDEPS): libtool.m4 has long since moved to libltdl.
1353         (cvs-dist): Don't put the suffix dot in twice.
1354
1355 2008-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1356
1357         * tests/convenience.at (Java convenience archives): Skip test if
1358         gcj cannot compile a .java file.
1359         Report by Nelson H. F. Beebe.
1360
1361 2008-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1362
1363         * libltdl/config/ltmain.m4sh (func_lalib_unsafe_p): redirect
1364         and restore from stdin, not stdout.
1365         * tests/execute-mode.at (execute mode): Adjust test to catch
1366         this.
1367         Report by Roberto Bagnara.
1368
1369 2008-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1370
1371         Fix libltdl to not skip dlopen on systems with several loaders,
1372         such as HP-UX, Cygwin.
1373         * libltdl/slist.c (slist_concat): When appending to the tail
1374         of a list, do not drop items off the beginning of the list.
1375         * NEWS: Update.
1376
1377         * libltdl/config/ltmain.m4sh (func_mode_execute): Replace only
1378         arguments we have identified as shell or C wrappers.
1379         (func_emit_wrapper): Output error message on stderr.
1380         * tests/execute-mode.at: New file, with --mode=execute tests.
1381         * Makefile.am: Adjust.
1382         * NEWS: Update.
1383         Fixes 2.2 regression.  Report by Roberto Bagnara.
1384
1385         * libltdl/m4/libtool.m4 (_LT_CONFIG): Drop misleading `GNU'
1386         prefix before the host package name in the "Generated by" line
1387         for the libtool script.
1388         * THANKS: Update.
1389         Reports by Peter Rosin and Roberto Bagnara.
1390
1391         * doc/libtool.texi (Module loaders for libltdl): Fix typo.
1392
1393         * libltdl/loaders/dld_link.c (vl_exit): New function, zero out ...
1394         (vtable): ... this new file static variable split out from ...
1395         (get_vtable): ... here.  Initialize vtable, register vl_exit as
1396         dlloader_exit function.
1397         * libltdl/loaders/dlopen.c: Likewise.
1398         * libltdl/loaders/dyld.c: Likewise.
1399         * libltdl/loaders/load_add_on.c: Likewise.
1400         * libltdl/loaders/loadlibrary.c: Likewise.
1401         * libltdl/loaders/shl_load.c: Likewise.
1402         * libltdl/loaders/preopen.c: Likewise; vl_exit existed here
1403         already.
1404         * tests/lt_dlexit.at (lt_dlexit unloading libs): Update test.
1405         * NEWS: Update.
1406         Report by Andreas Schwab.
1407
1408 2008-03-01  Gary V. Vaughan  <gary@gnu.org>
1409
1410         * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
1411         number to 2.3a.
1412
1413         GNU Libtool 2.2 was released.
1414
1415         * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
1416         number to 2.2.
1417         * NEWS: Updated.
1418
1419         * tests/lt_dladvise.at, tests/lt_dlexit.at,
1420         tests/need_lib_prefix.at: Skip these tests when called from
1421         `make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install'.
1422         The tests try to link against the dummy installed libltdl.la
1423         from .../_inst/lib/libltdl.la, which does not exist when
1424         configured with --disable-ltdl-install.
1425
1426 2008-02-29  Gary V. Vaughan  <gary@gnu.org>
1427
1428         * libltdl/m4/argz.m4 (AC_CHECK_FUNCS): Also use our replacement
1429         argz if the system argz_add or argz_count are missing.
1430         Report by Juan Manuel Guerrero <juan.guerrero@gmx.de>.
1431
1432 2008-02-26  Karl Berry  <karl@freefriends.org>
1433
1434         * libltdl/argz.c (argz_add, argz_count): New functions.
1435         * libltdl/argz_.h: Declare them.
1436         Report by Juan Manuel Guerrero <juan.guerrero@gmx.de>.
1437
1438 2008-02-20  Peter O'Gorman  <peter@pogma.com>
1439
1440         * libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Do not call the
1441         _LT_SYS_DYNAMIC_LINKER macro here.
1442         Reported by Mike Frysinger <vapier@gentoo.org>
1443
1444 2008-02-15  Peter O'Gorman  <peter@pogma.com>
1445
1446         * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Fix typo.
1447
1448 2008-02-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
1449
1450         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better handling
1451         of predefined values for lt_cv_sys_lib_search_path_spec and
1452         lt_cv_sys_lib_dlsearch_path_spec.
1453
1454 2008-02-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1455
1456         * libtoolize.m4sh (func_install_pkgconfig_files): Only call
1457         func_install_pkgconfig_parent if $seen_autoconf.
1458         * tests/standalone.at (compiling softlinked libltdl)
1459         (compiling copied libltdl, installable libltdl)
1460         (linking libltdl without autotools): Use checked libtoolize
1461         calls to catch warnings.
1462
1463 2008-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1464
1465         * libltdl/configure.ac: Bump package version.
1466         * HACKING: Reminder to do it next time, too.
1467
1468 2008-02-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1469
1470         * tests/mdemo/Makefile.am (@LIBLTDL@): Update outdated
1471         dependencies.
1472         ($(top_distdir)/libltdl/libtool): Remove.
1473         Fixes spurious mdemo-dryrun failure with OpenBSD make.
1474
1475 2008-02-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1476
1477         * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
1478         Treat like icc and ecc, for fixed `-Wl,' and `-KPIC' settings.
1479
1480 2008-02-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1481
1482         * tests/archive-in-archive.at
1483         (static library contains static library): Test also the actual
1484         broken link command, and the following install command, as
1485         UnixWare ar rightly refuses to put an archive into an archive.
1486         Report by Tim Rice.
1487
1488 2008-02-06  Peter O'Gorman  <peter@pogma.com>
1489
1490         * libltdl/m4/ltoptions.m4 (_LT_SET_OPTIONS): Only set default
1491         LT_INIT values for LT_INIT, not LTDL_INIT.
1492         Reported by Jochem Huhmann <joh@revier.com>
1493
1494 2008-02-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1495
1496         * tests/testsuite.at (LT_AT_TAG): For the CXX tag, if $CXX is
1497         g++, check that `g++ -v' works; AC_PROG_CXX may have set that
1498         as default value even if it found no C++ compiler.
1499         Report by Andreas Schwab.
1500
1501 2008-02-02  Gary V. Vaughan  <gary@gnu.org>
1502
1503         * libltdl/Makefile.inc (EXTRA_DIST): Now that we're not using
1504         Autoconf's AC_SOURCES macro, Automake can't trace our extra
1505         source files argz, lt__dirent.c and lt__strl.c.  List them
1506         manually here to make sure they are distributed.
1507         * NEWS: Updated.
1508         Reported by Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
1509
1510 2008-02-01  Gary V. Vaughan  <gary@gnu.org>
1511
1512         * configure.ac (AC_INIT): Bump version number to 2.1c.
1513
1514         GNU Libtool 2.1b was released.
1515
1516         * configure.ac (AC_INIT): Bump version number to 2.1b.
1517         * libltdl/Makefile.inc (LTDL_VERSION_INFO): Increment to account
1518         for new interfaces since the last libltdl update.
1519         * HACKING (Release Procedure): Note that LTDL_VERSION_INFO is now
1520         kept in libltdl/Makefile.inc.
1521
1522 2008-02-01  Gary V. Vaughan  <gary@gnu.org>
1523
1524         * tests/cdemo, tests/depdemo, tests/fcdemo, tests/pdemo,
1525         tests/demo, tests/f77demo, tests/mdemo, tests/tagdemo
1526         (distclean-local): Remove compiler file droppings left by
1527         Autoconf tests that prevent make dist from finishing on
1528         several machines including Mac OS 10.5.
1529
1530 2008-02-01  Gary V. Vaughan  <gary@gnu.org>
1531
1532         Unfortunately, the autoconf implementation of AC_LIBOBJ and
1533         friends requires all libobjs to be in the same directory, as
1534         declared by AC_CONFIG_LIBOBJ_DIR.  That might prevent using
1535         either recursive or nonrecursive libltdl if the parent project
1536         has libobjs of its own, except that this patch tracks libltdl's
1537         libobjs in another namespace:
1538
1539         * libltdl/m4/ltdl.m4 (_LT_LIBOBJ, _LT_LIBSOURCES): Versions of
1540         AC_LIBOBJ and AC_LIBSOURCES that save missing sources in a
1541         ltdl_LIBOBJS automake macro, instead of the global LIBOBJS
1542         automake macro.  Content of the macros inspired by code from
1543         gnulib-tool.
1544         (_LTDL_MODE_DISPATCH): Initialise lt_libobj_prefix in
1545         nonrecursive mode.
1546         (LTDL_INIT): Push and pop the new definitions around potential
1547         sites that call AC_LIBOBJ.  Also, using lt_libobj_prefix,
1548         initialise ltdl_LIBOBJS and ltdl_LTLIBOBJS.
1549         * libtoolize.m4sh (func_fixup_Makefile): Substitute ltdl_LIBOBJS
1550         and ltdl_LTLIBOBJS for LIBOBJS and LTLIBOBJS during copying
1551         either Makefile.am or Makefile.inc, depending on ltdl_mode.
1552         Reported by Eric Blake <ebb9@byu.net>
1553
1554 2008-01-30  Gary V. Vaughan  <gary@gnu.org>
1555
1556         There are 5 distinct batches of files that libtoolize might
1557         install into a project, depending on whether libltdl is
1558         being installed in subproject mode, and in that case whether
1559         the parent project shares the config and macro directories
1560         with the subproject ltdl.  Make a separate function for each
1561         of those 5 batches (4 new functions below, plus the recently
1562         factored func_install_pkgltdl_files), and make a clearer
1563         distinction between when each of them is needed:
1564
1565         * libtoolize.m4sh (func_install_pkgmacro_subproject):
1566         New function for installing and reporting on m4 files copied
1567         to a subproject ltdl directory.
1568         (func_install_pkgmacro_parent): Similar new function for m4
1569         files copied solely for the use of the parent project,
1570         including serial checking.
1571         (func_install_pkgconfig_subproject): New function for
1572         installing and reporting on config helper files copied to a
1573         subproject ltdl directory.
1574         (func_install_pkgconfig_parent): Similar new function for
1575         config helper files copied solely for the use of the parent
1576         project, including serial checking.
1577         (func_install_pkgmacro_files, func_install_pkgconfig_files):
1578         Rewritten in terms of the above functions.
1579         * tests/libtoolize.at: Adjust test expout's to match newly
1580         regularized libtoolize output.
1581         Move parent project pkgconfig files to build-aux directory
1582         so that progress messages show an obvious difference to
1583         pkgconfig files installed to subproject `config' directory.
1584         (nonrecursive ltdl with AC_CONFIG_MACRO_DIR): New test.
1585         (diagnose missing LT_CONFIG_LTDL_DIR): New test.
1586         (subproject ltdl with non-shared directories): New test.
1587         Reported by Eric Blake <ebb9@byu.net>
1588
1589 2008-01-29  Peter O'Gorman  <peter@pogma.com>
1590
1591         * libltdl/m4/libtool.m4 [darwin]: Changes to glob pattern matching
1592         to be safer.
1593
1594         Search the compiler path too.
1595         * libltdl/m4/libtool.m4 (compiler_lib_search_dirs): New variable.
1596         * libltdl/config/ltmain.m4sh: Use it.
1597         Reported by Maynard Johnson
1598
1599 2008-01-28  Gary V. Vaughan  <gary@gnu.org>
1600
1601         * libtoolize.m4sh (func_check_macros): Correct typo with
1602         '$opt_quiet ||' where '$opt_quiet &&' that was preventing
1603         func_check_macros from running!
1604
1605         * libtoolize.m4sh: Set opt_ltdl whenever seen_ltdl is set
1606         so that libtoolize behaves as though --ltdl was passed even
1607         if it wasn't as long as LTDL_INIT (or equivalent) was seen
1608         in configure.ac.  Adjust redundant '$opt_ltdl || $seen_ltdl'
1609         to simply '$opt_ltdl'.
1610         Reported by Eric Blake <ebb9@byu.net>
1611
1612         * libtoolize.m4sh (func_check_macros): Check opt_quiet
1613         in the function itself to simplify calling it.  Also move
1614         the definition of the function.
1615
1616         * libtoolize.m4sh (func_scan_files): Be sure to set the
1617         default libltdl mode to 'subproject' when libtoolize is
1618         executed before configure.ac has been updated.
1619
1620 2008-01-27  Gary V. Vaughan  <gary@gnu.org>
1621
1622         * libtoolize.m4sh (func_install_pkgconfig_files)
1623         (func_install_pkgmacro_files, func_install_pkgltdl_files):
1624         Factored out from the 'Main' section of the file.
1625
1626         * libtoolize.m4sh (subproject_auxdir, subproject_macrodir):
1627         New variables to hold the default locations for auxfiles
1628         and macrofiles in a subproject libltdl.
1629         (ac_auxdir, ac_macrodir): New variables to hold the values
1630         passed by AC_CONFIG_AUX_DIR and AC_CONFIG_MACRO_DIR resp.
1631         (auxdir, macrodir): Adjust to contain the values to be
1632         used by libtoolize at runtime.
1633
1634         * libtoolize.m4sh (func_fixup_Makefile)
1635         (func_massage_aclocal_DATA, func_massage_pkgltdl_files)
1636         (func_massage_pkgconfig_files): Add missing $opt_debug.
1637
1638 2008-01-27  Gary V. Vaughan  <gary@gnu.org>
1639
1640         * libtoolize (func_fixup_Makefile, func_massage_aclocal_DATA)
1641         (func_massage_pkgltdl_files, func_massage_pkgconfig_files):
1642         Add missing $opt_debug.
1643
1644 2008-01-26  Gary V. Vaughan  <gary@gnu.org>
1645
1646         * libtoolize.m4sh (Main): Copy (or link) libltdl sources
1647         into project tree when LTDL_INIT was seen, whether or not
1648         `--ltdl' is passed.
1649         (func_check_macros): Recommend LTDL_INIT instead of
1650         LT_WITH_LTDL when `--ltdl' is used before configure.ac is
1651         upgraded.
1652         * tests/libtoolize.at: Test that it works.
1653         (_LT_AT_LTDL_SETUP): Factor out some common test setup.
1654         Reported by Eric Blake <ebb9@byu.net>
1655
1656 2008-01-24  Peter O'Gorman  <peter@pogma.com>
1657
1658         * doc/notes.texi: Fix errors in previous commit.
1659
1660         * libltdl/m4/libtool.m4 (sys_lib_search_path_spec,
1661         sys_lib_dlsearch_path_spec): Allow for a cache variable
1662         lt_cv_sys_lib_... to set these at configure time.
1663         * doc/notes.texi: Short note about the above change.
1664
1665 2008-01-24  Eric Blake  <ebb9@byu.net>
1666
1667         Add proper quoting to doc examples.
1668         * doc/libtool.texi: Use m4 quotes where appropriate.
1669         (Test descriptions): Fix truncated sentence.
1670
1671 2008-01-18  Gary V. Vaughan  <gary@gnu.org>
1672
1673         * Makefile.am (DISTCLEANFILES): Remove libtool.dvi generated
1674         by 'make dvi'.
1675
1676 2008-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1677
1678         * libtoolize.m4sh (func_scan_files): Avoid matching our own
1679         macro code when scanning configure.ac and aclocal.m4.
1680         Don't produce spurious output if AC_PROG_RANLIB is found.
1681         * tests/old-m4-iface.at (AM_PROG_LIBTOOL): Add a (weak) check
1682         that we don't match our own macro code when searching for user
1683         code calling us.
1684         * TODO: Updated.
1685
1686 2008-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1687
1688         New variable LTDLDEPS for use in output_DEPENDENCIES.
1689
1690         * libltdl/m4/ltdl.m4 (_LTDL_CONVENIENCE, _LTDL_INSTALLABLE)
1691         (LTDL_INIT): Set and substitute LTDLDEPS according to chosen
1692         method.
1693         * tests/configure-iface.at (installable libltdl)
1694         (--with-ltdl-include/lib, --with-included-ltdl): Test it.
1695         * doc/libtool.texi (Distributing libltdl): Document LTDLDEPS.
1696         * NEWS: Updated.
1697         Dependency bug exposed by Eric Blake in M4, found by Bob Proulx
1698         build daemon.
1699
1700 2008-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1701
1702         * doc/libtool.texi (Distributing libltdl): Clarify that
1703         `${top_build_prefix}' may be used in place of `${top_builddir}/'.
1704
1705         * doc/libtool.texi (Distributing libltdl): Clarify that
1706         LTDL_INIT goes after LT_INIT; also show the latter in the
1707         respective examples.
1708         * tests/subproject.at: Adjust order.
1709
1710 2008-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1711
1712         * libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Use AM_CONDITIONAL
1713         only if defined.  Allows to use libltdl without aclocal.
1714
1715 2008-01-16  Peter O'Gorman  <peter@pogma.com>
1716
1717         * libltdl/m4/libtool.m4: Set GCC var for every tag, avoids need
1718         to set withGCC var.
1719
1720 2008-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1721
1722         * configure.ac: Set libltdl nonrecursive option, to avoid
1723         configuring libltdl inside the Libtool package.
1724
1725 2008-01-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1726
1727         Silence all non-warning output from `libtool --silent'.
1728         * libltdl/config/ltmain.m4sh (func_generate_dlsyms)
1729         (func_extract_archives, func_mode_link): Use func_verbose
1730         instead of func_echo for all non-warning output.
1731
1732         * Makefile.maint (fetch): Update to match upstream git sources.
1733         Pull `INSTALL' from gnulib instead of from Autoconf.
1734
1735         * doc/notes.texi: Mention AIX binutils deficiency for C++ code.
1736         Report by Rainer Tammer.
1737         Suggest using bash for configure.
1738
1739         * libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Fix to use
1740         new _LT_SET_OPTION semantics.
1741
1742 2008-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1743
1744         * libltdl/m4/ltdl.m4 (_LTDL_SETUP): Define
1745         LTDL_DLOPEN_SELF_WORKS, depending upon lt_cv_dlopen_self.
1746         * libltdl/loaders/dlopen.c (vm_open) [!LTDL_DLOPEN_SELF_WORKS]:
1747         Fail for dlopen(NULL), so that the preopen loader is used.  This
1748         fixes mdemo-exec.test failures on AIX where dlopen(NULL)
1749         succeeds but dlsym resolves no symbol.
1750         * NEWS: Update.
1751         Report by Rainer Tammer.
1752
1753         * tests/am-subdir.at: Drop unused variables.
1754         * tests/configure-iface.at: Likewise.
1755         * tests/ctor.at: Likewise.
1756         * tests/early-libtool.at: Likewise.
1757         * tests/lt_dladvise.at: Likewise.
1758         * tests/old-m4-iface.at: Likewise.
1759         * tests/lt_dlexit.at: Likewise.  Also drop unused functions.
1760
1761         * tests/old-m4-iface.at (AM_PROG_LIBTOOL): Also copy needed
1762         lt~obsolete.m4.
1763
1764         * libltdl/config/ltmain.m4sh (func_mode_link): Fix warning
1765         about -l and -L for archives and objects as output, to not
1766         trigger for *.la files.  Non-convenience archives are diagnosed
1767         later on.
1768
1769         * tests/configure-iface.at: Ensure LTDLINCL is expanded
1770         before CPPFLAGS, so that even CPPFLAGS=-I/usr/local/include
1771         won't make the tests prefer an installed ltdl.h over the
1772         in-package one.
1773         * tests/lt_dladvise.at, tests/lt_dlexit.at: Likewise.
1774         * tests/need_lib_prefix.at, tests/old-m4-iface.at: Likewise.
1775         Report by Bob Friesenhahn.
1776
1777 2008-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1778
1779         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <exclude_expsyms>:
1780         Also exclude `_GLOBAL__F[ID]_.*'.  Also set for the C++ tag.
1781         Fixes esp. demo/helldl build failure with GCC on AIX.
1782         Report by Rainer Tammer.
1783
1784 2008-01-11  Peter O'Gorman  <peter@pogma.com>
1785
1786         * libltdl/m4/libtool.m4 [darwin]: Reorganize darwin support, use
1787         dsymutil if it is available so that debugging is possible, check
1788         for nmedit and dsymutil with AC_CHECK_TOOL, use the linker flag
1789         -exported_symbols_list in preference to nmedit if it is available.
1790         Drop support for xlc, it is probably broken.
1791         * tests/template.at [darwin]: Skip this test, I can not find a way
1792         to make it work on darwin9 with Xcode-3.0.
1793         * NEWS: Note the dropping of xlc support.
1794
1795 2008-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1796
1797         * libltdl/m4/libtool.m4 (LT_INIT): m4_require, not AC_REQUIRE
1798         _LT_CHECK_BUILDDIR, as it's m4_defun'ed, not AC_DEFUN'ed.
1799         Report by Peter O'Gorman.
1800
1801         * libltdl/m4/ltdl.m4 (_LTDL_INSTALLABLE): Restore correct
1802         _LT_BUILD_PREFIX-using code.
1803
1804 2008-01-08  Gary V. Vaughan  <gary@gnu.org>
1805
1806         * tests/recursive.at: Remove bogus --debug option.
1807         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1808
1809         * tests/configure-iface.at: Build libltdl in a subdir so that
1810         it can be easily removed without trying to remove config.log
1811         on windows (which can't delete a file until it is closed).
1812         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1813
1814         * libltdl/m4/ltdl.m4 (LTDL_INSTALLABLE): Use _LT_BUILD_PREFIX
1815         instead of ${top_builddir} for Autoconf-2.62.
1816         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1817
1818         * libltdl/m4/ltdl.m4 (_LT_CONFIG_LTDL_DIR): Correct closing
1819         comment.
1820         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1821
1822         * NEWS: Grammar nit.
1823
1824         * tests/configure-iface.at, tests/nonrecursive.at,
1825         tests/recursive.at, tests/subproject.at (_LTDL_SETUP):
1826         Renamed to _LT_AT_LTDL_SETUP to avoid a nameclash with
1827         libltdl/m4/ltoptions.m4:_LTDL_SETUP from yesterday's patch.
1828         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1829
1830 2008-01-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1831
1832         * tests/runpath-in-lalib.at (Runpath in libtool library files):
1833         Compile program file without libtool.
1834         Report by Rainer Tammer.
1835
1836 2008-01-07  Rainer Tammer  <tammer@tammer.net>  (tiny change)
1837             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1838
1839         Support AIX 6.1.
1840         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
1841         (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
1842         (_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG)
1843         (_LT_LANG_FC_CONFIG): Adjust case patterns to match AIX 6
1844         through 9 as well.
1845         * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
1846         * NEWS: Update.
1847         * THANKS: Update.
1848
1849 2008-01-07  Gary V. Vaughan  <gary@gnu.org>
1850
1851         Move libltdl build mode options from LT_CONFIG_LTDL_DIR to
1852         LTDL_INIT.  Accept (optional) new 'convenience' and 'installable'
1853         options in lieu of LTDL_CONVENIENCE and LTDL_INSTALL macros. And
1854         also, implement --with-included-ltdl, --with-ltdl-lib and
1855         --with-ltdl-include configure-time options:
1856
1857         * libltdl/m4/ltoptions.m4: Associate existing option settings with
1858         LT_INIT.
1859         (LT_OPTION_DEFINE): Associate options 'nonrecursive', 'recursive',
1860         'subproject', 'installable' and 'convenience' with LTDL_INIT.
1861         (_LT_MANGLE_OPTION, _LT_SET_OPTION, _LT_IF_OPTION)
1862         (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Add MACRO-NAME argument to
1863         support options to named macros instead of hardcoding only LT_INIT
1864         options.
1865         * libltdl/m4/ltdl.m4 (_LTDL_CONVENIENCE): Factor common code from
1866         LTDL_CONVENIENCE and LTDL_INIT([convenience]).
1867         (_LTDL_INSTALLABLE): Factor out common code from LTDL_INSTALLABLE
1868         and LTDL_INIT([installable]).
1869         (_LTDL_SETUP): Renamed from LTDL_INIT.  Support new configure-time
1870         options: --with-included-ltdl, --with-ltdl-lib,
1871         --with-ltdl-include.
1872         (LTDL_CONVENIENCE, LTDL_INSTALLABLE): Adjust.
1873         (LT_WITH_LTDL): Removed.
1874         (LTDL_INIT): Parse caller options.
1875         * libltdl/m4/libtool.m4 (LT_INIT): Declare that this macro must be
1876         expanded before LTDL_INIT, and be sure to parse caller options.
1877         * configure.ac: Call directly into internal _LTDL_SETUP macro.
1878         * libtoolize.m4sh (func_scan_files): Ltdl mode argument moved from
1879         LT_CONFIG_LTDL_DIR to LTDL_INIT.
1880         * tests/nonrecursive.at, tests/recursive.at: Use new interfaces.
1881         * tests/configure-iface.at: Test it.
1882         * Makefile.am (TESTSUITE_AT): Add configure-iface.at.
1883         * doc/libtool.texi (Distributing libltdl): Document improved
1884         LTDL_INIT interfaces.
1885         * NEWS: Updated.
1886
1887 2008-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1888
1889         * libltdl/config/ltmain.m4sh (func_mode_link): When creating
1890         reloadable object files, avoid issuing plain `rm -f' without
1891         further arguments, even if the line length limit is ridiculously
1892         low as in the `Run tests with low max_cmd_len' test.  This
1893         failure is exposed on NetBSD.
1894         Report by Patrick Welche.
1895
1896         * Makefile.am (EXTRA_DIST): Add ChangeLog.2007.
1897         * ChangeLog.2007: New, rotated, from...
1898         * ChangeLog: ...here.
1899         * NEWS, README, README.alpha, Makefile.am, libtoolize.m4sh,
1900         libltdl/config/getopt.m4sh, libltdl/config/ltmain.m4sh,
1901         libltdl/m4/libtool.m4: Bump copyright years.
1902
1903 Continued in ChangeLog.2007
1904 -- 
1905   Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
1906   2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
1907
1908   This file is part of GNU Libtool.
1909
1910 Copying and distribution of this file, with or without modification,
1911 are permitted in any medium without royalty provided the copyright
1912 notice and this notice are preserved.  This file is offered as-is,
1913 without warranty of any kind.