1 2009-12-30 Peter Rosin <peda@lysator.liu.se>
3 * libltdl/ltdl.c (lt_dlerror): Remove meaningless conditional.
5 2009-12-29 Peter Rosin <peda@lysator.liu.se>
7 * libltdl/ltdl.c (file_not_found): Fix typos in code comment.
9 2009-12-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11 Replace last __oline__ instance.
12 * libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Replace last
13 __oline__ instance with $LINENO.
15 2009-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 Improve parsing of .la files in libltdl.
18 * libltdl/ltdl.c (trim): Do not dump core upon missing quote in
20 * tests/lalib-syntax.at (syntax of .la files): New file, new
22 * Makefile.am (TESTSUITE_AT): Add tests/lalib-syntax.at.
23 Report by Bob Friesenhahn.
25 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
27 Sane fallback initialization of $ECHO from $as_echo.
28 * libltdl/config/general.m4sh: Use 'printf %s\n' if $as_echo is
30 * tests/testsuite.at: Likewise.
32 Report by Vadim Zeitlin and Peter Rosin.
34 2009-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
36 lt_dlloader_remove and lt_dlloader_find accept const arguments.
37 * libltdl/lt_dlloader.c (lt_dlloader_remove, lt_dlloader_find):
38 Accept `const char *' arguments, as documented. Cast them to
39 `void *' for the slist machinery.
40 * libltdl/libltdl/lt_dlloader.h: Adjust prototypes.
43 * libltdl/libltdl/slist.h: Include stddef.h, for size_t.
44 (slist_remove): Return pointer to SList, not void.
45 * libltdl/slist.c: Include stdlib.h, for malloc and free.
46 (slist_remove): Adjust prototype as above.
47 (slist_sort): Do not loop forever on one-item list.
48 * tests/slist.at (SList functionality): New file, new test.
49 * Makefile.am (TESTSUITE_AT): Add tests/slist.at.
51 2009-11-30 Peter Rosin <peda@lysator.liu.se>
53 Please C++ compilers when calling strrchr.
54 * libltdl/ltdl.c (has_library_ext): Match the return type of
55 strrchr with the first argument to please C++ compilers.
56 Report by Peter O'Gorman.
58 2009-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
60 Fix bindir and dlopen tests for C++ compilers (CC=g++).
61 * tests/bindir.at (bindir basic lib test, bindir install tests):
62 Include stdlib.h rather than declaring abort.
63 * tests/lt_dlopenext.at (lt_dlopenext error messages): Use
64 `extern "C"' annotation for dlsym'ed function in C++ mode.
66 2009-11-25 Peter Rosin <peda@lysator.liu.se>
68 Fix cross build issue in execute mode test.
69 * tests/execute-mode.at: Skip test for cross builds.
71 2009-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
73 Enable symbol versioning with the GNU gold linker.
74 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Accept 'GNU gold'
75 in the version string.
76 * NEWS, THANKS: Update.
77 Report by Peter Fritzsche.
79 Tighten regex for Portland C++ compiler for version 10.
80 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [linux]:
81 Match a dot after version 1 through 5, so 10 and up don't match,
84 Report by Jeff Squyres and Brent Leback.
86 2009-11-16 Peter O'Gorman <peter@pogma.com>
88 Update libltdl version to match 2.2.6b release.
89 * libltdl/Makefile.inc: Make version 9:1:2
91 2009-11-14 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
93 Don't load module.la from current directory by default.
94 * libltdl/ltdl.c (try_dlopen): Do not attempt to load an
95 unqualified module.la file from the current directory (by
96 default) since doing so is insecure and is not compliant with
98 * tests/testsuite.at: Qualify access to module.la file in
99 current directory so that test passes.
101 2009-11-14 Peter O'Gorman <peter@pogma.com>
103 Only use preopen loader to load preopened archives
104 * libltdl/ltdl.c: Limit checking of .a to preopen loader.
105 * tests/lt_dlopen_a.at: Add test.
106 * Makefile.am: Add test.
108 2009-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
110 Recognize `pgfortran' as Portland compiler.
111 * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS):
112 Accept `pgfortran*' too.
113 Report by Jeff Squyres.
115 2009-11-04 Alexandre Oliva <aoliva@redhat.com>
116 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
118 Fix verbose link extraction for multiply reconfigured GCC.
119 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG)
120 <output_verbose_link_cmd>: Drop GCC lines "Configured with" that
121 may contain unrelated flags.
123 2009-11-02 Eric Blake <ebb9@byu.net>
125 Allow gcc builds with -Wall -Werror.
126 * libltdl/ltdl.c (try_dlopen): Use strlen rather than LT_STRLEN on
127 an array that will never be NULL.
129 2009-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
131 Fix func_normal_abspath sed script for Solaris.
132 * libltdl/config/general.m4sh (pathcar, pathcdr, removedotparts)
133 (collapseslashes, finalslash): Use single quotes, for clarity.
134 (removedotparts): Avoid \{N,M\} after subexpression \(...\), for
137 Improve versioning algorithm documentation.
138 * doc/libtool.texi (Updating version info): Repeat the
139 algorithms in different, hopefully simpler terms.
141 Prompted by Richard B. Kreckel.
143 2009-11-01 Ingo Weinhold <ingo_weinhold@gmx.de> (tiny change)
145 Support for the Haiku operating system.
146 * libltdl/config/ltmain.m4sh (func_mode_link): Add cases for
147 `*-*-haiku*' alongside `*-*-beos*'.
148 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
149 (_LT_CHECK_MAGIC_METHOD, LT_LIB_M, _LT_COMPILER_PIC)
150 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Add cases for
152 * NEWS, THANKS: Update.
154 2009-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
156 Fix quoting of AS, DLLTOOL, and OBJDUMP for the libtool script.
157 * libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Quote values of
158 $AS, $DLLTOOL, and $OBJDUMP, so they can contain arguments.
160 Report by Matthijs Kooijman.
162 2009-09-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
164 Initial support for the Cuda Compiler Driver on Linux.
165 * libltdl/config/ltmain.m4sh (func_mode_compile): Accept source
166 file extensions `.cu' and `.cup'.
167 * libltdl/m4/libtool.m4 (_LT_COMPILER_NO_RTTI, _LT_COMPILER_PIC)
168 (_LT_LINKER_SHLIBS): Support for `nvcc' compiler driver.
169 * NEWS, THANKS: Update.
170 Report by Mahesh Narayanamurthi.
172 2009-09-12 Dave Korn <dave.korn.cygwin@googlemail.com>
174 Control where win32 DLLs get installed.
175 * libltdl/config/general.m4sh (func_normal_abspath): New function.
176 (func_relative_path): Likewise.
177 * libltdl/config/ltmain.m4sh (func_mode_help): Document "-bindir".
178 (func_mode_link): Accept new "-bindir" option and use it, if
179 supplied, to place Windows DLLs.
180 * tests/bindir.at: New file for install tests using "-bindir".
181 * Makefile.am (TESTSUITE_AT): Add bindir.at.
182 * doc/libtool.texi (Link Mode): Update documentation.
183 * NEWS, THANKS: Update.
185 2009-09-11 Akim Demaille <demaille@gostai.com>
187 libtool: clean libconftest.a.
188 * libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Here.
190 2009-09-10 Peter Rosin <peda@lysator.liu.se>
192 func_win32_libid doesn't work with MS dumpbin
193 * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): The $NM
194 interface is assumed to be BSD nm in func_win32_libid, so
195 check for that before using it.
197 2009-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
199 Allow dlopen self test to work with gcc's -fvisibility=hidden.
200 * libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Declare default
201 visibility for the symbol we are going to test dlopen (NULL)
202 when a GCC version is used that understands the visibility
203 attribute, under the assumption that if -fvisibility=hidden
204 will be used, the user code will be sufficiently annotated
205 for visibility of needed symbols from the main executable.
207 Report by Josh Hursey against OpenMPI.
209 Fix and split recent testsuite addition for compile/link flags.
210 * tests/flags.at (passing flags through libtool): Split into ...
211 (passing CC flags through libtool)
212 (passing CXX flags through libtool)
213 (passing F77 flags through libtool)
214 (passing FC flags through libtool)
215 (passing GCJ flags through libtool): ... these five tests,
216 factorized with m4_foreach. Fix F77 and FC compile and link
217 commands; add GCJ tag. Use LT_AT_TAG to correctly skip tags
218 for which no compiler exists. Use $EXEEXT where appropriate.
219 Drop unneeded use of reload_cmds.
220 Reports by Peter Rosin and Peter O'Gorman.
222 2009-09-07 Peter O'Gorman <peter@pogma.com
224 Fix redirect in test case.
225 * tests/darwin.at: Fix stderr redirect.
227 Use darwin's -force_load flag if available for whole_archive_flag_spec
228 * libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check for
229 -force_load and use it if there.
230 * tests/darwin.at: Add a simple test.
232 2009-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
234 Testsuite keyword 'interactive' and check-* rules.
235 * Makefile.am (testsuite_deps, testsuite_deps_uninstalled):
237 (check-local, installcheck-local): Use them.
238 (check-interactive, check-noninteractive): New rules.
239 * tests/link-order2.at (Link order of deplibs),
240 tests/static.at (static linking flags for programs): Add keyword
242 * doc/libtool.texi (Test descriptions): Document all keywords
243 used in the Libtool test suite.
246 Fix failure test in the presence of --with-pic or -prefer-pic.
247 * tests/fail.at (Failure tests): Run non-PIC failure test only
248 if pic_mode is 'default' or 'no', rather than 'default' or 'yes'
249 and also -prefer-pic has not been passed in $CFLAGS.
251 Report by Donn Washburn.
253 Add testsuite exposure for passing of compiler and linker flags.
254 * tests/flags.at (passing flags through libtool): New file, new
255 test, for bug fixed in previous commit.
256 * Makefile.am (TESTSUITE_AT): Add tests/flags.at.
258 2009-09-04 Peter Rosin <peda@lysator.liu.se>
260 Make -Wc,FLAG behave like -Xcompiler FLAG in link mode.
261 * libltdl/config/ltmain.m4sh (func_mode_link): Remove "-Wc,"
262 instead of replacing it with "$wl" when linking programs
263 through the compiler driver, just as is the case when linking
267 2009-08-23 Lennart Poettering <lennart@poettering.net> (tiny change)
269 Shut up prototype warnings with recent GCC and -Wstrict-prototypes.
270 * libltdl/config/ltmain.m4sh (func_generate_dlsyms): Use recent
271 GCC's diagnostic pragma to override a -Wstrict-prototypes
272 setting for the symbol list code.
275 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
277 Remove __oline__ from macros, for less spurious configure diffs.
278 * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK, _LT_COMPILER_OPTION)
279 (_LT_COMPILER_C_O, LT_PATH_NM): Replace __oline__ instances with
283 2009-07-24 Roumen Petrov <bugtrack@roumenpetrov.info> (tiny change)
285 Fixup 'execute mode' test for w32.
286 * tests/execute-mode.at (execute mode): Add missing $EXEEXT.
287 (LDFLAGS): Add -no-undefined.
289 2009-07-01 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> (tiny change)
290 Charles Wilson <libtool@cwilson.fastmail.fm>
292 [CXX] Use correct export_dynamic_flag_spec for PE-COFF $hosts
293 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [cygwin*|mingw*|pw32*|cegcc*]:
294 Define export_dynamic_flag_spec as -Wl,--export-all-symbols here as well
295 (see commit 5f2bbb494a2753afb2878c399cfd8316b7403a5b).
297 2009-06-29 Charles Wilson <libtool@cwilson.fastmail.fm>
299 [mingw] Improve sys_lib_search_path_spec detection.
300 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Fix handling
301 of dos-style paths when parsing $CC -print-search-dirs output.
303 2009-06-28 Charles Wilson <libtool@cwilson.fastmail.fm>
305 Finish adding alias for obsoleted AC_LIBTOOL_RC macro.
306 * libltdl/m4/libtool.m4: Add reminder comment concerning
307 aclocal-1.4 backwards compatibility.
308 * libltdl/m4/lt~obsolete.m4: Remove unnecessary AC_DEFUN.
310 2009-06-27 Charles Wilson <libtool@cwilson.fastmail.fm>
312 Add alias for obsoleted AC_LIBTOOL_RC macro.
313 * libltdl/m4/libtool.m4: Add alias for obsoleted
316 2009-06-21 Charles Wilson <libtool@cwilson.fastmail.fm>
318 Remove unneeded functions and options from cwrapper
319 * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
320 [lt_opt_process_env_set]: Remove.
321 [lt_opt_process_env_prepend]: Remove.
322 [lt_opt_process_env_append]: Remove.
323 [lt_split_name_value]: Remove.
324 [file scope]: Don't declare removed functions. Remove
325 constants and defines related to eliminated commandline
327 [main]: Remove code related to eliminated commandline
328 options --lt-env-set, --lt-env-prepend, --lt-env-append.
330 2009-06-19 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> (tiny change)
331 Charles Wilson <libtool@cwilson.fastmail.fm>
333 Ensure LT_PATH_LD works when called before LT_INIT
334 * libltdl/m4/libtool.m4 (LT_PATH_LD): AC_REQUIRE _LT_PROG_ECHO_BACKSLASH.
336 2009-06-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
338 Add versioning tests.
339 * tests/versioning.at (versioning): New file, new test.
340 * Makefile.am (TESTSUITE_AT): Adjust.
341 Prompted by bug report from Mike Gorchak.
343 2009-06-14 Mike Gorchak <mike@malva.ua> (tiny change)
344 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
346 Fix versioning computation for QNX.
347 * libltdl/config/ltmain.m4sh (func_mode_link): Set `$current'
348 and `$age' properly for version_type `qnx'.
350 2009-06-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
352 Avoid spurious localization testsuite failure on HP-UX/ia64.
353 * tests/localization.at (localized compiler messages): Skip test
354 if the compiler warning output contains `locale', for HP-UX.
356 2009-06-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
358 Fix concurrent extraction of convenience libraries on Darwin.
359 * libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): New libtool
360 variable `lock_old_archive_extraction', set to `yes' on darwin.
361 * doc/libtool.texi (libtool script contents): Document it.
362 * libltdl/config/ltmain.m4sh (func_extract_an_archive): Lock
363 `ar x' invocation if `lock_old_archive_extraction' is yes.
364 * tests/darwin.at (darwin concurrent library extraction): New
367 Report by Akim Demaille.
369 2009-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
371 Fix testsuite failure of lt_dlopenadvise test on FreeMiNT.
372 * tests/lt_dladvise.at (lt_dlopenadvise library loading): Do not
373 build moddepend for systems without shared libraries.
374 Report by Alan Hourihane.
376 testsuite: avoid failures due to old Automake.
377 * tests/configure-iface.at (installable libltdl)
378 (--with-ltdl-include/lib, --with-included-ltdl):
379 Speficy libmodule_la_SOURCES in Makefile.am as the default
380 source file naming scheme changed in Automake 1.8.
381 * tests/nonrecursive.at (_LT_AT_LTDL_SETUP): Require Automake
384 Report by Robert Garron.
386 testsuite: add missing @LIBS@ in a link command line.
387 * tests/old-m4-iface.at (AC_WITH_LTDL): Use @LIBS@ when linking.
388 Report by Patrice Fromy.
390 testsuite: cope when some installed libltdl.la has been removed.
391 * tests/old-m4-iface.at (AC_WITH_LTDL): Pass --with-included-ltdl
392 to configure, to ensure we do not accidentally link against a
393 previously installed libltdl.so where the corresponding .la
394 file has been removed, thus we do not add a run path, and the
395 runtime linker then fails to find libltdl.so.7.
396 * tests/configure-iface.at (--with-ltdl-include/lib): Remove -L
397 flags from LDFLAGS to avoid picking up an installed libltdl
398 outside of the default locations.
400 Prompted by report from Patrice Fromy.
402 2009-06-07 Vincent Torri <vtorri@univ-evry.fr> (tiny change)
404 Fix C wrapper invocation for ceGCC hosts (cegcc and mingw32ce).
405 * libltdl/config/ltmain.m4sh (func_mode_link): do not generate
406 C wrapper for cegcc and mingw32ce hosts.
407 (func_emit_cwrapperexe_src): remove useless check on
410 2009-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
412 Don't pick up double-quotes from /etc/ld.so.conf on Ubuntu.
413 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
414 <sys_lib_dlsearch_path_spec>: Remove embedded double quotes from
415 paths picked up from /etc/ld.so.conf. Fixes libltdl compile
416 failure on Ubuntu 7.10.
418 Report by Camilo La Rota.
420 2009-06-06 Richard Sandiford <richards@transitive.com>
422 Fix GNU nm invocation for AIX.
423 * libldtl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
424 <export_symbols_cmds>: Modify the GNU-nm-on-AIX version so that
425 it adds weak defined symbols to the export list.
427 Build AIX shared libraries with binutils 2.19.50+.
428 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
429 <lt_use_gnu_ld_interface>: New variable to control whether the
430 GNU ld or native ld interface is used. Set to "no" for GNU ld
431 2.19.50+ on AIX, otherwise mirror $with_gnu_ld. Update the
432 warning message that is printed when using GNU ld on AIX.
433 Adjust the whole_archive_flag_spec value for GNU ld on AIX.
434 * NEWS, THANKS: Update.
436 2009-05-27 Peter O'Gorman <peter@pogma.com>
438 Don't run compiler checks twice.
439 libltdl/m4/libtool.m4 (_LT_PROG_FC, _LT_PROG_F77,
440 _LT_PROG_CXX): Remove these macros.
441 libltdl/m4/lt~obsolete.m4: Add removed macros here.
442 libltdl/m4/libtool.m4 (_LT_LANG_FC_CONFIG, _LT_LANG_F77_CONFIG,
443 _LT_LANG_CXX_CONFIG): Remove references to removed macros, and
444 move functionality here.
447 2009-05-05 Rainer Emrich <r.emrich@de.tecosim.com> (tiny change)
448 Peter Rosin <peda@lysator.liu.se>
449 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
451 Fix cross compilation for HPPA/64 with a BSD file command.
452 * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD)
453 [hpux10.20*, hpux11*, !ia64] <lt_cv_deplibs_check_method>:
454 Match the dot in `PA-RISC 2.0' literally. Adjust hppa*64*
455 pattern to also match BSD `file' output, used in cross
458 Report and initial patch by Rainer Emrich, refined by Peter
461 2009-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
463 libtoolize: ignore trailing junk on scriptversion line.
464 * libtoolize.m4sh (func_install_update): Ignore semi-colon or
465 comment-sign and all following characters when parsing a
466 `scriptversion' line in one of the auxiliary scripts; recent
467 Automake-provided script have a stylized comment to induce
469 Exposed by the `libtoolize config files serial update' test.
471 2009-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
473 Skip localization test when setlocale is not functional.
474 * tests/localization.at (localized compiler messages): Skip
475 test when there is a warning about `LC_ALL'.
477 Report by Maciej Helminiak.
479 2009-05-02 Alan Hourihane <alanh@fairlite.co.uk> (tiny change)
481 Improved support for FreeMiNT.
482 * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [mint]: Hard-code
483 command line length limit to 8192, to avoid long test.
484 * NEWS, THANKS: Update.
486 2009-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
488 Initial port for BlueGene BG/L.
489 * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
490 (_LT_LANG_CXX_CONFIG) [linux]: Detect bgxl*, bgf*, mpixl*
492 * NEWS, THANKS: Update.
493 Report, feedback and testing by John R. Cary and Christian
496 manual: fix grammaros.
497 * doc/libtool.texi (Dlpreopening): Fix grammaro.
498 (C header files): Remove duplicate word.
500 Allow through -tp=* at link time, for pgcc.
501 * libltdl/config/ltmain.m4sh (func_mode_link): Portlant Group
502 pgcc uses `-tp=PROCESSOR' for target processor selection; allow
503 the flag through at link time.
504 Report by Ethan Mallove.
506 Fix quoting of eval'ed variable.
507 * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Double-quote
508 $lt_cv_sys_global_symbol_pipe for eval, like we do in ltmain,
509 in order to preserve TABs and multiple adjacent whitespace.
510 Report by Bruno Haible.
512 2009-04-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
514 Cope better with missing `makeinfo' in `bootstrap'.
515 * bootstrap: Update `./doc/notes.txt' last so missing `makeinfo'
516 does not cause a broken tree.
518 Report by Christian Rössel.
520 2009-03-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> (tiny change)
521 Charles Wilson <libtool@cwilson.fastmail.fm>
523 [cygwin] Improve operation with gcc4
524 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [cygwin*]:
525 Add w32api to sys_lib_search_path_spec without overriding gcc's
528 2009-03-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> (tiny change)
529 Charles Wilson <libtool@cwilson.fastmail.fm>
531 Use correct export_dynamic_flag_spec for PE-COFF $hosts
532 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
533 [cygwin*|mingw*|pw32*|cegcc*]: Define export_dynamic_flag_spec
534 as -Wl,--export-all-symbols, as required by GNU ld for PE-COFF.
536 2009-03-29 Charles Wilson <libtool@cwilson.fastmail.fm>
538 Improve compatibility with older automake
539 * libltdl/m4/lt~obsolete.m4: Add AC_DEFUNs for
540 _LT_PREPARE_SED_QUOTE_VARS and _LT_PROG_ECHO_BACKSLASH.
541 Report by Yaakov Selkowitz.
543 2009-03-20 Peter Rosin <peda@lysator.liu.se>
545 LT_OUTPUT should always create the libtool script.
546 * libltdl/m4/libtool.m4 (LT_OUTPUT): Make LT_OUTPUT ignore the
547 --no-create configure option, and assume that the user wants
548 to use an up-to-date libtool script if the LT_OUTPUT macro is
550 * tests/early-libtool.at: Make sure we do not regress.
552 2009-01-26 Peter Rosin <peda@lysator.liu.se>
554 Don't settle for any dumpbin/link program as name lister.
555 * libltdl/m4/libtool.m4 (LT_PATH_NM): When locating dumpbin or
556 link -dump, check if they appear to really be capable of name
557 listing, in order to eliminate e.g. link from coreutils. This
558 makes the name lister decision fall back on nm as the default if
559 no acceptable candidate is found, which mainly happens on
560 (arguably broken) cross compiles.
563 Reports by Rudolf Leitgeb and Peter Kjellerstedt.
565 2009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
567 Document INNER_TESTSUITEFLAGS, drop leading space.
568 * README: Document INNER_TESTSUITEFLAGS.
569 * tests/cmdline_wrap.at (Run tests with low max_cmd_len):
570 When using INNER_TESTSUITEFLAGS on the testsuite invocation,
571 drop leading space after "-k libtool", so that the user may
572 further limit the set of tests to be run.
574 2009-03-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
576 Fix low max_cmd_len template test on UnixWare.
577 * libltdl/config/ltmain.m4sh (func_mode_link): When expanding
578 $reload_cmds, always put objects in $reload_objs rather than
579 adding them to the command line, to allow more general command
580 lines in reload_cmds. Ensure $reload_objs contains a leading
582 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [sysv5*,
583 sco3.2v5*, sco5v6*] <reload_cmds>: For CC, invoke prelinker
584 before creating reloadable object.
585 (_LT_CMD_RELOAD) <reload_cmds, reload_flag>: Declare as
586 _LT_TAGDECL, not _LC_DECL.
587 (_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
588 (_LT_LANG_GCJ_CONFIG) <reload_cmds, reload_flag>: Initialize
589 from default (C tag) value.
591 Report and analysis by Tim Rice and John Wolfe.
593 2009-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
595 * doc/libtool.texi (Distributing libltdl, Test descriptions):
596 Add missing parentheses.
598 2009-02-28 Tim Rice <tim@multitalents.net>
600 Fix C++ template handling for old archives on UnixWare 7.1.4.
601 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [sysv5*,
602 sco3.2v5*, sco5v6*] <old_archive_cmds>: For CC, add template
603 prelink step before archiving. Fixes template.at test failures.
605 2009-02-28 Török Edwin <edwintorok@gmail.com> (tiny change)
606 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
608 Do not add bogus directory arguments to link command lines.
609 * libltdl/config/ltmain.m4sh (func_mode_link): Ensure $path is
610 always initialized before it is used. Reported for zsh, for
611 which $path contains $PATH entries even after "emulate sh", see
612 <http://bugs.debian.org/517501>.
614 2009-02-28 Andreas Schwab <schwab@suse.de>
615 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
617 Remove remaining references to CVS.
618 * bootstrap: Remove references to CVS.
619 * README.alpha: Likewise.
620 * clcommit.m4sh: Likewise.
621 * doc/libtool.texi: Bump copyright years.
622 (libtool script contents): Describe macro_revision as revision
623 without reference to CVS.
625 2009-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
627 Do not pass $INSTALL via TESTS_ENVIRONMENT.
628 * Makefile.am (TESTS_ENVIRONMENT): Set lt_INSTALL, not INSTALL,
629 so that a bogus relative path to the install-sh script in the
630 source tree is not propagated to the configure scripts of the
632 * tests/testsuite.at: Adjust.
633 * tests/install.at (Install tests): Likewise.
635 2009-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
636 Kurt Roeckx <kurt@roeckx.be>
638 New test for lt_dlopenext error message.
639 * tests/lt_dlopenext.at (lt_dlopenext error messages): New file,
640 with new test, with sources taken from the Autobook example.
641 * Makefile.am: Update.
643 2009-02-03 Kurt Roeckx <kurt@roeckx.be>
645 lt_dlopenext sets error upon successful library load.
646 * libltdl/ltdl.c (lt_dlopenadvise): Fix bogus error on
647 successful loading of library with lt_dlopenext.
648 Report by Kaiwang Chen in <http://bugs.debian.org/510006>.
650 2009-02-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
652 Fix sed script in install.at.
653 * tests/install.at (Install tests): Fix typo in sed script,
654 fixes test failure on HP-UX.
656 Fix $INSTALL in testsuite with relative path to install-sh.
657 * tests/testsuite.at: If `$INSTALL' points to in-tree
658 install-sh, override a possibly-relative path to it with an
661 install mode: do not pass `-m $install_override_mode' to cp.
662 * libltdl/config/ltmain.m4sh (func_mode_install): New variable
663 $install_cp, factor test when `cp' is used for installation.
664 Do not pass mode override to cp. Fixes `libtool --mode=install
665 cp ...' on HP-UX; cp should not be used for libraries that might
666 be needed by programs invoked during the installation process.
668 Fix sed script portability issue in func_version.
669 * libltdl/config/getopt.m4sh (func_version): Remove space in
670 `/\./! {' sed command, to please HP-UX sed.
672 2009-01-31 Jeff Squyres <jsquyres@cisco.com>
673 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
675 New test for bogus lt_dlopen error message.
676 * tests/lt_dlopen.at (lt_dlopen error messages): New file, new
677 test, marked as XFAIL for now.
678 * Makefile.am: Adjust.
679 Report and reproducible test case by Jeff Squyres.
681 2009-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
683 execute mode: do not transform *.lo or *.la arguments.
684 * libltdl/config/ltmain.m4sh (func_mode_execute): Do not check
685 arguments matching *.lo or *.la for script wrappers.
686 * tests/execute-mode.at (execute mode): Add tests.
687 * NEWS, THANKS: Update.
688 Report by Paul Biggar.
690 Nonexistent `main' does not guarantee link failure.
691 * tests/fail.at (Failure tests): Use an unresolved symbol,
692 rather than non-presence of `main', to provoke a link failure
693 also on QNX. Only check for failure of the libtool script if
694 the link without libtool would have failed, too.
695 Report by Mike Gorchak.
697 Use AT_CHECK more liberally in duplicate members test.
698 * tests/duplicate_members.at (duplicate members in archive
699 tests): Wrap link commands in AT_CHECK, they might fail, as seen
702 Report by Mike Gorchak.
704 2009-01-30 Akim Demaille <demaille@gostai.com>
706 Fix cwrapper warnings from MSVC 2005.
707 * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
708 [file scope]: define _CRT_SECURE_NO_DEPRECATE.
710 2009-01-29 Akim Demaille <demaille@gostai.com>
712 Fix bootstrap with older libtool.m4 in reach of aclocal.
713 * libltdl/m4/lt~obsolete.m4: Add stub definitions for
714 _LT_REQUIRED_DARWIN_CHECKS and _LT_AC_PROG_CXXCPP.
717 * tests/defs.m4sh (func_exec_init): Instead of using the undefined
718 my_dir, call func_dirname_and_basename and use its result.
719 (func_make): For consistency, don't use the useless local variable
722 2009-01-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
724 Document --mode short-hands better, and test them.
725 * doc/libtool.texi (Invoking libtool): Give examples for using
726 the `--mode=MODE' short-hand `MODE', or abbreviations thereof.
727 * libltdl/config/ltmain.m4sh: Mention the short-hand for MODE
728 in the --help output.
729 * tests/help.at (mode short-hands): New test group.
730 Suggestion by Bruno Haible.
732 func_version copes with multi-line copyright headers.
733 * libltdl/config/getopt.m4sh (func_version): Slurp in copyright
734 lines until a period is found.
735 * libltdl/config/ltmain.m4sh: Multi-line copyright is ok to use
737 * tests/help.at (standard command line options): New file, new
738 tests. Make this test group the first one for libtool tests,
739 moving the banner ...
740 * tests/duplicate_members.at: ... from here.
741 * Makefile.am (TESTSUITE_AT): Add tests/help.at.
743 2009-01-29 Akim Demaille <demaille@gostai.com>
744 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
746 Normalize compiler output due to compiler wrappers.
747 * tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT): New
748 macro, to normalize ccache and distcc output.
749 * tests/localization.at (localized compiler messages): Use it.
751 2009-01-29 Peter Rosin <peda@lysator.liu.se>
753 Make modified libtool script in cwrapper test executable
754 * tests/cwrapper.at: Make modified libtool script executable.
755 Report by Roumen Petrov.
757 2009-01-28 Akim Demaille <demaille@gostai.com>
760 * libtoolize.m4sh: Remove trailing spaces.
761 Use <tab><sp>, as some editors remove "useless" spaces in
764 2009-01-26 Peter Rosin <peda@lysator.liu.se>
766 AWK is required, make sure it is set.
767 * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS: Make sure
768 AWK is set (automake brings it in, but is not always used).
769 Fixes old-m4-iface.at on MSYS/MSVC.
771 2009-01-25 Mike Frysinger <vapier@gentoo.org>
773 Fix typo in libtool install mode documentation.
774 * libltdl/config/ltmain.m4sh (func_mode_help): Change -inst-prefix
776 * doc/libtool.texi (Install mode): Likewise.
778 2009-01-24 Charles Wilson <libtool@cwilson.fastmail.fm>
780 Add -Wall to cwrapper tests.
781 * tests/cwrapper.at: Add -Wall existing tests. Add additional
782 round of tests with -Wall alone.
784 2009-01-24 Charles Wilson <libtool@cwilson.fastmail.fm>
786 [cygwin|mingw] cwrapper cleanups.
787 * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
788 [file scope]: re-organized includes and portability
789 macros. Avoid oldnames on MINGW32 and MSVC for
790 setmode/stat/chmod/getcwd/putenv. Declare _putenv on
791 MINGW32 when -ansi. Use namespaced macro LT_DEBUGWRAPPER.
793 2009-01-24 Peter Rosin <peda@lysator.liu.se>
795 Expand exit status test in LT_AT_NOINST_EXEC_CHECK correctly
796 * tests/testsuite.at (LT_AT_NOINST_EXEC_CHECK): STATUS is
799 2009-01-23 Charles Wilson <libtool@cwilson.fastmail.fm>
801 Add tests for cwrapper with -std=c89 and -std=c99
802 * tests/cwrapper.at: New file.
803 * Makefile.am: Add tests/cwrapper.at.
805 2009-01-22 Peter Rosin <peda@lysator.liu.se>
807 Unify line endings in localization test.
808 * tests/testsuite.at: Update copyright year.
809 (LT_AT_UNIFY_NL): Add macro that unifies line endings on
810 platforms that suffer from such confusion.
811 * tests/localization.at: Use it. Update copyright year. Fixes
812 the test on MSYS/MSVC.
814 2009-01-21 Charles Wilson <libtool@cwilson.fastmail.fm>
816 [cygwin|mingw] Fix compile warnings when -std=c89.
817 * libltdl/config/ltmain.m4sh (func_emit_wrapper_part1):
819 (func_emit_wrapper_part2): move contents to...
820 (func_emit_wrapper): here.
821 (func_emit_cwrapperexe_src) [file scope]: Remove
822 variables script_text_part1 and script_text_part2.
823 (func_emit_cwrapperexe_src) [lt_dump_script]: New function.
824 (func_emit_cwrapperexe_src) [main]: Call it.
826 2009-01-21 Charles Wilson <libtool@cwilson.fastmail.fm>
829 * libltdl/config/ltmain.m4sh (func_generate_dlsyms): Correct
830 case pattern for cygwin.
832 2009-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
834 Avoid failure due to Cygwin path detection bug.
835 * tests/execute-mode.at (execute mode): Ignore noise on stderr;
836 Cygwin might consider `d\"e' to be a DOS-style path and warn.
837 Report by Charles Wilson.
839 2009-01-19 Robert Millan <rmh@aybabtu.com>
841 Support GNU/kOpenSolaris.
842 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
843 (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
844 (_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize
846 * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
847 * NEWS, THANKS: Update.
849 2009-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
851 Another LT_AT_EXEC_CHECK fixup.
852 * tests/shlibpath.at (shlibpath_overrides_runpath): Use
853 LT_AT_EXEC_CHECK instead of AT_CHECK.
855 2009-01-19 Roumen Petrov <bugtrack@roumenpetrov.info> (tiny change)
857 Add missing $EXEEXT to java test.
858 * tests/convenience.at (Java convenience archives): Add $EXEEXT.
860 2009-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
862 Bump copyright years.
863 * ChangeLog.2008: New, rotated from ...
864 * ChangeLog: ... here.
865 * Makefile.am (EXTRA_DIST): Add ChangeLog.2008.
866 * NEWS, libltdl/config/ltmain.m4sh: Bump copyright years.
867 * libltdl/m4/libtool.m4 (_LT_COPYING, LT_OUTPUT): Likewise.
868 * libtoolize.m4sh: Likewise.
870 2009-01-14 Peter Rosin <peda@lysator.liu.se>
872 Fix flakey mdemo-dryrun test on MSYS (again!)
873 * tests/mdemo-dryrun.test: ls -l in MSYS sometimes shows year,
874 not time, for really fresh files. Add sleep 1 call at yet another
875 strategic position. Makes the test pass reliably for MSYS/MinGW.
877 Continued in ChangeLog.2008
881 Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
882 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
884 This file is part of GNU Libtool.
886 Copying and distribution of this file, with or without modification,
887 are permitted in any medium without royalty provided the copyright
888 notice and this notice are preserved. This file is offered as-is,
889 without warranty of any kind.