1 2000-12-23 Gary V. Vaughan <gary@gnu.org>
4 * doc/fdl.texi (GNU Free Documentation License): contained @bye
5 command which prevented part of document to be generated (indices,
7 * doc/libtool.texi (Dlpreopening): the @deftypevar did not contain
10 2000-12-22 Akim Demaille <akim@epita.fr>
12 * libtool.m4: s/[ \t]*$//
14 2000-12-22 Aneesh Kumar K.V <kvaneesh@hotmail.com>
16 * libtool.m4 (OSF/1): Revert my patch of 2000-12-16.
18 2000-12-20 Gary V. Vaughan <gary@gnu.org>
20 * libltdl/ltdl.c (lt_dlexit): Was checking for residency of the
22 Reported by Robert Boehne <rboehne@ricardo-us.com>
24 * ltmain.in (dlprefiles): Now that `2000-12-15 Utz-Uwe Haus' patch
25 below can detect preopened library deplibs correctly in libltdl,
26 we need to ensure that libtool library deplibs are also preloaded
27 into the binary for that phase to work.
29 2000-12-16 Aneesh Kumar K.V <kvaneesh@hotmail.com>
31 * libtool.m4 (OSF/1): Change the way to pass linker flags through
32 compiler on a Tru64 machine.
34 2000-12-16 Gary V. Vaughan <gary@gnu.org>
36 * libtool.m4 (sys_lib_search_path_spec): Use test instead of
38 (archive_cmds): And another one.
40 * libtool.m4 (darwin*): Fixed a pair of stupid typos I made in the
43 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): moved rogue settings from
44 sequent, ncr and newos6 back into here from other macros.
46 2000-12-16 Wilfredo Sanchez <wsanchez@apple.com>
48 * libtool.m4: (dyld/darwin*) Much improved port.
49 * ltmain.in: (dyld/darwin*) Much improved port.
51 2000-12-16 Sascha Schumann <sascha@schumann.cx>
53 * libtool.m4: Accept darwin as an alias for rhapsody.
56 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use the HPUX 10.20
57 methods to check for library dependencies on HPUX 11.
59 2000-12-16 Nick Hudson <skrll@netbsd.org>
61 * libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support
64 2000-12-15 Akim Demaille <akim@epita.fr>
66 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Rename
67 `ac_cv_sys_global_symbol_pipe' as `lt_cv_sys_global_symbol_pipe'.
68 Similarly with `lt_cv_global_symbol_to_cdecl
69 (_LT_AC_LTCONFIG_HACK): Similarly with `ac_cv_prog_cc_pic',
70 `ac_cv_prog_cc_shlib', `ac_cv_prog_cc_wl', `ac_cv_prog_cc_static',
71 `ac_cv_prog_cc_no_builtin', `ac_cv_prog_cc_can_build_shared',
72 `ac_cv_prog_cc_static_works', `ac_cv_archive_cmds_need_lc'.
73 (AC_PATH_TOOL_PREFIX): Similarly with `ac_cv_path_MAGIC_CMD'
74 (AC_PROG_LD) <ac_cv_path_LD>: Likewise.
75 (AC_PROG_LD_GNU) <ac_cv_prog_gnu_ld>: Likewise.
76 (AC_PROG_NM) <ac_cv_path_NM>: Likewise.
78 2000-12-15 Utz-Uwe Haus <haus@mail.math.uni-magdeburg.de>
80 * libltdl/ltdl.c (lt_dlopen): Changed "dl_dependency_libs" keyword
83 2000-12-14 Tod Milam <tmilam@traclabs.com>
85 * libltdl/ltdl.c (lt_dlexit): Reset the loaders value to zero when
86 the last module has been unloaded.
88 2000-12-14 Michael Schmitz <mschmitz@iname.com>
90 * libtool.m4: Port to *-sni-sysv4 (Reliant Unix)
91 * README: added Reliant Unix to hte list of supported platforms
92 * doc/PLATFORMS: added note on tests on Reliant Unix
94 2000-12-14 Masahiro Nobori <nobori@ss.titech.ac.jp>
98 * libtool.m4: New port to NEWS-OS Release 6.
100 2000-12-14 Nick Hudson <skrll@netbsd.org>
102 * libtool.m4 (hardcode_libdir_flag_spec): Remove linker
103 specification for netbsd.
105 2000-12-14 Akim Demaille <akim@epita.fr>
107 * libtool.m4: Don't depend on Autoconf internals:
108 s/ac_cv_prog_gcc/GCC/.
110 2000-12-14 Gary V. Vaughan <gary@gnu.org>
112 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Don't empty
113 out ac_cv_global_symbol_to_cdecl inside the loop, incase we
114 need to go around again and try with underscore prefix.
115 (_LT_AC_TRY_DLOPEN_SELF): On some hosts (cygwin for instance)
116 self dlclosing unloads the main program and causes a SIGSEGV. So
119 2000-12-05 Gary V. Vaughan <gary@gnu.org>
121 Oh My! Cygwin support has bitrotted while I was looking the other
122 way. This should fix it some:
123 * libtool.m4 (extract_expsyms_cmds): There is a quoting problem
124 with autoconf-2.13 that prevents [$]0 from expanding. Use shell
125 quotes instead to delay eval of $0.
126 (impgen.c) The '# ' sequence stripped by sed works again.
128 2000-12-01 Gary V. Vaughan <gary@gnu.org>
130 * doc/libtool.texi (Libltdl interface): Add documentation.
131 * libltdl/ltdl.h (lt_dlmakeresident, lt_dlisresident): Add
133 (LT_DLERROR_CLOSE_RESIDENT_MODULE): New error status.
134 * libltdl/ltdl.c (lt_dlmakeresident, lt_dlisresident): Allow
135 making and testing of resident module status, which prevents a
136 module from being lt_dlclosed.
137 (lt_dlopen): If lt_dlopen()ing self, make the module resident.
138 (lt_dlclose): Return an error if the module is resident.
140 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Move the tests for dlopen
142 (AC_LIBTOOL_DLOPEN_SELF): ...to here.
143 (_LT_AC_CHECK_DLFCN): Factor out repeated code for dlfcn.h
144 (_LT_AC_TRY_DLOPEN_SELF): Factor out repeated code for
145 checking dlopen status.
146 * ltdl.m4 (AC_LIB_LTDL): Use _LT_AC_CHECK_DLFCN.
147 dlopen compile time checking. Use _LT_AC_CHECK_DLFCN.
148 (AC_LTDL_DLSYM_USCORE): Use _LT_AC_TRY_DLOPEN_SELF.
150 2000-11-29 Gary V. Vaughan <gary@gnu.org>
152 * libltdl/ltdl.h (lt_dlhandle): Rename the wrapped structure
153 to prevent nameclash when used from C++.
154 * libltdl/ltdl.c: Fixed all references.
156 2000-11-25 Gary V. Vaughan <gary@gnu.org>
158 * libltdl/ltdl.c (lt_dlopen): Change the default search order
159 for modules. If the named module has no directory component,
160 always start the search with the user_search_path directories,
161 and then fall back on the current directory only if that fails.
163 2000-11-20 Gary V. Vaughan <gary@gnu.org>
165 * libltdl/Makefile.am (libltdl_la_LDFLAGS): increment the version
166 number to reflect the breakage of binary compatibility.
167 * doc/libtool.texi (Libltdl interface): Document
168 LT_NON_POSIX_NAMESPACE.
169 * libltdl/ltdl.h (LT_POSIX_NAMESPACE): Deleted. The default is
170 now to use this namespace, so the cpp macro is no longer
173 2000-11-20 Morten Eriksen <mortene@sim.no>
175 * ltdl.m4 (AC_LIB_LTDL, AC_LTDL_SYMBOL_USCORE): Break a circular
176 dependency between AC_LTDL_SYMBOL_USCORE and AC_LTDL_DLSYM_USCORE.
178 2000-11-20 Paul Berrevoets <paul@swi.com>
180 * ltmain.in: Some versions of expr respond with "0" if a
181 regexp fails to match.
183 2000-11-19 Paul Berrevoets <paul@swi.com>
185 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and
186 $3 in variable 'archive_expsym_cmds' for cygwin.
188 2000-11-19 Gary V. Vaughan <gary@gnu.org>
190 * ltdl.c: Relegate non-POSIX-compliant symbols (e.g. those
191 ending in ``_t'') to deprecated #define compatibility macros.
192 Also ease up on the namespace pollution, so that only ``lt_''
193 and ``LT_'' prefixes are taken from the global namespace.
196 2000-11-17 Gary V. Vaughan <gary@gnu.org>
198 * ltdl.c: Reformatted.
201 2000-11-11 Gary V. Vaughan <gary@gnu.org>
203 * ltdl.m4 (AC_LTDL_SYMBOL_USCORE): Use $ac_ext for conftest
205 * libtool.m4: Use $ac_ext and $ac_objext respectively for conftest
207 Reported by Carlo Wood <carlo@alinoe.com>
209 * doc/fdl.texi: New file. The license for distributing the
211 * doc/libtool.texi: Reference the new license.
213 2000-10-31 Morten Eriksen <mortene@sim.no>
215 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote argument to avoid
216 error output from cygpath when $srcdir is empty.
218 2000-10-31 Gary V. Vaughan <gary@gnu.org>
220 * bootstrap: rm Makefiles to prevent infinite loop during
221 configure when libtool.m4 is newer than Makefile.
223 2000-10-31 Akim Demaille <akim@epita.fr>
225 * libtool.m4: Adjust the copyright notice.
226 Quote all the macro names when defined.
227 Some minor formatting changes.
228 (AM_PROG_LIBTOOL, AM_ENABLE_SHARED, AM_ENABLE_STATIC)
229 (AM_DISABLE_SHARED, AM_DISABLE_STATIC, AM_PROG_LD, AM_PROG_NM):
230 Don't use indir when useless. Don't add trailing `dnl' either.
232 2000-10-30 Gary V. Vaughan <gary@gnu.org>
234 * doc/libtool.texi: Corrected another attack of CRLF line
237 2000-10-30 Ossama Othman <ossama@debian.org>
239 * libtool.m4 (archive_expsym_cmds): Fix typo where line was broken
240 in the middle of an expression.
242 2000-10-30 Aneesh Kumar K.V <kvaneesh@hotmail.com>
244 * libtool.m4 (archive_expsym_cmds): Support for -export-symbol
246 (hardcode_libdir_flag_spec): Fixed cxx throwing error while using
247 libtool. Done by passing -rpath directlty to the compiler.
249 2000-10-27 Robert Boehne <rboehne@ricardo-us.com>
251 * docs/libtool.texi: Added pointers to documentation
252 of Hewlett-Packard, Compaq Tru64 and IBM AIX systems.
254 2000-10-02 Gary V. Vaughan <gary@gnu.org>
256 From Bruce Korb <bkorb@cruzio.com>
257 * ltmain.in (execute_dlfiles): Reduce obfuscation.
259 2000-09-30 Alexandre Oliva <aoliva@redhat.com>
261 * libtool.m4 [netbsd*] (deplibs_check_method, file_magic_cmd,
262 file_magic_test_file): Removed inappropriate duplicate
263 definitions; these variables are set in AC_DEPLIBS_CHECK_METHOD.
265 * libtool.m4 (lt_cv_file_magic_cmd): Don't use '${MAGIC_CMD}' or
266 '${OBJDUMP}'; Solaris' /bin/sh loses with `}' in cache files.
267 (ac_cv_path_MAGIC_CMD): Renamed to lt_cv_path_MAGIC_CMD.
269 2000-09-28 Gary V. Vaughan <gary@gnu.org>
271 * libtool.m4 (MAGIC_CMD): Don't use MAGIC, since BSD versions of
272 the file command use this environment variable to hold the
273 location of the magic database.
274 Reported by Marc Espie <Marc.Espie@liafa.jussieu.fr>
276 2000-09-19 Gary V. Vaughan <gary@gnu.org>
278 * doc/PLATFORMS: Updated.
279 * demo/configure.in: Revert to the `libtool --features' test.
280 * Makefile.am (libtool): This needs to rerun configure now that
281 libtool is generated entirely by AC_PROG_LIBTOOL again.
283 (ltmain.sh): Is now regenerated when ltmain.in changes.
284 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Now does all of the work for
285 generating libtool immediately in configure.in, rather than
286 deferring part of the creation until config.status runs.
288 2000-09-17 Gary V. Vaughan <gary@gnu.org>
290 * bootstrap: Backed out yesterdays patch which is no longer
292 * Makefile.am (libtool): Reworked rule for regeneration of libtool,
293 now that it is built entirely withing config.status.
294 (libtoolize): Tidied for orthogonality with the other generation
296 (ltconfig): This is now generated by AC_PROG_LIBTOOL, called from
297 make by running config.status --recheck.
298 (ltmain.sh): Moved primary generation of this file into here...
299 * configure.in (AC_OUTPUT): ...instead of here.
300 * libtool.m4 (AC_OUTPUT_COMMANDS): Write the config to ltconfig
301 where it can be reused, rather than directly to libtool.
302 * demo/configure.in: libtool is no longer present immediately
303 after AC_LIBTOOL_M4 has completed, so the tests now grep through
304 ltconfig instead -- which *will* be present.
306 2000-09-16 Gary V. Vaughan <gary@gnu.org>
308 * TODO: Removed the item describing the change below, and added a
309 similar item to remind us to change the ltdl.m4 macros again when
310 _LT_AC_LTCONFIG_HACK is divided into proper macros.
311 * ltdl.m4 (AC_LTDL_SNARF_CONFIG): Removed. No longet required
312 now that ltconfig has migrated to libtool.m4.
313 (AC_LTDL_SHLIBEXT): Require _LT_AC_LTCONFIG_HACK.
314 (AC_LTDL_SHLIBPATH): ditto.
315 (AC_LTDL_SYSSEARCHPATH): ditto.
317 * ltdl.m4 (AC_LTDL_DLPREOPEN): Require the libtool.m4 symbol_pipe
319 (AC_LTDL_SYMBOL_USCORE): ditto.
320 (AC_LTDL_GLOBAL_SYMBOL_PIPE): Removed, since it is a duplicate
322 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): ...this new
323 macro, extracted from _LT_AC_LTCONFIG_HACK.
325 * ltdl.m4 (changequote): An audit of changequote and m4
326 quote usage -- all changequotes have been removed, and some
327 latent unquoted `[' and `]' bugs have been fixed.
329 * configure.in (AC_OUTPUT): ltmain.sh must be generated in the
330 source tree since this is where it would be found in a freshly
333 * configure.in: Replace `dnl' comments with `#' comments for
334 more conformity with cvs autoconf.
335 Removed emacs hack-local-variables, since there is now a
336 proper Autoconf major mode.
337 Removed a couple of changequote()s.
339 * bootstrap (ltconfig): When bootstrapping libtool with a
340 stock automake (i.e. without the README patch applied),
341 references to ltconfig are manually removed from the generated
344 2000-09-15 Gary V. Vaughan <gary@gnu.org>
346 * doc/libtool.texi: Removes references to ltconfig, and a small
347 amount of tidying up to compensate.
349 2000-09-15 Nick Hudson <skrll@netbsd.org>
351 * libtool.m4 (netbsd): Improved support.
353 2000-09-15 Gary V. Vaughan <gary@gnu.org>
355 * ltmain.in (version_type): Use "-iface" as the windows
356 versioning scheme, where iface is the number of the oldest
359 2000-09-14 Gary V. Vaughan <gary@gnu.org>
361 From Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
362 * libtool.m4 (pw32): Initial support for pw32, assuming that
363 libtool's behaviour in this environment is identical to under
365 * ltmain.in (pw32): ditto.
368 * libtool.m4 (changequote): An audit of changequote and m4
369 quote usage -- all changequotes (except a few with non-nesting
370 square brackets) have been removed.
372 * Makefile.am (EXTRA_DIST): The bootstrap script should be
373 distributed with libtool.
375 2000-09-13 Gary V. Vaughan <gary@gnu.org>
377 libtool.m4 (_LT_AC_LTCONFIG_HACK): Oh man! Third time lucky.
378 I just discovered that '&' needs to be escaped inside
381 2000-09-12 Michael Matz <matz@ifh.de>
383 * ltmain.in: Be careful about filenames with multiple `.'s in
384 them when calculating file extensions.
385 Reported by Joel Reed <jreed@support.ddiworld.com>
387 2000-09-12 Gary V. Vaughan <gary@gnu.org>
389 libtool.m4 (AC_PROG_LIBTOOL): Removed, as it was triggering a
390 bug in Autoconf-2.13 AC_REQUIRE implementation which inserted
391 some of the expanded tests too early in the generaated configure.
392 (_AC_PROG_LIBTOOL): renamed to AC_PROG_LIBTOOL, and defines
393 itself to an empty expansion to prevent multiple expansions.
394 configure.in (AC_LIBTOOL_SETUP): Replaced by a call to
395 AC_PROG_LIBTOOL now that the AC_REQUIRE bug has been worked
398 2000-09-09 Gary V. Vaughan <gary@gnu.org>
400 libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to escape the
401 redirections inside AC_TRY_EVAL in the need_lc tests. Doh!
403 libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to redirect the
404 output of grep to /dev/null in the need_lc tests.
406 configure.in (AC_PROG_LIBTOOL): Using this in libtools own
407 configure.in interacts badly with the AC_PROVIDE calls and
408 results in several tests being inserted into configure too
409 early. Use AC_LIBTOOL_SETUP instead.
411 2000-09-08 Gary V. Vaughan <gary@gnu.org>
413 libtool.m4 (_LT_AC_LTCONFIG_HACK): The ltconfig.in code I
414 ported from ltconfig.in was incomplete -- this is a backport
415 of the missing code taken from the multi-language branch.
417 2000-09-07 Pavel Roskin <proskin@gnu.org>
419 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Fixed incorrect use of
422 2000-09-07 Gary V. Vaughan <gary@gnu.org>
425 * TODO: Add a reminder to get rid of ltconfig in mlb.
426 * README: Until things even out, I have added a note and a
427 patch to make the installed automake cooperate with the new
428 ltconfig free libtool.
430 * libtool.m4 (_LT_AC_LTCONFIG_HACK): with_gcc is only useful in
431 ltmain.sh as it has not yet been set in libtool.m4. Use
432 $ac_cv_prog_gcc instead.
434 * doc/PLATFORMS: Updated.
436 * configure.in (AC_PROG_AWK): Removed -- no longer required by
440 * libtoolize.in (files): Don't try to install ltconfig -- it
442 * bootstrap: Fake an ltconfig incase the installed automake
443 calls an installed libtoolize (as part of its --add-missing
444 process) which thinks ltconfig should be there.
446 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Deleted a vital `;;'
447 terminator from a case statement by mistake.
449 * Makefile.am (ltmain.sh): Make this depend on TSDEPS again
450 so that the Changelog timestamp is used for ltmain.sh at `make
453 2000-09-06 Gary V. Vaughan <gary@gnu.org>
455 libtool.m4 now contains a version of the code that used to run
456 from ltconfig, so that ltmain.sh and then libtool are
457 generated at configure time.
459 * Makefile.am: Don't generate ltmain.sh or ltconfig anymore.
460 * bootstrap: ltconfig is no more!
461 * configure.in: Call AC_PROG_LIBTOOL directly.
462 (AC_OUTPUT): Generate tmain.sh.
463 * libtool.m4: Don't build an argument list for ltconfig.
464 (_LT_AC_LTCONFIG_HACK): Refactoring of the former contents of
465 ltconfig.in to take advantage of the m4 macros from autoconf.
466 * ltmain.in: Don't do a version check against ltconfig.
467 * tests/assign.test: Remove reference to ltconfig.
468 * tests/hardcode.test: ditto.
469 * tests/sh.test: ditto.
471 2000-09-05 Alexandre Oliva <aoliva@redhat.com>
473 * depdemo/main.c: Support -alt.
474 * tests/build-relink2.test: Try it.
476 * ltconfig.in: Removed all references to what used to be
477 hardcode_into_libs=all. 2000-09-03's patch was wrong.
478 * ltmain.in: Likewise.
479 * tests/build-relink.test, tests/build-relink2.test: Adjust.
480 * mdemo/Makefile.am (lib_LTLIBRARIES): Move libsub.la before
481 libfoo2.la, so that they're installed in the right order.
483 2000-09-04 Alexandre Oliva <aoliva@redhat.com>
485 * tests/dryrun.test: Build libsub.la along with the object files,
486 since it is needed by libfoo2.la.
488 * mdemo/Makefile.am: Mark only libfoo2 as -no-undefined.
489 Explicitly link it with libsub.la.
491 * ltconfig.in (need_lc): Preserve allow_undefined_flag.
493 * tests/*.test (CONFIG_SITE): Ultrix's /bin/sh fails on
494 `. /dev/null'. Set CONFIG_SITE to /dev/null/config/site, to make
495 sure we pick a non-existent file.
497 * Makefile.am (libtool, clibtool): Pass CONFIG_SHELL along with
498 ECHO down to ltconfig.
500 * ltconfig.in (hardcode_libdir_flag_spec, export_dynamic_flag_spec):
501 Use ${wl}, not ${wlarc}.
503 * ltmain.in (compile, need_lock): Don't create nor remove lock
506 * libltdl/ltdl.c (load_deplibs): Don't append shlib_ext; use
507 lt_dlopenext() instead.
509 * ltmain.in (link -static): Don't add $link_static_flag; only
510 -all-static should do that.
511 * mdemo/configure.in: Revert part of the previous delta.
513 * mdemo/configure.in: Don't use -static on AIX4.1.
514 * mdemo/Makefile.am: Likewise.
516 2000-09-03 Alexandre Oliva <aoliva@redhat.com>
518 * ltconfig.in: Get rid of hardcode_into_libs=all; use
519 hardcode_into_libs=yes && shlibpath_overrides_runpath!=yes
521 [FreeBSD 3.[01]] (shlibpath_overrides_runpath): Set to no.
522 * ltmain.in: Likewise.
523 * tests/build-relink.test, tests/build-relink2.test: Adjust.
525 * libtool.m4: Fix typo I introduced in yesterday's patch.
527 * libltdl/ltdl.c (lt_dlopen): Set dlname from library_names if
530 * ltdl.m4 (HAVE_LIBDL): Look for dlopen in -lsvld.
531 * ltconfig.in: Likewise.
533 * tests/mdemo-exec.test: Modify failure message.
535 * ltmain.in (newdlprefiles): Use dlname if it's available and
536 old_library isn't; use linklib only if dlname is not available.
538 * ltconfig.in (enable_dlopen): Set to no when lt_cv_dlopen is no.
540 * libtool.m4: Don't quote CONFIG_SHELL nor ORIGINAL_CONFIG_SHELL.
541 Quote $@ properly so that the shell expands it, not m4.
543 * libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL
544 can be `/path/to/shell -x'.
546 * tests/quote.test: Move the match test out of case statements, to
547 work around bug in /bin/sh of several OSs.
549 * ltmain.in (variables_saved_for_relink): Attempt to unset them
550 instead of setting them to an empty string.
552 2000-09-02 Alexandre Oliva <aoliva@redhat.com>
554 * ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds)
555 <solaris*, sysv5*, beos*>: Use compiler_flags instead of linker
557 Reported by Alex Hornby <alex@anvil.co.uk>
559 2000-09-02 Makoto Ishisone <ishisone@sra.co.jp>
561 * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo,
562 add support for compact format library.
564 2000-09-02 Alexandre Oliva <aoliva@redhat.com>
566 * ltdl.m4: Oops, I had forgotten to commit this part of Syd Polk's
567 patch from 2000-06-17.
569 2000-09-02 Tom Kacvinsky <tjk@ams.org>, Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
571 * libtool.m4: Ignore Tru64's nm's complaint.
573 2000-09-02 Pavel Roskin <proski@gnu.org>
575 * ltconfig.in: only load $cache_file if it's a regular file
577 2000-09-02 Assar Westerlund <assar@sics.se>
579 * ltconfig.in: Add back ranlib calls for static libraries if there
582 2000-08-31 Gary V. Vaughan <gary@gnu.org>
584 Move the echo detection code to a macro in libtool.m4. The code
585 at the top ofltconfig.in is ugly, but will go away when the rest
586 of ltconfig is migrated.
588 * Makefile.am (libtool): Pass the value of $ECHO to ltconfig as
589 an environment variable.
590 * libtool.m4 (_LT_AC_PROG_ECHO_BACKSLASH): Quote the ECHO value
591 correctly so that it inserts the correct code into configure.in
592 suitably quoted for M4 expansion. This code needs to be near
593 the top of configure.in as it calls itself recursively, so I
594 am using AC_DIVERSION_NOTICE (or simply NOTICE on CVS
595 Autoconf). The value of ECHO is also substitued into the
596 Makefile to be used when Make calls ltconfig to generate
597 libtool, so another layer of quotation is required for the
599 (AC_LIBTOOL_SETUP): Use it.
600 * ltconfig.in: Accept a value for ECHO from the environment, and
601 carefully substitue for $0 if it is present in the ECHO value.
602 Because ECHO was quoted for Make, when ltconfig is called by
603 configure, it is overquoted, and one layer of quotes must be
606 2000-08-27 Gary V. Vaughan <gary@gnu.org>
608 * ltconfig.in (with_gcc): Make the value of this option
609 available to the generated libtool script.
610 * ltmain.in (compile_command, finalize_command): The native C
611 and C++ compilers on IRIX require the -LANG:std in order to to
612 compile correctly. The same options should _not_ be passed
613 through to gcc on IRIX, or at all on other architectures for
614 backwards compatibility (among others).
615 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
616 Reported by Albert Chin-A-Young <china@thewrittenword.com>
618 2000-08-26 Gary V. Vaughan <gary@gnu.org>
620 * ltconfig.in (old_reload_flag): typo.
622 2000-08-01 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
624 * ltmain.in (shtool): Use echo|grep instead of expr, as in the
627 2000-08-01 Alexandre Oliva <aoliva@redhat.com>
629 * ltconfig.in (need_lc): Fix test message.
631 2000-07-24 Mocha <netbsd_alpha@yahoo.com>
633 * ltconfig.in (NetBSD, deplibs_check_method): Use file_magic.
634 (NetBSD, file_magic_cmd, file_magic_test_file): Set.
636 2000-07-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, David Kaelbling <drk@orchietta.hudson.sgi.com>
638 * ltmain.in (irix, major): Prepend a `.'.
639 * ltconfig.in (irix, soname_spec, library_names_spec): Adjust.
641 2000-07-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Ralf S. Engelschall <rse@engelschall.com>
643 * ltmain.in: Support GNU shtool's install.
645 2000-07-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
647 * ltconfig.in (linkopts): Don't set for test.
649 2000-07-24 Nick Hudson <skrll@netbsd.org>
651 * ltconfig.in (linkopts): Replace with linker_flags.
653 * ltmain.in (ILD): Fix addition of deplibs in relink case.
655 2000-07-18 H.J. Lu <hjl@gnu.org>
657 * ltconfig.in: Check if -lc is necessary for building shared
658 library. Set build_libtool_need_lc to indicate it.
659 * ltmain.in: Add -lc when building shared library only if
662 2000-07-10 Mo DeJong <mdejong@redhat.com>
664 * libtool.m4 (AC_PROG_NM): Fix macro so that it
665 finds a cross NM on the PATH.
667 2000-07-10 Ken Block <block@zk3.dec.com>
669 * libltdl/ltdl.h: Also check for __cplusplus, __STDC__ is not
670 by Compaq C++ compiler
672 2000-07-10 Alexandre Oliva <aoliva@lsd.ic.unicamp.br>
674 * ltconfig.in (wlarc, netbsd, aout): Set to empty.
675 (hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it.
677 * ltconfig.in (dynamic_linker, linux, powerpc): Do not disable
678 shared libraries just because of MkLinux.
680 * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend
681 on $version_type; check for ELF support as in other BSDs.
683 2000-06-17 Syd Polk <spolk@redhat.com>
685 * libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based
686 on target; use host instead.
688 2000-05-30 Gary V. Vaughan <gary@gnu.org>
690 * ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when
691 the echo probing code falls into this branch without setting
694 * ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds
695 were reversed with respect to definition of __ELF__.
696 From Keisuke Inoue <keisuke@csl.sony.co.jp>
698 2000-05-29 Gary V. Vaughan <gary@gnu.org>
700 * libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for
702 * libtool.m4 (netbsd ELF): support file_magic.
703 From Dan Winship <danw@helixcode.com>.
705 2000-05-29 Steven M. Schultz <sms@moe.2bsd.com>
707 * libtool.m4 (bsdi4*): Add -L option to bsdi4's file_magic_cmd
708 command. Under BSD/OS 4.1 several libraries are now symlinks
709 rather than regular files. Adding -L tells the file program
710 to follow the symlink.
712 2000-05-29 Gary V. Vaughan <gary@gnu.org>
714 * libtool.m4 (i*86-*-freebsd*): Forgot to changequote(,).
717 * libtool.m4 (i*86-*-freebsd*): Support a.out shared libs.
718 From <suzukis@file.phys.tohoku.ac.jp>
720 2000-05-29 Fred Fish <fnf@be.com>
722 Support AR=mwld AR_FLAGS='-xml -o' for PPC Beos.
723 * ltconfig (old_AR_FLAGS): Add.
724 (old_archive_cmds): Use AR_FLAGS rather than hardcoding "cru".
725 (archive_cmds): Use AR_FLAGS rather than hardcoding "cru".
726 (AR_FLAGS): Default to "cru" if not set.
728 2000-05-29 Gary V. Vaughan <gary@gnu.org>
730 * ltconfig.in (echo): The following code actually prints the
731 double quotes -- so I removed them:
732 echo='printf "%s\n"' /bin/ksh -c '$echo \\t'
733 From Tuukka Toivonen <tutoivon@mail.student.oulu.fi>
737 2000-05-29 Bernhard Rosenkraenzer <bero@redhat.de>
739 * libtool.m4: adding ia64 as supported linux platform
741 2000-05-29 Michael Matz <matz@ifh.de>
743 * ltmain.in: fix quoting for $var_value.
745 * ltconfig.in: check for dlfcn.h: include return value
746 to make -Wall in CFLAGS work.
748 2000-05-27 Gary V. Vaughan <gary@gnu.org>
750 * README-alpha: note new location of config.(guess|sub).
752 2000-05-27 Chad Cunningham <ccunning@math.ohio-state.edu>
754 * ltconfig.in (rhapsody*): New Port.
755 * ltmain.in (rhapsody*): ditto.
757 2000-05-27 Chris Lattner <sabre@skylab.org>
759 * ltconfig.in (*-sequent-sysv4): New Port.
761 2000-05-17 Gary V. Vaughan <gary@gnu.org>
763 * ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path
766 2000-05-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
768 * libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
769 Pick LIBLTLD from top_builddir and INCLTDL from top_srcdir.
770 * mdemo/configure.in: Remove comments on
771 AC_LIBLTLD_CONVENIENCE.
773 * libtool.m4 (_AC_PROG_LIBTOOL): Renamed from...
774 (AC_PROG_LIBTOOL): Just AC_REQUIRE(_AC_PROG_LIBTOOL), to avoid
775 effects of multiple runs.
777 2000-05-11 Thomas Tanner <tanner@ffii.org>
780 * doc/libtool.texi (libltdl): rename lt_(find|next|add|remove)_dlloader
782 * libltdl/ltdl.c: ditto
783 * libltdl/ltdl.h: ditto, add declaration of lt_dlloader_(find|remove)
785 2000-05-06 Pavel Roskin <pavel_roskin@geocities.com>
787 * libltdl/ltdl.c: Typo.
789 * libtool.m4 (AC_LIBTOOL_SETUP): CVS autoconf no longer sets
790 target to "NONE", but to an empty string.
792 2000-05-05 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
794 * ltdl.c: support lt_dlopen(0) for win32
796 2000-05-03 Thomas Tanner <tanner@ffii.org>
798 * doc/libtool.texi (libltdl): fix typos,
799 INCLTDL starts with top_srcdir, replace NULL with @code{NULL}
801 * ltmain.in (ILD): search in newlib_search_path, too
803 * ltmain.in (ILD): fix bugs in conv pass, expand convenience
804 libs to deplibs and link them later on
806 * ltmain.in (ILD): don't allow convenience libs to be
809 * ltmain.in (ILD): it's not required to link all deplibs
812 * ltmain.in (ILD): if hardcode_into_libs=all, only relink
813 a library if it is linked against uninstalled libtool libraries,
814 rename link_against_libtool_libs to uninst_deplibs
816 * ltmain.in (ILD): tidy up, add some comments
818 2000-05-03 John Wehle (john@feith.com)
820 * libtool.m4 (hpux10.20*): use file_magic for
821 inter-library dependency tracking.
823 2000-05-02 Gary V. Vaughan <gary@gnu.org>
825 * AUTHORS: Update my email address.
828 2000-04-11 Thomas Tanner <tanner@ffii.org>
831 * libtool.m4: add AC_LIBTOOL_PICMODE
832 * ltconfig.in: move pic_mode checks to ltmain.in
833 * ltmain.in: add -prefer-pic and -prefer-non-pic
835 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
837 * ltmain.in (tmpdir): Do not accept an existing directory, and
838 force its mode to 700, for security reasons.
839 Reported by Joseph S. Myers <jsm28@cam.ac.uk>
841 2000-03-27 Thomas Tanner <tanner@ffii.org>
845 * ltmain.in (ILD): add extra convenience library scanning pass
847 * ltmain.in (ILD): accept -R flags for libraries, too
849 * ltmain.in (ILD): correclty merge the dlpreopened libraries
852 * ltmain.in (install mode): remove directories from filenames
853 before relinking (reported by Elrond <Elrond@Wunder-Nett.org>)
855 * doc/libtool.texi (libltdl): rename Library -> Lesser,
856 clarify exception clause
857 * libltdl/ltdl.c, libltdl.h (License): ditto
859 2000-03-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
861 * ltconfig.in (variables_saved_for_relink): Set to `PATH
862 $shlibpath_var $runpath_var'. If with_gcc, add gcc-related
863 environment variables. Add it to the configuration section.
864 * ltmain.in (relink_command): Expand those variables.
866 2000-03-14 Christopher A. Knight <chriskn@crt.com>
868 * ltconfig.in: added main() definition in compile
869 check for header `dlfcn.h' to fix link errors
870 when built with Sun Workshop Pro CC 4.2 (and perhaps
873 2000-02-03 Gary V. Vaughan <gary@gnu.org>
875 * libltdl/ltdl.c (lt_find_dlhandle): Deleted. This was B.S.
876 far cleaner to use lt_dlforeach and lt_dlgetinfo.
877 * libltdl/ltdl.h: Prototype deleted.
878 * doc/libtool.texi: Documentation deleted.
879 * NEWS: annoncement deleted.
881 2000-02-23 Thomas Tanner <tanner@ffii.org>
883 * ltmain.in: remove duplicates from deplibs, handle
884 interdependent libraries (e.g. -la -lb -la),
885 this requires adding deplibs in reverse order
887 * ltmain.in: link dlpreopened libraries before other libraries
888 (reported by Pavel Roskin)
889 * mdemo/Makefile.am: build and link libsub.la
890 * mdemo/sub.c: new file used by both dlopened modules
891 * mdemo/foo*: use sub() defined in libsub
892 * tests/dryrun.test: build libsub.la
894 * mdemo/Makefile.am: always link mdemo.static with -static
895 * mdemo/configure.in: ditto
897 * ltmain.in: fix dlopen/dlpreopening of objects
899 * ltmain.in (ILD): fix misplaced `continue' in -R* argument handler
901 * ltmain.in: merge duplicated code of clean and uninstall mode
903 * libtool.m4: recognize powerpc*linux* (reported by
904 Dirk A. Mueller <dmuell@gmx.net>)
906 2000-02-23 Gary V. Vaughan <gary@gnu.org>
908 * ltconfig.in (old_MAGIC, old_STRIP, old_reload_flag,
909 old_deplibs_check_method, old_file_magic_cmd): New variabes.
910 Treat these as old_CC etc.
911 (STRIP, MAGIC): Create and set these variables in the generated
913 Reported by Pavel Roskin <pavel_rosin@geocities.com>
915 * configure.in: Due to a bug in autoconf-2.13 implementation of
916 AC_SUBST, `AC_SUBST(FILE)' can never work. Use MAGIC as the
917 holder of the command to run in file_magic_cmd instead.
918 * ltconfig.in: s/FILE/MAGIC/g.
919 * libtool.m4 (AC_PROG_LIBTOOL): set MAGIC in the environment when
921 (AC_PATH_MAGIC): renamed from AC_PATH_FILE.
922 (AC_PATH_TOOL_PREFIX): s/FILE/MAGIC/g. Also set file_magic_cmd
923 to '${MAGIC}' so that make can grok it.
924 * Makefile.am (libtool):
927 2000-02-21 Gary V. Vaughan <gary@gnu.org>
929 * libltdl/ltdl.c (lt_find_dlhandle): New function.
930 (tryall_dlopen): Use it.
931 * libltdl/ltdl.h: Prototype it.
932 * doc/libtool.texi: Document it.
935 * libltdl/ltdl.c (lt_dlinit): removed unused variable, `loader'.
937 * libltdl/ltdl.c (lt_remove_dlloader): typo, s/=/==/g.
939 2000-02-03 Gary V. Vaughan <gary@gnu.org>
941 * libltdl/ltdl.h (lt_dlloader_data_t): New type for loader
943 (lt_user_dlloader): New lt_dlloader_data_t field.
944 (lt_module_open_t): Add lt_dlloader_data_t parameter.
945 (lt_module_close_t): Add lt_dlloader_data_t parameter.
946 (lt_find_sym_t): Add lt_dlloader_data_t parameter.
947 (lt_dlloader_exit_t): Add lt_dlloader_data_t parameter.
948 * libltdl/ltdl.c: A sprinkling of /*ARGSUSED*/ markers to
949 reassure lint that the unused arguments are intentional.
950 (lt_dlloader_t): New lt_dlloader_data_t field.
951 (lt_dlloader_data): New function to return the contents of the
953 (sys_dl_open): Take an additional lt_dlloader_data_t argument.
954 (sys_dl_close): Ditto.
956 (sys_dl): Initialise lt_dlloader_data_t field.
957 (sys_shl_open, sys_shl_close, sys_shl_sym, sys_shl): As above.
958 (sys_wll_open, sys_wll_close, sys_wll_sym, sys_wll): As above.
959 (sys_bedl_open, sys_bedl_close, sys_bedl_sym, sys_bedl): As
961 (sys_dld_open, sys_dld_close, sys_dld_sym, sys_dld): As above.
962 (presym_init, presym_exit, presym_open, presym_close, presym_sym,
964 (lt_dlinit): Call presym_init with additional argument.
965 (lt_dlexit): Call dlloader_exit method with additional argument.
966 (tryall_dlopen): Call module_open method with additional argument.
967 (lt_dlclose): Call module_close method with additional argument.
968 (lt_dlsym): Call find_sym method with additional argument.
969 (lt_add_dlloader): Initialise dlloader_data field.
970 (lt_remove_dlloader): Call dlloader_exit method with additional
973 * libltdl/ltdl.c (find_file): Prevent early release of memory
975 From Jon Leichter <jon@symas.com>
977 (sys_wll_init): Deleted. No longer required. And this time,
979 (sys_wll_exit): Ditto.
981 2000-02-02 Gary V. Vaughan <gary@gnu.org>
984 * doc/libtool.texi (Libltdl interface): Moved user defined module
985 loader documentation from here...
986 (Module loaders for libltdl) ...to here, and updated the text and
988 * ltdl.m4 (AC_CHECK_FUNCS): check strcmp for lt_find_dlloader.
989 * libltdl/ltdl.h: Reformatted and commented for readability.
990 (struct lt_user_dlloader): New data type for passing
991 initialisation pointers to lt_add_dlloader.
992 (LTDL_ERROR_INVALID_LOADER): New error message when non loader
993 handles are passed to the user loader API.
994 (LTDL_ERROR_INIT_LOADER): New error when loader initialisation
996 (LTDL_ERROR_REMOVE_LOADER): New error when loader removal fails.
997 (lt_module_open_t): renamed from lt_lib_open_t.
998 (lt_module_close_t): renamed from lt_lib_close_t.
999 (lt_dlloader_exit_t): renamed from lt_dlloader_exit_t.
1000 * libltdl/ltdl.c: Reordered builtin loaders so that the "dld"
1001 loader no longer occurs before "dlopen" on some platforms and
1003 (lt_dlloader_t): Moved here from ltdl.h, added a field,
1004 "loader_name", for identifying the loader, and renamed from
1005 lt_dltype_t. Renamed type variables to loader IFF of type
1007 (lt_module_t): Renamed from lt_syshandle. Renamed handle variables
1008 to module IFF of type lt_module_t.
1009 (LTDL_TYPE_TOP): Deleted. No longer required.
1010 (sys_dl): Initialised as a struct lt_user_dlloader.
1011 (sys_dl_init): Deleted. No longer required.
1012 (sys_dl_exit): Ditto.
1013 (sys_shl): Initialised as a struct lt_user_dlloader.
1014 (sys_shl_init): Deleted. No longer required.
1015 (sys_shl_exit): Ditto.
1016 (sys_wll): Initialised as a struct lt_user_dlloader.
1017 (sys_wll_init): Deleted. No longer required.
1018 (sys_wll_exit): Ditto.
1019 (sys_bedl): Initialised as a struct lt_user_dlloader.
1020 (sys_bedl_init): Deleted. No longer required.
1021 (sys_bedl_exit): Ditto.
1022 (sys_dld): Initialised as a struct lt_user_dlloader.
1023 (sys_dld_init): Deleted. No longer required.
1024 (sys_dld_exit): Ditto.
1025 (sys_presym): Initialised as a struct lt_user_dlloader.
1026 (lt_mod_init_t): Moved to here from ltdl.h.
1027 (lt_dlinit): Add builtin loaders using the user loader API.
1028 (lt_dlexit): Unregister and free all loaders.
1029 (lt_add_dlloader): New function to add a new module loader after the
1030 loader specified in the argument.
1031 (lt_remove_dlloader): New function to remove a module loader.
1032 (lt_next_dlloader): New function for iterating over module loaders.
1033 (lt_dlloader_name): Accessor function for name of dlloader.
1034 (lt_find_dlloader): New function to get a reference to a registered
1036 (strcmp): static implementation incase the host has none.
1037 (lt_dlgettypes, lt_dlsettypes): Removed.
1039 2000-02-02 Thomas Tanner <tanner@ffii.org>
1041 * libltdl/ltdl.c: replace NULL with 0, remove unused system
1042 and app_private pointers from lt_dlhandle_t
1043 * libltdl/ltdl.c (presym_add_list): new preloaded symbols
1044 don't need to be added to the end
1046 * libltdl/ltdl.c (lt_dlgetdata, lt_dlsetdata): removed
1047 * libltdl/ltdl.h: ditto
1048 * doc/libtool.texi (libltdl interface): ditto
1050 2000-02-01 Thomas Tanner <tanner@ffii.org>
1052 * ltmain.in: support -dlopen/dlpreopen for libraries
1055 * ltmain.in: rename dlopen to dlopen_support
1056 * ltconfig.in: ditto
1057 * doc/libtool.texi: ditto
1059 * ltmain.in: check whether libraries are moved out of $libdir,
1060 replace .a and .lib with .$libext, .o and .obj with .$objext
1062 2000-01-31 Gary V. Vaughan <gary@gnu.org>
1064 * libltdl/ltdl.h (lt_dlrealloc): removed declaration.
1065 * libltdl/ltdl.c (lt_dlrealloc): removed definition.
1066 (lt_dladderror): Instead of calling lt_dlrealloc, use lt_dlmalloc,
1069 2000-01-30 Ossama Othman <ossama@debian.org>
1071 * libtool.m4 (lt_cv_cc_needs_belf): Set the test language to C
1072 prior to executing the test that checks if the C compiler needs
1074 Reported by Chris Butler <chrisb@sandy.force9.co.uk>
1076 2000-01-28 Gary V. Vaughan <gary@gnu.org>
1078 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use changequote to
1079 protect `[' and `]' in deplibs_check_method.
1081 * libltdl/ltdl.h (lt_dlrealloc): Added declaration.
1082 * libltdl/ltdl.c (lt_dlrealloc): Added default definition.
1084 * libltdl/ltdl.c (lt_dlseterror): Catch errorcodes below 0 as
1086 * libltdl/ltdl.h (LTDL_ERROR): Added missing '_' in K&R
1089 * libltdl/ltdl.h (ltdl_error_table): Added missing error code, and
1090 fixed typo in another code.
1091 * doc/libtool.texi (Libltdl interface): Added missing @end
1094 2000-01-27 Thomas Tanner <tanner@ffii.org>
1096 * ltconfig.in: Oops, replace the remaining $objdir's
1098 * ltmain.in: merge library linking code of programs and libraries,
1101 2000-01-27 Gary V. Vaughan <gary@gnu.org>
1104 * doc/libtool.texi (Libltdl interface): Document new entry
1106 * libltdl/ltdl.c (lt_dladderror): New function to add a user
1107 defined error message to the tables used by lt_dlerror().
1108 (lt_dlseterror): New function to allow setting of last_error by
1110 (ltdl_error_strings): New preprocessor generated table of internal
1111 error diagnostic strings.
1112 (user_error_strings): New internal list of registered user error
1114 (throughout!): Use error messages from ltdl_error_strings.
1115 * libltdl/ltdl.h (ltdl_error_table): New macro to tabulate
1116 internal diagnostic error strings alongside enum keys.
1119 * doc/libtool.texi (Libltdl interface): Document new entry
1121 * libltdl/ltdl.c (lt_dltype_t): Use new type definitions for
1123 (lt_dladdtype): New function to add a new ltdl dynamic loader
1124 type to the end of the list of valid types..
1125 (lt_dlgettypes): New function to return the complete list of ltdl
1126 dynamic loader types.
1127 (lt_dlsettypes): New function to replace the list of ltdl dynamic
1128 loader types entirely -- e.g. to prepend a new type to the
1130 (sys_dl_open, sys_dl_close, sys_dl_sym): Work with lt_syshandle.
1131 (sys_shl_open, sys_shl_close, sys_shl_sym): ditto.
1132 (sys_dld_open, sys_dld_close, sys_dld_sym): ditto.
1133 (sys_wll_open, sys_wll_close, sys_wll_sym): ditto.
1134 (sys_bedl_open, sys_bedl_close, sys_bedl_sym): ditto.
1135 (presym_open, presym_close, presym_sym): ditto.
1136 (tryall_dlopen): Call lt_lib_open_t functions lt_syshandle
1138 (lt_dlclose): Call lt_lib_close_t functions lt_syshandle
1140 (lt_dlsym): Call lt_find_sym_t functions lt_syshandle compatibly.
1141 (lt_dltype_t): moved type declaration from here...
1142 * libltdl/ltdl.h (lt_dltype_t): ...to here.
1143 (lt_syshandle): new type for low level system handles passed by
1145 (lt_mod_init_t): New type for functions implementing the
1146 initialisation for an ltdl dynamic loader.
1147 (lt_mod_exit_t): Type of exit functions for the same.
1148 (lt_lib_open_t): Type of loader functions for the same.
1149 (lt_lib_close_t): Type of unloader functions for the same.
1150 (lt_find_sym_t): Type of symbol resolver functions for the same.
1152 * libltdl/ltdl.c (sys_dl_init, sys_dl_exit, sys_dl_open,
1153 sys_dl_close, sys_dl_sym): Preprocess these away on cygwin to
1154 avoid spurious error messages.
1156 2000-01-24 Thomas Tanner <tanner@ffii.org>
1158 fix severe bugs reported by Elrond <Elrond@Wunder-Nett.org>
1160 * ltconfig.in: replace $objdir with $output_objdir
1162 * ltmain.in: change to the builddir before relinking programs
1164 * ltmain.in, ltconfig.in, libtool.m4, ltdl.m4:
1165 remove unnessary spaces from line endings
1167 2000-01-19 Thomas Tanner <tanner@ffii.org>
1169 * ltmain.in: rewrite of the ILD code, merge linking code for
1170 programs, libraries and objects, allow linking of shared libraries
1171 against static libraries/objects on platforms that support it
1172 but print a warning, fix some typos
1174 * partially revert my previous change and
1175 update only copyright notices of files that were actually modified
1179 * libltdl/Makefile.am: version number was wrong
1181 * libltdl/ltdl.c (tryall_dlopen): revert Gary's change
1182 since it breaks dlpreopening
1185 * libltdl/ltdl.c (sys_search_path): search in the system default
1186 library search path, too
1187 * ltdl.m4 (AC_LTDL_SYSSEARCHPATH): extract the path
1189 * libltdl/ltdl.c (find_module): remove bogus file_not_found_error
1191 * libltdl/ltdl.c (load_deplibs): implement loading of dependency
1193 * libltdl/ltdl.c (unload_deplibs): implement unloading of dependency
1195 * libltdl/ltdl.c (lt_dlexit): correctly close all modules and
1198 * libltdl/ltdl.c (lt_dlforeach): new function
1199 * libltdl/ltdl.h: ditto
1200 * doc/libtool.texi (using libltdl): document it
1202 * libtool.m4: reformatting, only add -I$topsrc_dir/libltdl to
1205 * libtoolize.in: reformatting
1206 * ltconfig.in: reformatting
1207 * ltmain.in: reformatting
1209 * mdemo/configure.in: AC_SUBST INCLTDL
1210 * mdemo/Makefile.am: use INCLTDL
1212 * tests/Makefile.am: reexport OBJEXT and EXEEXT
1213 * tests/dryrun.test: use them for building main.obj and mdemo.exe
1215 2000-01-17 Gary V. Vaughan <gary@gnu.org>
1217 * libltdl/ltdl.c (tryall_dlopen): Abort with
1218 file_not_found_error before trying all lib_open() methods
1219 if the file to be dlopened doesn't exist.
1220 * ltdl.m4 (AC_HAVE_HEADERS): add unistd.h.
1222 2000-01-16 Gary V. Vaughan <gary@gnu.org>
1224 * libltdl/ltdl.c (find_file): memory error fixed.
1226 2000-01-14 Gary V. Vaughan <gary@gnu.org>
1228 * ltconfig.in (Usage): Now it matches the code!
1229 Reported by Jon Leichter <jon@symas.com>
1231 * README: Some notes about libtool release numbers.
1233 * mdemo/README: Explain the deliberate incompleteness of the
1235 * mdemo/configure.in: Use AC_LIBTOOL_WIN32_DLL.
1236 * mdemo/Makefile.am (LDFLAGS): Add -no-undefined.
1238 * libltdl/ltdl.h (LTDL_STMT_START, LTDL_STMT_END): Macros for
1239 wrapping other macros to make a portable compound statement from
1240 multiple C statements in the expansion.
1241 (LTDL_SET_PRELOADED_SYMBOLS): Use the above macros to add an
1242 extern declaration for lt_preloaded_symbols, to remove
1243 dependency on undefined symbol from libltdl.dll on cygwin (and
1244 other -no-undefined architectures).
1245 * libltdl/ltdl.c (lt_preloaded_symbols): No longer defined here.
1247 * libtool,m4 (AC_LIBTOOL_SETUP): The result of lt_cv_need_dllmain
1248 was set to the opposite of what it should be.
1249 * configure.in (AC_LIBTOOL_WIN32_DLL): Call to this macro is
1250 required for libtool configury to test lt_cv_need_dllmain on
1253 * ltconfig.in (opt_cr, mingw*): replace unescaped ? with correctly
1254 escaped and portable \{0,1\} in sed expression.
1255 From Jon Leichter <jon@symas.com>
1257 2000-01-13 Gary V. Vaughan <gary@gnu.org>
1259 * libtool.m4 (AC_LIBLTDL_CONVENIENCE): Add -I${top_srcdir}/libltdl
1260 to default INCLTDL for VPATH.
1261 (AC_LIBLTDL_INSTALLABLE): ditto.
1262 Reported by Tom Tromey <tromey@cygnus.com>
1264 2000-01-12 Thomas Tanner <tanner@ffii.org>
1266 * update all copyright notices to 2000
1268 * doc/libtool.texi (using libltdl): document new lt_dlinfo struct,
1269 replace NULL with @code{NULL}, document lt_dlsetdata(),
1270 lt_dlgetdata() and lt_dlgetinfo()
1271 * libltdl/Makefile.am: increment interface version number
1272 * libltdl/configure.in: set version number to 1.1
1273 * libltdl/ltdl.c: make some variables public by moving them
1274 to the info struct, add support for application specific data
1275 within module handles, new lt_dlsetdata(), lt_dlgetdata() and
1276 lt_dlgetinfo() functions,
1277 fix memory leaks, minor cleanups
1278 * libltdl/ltdl.h: ditto
1279 * mdemo/main.c: demonstrate use of lt_dlgetinfo,
1280 improved handling of errors
1282 * ltconfig.in: set hardcode_into_libs = yes for GNU/Hurd, Linux
1283 and Solaris, only hardcode *all* run-paths if hardcode_into_libs
1284 is set to 'all', otherwise hardcode only user-specified rpaths
1286 * ltmain.in: minor cleanups, we don't need to add user-specified
1287 rpaths to compile_rpath, finalize_rpath is sufficient
1289 * ltconfig.in: transform linux* -> *linux-gnu* _after_ host_os has
1290 been set! (reported by Bruno Haible <haible@ilog.fr>)
1292 * configure.in: AC_SUBST reload_flag, deplibs_check_method
1295 * README: use 'libtool --version' instead of 'ltconfig --version'
1296 (suggested by Francios Pinard <pinard@iro.umontreal.ca>
1298 2000-01-10 Gary V. Vaughan <gary@gnu.org>
1300 * libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Leave undefined when
1301 not compiling for a Windows target.
1302 * libltdl/ltdl.c (canonicalize_path): New function to
1303 ensure internal paths use '/' directory separators.
1304 (find_file): use canonicalize_path. Memory management
1307 (free_vars): Removed `dir' and `name', which are now handled
1310 * libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Define to '/' or '\\',
1311 as suitable for the target host.
1312 (LTDL_PATHSEP_CHAR): Similarly with ':' or ';'.
1313 * libltdl/ltdl.c: Use LTDL_DIRSEP_CHAR and LTDL_PATHSEP_CHAR
1314 instead of hardcoding throughout.
1315 Reported by Jon Leichter <jon@symas.com>
1317 Continued in ChangeLog.1999