1 2008-06-13 Peter O'Gorman <peter@pogma.com>
3 Support ifort on darwin.
4 * libltdl/m4/libtool.m4 (_LT_DARWIN_LINKER_FEATURES): Build
5 shared libraries with ifort.
6 Reported by Christopher Hulbert.
8 2008-06-01 Charles Wilson <libtool@cwilson.fastmail.fm>
10 [mingw] fix cross-compile-with-wine case
11 * libltdl/config/ltmain.m4sh (func_to_host_path)
12 [host=mingw, build!=mingw|cygwin]: check that winepath
13 stdout is non-empty and exit code is 0, instead of checking
15 Reported by: Roumen Petrov
17 2006-06-01 Stas Maximov <smaximov@ieee.org> (tiny change)
19 Check only regular files, not devices, for lalibs.
20 * libltdl/config/ltmain.m4sh (functions func_lalib_p)
21 (func_lalib_unsafe_p): Only read regular files and not device
22 files. Avoids blocking libtool executing gdb, when a
23 pseudo-terminal device /dev/pts/NN is given as one of the
24 arguments to gdb, as in:
25 libtool --mode=execute gdb -q -nw -i mi -tty /dev/pts/4 prog
27 2008-05-31 Peter O'Gorman <peter@pogma.com>
29 Skip darwin test if fat link fails.
30 * tests/darwin.at: Skip if we can not link a fat program.
31 Reported by Daniel Macks <dmacks@netspace.org>
33 2008-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
35 libtoolize should not remove config.guess, config.sub.
36 * libtoolize.m4sh (all_pkgconfig_files): Do not list
37 config.guess nor config.sub. We don't install them without
38 --install, and the project may not be using Automake.
39 Report by Andreas Schwab.
41 Simplify argument parsing in cwrapper.
42 * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src):
43 Use NULL where appropriate. Do not compute length of arguments
46 2008-05-25 Charles Wilson <libtool@cwilson.fastmail.fm>
48 [mingw] Add cross-compile support to cwrapper
49 * libltdl/config/ltmain.m4sh (func_to_host_path) [$host=mingw]:
50 If present, use winepath to convert from $build to $host
51 if $build is neither mingw (msys) nor cygwin. Use unconverted
52 path as fallback when conversion fails. Also update comments.
53 (func_to_host_pathlist) [$host=mingw]: Ditto. For fallback case,
54 use simplistic ':' to ';' path separator translation.
56 2008-05-25 Charles Wilson <libtool@cwilson.fastmail.fm>
58 Cwrapper should not eat -- arguments
59 * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
60 [file scope]: Defined all option strings in terms of macro
61 LTWRAPPER_OPTION_PREFIX. Similarly defined all option string
62 lengths in terms of macro LTWRAPPER_OPTION_PREFIX_LENGTH.
63 [main]: Modified option parsing algorithm to pass -- on to
64 target, and to not stop processing arguments when -- is seen.
65 Added check for unrecognized options in reserved namespace
66 defined by LTWRAPPER_OPTION_PREFIX.
68 2008-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
70 Fix ifort settings again.
71 * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
72 Unlike icc and ecc, not all ifort versions understand `-KPIC',
73 e.g. version 10.1, so use `-fPIC' instead.
74 Report by Jeff Squyres.
76 2008-05-20 Eric Blake <ebb9@byu.net>
78 Resynchronize argz whitespace changes from gnulib.
79 * libltdl/m4/argz.m4: Kill trailing whitespace.
80 * libltdl/argz.c: Likewise.
82 2008-05-19 Eric Blake <ebb9@byu.net>
84 Fix regression from two days ago.
85 * libltdl/m4/ltdl.m4 (_LT_LIBOBJ): Don't refer to deleted macro.
87 2008-05-17 Eric Blake <ebb9@byu.net>
89 Speed up bootstrap by improving lt_combine.
90 * libltdl/m4/ltsugar.m4 (lt_combine): Mirror Autoconf 2.62
91 improvements. Includes a semantic change where the separator can
92 now be empty, and where an empty fourth argument is now treated as
94 * libltdl/m4/libtool.m4 (_lt_decl_varnames_tagged): Adjust to new
95 semantics of lt_combine.
96 (lt_decl_varnames_tagged): Fix quoting and optimize.
98 Kill _LT_LIBSOURCES; it wasn't checking anything useful.
99 * libltdl/m4/ltdl.m4 (_LT_LIBSOURCES): Delete.
100 (LTDL_INIT): Ignore arguments to AC_LIBSOURCES during _LTDL_SETUP,
101 on the assumption that libtoolize correctly installed them.
103 2008-05-13 Charles Wilson <libtool@cwilson.fastmail.fm>
105 [mingw|cygwin] Modify cwrapper to invoke target directly.
106 * libltdl/config/ltmain.m4sh (func_to_native_path):
107 New function. If $host is mingw, and $build is mingw
108 or cygwin, convert path to mingw native format.
109 (func_to_native_pathlist): New function. Ditto, for
110 :-separated pathlists.
111 (func_emit_cwrapperexe_src) [__CYGWIN__ && __STRICT_ANSI__]:
112 Ensure putenv and setenv are declared. Define HAVE_SETENV.
113 (func_emit_cwrapperexe_src) [main]: Add new constants to
114 hold desired PATH settings; initialize and use functions
115 above to convert to $host format if necessary. Add new
116 command-line options --lt-env-set, --lt-env-prepend, and
117 --lt-env-append. No longer emit wrapper script as integral
118 part of launching child. Remove support for (now) unnecessary
119 $TARGETSHELL. Exec actual target executable directly.
120 (func_emit_cwrapperexe_src) [lt_setenv, lt_extend_str]
121 [lt_split_name_value, lt_opt_process_env_set]
122 [lt_opt_process_env_prepend, lt_opt_process_env_append]
123 [lt_update_exe_path, lt_update_lib_path]: New functions.
125 2008-05-11 Charles Wilson <libtool@cwilson.fastmail.fm>
127 Ensure cwrapper compiles without warnings under -std=c99.
128 * libltdl/config/ltmain.m4sh (func_emit_wrapper_part1):
130 (func_emit_wrapper_part2): new function.
131 (func_emit_wrapper): delegate to new functions.
132 (func_emit_cwrapperexe_src) [__CYGWIN__ && __STRICT_ANSI__]:
133 ensure realpath is declared.
134 (func_emit_cwrapperexe_src): declare two different strings
135 to each hold part of the wrapper script content. Initialize
136 using new func_emit_wrapper_partX functions.
137 (func_emit_cwrapperexe_src) [main]: when emitting wrapper
138 script content, use both strings.
139 Reported by Yaakov Selkowitz.
141 2008-05-06 Charles Wilson <libtool@cwilson.fastmail.fm>
143 Ensure $OBJDUMP is defined
144 * libltdl/m4/libtool.m4 (_LT_DECL_OBJDUMP): new macro ensures
145 that $OBJDUMP is always defined sanely.
146 (_LT_SYS_DYNAMIC_LINKER): call it.
147 (_LT_CHECK_MAGIC_METHOD): call it.
149 2008-05-05 Gary V. Vaughan <gary@gnu.org>
151 Fix libtoolize test failure with aclocal < 1.10.1
152 * tests/libtoolize.at
153 (verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIR): Older aclocal
154 requires a space between -I and the directory argument.
155 Reported by Daniel Macks <dmacks@netspace.org>
157 2008-05-04 Gary V. Vaughan <gary@gnu.org>
159 Set SCM version number to 2.2.5a.
160 * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
164 GNU Libtool 2.2.4 was released.
166 * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
168 * libltdl/Makefile.inc (LTDL_VERSION_INFO): C:R+1:A because the
169 interfaces are unchanged, even though we improved the code some
173 Macro file serial updates for next stable release.
174 * libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
175 libltdl/m4/ltoptions.m4, libltdl/m4/lt~obsolete.m4: Bump serial
176 numbers to account for changes since 2.2.2 release.
178 Make libtoolize tests work with distcheck.
179 * tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): When $tst_aclocal
180 is set, transform paths that use it to generic
181 /usr/local/share/aclocal in time for AT_CHECK comparisons.
183 2008-05-03 Gary V. Vaughan <gary@gnu.org>
185 Don't trip over outdated acinclude.m4.
186 * libtoolize.m4sh (all_pkgconfig_files, all_pkgmacro_files)
187 (all_pkgltdl_files): New variables listing all files ever
188 maintained by any release of libtoolize.
189 (func_install_pkgconfig_parent, func_install_pkgltdl_files)
190 (func_install_pkgconfig_subproject, func_install_pkgmacro_parent)
191 (func_install_pkgmacro_subproject): Carefully clean up any files
192 that may have been installed by previous libtoolize releases.
193 * tests/libtoolize.at: New test for libltdl/acinclude.m4 removal.
194 Reported by Andreas Schwab <schwab@suse.de>.
196 2008-05-02 Peter O'Gorman <peter@pogma.com>
198 It helps to close quotes.
199 * libltdl/config/ltmain.m4sh (func_mode_link): Add closing '.
201 2008-05-01 Peter O'Gorman <peter@pogma.com>
203 Use AC_CHECK_TOOL for otool and otool64.
204 * libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check.
205 * libltdl/config/ltmain.m4sh (func_mode_link): Use.
206 Reported by Richard Purdie <rpurdie@rpsys.net>
208 2008-04-30 Eric Blake <ebb9@byu.net>
210 Support cygwin 1.7.0 in loadlibrary loader.
211 * libltdl/m4/ltdl.m4 (LT_LIB_DLLOAD) <cygwin>: Check for modern
213 * libltdl/loaders/loadlibrary.c (vm_open): Avoid deprecated
214 cygwin_conv_to_full_win32_path.
216 2008-04-29 Gary V. Vaughan <gary@gnu.org>
218 New libtoolize --no-warn option and LIBTOOLIZE_OPTIONS parsing.
219 * libltdl/config/general.m4sh (opt_warning): New option.
220 (func_warning): Only display a warning message if $opt_warning
222 * libtoolize.m4sh: Accept options in LIBTOOLIZE_OPTIONS
223 environment variable.
224 (--no-warn): Parse new option.
225 (func_serial_update_check, func_keyword_update): Use func_warning.
226 (func_check_macros): Bail out before style issues nags when
227 $opt_warning is false.
228 * doc/libtool.texi (Invoking Libtoolize): Document it.
229 * tests/libtoolize.at: Test it.
232 Fix libtoolize test failure with aclocal-1.10.1.
233 * tests/libtoolize.at
234 (verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIR): Force aclocal to
235 search the source tree for latest libtool macros.
237 2008-04-24 Eric Blake <ebb9@byu.net>
239 Fix bug in 2008-04-21 type improvements.
240 * libltdl/ltdl.c (load_deplibs): Fix casting bug.
242 2008-04-23 Michael Haubenwallner <michael.haubenwallner@salomon.at>
244 Use /nonexistent as destination for files not to be installed.
245 * tests/darwin.at (darwin fat compile): Fix typo.
246 * tests/inherited_flags.at (inherited_linker_flags): Change
247 -rpath to /nonexistent. This helps to avoid accidentally
248 picking up libraries below /usr/local.
249 * tests/template.at (simple template test): Likewise. Fixes
250 test failure for additional incompatible libstdc++ in
252 * tests/testsuite.at (configure_options): Add
253 --prefix=/nonexistent.
255 2008-04-23 Gary V. Vaughan <gary@gnu.org>
257 * libtoolize.m4sh (rerun_aclocal): Remove unused variable.
258 Reported by Olly Betts <olly@survex.com>
260 2008-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
262 * tests/static.at (ccache -all-static): Ignore link warnings.
263 Report by Gary V. Vaughan.
265 2008-04-22 Gary V. Vaughan <gary@gnu.org>
267 Libtoolize now advises AC_CONFIG_MACRO_DIR use where appropriate.
268 * libtoolize.m4sh (func_check_macros): Always advise use of
269 AC_CONFIG_MACRO_DIR when not able to copy libtool macros into
271 * tests/libtoolize.at: New test for correct diagnosis of mismatch
272 between AC_CONFIG_MACRO_DIR and ACLOCAL_AMFLAGS.
273 Update expected output of other tests.
276 2008-04-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
278 Fix regression over 1.5.26 with ccache $CC -all-static.
279 * libltdl/config/ltmain.m4sh (func_mode_link): Add
280 $link_static_flag to compile_command and link_command only
281 later, instead of right after a possible compiler wrapper.
282 * tests/static.at (ccache -all-static): New test.
284 Report by Richard Purdie.
286 2008-04-22 Andreas Schwab <schwab@suse.de>
287 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
289 Fix default argument for AC_LIBLTDL_CONVENIENCE.
290 * libltdl/m4/ltdl.m4 (AC_LIBLTDL_CONVENIENCE): Default argument
292 (AC_LIBLTDL_INSTALLABLE): Likewise.
293 * tests/configure-iface.at (convenience libltdl): New test.
295 2008-04-21 Gary V. Vaughan <gary@gnu.org>
297 Only complain that files are up-to-date with --force.
298 As a side effect, this also means that when `aclocal' copies the
299 libtool macros into `aclocal.m4' libtoolize complains only about
300 the macro files that are missing or not up-to-date.
301 * libtoolize.m4sh (func_echo_once): New function that prints
302 the contents of a named variable only on the first call.
303 (func_aclocal_update_check): New function that compares serial
304 numbers of libtool macros in aclocal.m4 and only diagnoses the
306 (func_copy, func_copy_cb, func_copy_some_files, func_serial_update)
307 (func_keyword_update, func_ltmain_update, func_config_update)
308 (func_install_update): Accept a new argument naming a variable
309 containing a header string to print with func_echo_once iff any
310 body text is output by this function.
311 (func_install_pkgmacro_subproject, func_install_pkgmacro_parent)
312 (func_install_pkgltdl_files, func_install_pkgconfig_subproject)
313 (func_install_pkgconfig_parent: Set and pass a suitable
314 header string variable for the above functions.
315 (func_serial_update_check): Don't advise rerunning `libtoolize
316 --force' when aclocal.m4 is not m4_including libtoolize installed
318 * tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): Transform generic
319 /usr/local/share/aclocal paths to point into the uninstalled
320 libtool macro directory.
321 * tests/libtoolize.at: Update tests that were checking for old
322 behaviour of outputing `file is already up to date' even when
323 --force was not passed.
324 * tests/libtoolize.at: New tests to prevent regressions of these
327 Reported by Olly Betts <olly@survex.com>
329 Capture lt~obsolete.m4 serial number correctly in libtoolize.
330 * libltdl/m4/lt~obsolete.m4: Add the filename to the #serial
331 marker so that libtoolize's serial number checks can find it
332 in a non-include using aclocal.m4.
334 Reported by Olly Betts <olly@survex.com>
336 Allow better compile time type checking for lt_dladvise.
337 * libltdl/lt__private.h (lt__handle, lt__advise): Typedefs
338 removed in favour of...
339 * libltdl/ltdl.h (lt_dlhandle),
340 libltdl/libltdl/lt_dlloader.h (lt_dladvise): ...changing from
341 void* to forward declarations.
342 * libltdl/loaders/dlopen.c, libltdl/loaders/loadlibrary.c,
343 libltdl/lt_dlloader.c, libltdl/ltdl.c: Remove many redundant
346 Suggested by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
348 2008-04-21 Peter O'Gorman <peter@pogma.com>
350 basename does not take a list of strings.
351 * libltdl/config/ltmain.m4sh(func_extract_archives): Use sed
353 * tests/darwin.at: New. Check that we can built fat program,
354 shared library and convenience library.
355 * Makefile.am: Add test.
356 Reported by LiKai Liu <liulk@cs.bu.edu>
358 Use AC_CHECK_TOOL for lipo too.
359 * libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check.
360 * libltdl/config/ltmain.m4sh (func_extract_archives): Use.
362 2008-04-20 Gary V. Vaughan <gary@gnu.org>
364 Fix misleading lt_dlopenadvise documentation.
365 * doc/libtool.texi (lt_dlopenadvise): The last parameter is of
366 type lt_dladvise, not lt_dladvise*.
367 (my_dlopenext): Correct the example too.
369 Reported by Gary Kumfert <kumfert@llnl.gov>
371 2008-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
373 Fix testsuite cleanup warnings on AIX with NFS.
374 * tests/testsuite.at [ aix ]: Set file mode creation so that
375 'others' have no permissions. Shared libraries are kept in
376 memory on AIX after use if they are world-readable, which means
377 on NFS mounts cleanup of test group directories will fail later.
379 Report and analysis by Michael Haubenwallner.
381 Fix nonportable use of expr.
382 * libltdl/config/ltmain.m4sh (func_mode_link) <Transforming
383 deplibs into only shared deplibs>: Fix expr portability issues,
384 noted on FreeBSD. While at it, simplify and avoid forking.
385 Report by Bob Friesenhahn.
387 Exploit shell arithmetic expansion and ${#var}.
388 * libltdl/m4/libtool.m4 (_LT_CHECK_SHELL_FEATURES): Also check
389 for arithmetic expansion, and ${#var}.
390 (_LT_PROG_XSI_SHELLFNS): Define func_arith and func_len
391 accordingly, falling back on 'expr'. Note that the argument to
392 func_len may not start with a hyphen. In the pre-Posix
393 fallback, take care not to rely on the exit status of the
394 variable assignment (not portable), but set the length to
395 $max_cmd_len instead.
396 * libltdl/config/ltmain.m4sh (func_mode_link): Use func_arith
397 and func_len throughout for integer arithmetic, fixing
398 quadratical amount of counting for reloadable object and
399 piecewise archive linking. Change all comparisons with
400 max_cmd_len to test for smaller, non-equal length.
402 Suggested by Roland Mainz.
404 * libltdl/config/ltmain.m4sh (func_mode_compile): Avoid
405 redundant removal of old output files before compilation.
406 Do not remove $obj until we have successfully grabbed the
407 lockfile (in case the compiler doesn't grok `-c -o'), because
408 it might be identical to $output_obj.
409 At the end of the function, before we remove the lockfile,
410 update $removelist so that if the trap hits after the lockfile
411 has been removed, we do not accidentally remove $output_obj that
412 does not belong to us.
413 (func_write_libtool_object): Use $MV instead of mv.
415 2008-04-18 Andreas Schwab <schwab@suse.de>
417 * libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Check optional
419 (AC_ENABLE_STATIC): Likewise.
420 (AC_ENABLE_FAST_INSTALL): Likewise.
422 2008-04-16 Eric Blake <ebb9@byu.net>
424 Make ChangeLog merges easier.
425 * .gitattributes: New file.
426 * HACKING: Mention how it helps.
428 2008-04-15 Peter O'Gorman <peter@pogma.com>
430 Allow bootstrap from git repository.
431 * Makefile.am: Pass srcdir as an argument to mkstamp and expect
432 only 2 fields in mkstamps output.
433 * clcommit.m4sh: Ditto.
434 * configure.ac: Ditto.
435 * libltdl/config/mkstamp: return a revision and date based on
436 the number of lines which look like dates in all the ChangeLog*
437 files in the directory we got as arg 1.
439 2008-04-11 Eric Blake <ebb9@byu.net>
441 Fix usage of setmode without declaration on cygwin.
442 * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Ensure
443 setmode has prototype for both mingw and cygwin.
445 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
447 * libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Move non-XSI
448 definition of func_dirname_and_basename ...
449 * libltdl/config/general.m4sh (func_dirname_and_basename):
450 ... here, to use it for the other scripts that use general.m4sh
451 (and as portable fallback for libtool). Add marker for early
452 insertion of generated shell functions (into libtool, not the
454 Use func_dirname_and_basename to compute progname, progpath.
455 * libltdl/config/ltmain.m4sh (func_mode_help): Remove marker
456 for insertion of generated shell functions.
457 * tests/sh.test: Adjust function definition test to not match
460 * libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS) <func_xform>:
462 * libltdl/config/ltmain.m4sh (func_mode_compile): Use it to
463 avoid two forks with XSI shells.
464 * tests/suffix.test: Also test a file with multiple dots.
466 2008-04-10 Peter O'Gorman <peter@pogma.com>
468 * libltdl/config/ltmain.m4sh (func_win32_libid,
469 func_generate_dlsyms, func_extract_an_archive,
470 func_extract_archives, func_mode_help): move these so they
471 appear after func_mode_compile.
472 * tests/nomode.test: Check that --mode=link --help works.
473 Reported by Josh Triplett <josh@freedesktop.org>
475 2008-04-07 Gary V. Vaughan <gary@gnu.arg>
477 * doc/libtool.texi (Libltdl interface): Add missing
478 documentation for lt_dlopenavise.
479 Reported by Anton Erti <anton@mips.complang.tuwien.ac.at>
481 * configure.ac, libltdl/configure.ac (AM_INIT_AUTOMAKE): Use
482 gnu rather than gnits standards so that version number 2.2.3a
484 Reported by Olly Betts <olly@survex.com>
486 2008-04-01 Gary V. Vaughan <gary@gnu.arg>
488 * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
491 GNU Libtool 2.2.2 was released.
493 * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
495 * libltdl/Makefile.in (LTDL_VERSION_INFO): C:R+1:A because the
496 interfaces are unchanged, even though we improved the code some
500 * libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
501 libltdl/m4/ltoptions.m4: Bump serial numbers to account for
502 changes since 2.2 release.
504 2008-03-27 Peter O'Gorman <peter@pogma.com>
506 * libltdl/m4/libtool.m4 [_LT_REQUIRED_DARWIN_CHECKS]: Fix the
507 test for -single_module and log it to config.log.
508 Reported by Torok Edwin and Nigel Home.
510 2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
512 Document that disable-static plus -all-static is not portable.
513 * doc/libtool.texi (Link mode): -all-static does not go well
514 with disable-static on most systems.
515 * tests/static.at (static linking flags for programs) [!aix]:
516 With --disable-static but nonempty link_static_flag, skip the
517 m-all-static link. Do not skip it on AIX, as there the
518 enable_static is self-inflicted, and thus expected to work.
522 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
524 * libltdl/m4/libtool.m4 (_LT_CHECK_BUILDDIR): No need to escape
525 backticks in argument to AC_MSG_WARN or AC_MSG_ERROR.
526 * libltdl/m4/ltdl.m4 (_LTDL_INSTALLABLE, LTDL_INIT): Likewise.
528 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
530 * libltdl/config/ltmain.m4sh (NLS nuisances): Fix quoting of
531 localization variables for shell-active characters.
532 * tests/localization.at (localized compiler messages): Extend
535 Report by Mike Frysinger.
537 2008-03-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
539 * tests/defs.m4sh (func_get_config): Build egrep regex to speed
540 up extracting several variables at once. Use it to extract all
541 default variables at once. Also extract build_alias and
542 host_alias from the libtool script.
543 (func_configure_nofail): Use build_alias and host_alias for
544 --build and --host, respectively. Pass each if nonempty.
545 * tests/testsuite.at: Pass --build if build_alias is nonemtpy.
546 * tests/quote.test: Extract ECHO and wl at once.
548 * libltdl/m4/ltoptions.m4 (AC_LIBTOOL_WIN32_DLL): Require
551 Report by Jakub Bogusz.
553 2008-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
557 2008-03-12 Charles Wilson <libtool@cwilson.fastmail.fm>
559 * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src) [file
560 scope]: additional #includes and #defines to support...
561 (func_emit_cwrapperexe_src) [main]: ensure stdout is set to
562 binary mode for cygwin|mingw builds. Ensure temporary script
563 file is written in binary mode for cygwin|mingw builds.
564 (func_mode_link) [cygwin|mingw]: cross-build support - only
565 use cwrapper to generate shell wrapper if building native;
566 otherwise use func_emit_wrapper()
568 2008-03-12 Henning Nielsen Lund <hnl_dk@amigaos.dk>
570 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
571 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [amigaos]: Port to
572 AmigaOS4 shared libraries on powerpc.
573 * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS) [amigaos]:
575 * THANKS, NEWS: Update.
577 2008-03-09 Bruno Haible <bruno@clisp.org>
578 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
580 Fix compiler output to be in the user locale.
581 * libltdl/config/general.m4sh (func_show_eval_locale): New
582 function, for running commands in the user locale.
583 * libltdl/config/ltmain.m4sh (func_mode_compile): Use it for
585 * tests/localization.at (localized compiler messages): New test.
586 * Makefile.am: Adjust.
587 Report by Bruno Haible.
589 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
591 Fix several test failures on Cygwin and MinGW.
592 * tests/nonrecursive.at: Use -no-undefined for foo.la.
593 * tests/recursive.at: Likewise.
594 * tests/subproject.at: Likewise.
595 * tests/lt_dladvise.at: For systems where undefined symbols are
596 not allowed, to not try to load the module libdepend.
597 [ mingw ]: Add to list of such systems.
598 * tests/testsuite.at (_LT_AT_TRANSLATE_TEXT_OUTPUT): New macro,
599 to translate line ending of expout and experr files suitable for
601 (LT_AT_CHECK, LT_AT_NOINST_EXEC_CHECK): Use it.
602 Report by Bob Friesenhahn.
604 Fix installcheck dependencies, fix for --program-transform-name.
605 * Makefile.am (installcheck-local): Depend upon tests/atconfig
606 and $(srcdir)/$(TESTSUITE).
607 * tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): New macro.
608 (LT_AT_CHECK_LIBTOOLIZE): Use it to transform expout and experr
612 Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
613 * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK, _LT_COMPILER_OPTION)
614 (_LT_COMPILER_C_O, LT_PATH_NM, _LT_CMD_GLOBAL_SYMBOLS, _LT_SETUP):
615 Drop usage of obsolete AC_OBJEXT and AC_EXEEXT.
616 * tests/am-subdir.at (C++ subdir-objects): Likewise.
618 2008-03-07 Peter O'Gorman <peter@pogma.com>
620 * tests/convenience.at (Java convenience archives): Skip test if
621 gcj cannot compile a working executable from .java files.
622 Report by Nelson H. F. Beebe.
624 * libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Need to set LD.
625 Reported by Nelson H. F. Beebe.
627 2008-03-06 Peter O'Gorman <peter@pogma.com>
629 * libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea.
631 * libltdl/m4/libtool.m4 (_LT_PROG_FC): Report FC=no if the FC
632 compiler is not a GNU compiler and the CXX compiler is a GNU
634 Reported by Nelson H. F. Beebe.
636 2008-03-06 Gary V. Vaughan <gary@gnu.org>
638 * Makefile.maint (TSDEPS_DIST): Removed. No longer used.
639 (TSDEPS): libtool.m4 has long since moved to libltdl.
640 (cvs-dist): Don't put the suffix dot in twice.
642 2008-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
644 * tests/convenience.at (Java convenience archives): Skip test if
645 gcj cannot compile a .java file.
646 Report by Nelson H. F. Beebe.
648 2008-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
650 * libltdl/config/ltmain.m4sh (func_lalib_unsafe_p): redirect
651 and restore from stdin, not stdout.
652 * tests/execute-mode.at (execute mode): Adjust test to catch
654 Report by Roberto Bagnara.
656 2008-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
658 Fix libltdl to not skip dlopen on systems with several loaders,
659 such as HP-UX, Cygwin.
660 * libltdl/slist.c (slist_concat): When appending to the tail
661 of a list, do not drop items off the beginning of the list.
664 * libltdl/config/ltmain.m4sh (func_mode_execute): Replace only
665 arguments we have identified as shell or C wrappers.
666 (func_emit_wrapper): Output error message on stderr.
667 * tests/execute-mode.at: New file, with --mode=execute tests.
668 * Makefile.am: Adjust.
670 Fixes 2.2 regression. Report by Roberto Bagnara.
672 * libltdl/m4/libtool.m4 (_LT_CONFIG): Drop misleading `GNU'
673 prefix before the host package name in the "Generated by" line
674 for the libtool script.
676 Reports by Peter Rosin and Roberto Bagnara.
678 * doc/libtool.texi (Module loaders for libltdl): Fix typo.
680 * libltdl/loaders/dld_link.c (vl_exit): New function, zero out ...
681 (vtable): ... this new file static variable split out from ...
682 (get_vtable): ... here. Initialize vtable, register vl_exit as
683 dlloader_exit function.
684 * libltdl/loaders/dlopen.c: Likewise.
685 * libltdl/loaders/dyld.c: Likewise.
686 * libltdl/loaders/load_add_on.c: Likewise.
687 * libltdl/loaders/loadlibrary.c: Likewise.
688 * libltdl/loaders/shl_load.c: Likewise.
689 * libltdl/loaders/preopen.c: Likewise; vl_exit existed here
691 * tests/lt_dlexit.at (lt_dlexit unloading libs): Update test.
693 Report by Andreas Schwab.
695 2008-03-01 Gary V. Vaughan <gary@gnu.org>
697 * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
700 GNU Libtool 2.2 was released.
702 * configure.ac, libltdl/configure.ac (AC_INIT): Bump version
706 * tests/lt_dladvise.at, tests/lt_dlexit.at,
707 tests/need_lib_prefix.at: Skip these tests when called from
708 `make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install'.
709 The tests try to link against the dummy installed libltdl.la
710 from .../_inst/lib/libltdl.la, which does not exist when
711 configured with --disable-ltdl-install.
713 2008-02-29 Gary V. Vaughan <gary@gnu.org>
715 * libltdl/m4/argz.m4 (AC_CHECK_FUNCS): Also use our replacement
716 argz if the system argz_add or argz_count are missing.
717 Report by Juan Manuel Guerrero <juan.guerrero@gmx.de>.
719 2008-02-26 Karl Berry <karl@freefriends.org>
721 * libltdl/argz.c (argz_add, argz_count): New functions.
722 * libltdl/argz_.h: Declare them.
723 Report by Juan Manuel Guerrero <juan.guerrero@gmx.de>.
725 2008-02-20 Peter O'Gorman <peter@pogma.com>
727 * libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Do not call the
728 _LT_SYS_DYNAMIC_LINKER macro here.
729 Reported by Mike Frysinger <vapier@gentoo.org>
731 2008-02-15 Peter O'Gorman <peter@pogma.com>
733 * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Fix typo.
735 2008-02-14 Peter Breitenlohner <peb@mppmu.mpg.de>
737 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better handling
738 of predefined values for lt_cv_sys_lib_search_path_spec and
739 lt_cv_sys_lib_dlsearch_path_spec.
741 2008-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
743 * libtoolize.m4sh (func_install_pkgconfig_files): Only call
744 func_install_pkgconfig_parent if $seen_autoconf.
745 * tests/standalone.at (compiling softlinked libltdl)
746 (compiling copied libltdl, installable libltdl)
747 (linking libltdl without autotools): Use checked libtoolize
748 calls to catch warnings.
750 2008-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
752 * libltdl/configure.ac: Bump package version.
753 * HACKING: Reminder to do it next time, too.
755 2008-02-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
757 * tests/mdemo/Makefile.am (@LIBLTDL@): Update outdated
759 ($(top_distdir)/libltdl/libtool): Remove.
760 Fixes spurious mdemo-dryrun failure with OpenBSD make.
762 2008-02-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
764 * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
765 Treat like icc and ecc, for fixed `-Wl,' and `-KPIC' settings.
767 2008-02-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
769 * tests/archive-in-archive.at
770 (static library contains static library): Test also the actual
771 broken link command, and the following install command, as
772 UnixWare ar rightly refuses to put an archive into an archive.
775 2008-02-06 Peter O'Gorman <peter@pogma.com>
777 * libltdl/m4/ltoptions.m4 (_LT_SET_OPTIONS): Only set default
778 LT_INIT values for LT_INIT, not LTDL_INIT.
779 Reported by Jochem Huhmann <joh@revier.com>
781 2008-02-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
783 * tests/testsuite.at (LT_AT_TAG): For the CXX tag, if $CXX is
784 g++, check that `g++ -v' works; AC_PROG_CXX may have set that
785 as default value even if it found no C++ compiler.
786 Report by Andreas Schwab.
788 2008-02-02 Gary V. Vaughan <gary@gnu.org>
790 * libltdl/Makefile.inc (EXTRA_DIST): Now that we're not using
791 Autoconf's AC_SOURCES macro, Automake can't trace our extra
792 source files argz, lt__dirent.c and lt__strl.c. List them
793 manually here to make sure they are distributed.
795 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
797 2008-02-01 Gary V. Vaughan <gary@gnu.org>
799 * configure.ac (AC_INIT): Bump version number to 2.1c.
801 GNU Libtool 2.1b was released.
803 * configure.ac (AC_INIT): Bump version number to 2.1b.
804 * libltdl/Makefile.inc (LTDL_VERSION_INFO): Increment to account
805 for new interfaces since the last libltdl update.
806 * HACKING (Release Procedure): Note that LTDL_VERSION_INFO is now
807 kept in libltdl/Makefile.inc.
809 2008-02-01 Gary V. Vaughan <gary@gnu.org>
811 * tests/cdemo, tests/depdemo, tests/fcdemo, tests/pdemo,
812 tests/demo, tests/f77demo, tests/mdemo, tests/tagdemo
813 (distclean-local): Remove compiler file droppings left by
814 Autoconf tests that prevent make dist from finishing on
815 several machines including Mac OS 10.5.
817 2008-02-01 Gary V. Vaughan <gary@gnu.org>
819 Unfortunately, the autoconf implementation of AC_LIBOBJ and
820 friends requires all libobjs to be in the same directory, as
821 declared by AC_CONFIG_LIBOBJ_DIR. That might prevent using
822 either recursive or nonrecursive libltdl if the parent project
823 has libobjs of its own, except that this patch tracks libltdl's
824 libobjs in another namespace:
826 * libltdl/m4/ltdl.m4 (_LT_LIBOBJ, _LT_LIBSOURCES): Versions of
827 AC_LIBOBJ and AC_LIBSOURCES that save missing sources in a
828 ltdl_LIBOBJS automake macro, instead of the global LIBOBJS
829 automake macro. Content of the macros inspired by code from
831 (_LTDL_MODE_DISPATCH): Initialise lt_libobj_prefix in
833 (LTDL_INIT): Push and pop the new definitions around potential
834 sites that call AC_LIBOBJ. Also, using lt_libobj_prefix,
835 initialise ltdl_LIBOBJS and ltdl_LTLIBOBJS.
836 * libtoolize.m4sh (func_fixup_Makefile): Substitute ltdl_LIBOBJS
837 and ltdl_LTLIBOBJS for LIBOBJS and LTLIBOBJS during copying
838 either Makefile.am or Makefile.inc, depending on ltdl_mode.
839 Reported by Eric Blake <ebb9@byu.net>
841 2008-01-30 Gary V. Vaughan <gary@gnu.org>
843 There are 5 distinct batches of files that libtoolize might
844 install into a project, depending on whether libltdl is
845 being installed in subproject mode, and in that case whether
846 the parent project shares the config and macro directories
847 with the subproject ltdl. Make a separate function for each
848 of those 5 batches (4 new functions below, plus the recently
849 factored func_install_pkgltdl_files), and make a clearer
850 distinction between when each of them is needed:
852 * libtoolize.m4sh (func_install_pkgmacro_subproject):
853 New function for installing and reporting on m4 files copied
854 to a subproject ltdl directory.
855 (func_install_pkgmacro_parent): Similar new function for m4
856 files copied solely for the use of the parent project,
857 including serial checking.
858 (func_install_pkgconfig_subproject): New function for
859 installing and reporting on config helper files copied to a
860 subproject ltdl directory.
861 (func_install_pkgconfig_parent): Similar new function for
862 config helper files copied solely for the use of the parent
863 project, including serial checking.
864 (func_install_pkgmacro_files, func_install_pkgconfig_files):
865 Rewritten in terms of the above functions.
866 * tests/libtoolize.at: Adjust test expout's to match newly
867 regularized libtoolize output.
868 Move parent project pkgconfig files to build-aux directory
869 so that progress messages show an obvious difference to
870 pkgconfig files installed to subproject `config' directory.
871 (nonrecursive ltdl with AC_CONFIG_MACRO_DIR): New test.
872 (diagnose missing LT_CONFIG_LTDL_DIR): New test.
873 (subproject ltdl with non-shared directories): New test.
874 Reported by Eric Blake <ebb9@byu.net>
876 2008-01-29 Peter O'Gorman <peter@pogma.com>
878 * libltdl/m4/libtool.m4 [darwin]: Changes to glob pattern matching
881 Search the compiler path too.
882 * libltdl/m4/libtool.m4 (compiler_lib_search_dirs): New variable.
883 * libltdl/config/ltmain.m4sh: Use it.
884 Reported by Maynard Johnson
886 2008-01-28 Gary V. Vaughan <gary@gnu.org>
888 * libtoolize.m4sh (func_check_macros): Correct typo with
889 '$opt_quiet ||' where '$opt_quiet &&' that was preventing
890 func_check_macros from running!
892 * libtoolize.m4sh: Set opt_ltdl whenever seen_ltdl is set
893 so that libtoolize behaves as though --ltdl was passed even
894 if it wasn't as long as LTDL_INIT (or equivalent) was seen
895 in configure.ac. Adjust redundant '$opt_ltdl || $seen_ltdl'
896 to simply '$opt_ltdl'.
897 Reported by Eric Blake <ebb9@byu.net>
899 * libtoolize.m4sh (func_check_macros): Check opt_quiet
900 in the function itself to simplify calling it. Also move
901 the definition of the function.
903 * libtoolize.m4sh (func_scan_files): Be sure to set the
904 default libltdl mode to 'subproject' when libtoolize is
905 executed before configure.ac has been updated.
907 2008-01-27 Gary V. Vaughan <gary@gnu.org>
909 * libtoolize.m4sh (func_install_pkgconfig_files)
910 (func_install_pkgmacro_files, func_install_pkgltdl_files):
911 Factored out from the 'Main' section of the file.
913 * libtoolize.m4sh (subproject_auxdir, subproject_macrodir):
914 New variables to hold the default locations for auxfiles
915 and macrofiles in a subproject libltdl.
916 (ac_auxdir, ac_macrodir): New variables to hold the values
917 passed by AC_CONFIG_AUX_DIR and AC_CONFIG_MACRO_DIR resp.
918 (auxdir, macrodir): Adjust to contain the values to be
919 used by libtoolize at runtime.
921 * libtoolize.m4sh (func_fixup_Makefile)
922 (func_massage_aclocal_DATA, func_massage_pkgltdl_files)
923 (func_massage_pkgconfig_files): Add missing $opt_debug.
925 2008-01-27 Gary V. Vaughan <gary@gnu.org>
927 * libtoolize (func_fixup_Makefile, func_massage_aclocal_DATA)
928 (func_massage_pkgltdl_files, func_massage_pkgconfig_files):
929 Add missing $opt_debug.
931 2008-01-26 Gary V. Vaughan <gary@gnu.org>
933 * libtoolize.m4sh (Main): Copy (or link) libltdl sources
934 into project tree when LTDL_INIT was seen, whether or not
936 (func_check_macros): Recommend LTDL_INIT instead of
937 LT_WITH_LTDL when `--ltdl' is used before configure.ac is
939 * tests/libtoolize.at: Test that it works.
940 (_LT_AT_LTDL_SETUP): Factor out some common test setup.
941 Reported by Eric Blake <ebb9@byu.net>
943 2008-01-24 Peter O'Gorman <peter@pogma.com>
945 * doc/notes.texi: Fix errors in previous commit.
947 * libltdl/m4/libtool.m4 (sys_lib_search_path_spec,
948 sys_lib_dlsearch_path_spec): Allow for a cache variable
949 lt_cv_sys_lib_... to set these at configure time.
950 * doc/notes.texi: Short note about the above change.
952 2008-01-24 Eric Blake <ebb9@byu.net>
954 Add proper quoting to doc examples.
955 * doc/libtool.texi: Use m4 quotes where appropriate.
956 (Test descriptions): Fix truncated sentence.
958 2008-01-18 Gary V. Vaughan <gary@gnu.org>
960 * Makefile.am (DISTCLEANFILES): Remove libtool.dvi generated
963 2008-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
965 * libtoolize.m4sh (func_scan_files): Avoid matching our own
966 macro code when scanning configure.ac and aclocal.m4.
967 Don't produce spurious output if AC_PROG_RANLIB is found.
968 * tests/old-m4-iface.at (AM_PROG_LIBTOOL): Add a (weak) check
969 that we don't match our own macro code when searching for user
973 2008-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
975 New variable LTDLDEPS for use in output_DEPENDENCIES.
977 * libltdl/m4/ltdl.m4 (_LTDL_CONVENIENCE, _LTDL_INSTALLABLE)
978 (LTDL_INIT): Set and substitute LTDLDEPS according to chosen
980 * tests/configure-iface.at (installable libltdl)
981 (--with-ltdl-include/lib, --with-included-ltdl): Test it.
982 * doc/libtool.texi (Distributing libltdl): Document LTDLDEPS.
984 Dependency bug exposed by Eric Blake in M4, found by Bob Proulx
987 2008-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
989 * doc/libtool.texi (Distributing libltdl): Clarify that
990 `${top_build_prefix}' may be used in place of `${top_builddir}/'.
992 * doc/libtool.texi (Distributing libltdl): Clarify that
993 LTDL_INIT goes after LT_INIT; also show the latter in the
995 * tests/subproject.at: Adjust order.
997 2008-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
999 * libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Use AM_CONDITIONAL
1000 only if defined. Allows to use libltdl without aclocal.
1002 2008-01-16 Peter O'Gorman <peter@pogma.com>
1004 * libltdl/m4/libtool.m4: Set GCC var for every tag, avoids need
1007 2008-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1009 * configure.ac: Set libltdl nonrecursive option, to avoid
1010 configuring libltdl inside the Libtool package.
1012 2008-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1014 Silence all non-warning output from `libtool --silent'.
1015 * libltdl/config/ltmain.m4sh (func_generate_dlsyms)
1016 (func_extract_archives, func_mode_link): Use func_verbose
1017 instead of func_echo for all non-warning output.
1019 * Makefile.maint (fetch): Update to match upstream git sources.
1020 Pull `INSTALL' from gnulib instead of from Autoconf.
1022 * doc/notes.texi: Mention AIX binutils deficiency for C++ code.
1023 Report by Rainer Tammer.
1024 Suggest using bash for configure.
1026 * libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Fix to use
1027 new _LT_SET_OPTION semantics.
1029 2008-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1031 * libltdl/m4/ltdl.m4 (_LTDL_SETUP): Define
1032 LTDL_DLOPEN_SELF_WORKS, depending upon lt_cv_dlopen_self.
1033 * libltdl/loaders/dlopen.c (vm_open) [!LTDL_DLOPEN_SELF_WORKS]:
1034 Fail for dlopen(NULL), so that the preopen loader is used. This
1035 fixes mdemo-exec.test failures on AIX where dlopen(NULL)
1036 succeeds but dlsym resolves no symbol.
1038 Report by Rainer Tammer.
1040 * tests/am-subdir.at: Drop unused variables.
1041 * tests/configure-iface.at: Likewise.
1042 * tests/ctor.at: Likewise.
1043 * tests/early-libtool.at: Likewise.
1044 * tests/lt_dladvise.at: Likewise.
1045 * tests/old-m4-iface.at: Likewise.
1046 * tests/lt_dlexit.at: Likewise. Also drop unused functions.
1048 * tests/old-m4-iface.at (AM_PROG_LIBTOOL): Also copy needed
1051 * libltdl/config/ltmain.m4sh (func_mode_link): Fix warning
1052 about -l and -L for archives and objects as output, to not
1053 trigger for *.la files. Non-convenience archives are diagnosed
1056 * tests/configure-iface.at: Ensure LTDLINCL is expanded
1057 before CPPFLAGS, so that even CPPFLAGS=-I/usr/local/include
1058 won't make the tests prefer an installed ltdl.h over the
1060 * tests/lt_dladvise.at, tests/lt_dlexit.at: Likewise.
1061 * tests/need_lib_prefix.at, tests/old-m4-iface.at: Likewise.
1062 Report by Bob Friesenhahn.
1064 2008-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1066 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <exclude_expsyms>:
1067 Also exclude `_GLOBAL__F[ID]_.*'. Also set for the C++ tag.
1068 Fixes esp. demo/helldl build failure with GCC on AIX.
1069 Report by Rainer Tammer.
1071 2008-01-11 Peter O'Gorman <peter@pogma.com>
1073 * libltdl/m4/libtool.m4 [darwin]: Reorganize darwin support, use
1074 dsymutil if it is available so that debugging is possible, check
1075 for nmedit and dsymutil with AC_CHECK_TOOL, use the linker flag
1076 -exported_symbols_list in preference to nmedit if it is available.
1077 Drop support for xlc, it is probably broken.
1078 * tests/template.at [darwin]: Skip this test, I can not find a way
1079 to make it work on darwin9 with Xcode-3.0.
1080 * NEWS: Note the dropping of xlc support.
1082 2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1084 * libltdl/m4/libtool.m4 (LT_INIT): m4_require, not AC_REQUIRE
1085 _LT_CHECK_BUILDDIR, as it's m4_defun'ed, not AC_DEFUN'ed.
1086 Report by Peter O'Gorman.
1088 * libltdl/m4/ltdl.m4 (_LTDL_INSTALLABLE): Restore correct
1089 _LT_BUILD_PREFIX-using code.
1091 2008-01-08 Gary V. Vaughan <gary@gnu.org>
1093 * tests/recursive.at: Remove bogus --debug option.
1094 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1096 * tests/configure-iface.at: Build libltdl in a subdir so that
1097 it can be easily removed without trying to remove config.log
1098 on windows (which can't delete a file until it is closed).
1099 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1101 * libltdl/m4/ltdl.m4 (LTDL_INSTALLABLE): Use _LT_BUILD_PREFIX
1102 instead of ${top_builddir} for Autoconf-2.62.
1103 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1105 * libltdl/m4/ltdl.m4 (_LT_CONFIG_LTDL_DIR): Correct closing
1107 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1109 * NEWS: Grammar nit.
1111 * tests/configure-iface.at, tests/nonrecursive.at,
1112 tests/recursive.at, tests/subproject.at (_LTDL_SETUP):
1113 Renamed to _LT_AT_LTDL_SETUP to avoid a nameclash with
1114 libltdl/m4/ltoptions.m4:_LTDL_SETUP from yesterday's patch.
1115 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1117 2008-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1119 * tests/runpath-in-lalib.at (Runpath in libtool library files):
1120 Compile program file without libtool.
1121 Report by Rainer Tammer.
1123 2008-01-07 Rainer Tammer <tammer@tammer.net> (tiny change)
1124 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1127 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
1128 (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
1129 (_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG)
1130 (_LT_LANG_FC_CONFIG): Adjust case patterns to match AIX 6
1132 * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
1136 2008-01-07 Gary V. Vaughan <gary@gnu.org>
1138 Move libltdl build mode options from LT_CONFIG_LTDL_DIR to
1139 LTDL_INIT. Accept (optional) new 'convenience' and 'installable'
1140 options in lieu of LTDL_CONVENIENCE and LTDL_INSTALL macros. And
1141 also, implement --with-included-ltdl, --with-ltdl-lib and
1142 --with-ltdl-include configure-time options:
1144 * libltdl/m4/ltoptions.m4: Associate existing option settings with
1146 (LT_OPTION_DEFINE): Associate options 'nonrecursive', 'recursive',
1147 'subproject', 'installable' and 'convenience' with LTDL_INIT.
1148 (_LT_MANGLE_OPTION, _LT_SET_OPTION, _LT_IF_OPTION)
1149 (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Add MACRO-NAME argument to
1150 support options to named macros instead of hardcoding only LT_INIT
1152 * libltdl/m4/ltdl.m4 (_LTDL_CONVENIENCE): Factor common code from
1153 LTDL_CONVENIENCE and LTDL_INIT([convenience]).
1154 (_LTDL_INSTALLABLE): Factor out common code from LTDL_INSTALLABLE
1155 and LTDL_INIT([installable]).
1156 (_LTDL_SETUP): Renamed from LTDL_INIT. Support new configure-time
1157 options: --with-included-ltdl, --with-ltdl-lib,
1158 --with-ltdl-include.
1159 (LTDL_CONVENIENCE, LTDL_INSTALLABLE): Adjust.
1160 (LT_WITH_LTDL): Removed.
1161 (LTDL_INIT): Parse caller options.
1162 * libltdl/m4/libtool.m4 (LT_INIT): Declare that this macro must be
1163 expanded before LTDL_INIT, and be sure to parse caller options.
1164 * configure.ac: Call directly into internal _LTDL_SETUP macro.
1165 * libtoolize.m4sh (func_scan_files): Ltdl mode argument moved from
1166 LT_CONFIG_LTDL_DIR to LTDL_INIT.
1167 * tests/nonrecursive.at, tests/recursive.at: Use new interfaces.
1168 * tests/configure-iface.at: Test it.
1169 * Makefile.am (TESTSUITE_AT): Add configure-iface.at.
1170 * doc/libtool.texi (Distributing libltdl): Document improved
1171 LTDL_INIT interfaces.
1174 2008-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1176 * libltdl/config/ltmain.m4sh (func_mode_link): When creating
1177 reloadable object files, avoid issuing plain `rm -f' without
1178 further arguments, even if the line length limit is ridiculously
1179 low as in the `Run tests with low max_cmd_len' test. This
1180 failure is exposed on NetBSD.
1181 Report by Patrick Welche.
1183 * Makefile.am (EXTRA_DIST): Add ChangeLog.2007.
1184 * ChangeLog.2007: New, rotated, from...
1185 * ChangeLog: ...here.
1186 * NEWS, README, README.alpha, Makefile.am, libtoolize.m4sh,
1187 libltdl/config/getopt.m4sh, libltdl/config/ltmain.m4sh,
1188 libltdl/m4/libtool.m4: Bump copyright years.
1190 Continued in ChangeLog.2007