1 2001-12-06 Jens Petersen <petersen@redhat.com>
3 * ltmain.in: Replace all test "-a"s by "&& test"
6 2001-11-28 Robert Boehne <rboehne@ricardo-us.com>
8 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the
9 factor of saftey as 3/4 of the result was not low enough.
11 2001-11-28 Gary V. Vaughan <gary@gnu.org>
13 * libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined
14 in aclocal.m4 had bitrotted slightly.
15 Reported by Takahiko Kawasaki <Takahiko_Kawasaki@cii.csk.co.jp>
17 2001-11-27 Donald D. Anderson <dda@sleepycat.com>
19 * ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should
20 not be explicitly used. ld handles this depending on the presence
21 of the -pthread option.
23 2001-11-27 Robert Boehne <rboehne@ricardo-us.com>
25 With help from Michael Matz <matz@kde.org>:
26 * ltmain.in: Add a new command line argument
27 --preserve-dup-deps for preserving duplicate
29 * libtool.texi: Document it.
31 2001-11-27 Kevin Ryde <user42@zip.com.au>
33 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Send "test"
34 warnings to /dev/null, helps FreeBSD and maybe others.
36 2001-11-15 Albert Chin-A-Young <china@thewrittenword.com>
38 * libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC
39 macro might add to $CC if options needed by compiler to
42 2001-11-15 Gary V. Vaughan <gary@gnu.org>
44 From Joseph S. Myers <jsm28@cam.ac.uk>:
47 2001-11-15 Mo DeJong <supermo@bayarea.net>
49 * ltmain.in: Place parens around a generated relink_command
50 so it is run is a subshell. This avoids an install error
51 where libtool ended up in the wrong directory after
54 2001-10-31 Raja R Harinath <harinath@cs.umn.edu>
56 * configure.ac (pkgdatadir): Move the invocation of AC_INIT_AUTOMAKE
57 before the use of $PACKAGE in $pkgdatadir.
58 Reported by Bob Friesenhahn <bfreisen@simple.dallas.tx.us>
60 2001-10-28 Gary V. Vaughan <gary@gnu.org>
62 From Tom Bates <Tom.Bates@compaq.com>:
63 * libtool.m4 [mips-compaq-nonstopux]: New port.
64 * ltmain.in [mips-compaq-nonstopux]: Support
65 $version_type == nonstopux.
67 2001-10-28 Albert Chin-A-Young <china@thewrittenword.com>
69 * libltdl/ltdl.c (foreach_dirinpath): change some types to size_t
70 from int because strlen() returns size_t. argz_len changed to
71 size_t because argzize_path() takes 3rd argument as size_t, not
73 Based on lint run from Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
75 2001-10-27 Gary V. Vaughan <gary@gnu.org>
77 * libtool.m4 (_LT_AC_TAGCONFIG): Cray sed does not allow character
78 sets to contain the separator character.
79 Reported by Kevin Ryde <user42@zip.com.au>
81 * ltdl.m4 (AC_WITH_LTDL): New macro to add `--with-included-ltdl'
82 option to configure, but to find an appropriate ltdl library and
83 append the right options to link it.
85 2001-10-24 Kevin Ryde <user42@zip.com.au>
87 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Remove a stray ' quote.
89 2001-10-24 H.J. Lu <hjl@gnu.org>
91 * ltmain.sh: Allow link against an archive when building a
93 * libtool.m4 (lt_cv_deplibs_check_method): Always use
94 file_magic for Linux ELF.
96 2001-10-12 Guido Draheim <guidod-2001q3@gmx.de>
98 * ltdl.m4: Changed "underscode to underscore".
100 2001-10-06 Gary V. Vaughan <gary@gnu.org>
102 * configure.ac: General modernisation and cleanup.
103 * cdemo/configure.ac: Ditto.
104 * demo/configure.ac: Ditto.
105 * depdemo/configrue.ac: Ditto.
106 * ltdl/configure.ac: Ditto.
107 * ltdldemo/configure.ac: Ditto.
108 * mdemo/configure.ac: Ditto.
109 * pdemo/configure.ac: Ditto.
110 * tagdemo/configure.ac: Ditto.
112 2001-10-04 Albert Chin-A-Young <china@thewrittenword.com>
114 * libltdl/ltdl.c: Match function return type with prototype
115 (add static initializer to file_not_found).
117 2001-09-30 Gary V. Vaughan <gary@gnu.org>
119 * libtool.m4 (AC_LIBLTDL_CONVENIENCE): s/INCLTDL/LTDLINCL/ for
120 consistency with gettext's INTLINCL. Keep the old symbol too for
121 backwards compatibility.
122 (AC_LIBLTDL_INSTALLABLE): Ditto.
123 * doc/libtool.texi (Distributing libltdl): Adjust documentation.
125 2001-09-22 Albert Chin-A-Young <china@thewrittenword.com>
127 * ltdl.m4 (AC_LTDL_DLLIB): Even though HP-UX 10.20 and 11.00
128 support shl_load *and* dlopen, dlopen works correctly only
129 with a patch. Because we want to avoid the situation where we
130 build on a system with the patch but deploy on a system without,
131 use shl_load exclusively if found.
133 2001-09-22 Gary V. Vaughan <gary@gnu.org>
135 * libtool.m4 (_LT_AC_FILE_LTDLL_C): Be carefule that the start
136 marker searched for by sed must start in column 0.
137 (_LT_AC_FILE_IMPGEN_C): Ditto.
138 Reported by Tor Lillqvist <tml@iki.fi>
140 2001-09-22 Tor Lillqvist <tml@iki.fi>
142 * libtool.m4 [mingw* cygwin*]: Small improvement for mingw-hosted
143 tool support (while still running libtool on cygwin). In that case
144 PATH_SEPARATOR is ':', but gcc -print-search-dirs still prints its
145 search path with ';' as separator.
146 (AC_LIBTOOL_RC, AC_LIBTOOL_LANG_RC_CONFIG): Add support for .rc
147 files (Windows resource files), compiled by the resource compiler
148 (windres in mingw) to .o files.
149 (AC_PROG_NM): Minor bug fix for $PATH elements with spaces in
151 * configure.ac: Use LT_AC_PROG_RC.
152 * ltmain.in: Check for .rc files.
155 * ltmain.in: Add a space to $base_compile in the case statement,
156 as the case labels checks for trailing spaces, but there aren't
157 necessarily in $base_compile.
159 2001-09-22 Albert Chin-A-Young <china@thewrittenword.com>
161 * libtool.m4: When setting archive_cmds for CC, don't
162 test for $GXX but for $GCC on HP-UX. Indentation fixes.
164 2001-09-21 Gary V. Vaughan <gary@gnu.org>
166 From Tor Lillqvist <tml@iki.fi>:
167 * ltmain.in [cygwin* mingw*]: Take care of the difference between
168 wrapper script name and executable name.
170 * libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6
171 for /bin/sh, and that shell does not handle escaped quotes
173 Reported by Christopher Pfisterer <cp@chrisp.de>
175 2001-09-21 Albert Chin-A-Young <china@thewrittenword.com>
177 * libltdl/ltdl.c: Match function return type with prototype
178 (add static initializer to some functions) to prevent warnings
181 2001-09-21 Gary V. Vaughan <gary@gnu.org>
183 * libltdl/ltdl.c: Added support for dmalloc, and uncovered some
184 memory bugs as a result.
186 2001-09-21 Albert Chin <china@thewrittenword.com>
188 * libtool.m4: Don't include main() when testing for command to
189 parse $NM output because some C++ compilers don't allow you to
190 take the address of main (e.g. HP-UX aCC).
192 * libtool.m4: Some uses of $GXX were unquoted, but GXX is either
193 NULL or yes. Use "$GXX".
195 2001-09-13 Assar Westerlund <assar@sics.se>
197 * ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test
198 does not fail due to a prototype in dlfcn.h
200 2001-09-13 Gary V. Vaughan <gary@gnu.org>
202 * ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h.
203 * libltdl/ltdl.c: If not, disable assertions manually.
205 2001-09-11 Gary V. Vaughan <gary@gnu.org>
207 * bootstrap: Be robust to having no files that need removing.
209 * libltdl/configure.ac (AM_INIT_AUTOMAKE): Bump libltdl version to
211 * libltdl/Makefile.am (libltdl_la_LDFLAGS): Bump libtool library
212 version info to 4:0:1.
214 2001-09-11 Gary V. Vaughan <gary@gnu.org>
216 * libtool.m4: No need to undefine([symbols]), proper quotation is
219 2001-09-10 Gary V. Vaughan <gary@gnu.org>
221 * libtool.m4: CVS Autoconf guarantees a decent default IFS, so
222 there is no need for us to preset it anymore.
223 Be careful not to set IFS="${IFS}$PATH_SEPARATOR" for PATH
224 splitting, otherwise spaces in directory names will be lost.
225 Use $PATH_SEPARATOR... don't rely on $ac_path_separator, which was
226 an autoconf internal until just now, when it disappeared!
227 * ltmain.in: Default IFS once, at the start.
228 Reported by Akim Demaille <akim@epita.fr>
230 2001-09-10 Brad <brad@comstyle.com>
232 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Missed an instance of
233 Autoconf square bracket quoting style normalisation.
235 * ltmain.in (-lc_r): Style improvement.
237 * doc/libtool.texi: Remove obsolete references to ltconfig.
238 * tests/quote.test: s/ltconfig/\$0/
240 2001-09-09 Gary V. Vaughan <gary@gnu.org>
242 * libtool.m4: Use Autoconf square bracket quoting style
243 consistently throughout.
245 2001-09-08 Gary V. Vaughan <gary@gnu.org>
247 * bootstrap: Cleanup `autom4te' and `libtool' so that we don't
248 get caught by something from a previous build.
250 * libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Revert
252 (no_undefined_flag)i [solaris*]: Revert Alexandre's 2001-04-11 patch.
254 2001-09-07 Gary V. Vaughan <gary@gnu.org>
256 * libltdl/ltdl.c (foreach_dirinpath): argz_len should be a size_t.
257 Reported by Albert Chin <china@thewrittenword.com>
259 2001-09-06 Gary V. Vaughan <gary@gnu.org>
261 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris*]: Typo. s/GXX/GCC/.
263 * libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Changing
264 no_undefined_flag from `-z text' to `-z defs' (see entry below at
265 2001-04-11 Alexandre Oliva <aoliva@redhat.com>) has a problem.
266 when linking a shared library with gcc calling /usr/ccs/bin/ld (eg.
267 the gcc supplied with Solaris 8 companion CD), using the flag
268 -no-undefined, shared library linking will always fail because of
269 the unresolved symbols from libgcc.a. Consequently we have to
270 provide a path to libgcc.a when linking shared libraries in
271 conjunction with -no-undefined!
273 From Michael Pruett <mpruett@engr.sgi.com>:
274 * libltdl/ltdl.c (find_module): `0' valued arguments to
275 tryall_dlopen_module() must be explicitly cast to avoid compiler
276 warnings on some environments.
278 From Daniel Johnson <danielj7@mac.com>:
279 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [darwin*]: Move from GNU
280 ld section to non-GNU ld section.
282 2001-09-05 Robert Boehne <rboehne@ricardo-us.com>
284 * pdemo/Makefile.am (helldl): Automake 1.4 can't find the target
285 if we use helldl$(EXEEXT), and Automake 1.5 barfs unless we do.
286 Using both targets to the left of the colon seems to work though!
288 2001-09-03 Gary V. Vaughan <gary@gnu.org>
290 * demo/Makefile.am (helldl): Automake 1.4 can't find the target
291 if we use helldl$(EXEEXT), and Automake 1.5 barfs unless we do.
292 Using both targets to the left of the colon seems to work though!
294 2001-09-03 Brad <brad@comstyle.com>
296 * ltdl.m4 [AC_LTDL_SYS_DLOPEN_DEPLIBS]: Teach ltdl about the
297 behavior of OpenBSD's dlopen().
299 2001-09-03 Gary V. Vaughan <gary@gnu.org>
301 From Marius Vollmer <mvo@zagadka.ping.de>:
302 * libltdl/ltdl.c (tryall_dlopen_module): Don't forget to propogate
303 errors over recurse levels.
305 2001-09-03 Brad <brad@comstyle.com>
307 * libtool.m4 [openbsd*]: More improvements to the OpenBSD port.
309 2001-09-02 Gary V. Vaughan <gary@gnu.org>
311 From Albert Chin <china@thewrittenword.com>:
312 * libtool.m4 (_LT_AC_LANG_C_CONFIG) [aix4*]: Be careful with
313 shared namespaces for static and shared libs.
314 (AC_LIBTOOL_DLOPEN_SELF): If all else fails, try dld_link from GNU
317 2001-09-02 Christopher Pfisterer <cp@chrisp.de>
319 * libtool.m4, ltmain.in: Linker flag and version numbering fixes
322 2001-09-02 Gary V. Vaughan <gary@gnu.org>
324 Based on a patch from Marius Vollmer <mvo@zagadka.ping.de>:
326 * ltdl.m4 (AC_LIB_LTDL): Check for unistd.h.
327 * ltdl.c: Include unistd.h if it exists.
328 (LTDL_SEARCHPATH_VAR): Macro to prevent hardcoding
330 (LTDL_ARCHIVE_EXT): Macro to prevent hardcoding ".la".
331 (archive_ext): Have only one copy of ".la" in the readonly
332 segment of the compiled library.
333 (find_handle_callback): Don't bother trying to dlopen the file if
335 (find_handle): Don't bother searching for files if no search_path
337 (file_not_found): A new function to determine whether the last
338 error was due to a file not found condition.
339 (try_dlopen): Renamed from lt_dlopen() and changed to have the
340 same footprint as tryall_dlopen. This involved a minor rewrite of
341 much of the internals of this function.
342 (lt_dlopen): A new function wrapped arounf try_dlopen().
343 (lt_dlopenext): If a file already has a suitable extension, don't
344 bother adding additional extensions and trying to open those.
345 Tidy up the rest of the code to prevent continued searching with
346 an eventual FILE_NOT_FOUND when a genuine failure earlier in the
347 search process could be legitimately reported.
349 * demo/Makefile.am (helldl$(EXEEXT)): Automake-1.5 made me change
350 this from just `helldl'.
352 2001-07-31 Robert Boehne <rboehne@ricardo-us.com>
354 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) Fixed a problem
355 with export_symbols_cmds not being set for CXX tags, and
356 not being properly set for any tag under AIX/Power.
358 2001-08-19 Ossama Othman <ossama@uci.edu>
360 * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Corrected and improved
361 error message that is displayed when there was a problem
362 compiling the C++ test program. It still mentioned the now
363 non-existent `ltcf-cxx.sh' file.
365 * doc/libtool.texi (LTDL_SET_PRELOADED_SYMBOLS): Removed
366 parentheses at end of starting "defmac" line, as pointed out by
369 2001-08-18 Brad <brad@comstyle.com>
371 * ltmain.in: Do not remove -lm from deplibs for OpenBSD.
373 2001-08-16 Gary V. Vaughan <gary@gnu.org>
375 * libltdl/ltdl.c (argz_create_sep): Don't forget to include the
376 terminating '\0' when counting argz_len.
377 (argz_create_sep): When canonicalizing argz, don't forget to copy
378 the terminating '\0', incase canonicalization has shortened argz.
379 (argz_stringify): Don't covert the final '\0' to a separator.
381 2001-08-15 Gary V. Vaughan <gary@gnu.org>
383 * libltdl/ltdl.c (lt_dlhandle_next): Now we can loop through all
384 loaded module handles as originally intended.
386 * libltdl/ltdl.c (lt_dlseterror): Oops. This never worked
387 either, due to a pair of typos. Now fixed.
389 * libltdl/ltdl.c (N_ELEMENTS): Deleted. How come nobody noticed
390 there was no way this could have ever worked?
391 (lt_dlcaller_set_data): Now that valid caller_ids must be
392 non-zero, allocate an addition entry in the caller_data vector and
393 use a zero valued key as the end marker.
394 (lt_dlcaller_get_data): Iterate up to the end marker in one pass.
396 2001-08-14 Gary V. Vaughan <gary@gnu.org>
398 * libltdl/ltdl.c (lt_dlcaller_register): Caller ids are allocated
399 starting from value `1', so that clients can use a value of zero
400 to indicate that libltdl has not yet initialised.
402 * ltmain.in (exec_cmd): Fix quoting in execute mode so that the
403 double quotes added by libtool (to prevent lossage with embedded
404 spaces in filenames etc.) are not interpreted as literals by the
407 2001-08-13 Gary V. Vaughan <gary@gnu.org>
409 * libltdl/ltdl.c (find_file_callback): Fix a multiple free()
411 (tryall_dlopen_module): Remove some unused variables.
413 * libltdl/ltdl.c (lt_dlinsertsearchdir): Calculate the address
414 of the end of user_search_path correctly.
416 * libltdl/ltdl.c (rpl_argz_stringify): New fallback implementation.
417 * ltdl.m4 (AC_LTDL_FUNC_ARGZ): Test for argz_stringify in libc.
418 * libltdl/ltdl.c (lt_argz_insertinorder): Renamed from
419 lt_argz_insert to make room for...
420 (lt_argz_insert): Wraps argz_insert with libltdl error handling.
421 (lt_dlpath_insertdir): Insert new path elements into an
423 (lt_dlinsertsearchdir): New function to insert new search
424 directories anywhere into user_search_path using the above.
425 (lt_dladdsearchdir): Rewritten to use lt_dlpath_insertdir.
426 * libltdl/ltdl.h (lt_dlinsertsearchdir): Prototype for export.
427 * doc/libtool.texi (Libltdl interface): Document it.
430 2001-08-07 Gary V. Vaughan <gary@gnu.org>
432 From Albert Chin <china@thewrittenword.com>:
433 * ltmain.in [irix*]: $with_gcc is either "yes" or "" (empty string)
434 with current autoconf, so we need to be robust to that when testing
437 2001-08-06 Gary V. Vaughan <gary@gnu.org>
439 From Brad <brad@comstyle.com>:
440 * libtool.m4 (deplibs_check_method) [aix*]: Removed redundant setting
443 2001-08-05 Gary V. Vaughan <gary@gnu.org>
445 * libltdl/ltdl.c (load_deplibs): Insert missing 1st argument to
448 2001-08-05 Tim Van Holder <tim.van.holder@pandora.be>
450 * ltdl.m4: Canonicalize descriptive text used with
453 * libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Remove.
454 (_LT_AC_PROG_ECHO_BACKSLASH): Use $ac_path_separator
455 instead of $PATH_SEPARATOR.
456 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Ditto.
457 (_LT_AC_TAGCONFIG): Ditto.
458 (AC_ENABLE_SHARED): Ditto.
459 (AC_ENABLE_STATIC): Ditto.
460 (AC_ENABLE_FAST_INSTALL): Ditto.
461 (AC_PATH_TOOL_PREFIX): Ditto.
462 (AC_PATH_MAGIC): Ditto.
465 * ltdl.m4 (AC_LTDL_SYSSEARCHPATH): Ditto.
467 2001-08-05 Gary V. Vaughan <gary@gnu.org>
469 From Brad <brad@comstyle.com>:
470 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd]: OpenBSD
471 can build modules without a `lib' prefix and version number.
472 Move the deplibs check code from here...
473 (AC_DEPLIBS_CHECK_METHOD): ...to here.
475 2001-08-05 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
477 * libtool.m4 [osf3*, osf4*, osf5*]: Tru64 *can* build modules
478 without a `lib' prefix to the module name.
480 2001-08-05 Gary V. Vuaghan <gary@gnu.org>
482 From Guido Draheim <Guido.Draheim@tek.com>:
483 * ltmain.in: Display better and different error messages when
484 library linkage fails in various ways.
486 2001-08-05 Albert Chin-A-Young <china@thewrittenword.com>
488 * libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Add newline after
489 terminating '}' grouping character. Change '[0-9][0-9]'
490 to '0' as we've already matched it.
492 2001-08-05 Gary V. Vaughan <gary@gnu.org>
494 From Brad <brad@comstyle.com>:
495 * libtool.m4 (archive_cmds) [darwin, newsos, sysv4]: Replace
496 1.3 era $linkopts references with $linker_flags.
498 * libltdl/ltdl.c: Fixed several careless mistakes in the
499 foreach_dirinpath support functions.
500 (foreach_dirinpath): Walk path elements with the argz API.
502 2001-08-04 Gary V. Vaughan <gary@gnu.org>
504 From Sedi Master Albert Chin <china@thewrittenword.com>:
505 * libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Replace the awk invocation
506 with an equivalent bit of sed wizardry.
508 From Edouard G. Parmelan <egp@free.fr>
509 * libtool.m4 [darwin, openbsd]: Fix quoting problems with
510 unquoted [] expressions.
512 2001-08-03 Gary V. Vaughan <gary@gnu.org>
514 * bootstrap: s/ltdldemo // -- This demo soesn't work properly,
515 so I haven't committed it yet.
517 2001-08-01 Ossama Othman <ossama@doc.ece.uci.edu>
519 * libtool.m4 (AC_LIBTOOL_SETUP): Require Autoconf-2.50 via the
520 AC_PREREQ autoconf macro since the new libtool macros utilize
521 macros from that version of Autoconf.
523 2001-08-01 Gary V. Vaughan <gary@gnu.org>
525 * ltdl.m4: Bump serial number.
526 General reformat and tify up in line with Autoconf-2.50 support.
527 (AC_LTDL_FUNC_ARGZ): Test for system implementations of a
528 handful of argz API calls, the error_t type, and the argz.h
530 * libltdl/configure.ac (AM_INIT_AUTOMAKE): Bump version number.
531 * libltdl/ltdl.c (rpl_argz_append, rpl_argz_create_sep.
532 rpl_argz_insert, rpl_rgz_next): Fallback implementations of
533 the similarly named functions for machines that don;t use glibc.
534 (lt_dlrealloc): New memory function pointer that can be set by
535 the client. Defaults to rpl_realloc, which in turn uses only
536 lt_dlmalloc and lt_dlfree.
537 (LT_EMALLOC, LT_EREALLOC): Set internal out-of-memory error
538 inside the functions called by these new macros. Simplified all
539 callers by removing explicit client error reporting.
540 (memmove): Fallback implementation of overlap safe memory copy
542 (tryall_dlopen): Factorized common code into...
543 (tryall_dlopen_module): ...this new helper function.
544 (canonicalize_path): Changed function signature to return success
545 or failure. Updated all callers.
546 (foreachfile_callback): Make use of argz API.
547 (LT_DLSTRLEN): Moved from here...
548 * libltdl/ltdl.h (LT_STRLEN): ...to here. Updated all callers.
549 (lt_dlrealloc): Declare new memory management handle.
551 2001-07-31 Robert Boehne <rboehne@ricardo-us.com>
553 * libtool.m4 (mingw*) Revert the previous change as it was
556 2001-07-31 Guido Draheim <Guido.Draheim@tek.com>
558 * libtool.m4 (mingw*) sys_lib_search_path_spec:
559 Sets the proper path separator for cross-compiling.
561 2001-07-30 Steve Ellcey <sje@cup.hp.com>
563 * libtool.m4 (ia64-*-hpux*) Add support for ia64*-*-hpux* platform.
565 2001-07-30 Robert Boehne <rboehne@ricardo-us.com>
567 * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Fixed an
568 incorrect resetting of lt_prog_compiler_static when using gcc
571 2001-07-31 Gary V. Vaughan <gary@gnu.org>
573 * bootstrap: Remove generated files (incase they are links) before
574 rerunning the autotools to regenerate them.
576 2001-07-30 Gary V. Vaughan <gary@gnu.org>
578 * libtool.m4 (AC_LIBTOOL_SETUP): Use Autoconf-2.50 era
579 quadrigraphs and AC_HELP_STRING to bring AC_ARG_WITH/ENABLE
581 (_LT_AC_LOCK): Ditto.
582 (_LT_AC_TAGCONFIG): Ditto.
584 (AC_ENABLE_SHARED): Ditto. And eliminate the last remaining
585 changequote invocations.
586 (AC_ENABLE_STATIC): Ditto. And Ditto.
587 (AC_ENABLE_FAST_INSTALL): Ditto. And Ditto.
588 * ltdl.m4 (AC_LTDL_ENABLE_INSTALL): Use Autoconf-2.50 era
589 quadrigraphs and AC_HELP_STRING to bring AC_ARG_ENABLE
593 * libtool.m4 [UnixWare7, OpenUNIX8]: Initial support for
594 UnixWare7 and OpenUNIX8. Accept these identifiers from the
595 latest config.guess/config.sub as pseudonyms for sysv5uw[78].
597 Reported by Boyd Lynn Gerber <gerberb@zenez.com>
599 2001-07-29 Gary V. Vaughan <gary@gnu.org>
601 * tests/sh.test: Add a new test to enforce X as the fill
602 character in `test "X...'.
603 Beef up the `test' tests to also check `test -.' and `test ! -.'
604 phrases for compliance.
605 * ltmain.in: Fix quoting problems uncovered by the new tests.
607 2001-07-29 Andrew C. Feren <aferen@CetaceanNetworks.com>
609 * tests/sh.test: New test to disallow `test $foo', where
610 `test "$foo"' is much safer.
611 * ltmain.in: Fix quoting problems uncovered by the new test.
613 2001-07-29 Steve Ellcey <sje@cup.hp.com>
615 * libtool.m4 (lt_cv_sys_global_symbol_to_cdecl): Change it from
616 "extern char" to "extern int" so that GCC 3.0 won't complain and
617 refuse to compile programs containing "extern char main()".
619 2001-07-29 Gary V. Vaughan <gary@gnu.org>
621 From Guido Draheim <Guido.Draheim@tek.com>:
622 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Support
623 cross compilation to mingw by allowing `:' or ';' as a path
627 2001-07-27 NIIBE Yutaka <gniibe@m17n.org>
629 * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all
630 for sh*-*-linux* (SuperH) too.
632 2001-07-25 Ossama Othman <ossama@debian.org>
634 From Thomas Poindessous <poinde_t@epita.fr>
635 * ltmain.in (pic_mode): Added missing quotes around shell
636 variable in "if test" conditional.
638 From Peter Moulder <pmoulder@longford.csse.monash.edu.au>
639 * ltmain.in (xform): Add support for pre-processed
640 (e.g. `*.{i,ii}' sources).
642 2001-07-25 Gary V. Vaughan <gary@gnu.org>
644 From Steve Ellcey <sje@cup.hp.com>:
645 * libltdl/ltdl.c (foreach_dirinpath): Free unassigned pointer
648 2001-07-23 Robert Boehne <rboehne@ricardo-us.com>
650 * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS)
651 [aix4*, aix5*]: Fixed a mispelled binder option under AIX.
652 The option to throw errors for unresolved external references is
653 -bernotok, not -bnoerok.
655 2001-07-23 Gary V. Vaughan <gary@gnu.org>
657 * Makefile.am (EXTRA_DIST): Don't forget to distribute
660 From Erik Lindahl <E.Lindahl@chem.rug.nl>
661 * libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Used on aix to discover
662 the compiler's default library search path so that the MPI
663 compiler suite is not hosed by the previously hardcoded path.
664 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [aix4*, aix5*]: Use it.
666 2001-07-23 Andreas Schwab <schwab@suse.de>
668 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
669 s390*-*-linux* and m68*-*-linux*.
671 2001-07-19 Robert Boehne <rboehne@ricardo-us.com>
673 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix tag support
674 problems with CXX variables being overwritten by the individual
676 (AC_LIBTOOL_PROG_CC_C_O): Ditto.
677 (AC_LIBTOOL_PROG_COMPILER_PIC): Ditto.
678 (AC_LIBTOOL_LANG_CXX_CONFIG): Moved call to
679 AC_LIBTOOL_SYS_HARD_LINK_LOCKS after the call to
680 AC_LIBTOOL_PROG_CC_C_O as it depends on the result.
681 (AC_LIBTOOL_LANG_GCJ_CONFIG): Ditto.
682 (AC_LIBTOOL_LANG_C_CONFIG): Ditto.
683 (AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH): Used the macro
684 _LT_AC_TAGVAR to ensure the correct variable is being queried.
685 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Changed the naming of shared
686 objects under IRIX back to what it was in the MLB.
688 2001-07-23 Mark Kettenis <kettenis@gnu.org>
690 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN) [gnu*]: Remove spurious
691 "break" and bogus comment
692 (_LT_AC_LANG_CXX_CONFIG): Add support for the Hurd.
693 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Add support for the Hurd.
695 2001-07-16 Robert Boehne <rboehne@ricardo-us.com>, Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
697 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): add cases and comments for
698 more platforms, including AIX, Digital/Tru64 UNIX and IRIX.
700 2001-07-16 Gary V. Vaughan <gary@gnu.org>
702 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix ia64 AIX
703 run-time-linking when not using gcc.
704 (AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
705 Reported by Dan McNichol <mcnichol@austin.ibm.com>
707 2001-07-12 Gary V. Vaughan <gary@gnu.org>
709 From dda@sleepycat.com (Don Anderson):
710 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [qnx]: New
711 supported architecture.
712 (AC_DEPLIBS_CHECK_METHOD) [qnx]: Ditto.
715 From Stefan Ondrejicka <ondrej@idata.sk>:
716 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [cygwin*]: Make
717 sure that /lib/w32api is searched for system libraries to
718 match recent versions of cygwin.
721 2001-07-12 Dan McNichol <mcnichol@austin.ibm.com>
723 From albert chin <china@thewrittenword.com>
724 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix AIX
725 run-time-linking when using gcc.
726 (AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
728 2001-07-11 Gary V. Vaughan <gary@gnu.org>
730 * libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
731 solaris]: Doh! the evalled variable shouldn't have been
734 * libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
735 solaris]: output_verbose_link_cmd have unquoted `*' in case
736 statements for these architectures. Be sure to quote them
737 with a sed expression before passing to eval.
738 Reported by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
740 2001-07-09 Gary V. Vaughan <gary@gnu.org>
742 * README-alpha: s/configure.in/configure.ac.
743 * configure.ac: Bumped version to 1.4c.
745 GNU libtool 1.4b was released.
747 * configure.ac: Bumped version to 1.4b.
749 * config.guess, config.sub, texinfo.tex: Synchronised from
752 2001-07-09 Robert Boehne <rboehne@ricardo-us.com>
754 From Michael Elizabeth Chastain <chastain@cygnus.com>:
755 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set max_cmd_len
756 to a maximum of 512Kb, as it seems some HPUX 11.0 systems
757 have trouble with 1MB.
759 2001-07-09 Gary V. Vaughan <gary@gnu.org>
761 * README-alpha: Upgrade distribution instructions to include
762 canonical location of texinfo.tex.
764 2001-07-09 Timothy Wall <twall@oculustech.com>
766 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Don't disable shlibs
767 on AIX5/IA64 with GNU ld. Keep gnu defaults if using gnu tools
770 2001-07-09 Robert Boehne <rboehne@ricardo-us.com>
772 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set max_cmd_len
773 to -1 on hurd, it has no command line argument limits.
774 * ltmain.in Handle max_cmd_len=-1 for systems that don't have
775 command line argument limits.
777 2001-07-05 Gary V. Vaughan <gary@gnu.org>
779 * libtool.m4 (_LT_AC_LANG_C_CONFIG): Revert to 1.3.x
780 sematics, and always build static libs when the host machine
781 cannot build shared libs. Even if static libs were explicitly
784 2001-07-02 Gary V. Vaughan <gary@gnu.org>
787 * ltdl.c (lt_dladderror): Don't use `index' as a variable name,
788 since it is a function on BSD based boxes.
789 (lt_dlseterror): Ditto.
790 (lt_dlexit): Remove unused errormsg declaration.
791 (foreach_dirinpath): Make sure filename is initialised.
792 (find_handle): Return NULL for a failed search.
793 (foreachfile_callback): Don't reuse data2 symbol from prototype
794 in func declaration to prevent symbol shadowing.
795 * ltdl.h (lt_dlmutex_seterror): Don't use `error' as a parameter
796 name, since it is a function on glibc boxes.
798 * libtoolize.in: Display --version in the same format as
799 autoconf and automake.
802 2001-06-30 Gary V. Vaughan <gary@gnu.org>
804 Merge test improvements from multi-language-branch:
805 * tests/defs: Find and set the value of CC probed by libtool.m4
806 * tests/link-2.test: Use a .lo wrapper script, and the value of
807 CC set by defs instead of hardcoding gcc.
808 * tests/link.test: Use the value of CC set by defs instead of
810 * tests/quote.test: Ditto.
811 * tests/suffix.test: Ditto.
813 * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Always set
814 lt_prog_compiler_wl to `-Wl'.
815 Reported by Albert Chin-A-Young <china@thewrittenword.com>
817 * ltdl.m4 (AC_LTDL_DLLIB) [sco3.2*]: When searching for a dlopen
818 implementation, and adding `-ldl' has failed, try linking a call
819 to dlopen, #including dlfcn.h, and without -ldl. On sco3.2 the
820 header files redefines the interface symbols to point at the
821 implementation symbols in libc.
822 Reported by "Golubev I. N." <gin@mo.msk.ru>
824 2001-06-29 Tim Van Holder <tim.van.holder@pandora.be>
826 General cleanup of autoconf-2.50 upgrade:
827 * configure.ac: Mark as needing autoconf-mode in
828 emacs. Pass arguments to AC_INIT.
829 * cdemo/configure.ac: Ditto.
830 * demo/configure.ac: Ditto.
831 * depdemo/configure.ac: Ditto.
832 * libltdl/configure.ac: Ditto.
833 * mdemo/configure.ac: Ditto.
834 * pdemo/configure.ac: Ditto.
835 * tagdemo/configure.ac: Ditto.
836 * ltdl.m4: Mark as needing autoconf-mode in
838 * libtool.m4: Mark as needing autoconf-mode in
839 emacs. Don't add () to AS_MESSAGE_LOG_FD.
840 * libltdl/configure.ac: Use config-h.in as
841 template for config.h.
842 * tagdemo/configure.ac: Drop the AC_DIAGNOSTIC. Move
843 AC_LANG([C++]) after the OBJEXT/EXEEXT check.
845 2001-06-29 Gary V. Vaughan <gary@gnu.org>
847 From Tim Van Holder <tim.van.holder@pandora.be>
848 * tests/suffix.test: Typo in 2nd for loop.
850 From Tim Van Holder <tim.van.holder@pandora.be>
851 * libltdl/Makefile.am (OBJECTS): This was an implicit variable.
852 instead state the list of object variables explicitly.
854 From Bruno Haible <haible@ilog.fr>
855 * libtool.m4: undefine the m4 builtin `symbols', so that the
856 string `symbols' can be used in the rest of the code without
857 causing errors with autoconf-2.13.
859 From "Golubev I. N." <gin@mo.msk.ru>
860 * tests/Makefile.am (CPPLAGS): Typo. s/CPPLAGS/CPPFLAGS.
862 * mdemo/Makefile,am (foo1_la_LIBADD): Add libsub.la, since foo1
863 does use symbols from libsub.la -- only platforms that allow
864 undefined symbols in libraries were able to cope with this
866 Reported by Robert Collins <robert.collins@itdomain.com.au>
868 From "Golubev I. N." <gin@mo.msk.ru>
869 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [sco3.2v5*]: Needs
870 -wl,-Bexport to make self dlopen work.
872 2001-06-28 Gary V. Vaughan <gary@gnu.org>
874 From Alexander Bluhm <Alexander.Bluhm@WiredMinds.de>
875 * libltdl/ltdl.c (lt_dlopen): Fix bad memory initialisation
878 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE) [HPUX]: Define
879 lt_cv_sys_global_symbol_to_c_name_address to be a sed expression
880 for mangling the output of the symbol pipe into a brace delimited
881 C declaration of symbol name and address.
882 * ltmain.in: Use it to generate the fooS.c symbol name
883 Reported by Albert Chin-A-Young <china@thewrittenword.com>
885 2001-06-28 Tim Van Holder <tim.van.holder@pandora.be>, Gary V. Vaughan <gary@gnu.org>
887 * bootstrap: Use cp instead of ln -s, for systems without
888 symlinks. Reorder the statements to avoid repetition outside
891 2001-06-28 Paolo Bonzini <bonzini@gnu.org>, Gary V. Vaughan <gary@gnu.org>
893 Libtool now builds with the help of Autoconf-2.50!
894 * configure.ac (AC_PREREQ): Require Autoconf-2.50 or newer.
895 (AC_PROG_CPP, AC_EXEEXT, AC_OBJEXT): Removed. Autoconf-2.50
896 doesn't have the AC_REQUIRE bug that required these to be called
897 explicitly from here. Autoconf-2.50 uses this file instead of...
898 * configure.in: ...this, which is now deleted.
899 * cdemo/configure.ac, cdemo/configure.in: Ditto.
900 * demo/configure.ac, demo/configure.in: Ditto.
901 * depdemo/configure.ac, depdemo/configure.in: Ditto.
902 * libltdl/configure.ac, libltdl/configure.in: Ditto.
903 * mdemo/configure.ac, mdemo/configure.in: Ditto.
904 * pdemo/configure.ac, pdemo/configure.in: Ditto.
905 * tagdemo/configure.ac, tagdemo/configure.in: Ditto.
906 * libltdl/acconfig.h: Deleted.
907 * Makefile.am (libtool): libtool now depends on configure.ac.
908 * libtool.m4 (_LT_AC_LOCK): Use 2.50's AC_LANG_PUSH/AC_LANG_POP
909 instead of 2.13's AC_LANG_SAVE/AC_LANG_RESTORE.
910 (AC_LIBTOOL_LANG_C_CONFIG): Ditto.
911 (AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
912 * libtoolize.in: Use $configure_ac, instead of hardcoding
915 2001-06-28 Tim Van Holder <tim.van.holder@pandora.be>
917 * pdemo/Makefile.am: Use '=' instead of '+=' to shut up
920 2001-06-27 Gary V. Vaughan <gary@gnu.org>
922 From brad@openbsd.org:
924 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd]: Improved
925 support for various openbsd platforms.
926 (AC_LIBTOOL_PROG_LD_SHLIBS): Ditto.
929 2001-06-26 Gary V. Vaughan <gary@gnu.org>
932 * libltdl/ltdl,c (LT_DLMUTEX_LOCK): Renamed from MUTEX_LOCK to
933 avoid potential namespace clash.
934 (LT_DLMUTEX_UNLOCK, LT_DLMUTEX_SETERROR, LT_DLMUTEX_GETERROR):
936 (lt_dlmutex_lock_func): Renamed from mutex_lock to avoid a
937 namespace clash of NCR MP-RAS.
938 (lt_dlmutex_unlock_func, lt_dlmutex_seterror_func,
939 lt_dlmutex_geterror_func): Ditto.
940 Reported by Edouard G. Parmelan <egp@free.fr>
942 * libltdl/ltdl.c (LT_DLSTRLEN): Call strlen only if the argument
943 is non-NULL and non-zero in length. Changed all calls to strlen
946 * libltdl/ltdl.c: Prototype all static functions.
948 * ltdl.m4: Bump serial number to 3.
949 (AC_LIB_LTDL): Require AC_HEADER_DIRENT for ltdl.c.
950 * libltdl/ltdl.h (lt_dlforeachfile): Prototype for new function.
951 * libltdl/ltdl.c: Include an appropriate header for the
953 (foreach_dirinpath): Visit each file in a list of directories.
954 (find_file_callback): Factor out the core of find_file() to make
955 use of foreach_dirinpath().
957 (find_handle_callback, find_handle): Ditto.
958 (lt_dlforeachfile): New function to find files in a searchpath.,,
959 (foreachfile_callback): ...using this callback.
960 * doc/libtool.texi (Libltdl interface): Document new
961 lt_dlforeachfile api call.
963 2001-06-25 Gary V. Vaughan <gary@gnu.org>
965 * THANKS: Added Albert Chin-A-Young.
967 * libtool.m4 (IFS): When IFS is changed to split a string for
968 examination in a loop, restore it inside the loop as well as
969 outside incase IFS is needed by commands in that loop.
970 Reported by Pavel Roskin <proski@gnu.org>
972 2001-06-25 Albert Chin-A-Young <china@thewrittenword.com>
974 * libtool.m4: Prefer shl_load to dlopen on HP-UX because dlopen
975 won't work properly without a patch.
977 2001-06-25 Daniel Harvey <daniel@amristar.com.au>
979 * libtool.m4 (ltdll_cmds): [$]0 doesn't appear to translate through
980 the script correctly, change to $''0
982 2001-06-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
984 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
985 mips-*-linux* and mipsel-*-linux*.
987 2001-06-24 Andreas Schwab <schwab@suse.de>
989 * libtool.m4 (AC_LIBTOOL_SETUP): Remove failed try to
990 transform linux to linux-gnu in $host.
991 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Match $host_os against
992 linux*, not linux-gnu*.
993 (AC_DEPLIBS_CHECK_METHOD): Likewise.
995 2001-06-24 Gary V. Vaughan <gary@gnu.org>
997 * libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Set
998 PATH_SEPARATOR appropriately if it is not set already,
999 (_LT_AC_TAGCONFIG): Use it.
1000 (AC_ENABLE_SHARED): Ditto.
1001 (AC_ENABLE_STATIC): Ditto.
1002 (AC_ENABLE_FAST_INSTALL): Ditto.
1003 (AC_PATH_TOOL_PREFIX): Ditto.
1004 (AC_PATH_MAGIC): Ditto.
1005 (AC_PATH_PROG_NM): Ditto.
1007 From Tim Van Holder <tim.van.holder@pandora.be>:
1008 * libtool.m4: Use the canonical absolute path test
1009 ([\\/]* | ?:[\\/]) and $PATH_SEPARATOR wherever
1011 (AC_LIBTOOL_PROG_CC_PIC): Properly recognize DJGPP as a
1012 platform that doesn't support shared libraries.
1013 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Avoid this test on DJGPP; use a
1014 fixed value (12K) instead.
1015 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Don't forget $ac_exeext
1016 when testing for link success.
1018 * configure.in (AM_INIT_AUTOMAKE): Bumped version to 1.4a.
1020 Complete the new configure time tags creation facility based on
1021 the ltcf-*.sh and ltconfig.in files from multi-language-branch:
1022 * libtool.m4: More refactoring and reformatting.
1023 (_LT_AC_LANG_GCJ_CONFIG): Merged ltcf-gcj.sh from
1024 multi-language-branch.
1025 (_LT_AC_LANG_CXX_CONFIG): Merged ltcf-cxx.sh from
1026 multi-language-branch.
1027 * configure.in (AC_PROG_CXX, LT_AC_PROG_GCJ): Compiler checks must
1028 be done before AC_PROG_LIBTOOL which appends tags based on their
1031 2001-06-12 Robert Boehne <rboehne@ricardo-us.com>
1033 * docs/libtool.texi: Updated the libltdl interface documentation
1034 to bring it up to date.
1036 2001-06-06 Gary V. Vaughan <gary@gnu.org>
1038 * demo/Makefile.am (objdir): Use `libtool --config' for
1039 extracting configuration values, since a given value may
1040 be present in each tag.
1041 (hc-libpath): Ditto.
1043 * libtool.m4 (_LT_AC_TAGCONFIG): Add tagged configurations from
1044 the --with-tags option.
1045 (_LT_AC_LTCONFIG_HACK): Factored out into separate configuration
1046 macros -- The interdependencies and running order are still
1047 immutable, and need a lot of work to fix.
1048 (AC_LIBTOOL_CONFIG): Taken from the previous incarnation of
1049 _LT_AC_LTCONFIG_HACK -- this macro is used both to create the
1050 primary (C language) libtool configuration from
1051 _LT_AC_LTCONFIG_HACK and also to append tagged configurations from
1053 * NEWS: Merged from multi-language-branch.
1055 2001-06-06 Robert Boehne <rboehne@ricardo-us.com>
1057 * bootstrap: Added tagdemo and pdemo tests from
1058 multi-language-branch.
1059 * configure.in: Added pdemo and tagdemo to CONF_SUBDIRS
1060 and merged references to CXX and GCJ from multi-language-branch.
1061 * pdemo: Added test directory from multi-language-branch.
1062 * tagdemo: Added test directory from multi-language-branch.
1063 * tests/Makefile.am: Merged additional tests from
1064 multi-language-branch.
1065 * tests/pdemo-*.test: ditto.
1066 * tests/tagdemo-*.test: ditto.
1068 2001-05-30 Gary V. Vaughan <gary@gnu.org>
1070 * libtool.m4: Merged ltconfig.in from multi-language-branch.
1072 2001-05-28 Gary V. Vaughan <gary@gnu.org>
1074 * libtool.m4: Reformatting for consistency, and some refactoring
1075 in preparation for ltcf-*.sh merge.
1077 2001-05-27 Gary V. Vaughan <gary@gnu.org>
1079 * ltmain.in: Merged from multi-language-branch.
1080 * libtool.m4: Merged from multi-language-branch.
1081 * ChangeLog: Started afresh. Old ChangeLog history moved to...
1082 * ChangeLog.1: ...here.
1084 2000-06-04 Mark Mitchell <mark@codesourcery.com>
1086 * ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
1087 with_gcc]: Use `gcc -shared' to build a shared library.
1089 2001-06-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1091 * ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
1094 2001-05-28 Simon Patarin <simon.patarin@inria.fr>
1096 * ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared
1097 libraries when using g++ with native linker.
1099 2001-05-28 Albert Chin <china@thewrittenword.com>
1101 * ltconfig.in (version_type, soname_spec) [aix4* | aix5*]: Use
1102 linux-style versioning, and remove trailing .o from soname_spec.
1104 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
1106 * ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
1107 [aix4*|aix5*]: Prepend blank.
1109 2001-05-20 Alexandre Oliva <aoliva@redhat.com>
1111 * configure.in: Reverted to 1.4, to avoid confusion with MLB.
1112 Mainline is the release snapshot, except for the ChangeLog version
1113 number, until the multi-language branch is merged into it.
1115 * ltconfig.in: Fix sh.test regression introduced in previous patch.
1117 * ltconfig.in (lt_cv_sys_max_cmd_len): Improve test to work better
1118 in case of non-built-in echo. Set bounds correctly.
1120 * ltcf-cxx.sh (allow_undefined_flag) [aix4* | aix5*]: Fix quote
1123 * ltmain.in (exec_cmd): New variable. Don't exec programs within
1124 the big `case'; set the variable instead, and exec the cmd
1125 afterwards, so that the shell gets a chance to clean up here-doc
1129 2001-05-16 Alan Modra <amodra@one.net.au>
1131 * libtool.m4 (lt_cv_deplibs_check_method): pass_all for hppa*-linux.
1133 2001-05-03 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de>
1135 * ltmain.in (relink_command): Arrange for wrapper script to save
1136 output to a variable and display it only if relinking fails.
1138 2001-04-25 Gary V. Vaughan <gary@gnu.org>
1140 * configure.in: bumped version to 1.4a.
1142 GNU libtool 1.4 was released.
1144 * configure.in: Bumped version to 1.4.
1145 * config.sub, config.guess: Synchronised from ftp.gnu.org.
1148 2001-04-24 Peter Eisentraut <peter_e@gmx.net>
1150 * libtool.m4: Support $host_os as /sysv5uw7*/ from newer
1151 config.guess in addition to older /unixware*/. Use compiler
1152 driver, not linker, for linking shared libraries.
1154 2001-04-24 Gary V. Vaughan <gary@gnu.org>
1156 * libtool.m4, ltmain.in, libltdl/configure.in,
1157 tests/quote.test: Remove stale references to ltconfig.
1159 * ltdl.m4 (AC_C_INLINE): No longer required.
1160 * libltdl/ltdl.c (strdup, strcmp, strchr, strrchr, memcpy, trim,
1161 free_vars): Revoke inline keyword from declarations. `static
1162 inline' is not very portable, and in addition Unixware 7.1.1's
1163 compiler says you can't access static variables from inline
1165 Reported by Peter Eisentraut <peter_e@gmx.net>
1167 2001-04-24 Albert Chin-A-Young <china@thewrittenword.com>
1169 * libtool.m4: Handle case where /bin/nm -p outputs multiple
1170 symbol types (like under HP-UX 11.00).
1172 2001-04-24 Thomas Tanner <tanner@ffii.org>
1174 * TODO: describe problems with libltdl
1175 * ltmain.in (ILD): tidy up, add comments, remove dead code,
1176 merge duplicate code
1177 * ltmain.in (ILD): don't touch newdependency_libs after scan or
1179 * ltmain.in (ILD): don't dlpreopen dependency_libs of a dlopened
1180 module (remove absolutely wrong quick hack)
1181 * ltmain.in (ILD): remove wrong comments about duplicate removal
1182 * ltmain.in (ILD): build a static-only module if it has
1183 static libraries in its dependencies (so that libltdl can
1184 safely load dependency_libs)
1185 * ltmain.in (argument parsing): prefix comparsions of -l args with X,
1186 replace -lc with `-framework System' _after_ the ILD passes
1187 * ltmain.in (argument parsing): support dl[pre]open
1188 for both .o and .lo files
1189 * ltmain.in (deplibs_check): use portable test syntax
1190 * ltmain.in (help): document -prefer-[non-]pic flags
1191 * ltmain.in: improve readablity by adding some comments,
1192 rename uninst_* to notinst_* (more adequate name)
1194 2001-04-24 Gary V. Vaughan <gary@gnu.org>
1196 * doc/PLATFORMS: More updates from subscribers to
1199 From Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1200 * tests/Makefile.am (TESTS_ENVIRONMENT): Make sure the *.test
1201 scripts get the same make that was used in the top level
1204 2001-04-23 Gary V. Vaughan <gary@gnu.org>
1206 * doc/PLATFORMS: Updated with more platforms successfully
1207 tested by members of libtool@gnu.org.
1209 2001-04-23 Peter Eisentraut <peter_e@gmx.net>
1211 * doc/PLATFORMS: With this patch, freebsd4.3 passes the test
1213 * libltdl/ltdl.c (lt_dlexit): Quit loop if only resident modules
1216 2001-04-23 Gary V. Vaughan <gary@gnu.org>
1218 * doc/PLATFORMS: With this patch, my Solaris boxes now pass the
1220 From Albert Chin-A-Young <china@thewrittenword.com>
1221 * ltmain.in: `test -L' is not portable, and infact breaks uninstall
1222 mode on Solaris. Fallback to `test -h' and finally `test -f',
1223 but be careful not to let the failure status cause libtool to
1226 From Simon Spero <ses@ibiblio.org>
1227 * ltdl.m4 (AC_LTDL_DLSYM_USCORE): Add $LIBADD_DL while
1228 checking for dlsym _.
1230 From Simon Spero <ses@ibiblio.org>
1231 * libtool.m4 (lt_cv_deplibs_check_method) [darwin]: Set it!
1233 * TODO: Make a note to undo this later.
1234 From Christoph Pfisterer <cp@chrisp.de>
1235 * libtool.m4: Use $() execution substitution quotation to work
1236 around zsh builtin echo \ escape removal.
1238 2001-04-22 Peter Eisentraut <peter_e@gmx.net>
1240 * bootstrap: Allow overriding the location aclocal, automake,
1241 autoconf, autoheader from the environment.
1243 * demo/Makefile.am: Automake 1.4e does not allow `+=' assignments
1244 if the variable was not set with `=' earlier. `+=' was not useful
1247 2001-04-22 Gary V. Vaughan <gary@gnu.org>
1249 * ltdl.m4 (AC_CHECK_HEADERS): UW7 has sys/dl.h, so we must
1250 check for that here.
1251 * libltdl/ltdl.c (HAVE_SYS_DL_H): Include it if necessary for
1253 Reported by Matthew Schalit <mschalit@pacbell.net>
1255 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
1256 various releases of UnixWare and OpenServer that support it.
1257 Reported by Matthew Schalit <mschalit@pacbell.net>
1259 * doc/PLATFORMS: Updated with various platforms successfully
1260 tested by members of libtool@gnu.org.
1262 2001-04-21 Gary V. Vaughan <gary@gnu.org>
1264 * TODO: propose pkg-config merge.
1266 2001-04-21 Nick Hudson <skrll@netbsd.org>
1268 * ltmain.in: Correct an error in yesterday's patch.
1270 2001-04-20 Nick Hudson <skrll@netbsd.org>
1272 * libtool.m4: Improve NetBSD support.
1275 2001-04-19 Dan McNichol <mcnichol@austin.ibm.com>
1277 * libtool.m4: Build standard shared libraries on AIX POWER
1278 more like AIX does, with a shared object archived into lib<xxx>.a.
1279 On AIX -bexpall flag does strange things... Don't use it.
1280 Fix quotes around -berok flag. Add support for AIX 5.
1281 Add support for run time linking on AIX POWER. (should work
1282 on AIX 4.2 and up). Turn this feature on by adding -brtl flag
1283 to LD_FLAGS. Add support for AIX on IA64. Note: AIX on IA64
1284 uses a SYSV type linker. Add a comment telling what to do if the
1285 TOC starts getting too large on AIX.
1286 * NEWS: mention aix5 support.
1288 2001-04-18 Alexandre Oliva <aoliva@redhat.com>
1290 * TODO: Add -L- flag.
1292 2001-04-11 Alexandre Oliva <aoliva@redhat.com>
1294 * libtool.m4 (no_undefined_flag) [Solaris ld]: Change to -zdefs.
1296 2001-04-11 Ossama Othman <ossama@uci.edu>
1298 * AUTHORS: Added myself to the list of maintainers.
1300 2001-04-08 Gary V. Vaughan <gary@gnu.org>
1302 * libtool.m4 (hardcode_libdir_flag_spec, osf4/osf5): Use ${wl}
1303 to pass -rpath when compiling with gcc.
1304 Reported by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1306 * libltdl/ltdl.c (sys_shl_open): Cache a handle for the `self'
1307 module, since HPUX adds module symbols into the `self' pool if
1308 it is opened later. Return the cached pointer if the caller
1309 subsequently tries to open `self'.
1310 (sys_shl_sym): Diagnose NULL modules.
1312 From Peter Eisentraut <peter_e@gmx.net>
1313 * ltmain.in (clean,uninstall): test -e is not portable. Well,
1314 neither is -L, but I'm hoping that redirecting error messages
1315 to /dev/null and relying on non-zero exit status will work okay
1316 on the few hosts that don't support -L.
1318 2001-04-08 Nick Hudson <skrll@netbsd.org>
1320 * ltmain.in: Improve check for valid -version-info parameter.
1322 2001-04-08 Gary V. Vaughan <gary@gnu.org>
1324 From Nick Hudson <skrll@netbsd.org>
1325 * doc/Makefile.am (libtool_TEXINFOS): Add fdl.texi so that it
1326 is included in the distribution.
1328 2001-04-07 Peter Eisentraut <peter_e@gmx.net>
1330 * ltmain.in (clean,uninstall): Do not error if the file doesn't
1331 exist and 'rm -f' was used. Exit with status 1 on error.
1333 2001-04-06 Nick Hudson <skrll@netbsd.org>
1335 * ltmain.in: Implement a new deplibs_check_method called
1336 match_pattern that does pattern matching on filenames...
1337 * libtool.m4: ...use it with NetBSD
1339 2001-04-05 Gary V. Vaughan <gary@gnu.org>
1341 * doc/libtool.texi (Multiple dependencies): A note about the
1342 problems I've reintroduced by reverting the my patch of 2001-03-31.
1344 From Edward Lee <tailbert@yahoo.com>
1345 * libtool.m4: Typos.
1347 * tests/Makefile.am (TESTS): Delete references to depdemo-dups.test.
1348 * tests/depdemo-dups.test: Removed, as part of the patch
1350 * ltmain.in: Revert my change from 2001-03-31. Although it
1351 was technically correct, it opens a whole can of worms we don't
1352 want to deal with right now.
1354 From Ahmed Masud <masud@googgun.com>
1355 * libltdl/ltdl.c (sys_shl_open): Return a NULL module handle
1357 (sys_shl_close): Be careful not to close a NULL module handle.
1358 (sys_shl_sym): Allow shl_findsym() to open NULL modules, but
1359 discard the modified module address it returns.
1361 * libltdl/ltdl.c (lt_dlopen): When reading the .la file,
1362 reallocate the line buffer size if the line overflows the
1364 Reported by Nick Hudson <skrll@netbsd.org>
1366 * NEWS (1.3d) Removed bogus ltconfig reference.
1368 2001-04-03 Gary V. Vaughan <gary@gnu.org>
1370 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Remove the spurious
1371 `dnl' from the help text of --with-pic.
1372 Reported by stefan <stefan@lkcc.org>
1374 2001-04-02 Gary V. Vaughan <gary@gnu.org>
1376 * configure.in: bumped version to 1.3e.
1378 GNU libtool 1.3d was released.
1380 * NEWS: inserted todays date.
1382 2001-04-01 Christoph Pfisterer <cp@chrisp.de>
1384 * libtool.m4: Fixed support for Darwin and Rhapsody. Now correctly
1385 hardcodes the library path and adds versioning. Other small
1387 * ltmain.in: Fixed special cases for libc and libm on Rhapsody and
1388 Darwin. One of them was misplaced. Added version_type case for
1389 Rhapsody and Darwin, named "darwin".
1391 2001-03-31 Gary V. Vaughan <gary@gnu.org>
1393 * ltmain.in: Remove the code for stripping duplicate deplibs
1394 from libtool link lines -- duplicates are somtimes necessary
1395 to satisfy inter-library dependencies, and never cause link to
1396 fail even if they are spurious.
1397 * tests/depdemo-dups.test: New file. Make sure this bug doesn't
1398 creep back in again!
1399 * tests/Makefile.am (TESTS): Use the new test above.
1401 2001-03-29 Edward M. Lee <tailbert@yahoo.com>
1403 * libtoolize.in: Check configure.ac and prefer configure.ac to
1406 * libtoolize.in: change recommendation from AM_PROG_LIBTOOL to
1409 * libtool.m4: Generate dll/import libraries for cygwin according
1410 to the following: libFOO.a (static lib), libFOO.dll.a (import
1411 lib), cygFOO-version.dll (dll). Update postinstall_cmds and
1412 postuninstall_cmds to reflect this.
1413 * ltmain.in: Generate installed .la files with dlnames set to
1414 ../bin/cygFOO-version.dll for normal dlls. dlls for modules
1415 remain with the .la file.
1417 * libltdl/ltdl.c: Use windows paths while calling LoadLibrary.
1419 2001-03-16 Albert Chin <china@thewrittenword.com>
1421 * libtool.m4 (save_CPPFLAGS): Fix typo.
1423 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1425 * libtool.m4 (lt_cv_compiler_c_o): Cache it.
1426 (lt_cv_compiler_o_lo): Likewise.
1428 2001-03-09 Peter Eisentraut <peter_e@gmx.net>
1430 * ltmain.in (clean): Automatically remove $objdir (usually '.libs').
1432 2001-03-08 Gary V. Vaughan <gary@gnu.org>
1434 * ltconfig.in (library_names_spec): Undo latin-1 spaces I pasted
1435 in yesterday by mistake.
1437 2001-03-07 Gary V. Vaughan <gary@gnu.org>
1439 From Tor Lillqvist <tml@iki.fi>
1440 * libtool.m4 (export_symbols): On Windows, if the export_symbols
1441 file (which has been passed to libtool with the -export-symbols
1442 command line switch) already is a .def file, use it as is.
1444 * libtool.m4 (library_names_spec): Using m4 quotes correctly this
1447 From Tor Lillqvist <tml@iki.fi>
1448 * libtool.m4 (library_names_spec): Use an appropriate filename
1449 prefix for dlls -- lib for mingw; cyg for cygwin; pw for pw32.
1451 2001-03-06 Alexandre Oliva <aoliva@redhat.com>
1453 * libtool.m4 (can_build_shared) [AIX 4.[01], GCC]: GCC up to
1454 2.96 can't build shared libraries reliably. Disable them.
1456 * ltmain.in: When dropping dependencies of a -no-undefined
1457 library, give up on building a shared library.
1459 2001-03-05 Akim Demaille <akim@epita.fr>
1461 * ltmain.sh: Don't quote the argument of case/esac and
1463 * libtool.m4: Likewise.
1465 2001-03-03 Markus F.X.J. Oberhumer <markus@oberhumer.com>,
1466 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1468 * libtool.m4: Added explicit return type to all C functions.
1470 2001-02-22 Gary Vaughan <gary@gnu.org>
1473 * doc/libtool.texi (Thread Safety in libltdl): New node describing
1474 the application the new MT API.
1475 * libltdl/ltdl.h: Prototypes.
1476 * libltdl/ltdl.c: Use these functions throughout the rest of
1477 the file to provide thread locking.
1478 (lt_dlmutex_register): New function to set callbacks for
1479 multi-threaded calls into libltdl.
1480 (lt_dl_mutex_lock): Type of a locking callback function.
1481 (lt_dl_mutex_lock): Type of an unlocking callback function.
1482 (lt_dl_mutex_seterror): Type of a callback function to save the
1483 last libltdl error message in thread local storage.
1484 (lt_dl_mutex_geterror): Type of a callback function to retrieve
1485 the last saved error message from thread local storage.
1487 2001-02-20 Gary Vaughan <gary@gnu.org>
1489 * libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned
1490 type to a negative number.
1491 Reported by Guenter Millahn <Guenter.Millahn@Informatik.TU-Cottbus.DE>
1493 2001-02-05 Gary V. Vaughan <gary@gnu.org>
1495 From Nick Hudson <skrll@netbsd.org>
1496 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): netbsd* is able to
1497 automatically load module deplibs without assistance from
1500 2001-02-02 Gary V. Vaughan <gary@gnu.org>
1502 * libltdl/ltdl.c (load_deplibs): Make sure the depcount is reset,
1503 even when deplibs are not used because of the patch below.
1505 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): If we know that the host
1506 architecture automatically loads deplibs, then...
1507 * libltdl/ltdl.c (load_deplibs): ...don't manually load each one.
1509 2001-01-31 Gary V. Vaughan <gary@gnu.org>
1513 * libltdl/ltdl.c (load_deplibs): If loading a deplib fails,
1514 don't sweat -- it may be a lib that is already statically linked
1515 into the loading application.
1517 * libltdl/ltdl.c: Clean up the shadowing of the global handles
1519 (LT_DLRESIDENT_FLAGS): Add extra parens to satisfy -Wall.
1520 (load_deplibs): Cast isspace() argument to an int to satisfy
1523 2001-01-30 Robert Boehne <rboehne@ricardo-us.com>
1525 * AUTHORS: added myself to the list of maintainers.
1527 2001-01-28 Alexandre Oliva <aoliva@redhat.com>
1529 * libltdl/Makefile.am (CLEANFILES): Clean conditionally-built
1532 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
1534 * libtool.m4 (ld_shlibs) [aix4*]: Disable on unknown CPU types.
1536 2001-01-07 Gary V. Vaughan <gary@gnu.org>
1539 * doc/libtool.texi (User defined module data): Updated.
1540 * libltdl/ltdl.c (lt_dlhandle_next): New function.
1541 * libltdl/ltdl.h (lt_dlhandle_next): Prototypes.
1543 2001-01-05 Gary V. Vaughan <gary@gnu.org>
1546 * doc/libtool.texi (User defined module data): Document it all.
1547 * ltdl.m4: Check for memcpy, or else bcopy.
1548 * ltdl.c (lt_caller_data): New type.
1549 (lt_dl_handle_struct): Add an lt_caller_data field.
1550 (lt_dlcaller_register, lt_dlcaller_set_data,
1551 lt_dlcaller_get_data): New functions.
1552 (rpl_memcpy): A minimal fallback implementation.
1553 (rpl_realloc): A realloc implemented with lt_dlmalloc and
1555 (LT_DLMALLOC, LT_DLFREE, LT_DLREALLOC, LT_DLMEM_REASSIGN):
1556 New memory handling convenience macros. Use them
1557 appropriately throughout the rest of this file.
1558 * ltdl.h (lt_dlcaller_register, lt_dlcaller_set_data,
1559 lt_dlcaller_get_data): Prototyped.
1561 2001-01-04 Gary V. Vaughan <gary@gnu.org>
1563 * libltdl/ltdl.h: formatting change.
1565 Continued in ChangeLog.2000