1 2003-04-05 Peter O'Gorman <peter@pogma.com>
3 * libtool.m4: if ZSH_VERSION is set then setopt NO_GLOB_SUBST so
4 libtool works. Remove zsh echo test code, don't bother checking
5 for zsh anymore in the darwin archive_expsym_cmds.
7 2003-04-05 Allan Sandfeld Jensen <snowwolf@one2one-networks.com>
9 * libtool.m4: Switch on $CC not $cc_basename.
11 2003-04-02 Robert Boehne <rboehne@gnu.org>
13 * tests/defs: Quote $DJGPP to prevent problems with some shells.
14 Pointed out by Albert Chin <libtool@thewrittenword.com>
16 2003-04-01 Peter O'Gorman <peter@pogma.com>
18 * libtool.m4: Fix the echo test which I broke earlier.
19 * ltmain.in: Make DESTDIR work on darwin, don't use otool.
21 2003-03-31 Keith Packard <keithp@keithp.com>
23 * ltmain.in: New flag -version-number to be used for maintaining
24 compatability with a previously non-Libtool versioning scheme.
25 * doc/libtool.texi: Document it.
27 2003-03-31 Naofumi Yasufuku <naofumi@yasufuku.net>
29 * ltmain.in (win32_libid): Fixed sed expression error in
30 win32_nmres evaluation.
32 2003-03-31 Albert Chin <libtool@thewrittenword.com>
34 * ltmain.in: Don't pass -R flags found in a .la's dependency_libs
35 variable directly down to the linker.
36 Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>.
38 2003-03-28 Richard Dawe <rich@phekda.freeserve.co.uk>
40 * Makefile.am: Define CONF_SUBDIRS.
41 * tests/defs: Set CONFIG_SITE to /nonexistent, except on DJGPP,
42 which requires its config.site, to work correctly.
43 * tests/cdemo-conf.test, tests/cdemo-shared.test,
44 tests/cdemo-static.test, tests/demo-conf.test,
45 tests/demo-nofast.test, tests/demo-nopic.test,
46 tests/demo-pic.test, tests/demo-shared.test,
47 tests/demo-static.test, tests/depdemo-conf.test,
48 tests/depdemo-nofast.test, tests/depdemo-shared.test,
49 tests/depdemo-static.test, tests/f77demo-conf.test,
50 tests/f77demo-shared.test, tests/f77demo-static.test,
51 tests/mdemo-conf.test, tests/mdemo-shared.test,
52 tests/mdemo-static.test, tests/pdemo-conf.test,
53 tests/tagdemo-conf.test, tests/tagdemo-shared.test,
54 tests/tagdemo-static.test: Don't set CONFIG_SITE, now that
56 * tests/cdemo-exec.test, tests/demo-exec.test,
57 tests/demo-inst.test, tests/depdemo-exec.test,
58 tests/depdemo-inst.test, tests/f77demo-exec.test,
59 tests/mdemo-exec.test, tests/mdemo-inst.test,
60 tests/pdemo-exec.test, tests/pdemo-inst.test,
61 tests/tagdemo-exec.test: When checking for the existence
62 of executables, use the executable file extension from $EXEEXT.
64 2003-03-28 Peter O'Gorman <peter@pogma.com>
66 * libltdl/ltdl.c (dyld): Remove some debug printf's, fix a bug.
67 * ltmain.in (darwin): Only link against shared libraries when doing
70 2003-03-25 Robert Boehne <rboehne@gnu.org>
72 * bootstrap: Add f77demo to the directories that AUTOHEADER
75 2003-03-21 Wesley W. Terpstra <terpstra@ito.tu-darmstadt.de>
77 * ltmain.in: Don't accumulate directory information in clean mode.
78 Include properly pathed wrapper script.
80 2003-03-21 Peter O'Gorman <peter@pogma.com>
82 * README: Remove "Important" information about patching automake.
83 * configure.ac: Fix misapplied patch in last commit
84 * libtool.m4 (darwin): Check compiler is apple gcc, add -single_module
85 support so that dyloading c++ shared libraries will work.
86 * libtool.m4 (_LT_AC_TAGCONFIG): Add test -n to the tests so that
87 it will work outside of libtool.
88 * doc/PLATFORMS: Add darwin
89 * f77demo/configure.ac: Add config.h which was misapplied previously.
91 2003-03-20 Peter O'Gorman <peter@pogma.com>
93 * ltmain.in: Always use $echo not echo for consistency.
94 Changes for darwin building. Warn if linking against libs linked
95 with -module. Use module_cmds if available and building a module,
96 move convenience double lib check,
97 * libltdl/ltdl.c: ltdl support for darwin (first blush)
98 * libltdl/README: note that darwin is supported
99 * ltdl.m4: Changes for darwin, and for new shrext
100 * libtool.m4: Changed the way darwin builds stuff (make check passes)
101 added module_cmds, module_expsym_cmds and hardcode_automatic and put
102 them in the libtool script. check for zsh's removal of escapes. Allow
103 libraries to be stripped on darwin.
104 * TODO: Remove the todo about zsh's removal of excapes. note that zsh
105 echo works perfectly well, eval is screwed up. Seems to be fixed in
107 * THANKS: added self :)
108 * f77demo/configure.ac: Use config.h or it doesn't work.
110 2003-03-19 Robert Boehne <rboehne@gnu.org>
112 * libtool.m4 (_LT_AC_TAGCONFIG): Add test around the macro that
113 adds tags to the libtool script so that they won't run when not
115 * configure.ac: Set F77 to no when no Fortran compiler is found.
117 2003-03-16 Charles Wilson <cwilson@ece.gatech.edu>
119 * ltmain.in (win32_libid): use $SED, not head.
121 2003-03-02 Alexandre Oliva <aoliva@redhat.com>
123 * libtool.m4 (AC_PROG_LD): Use $CC instead of GCC.
124 (_LT_AC_LANG_CXX_CONFIG): Preserve variables used by AC_PROG_LD,
125 and reset them for a C++ environment. Use the with_gnu_ld setting
128 2003-02-28 Ralph Schleicher <rs@nunatak.allgaeu.org>
130 * ltmain.in: Only append a dot to the wrapper script when
131 building on cygwin/MSYS (check for $build, not $host).
133 2003-02-27 Samuel Meder <meder@mcs.anl.gov>
135 * libtool.m4 (ia64): Add support for Intel compiler (ecc) on IA64
138 2003-02-27 Benjamin Reed <ranger@befunk.com>
140 * THANKS: Added people who have submitted 3 or more patches
141 to libtool to the THANKS file.
142 * README: Added notes about the Darwin (MacOSX) support.
144 2003-02-25 Bob McElrath <bob+libtool@mcelrath.org>
146 * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): Add support for
147 the Compaq C compiler for Alpha Linux.
149 2003-02-25 Benjamin Reed <ranger@befunk.com>
151 * libtool.m4 (darwin): Disable hardcoding library paths to
152 make relinking unnecessary.
154 2003-02-24 Robert Boehne <rboehne@gnu.org>
156 * libltdl/configure.ac: Use AC_CONFIG_AUX_DIR([.]) to place
157 auxilary files in the libltdl directory.
158 * Makefile.am: Add to the ltmain.sh rule to copy it into the
159 libltdl subdirectory.
160 * bootstrap: Explicitly handle ltmain.sh in libltdl, and pass
163 2003-02-24 Ralph Schleicher <rs@nunatak.allgaeu.org>
165 * libtool.m4 (AC_LIBTOOL_SETUP): Check for ar.
167 2003-02-23 Peter O'Gorman <peter@pogma.com>
169 * libtool.m4 (darwin): Revamp darwin platform support.
170 * ltdl.m4 (darwin): Support dlcompat if found.
171 * ltmain.in: Make sure ranlib is run if needed when piecewise
174 2003-02-23 Alexandre Duret-Lutz <adl@gnu.org>
176 * ltmain.in (--help): Show mailing-address for bug reports.
177 (--version): Mention only the most recent copyright year.
178 * libtoolize.in (--help): Show mailing-address for bug reports.
179 (--version): Mention only the most recent copyright year.
181 2003-02-19 Alexandre Oliva <aoliva@redhat.com>
183 * libtool.m4 (AC_PROG_LD): Use $CC instead of GCC.
184 (_LT_AC_LANG_CXX_CONFIG): Preserve variables used by AC_PROG_LD,
185 and reset them for a C++ environment. Use the with_gnu_ld setting
188 * libtool.m4: Replace $linker_flags with $compiler_flags wherever
189 it is used as argument to $CC.
191 * libtool.m4: Use linux version_type on IRIX with GNU ld.
192 Prefix -soname, -set_version and their arguments with ${wl}. Add
193 -melf* linker scripts to LD, and use them to determine libsuff,
194 shlibsuff and libmagic.
196 2003-02-17 Allan Sandfeld Jensen <snowwolf@one2one-networks.com>
198 * libtool.m4: Intel icc fixups for version 7.0.
200 2003-02-17 Ralph Schleicher <rs@nunatak.allgaeu.org>
202 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Prepend a dot to
203 the value of the shrext (aka shared_ext) variable and delete it
204 from the library_names_spec and soname_spec definitions. That
205 way the user can omit the shared library suffix by setting it
207 (AC_LIBTOOL_LANG_CXX_CONFIG): Strengthen renaming commands for
209 * doc/libtool.texi (Link mode): Update the manual.
211 2003-02-17 Charles Wilson <cwilson@ece.gatech.edu>
213 * ltmain.in (win32_libid): Rewritten to improve speed.
215 2003-02-11 Richard Dawe <rich@phekda.freeserve.co.uk>
217 * libtoolize.in: Use the program found by AC_PROG_LN_S
220 2003-02-08 Jan Kratochvil <project-libtool@jankratochvil.net>
222 * ltmain.in: Handle duplicate object file names when performing
223 piecewise archive linking by renaming object files when needed.
225 2003-02-05 Robert Boehne <rboehne@gnu.org>
227 * libtool.m4 (AC_CHECK_LIBM): Search for a real symbol in
228 the math library rather than 'main', it causes problems for
229 C++ compilers with certain Auto* tools.
230 (AC_LIBLTDL_INSTALLABLE): ditto.
232 2003-02-05 Christian Cornelssen <ccorn@cs.tu-berlin.de>
234 * libtool.m4 (_LT_AC_LANG_CXX_CONFIG)
235 (AC_LIBTOOL_PROG_LD_SHLIBS): Rewrite printf commands so
236 that the format string cannot be mistaken as an option.
237 Reported by Martin MOKREJS.
239 2003-02-05 Robert Boehne <rboehne@gnu.org>
241 * libtool.m4: Modify the sys_lib_search_path_spec to allow
242 for either native sed or GNU sed to be used.
244 2003-02-04 Nick Hudson <skrll@netbsd.org>
246 * libtool.m4: don't use -nodefaultlibs in archive_commands
247 or archive_expsym_commands on NetBSD.
249 2003-02-04 Albert Chin-A-Young <china@thewrittenword.com>
251 * libtool.m4: Change setting of archive_cmds_need_lc
252 so that it doesn't overwrite the previous setting.
254 2003-01-28 Albert Chin-A-Young <china@thewrittenword.com>
256 * libtool.m4: Allow compiler variable, CC, CXX, etc. to
257 be a program name with arguments. Original version stripped
260 2003-01-28 Charles Wilson <cwilson@ece.gatech.edu>
262 * ltmain.in: add code for a binary wrapper
263 to use with uninstalled executables on cygwin/mingw.
264 Make sure that --mode=clean gets shell wrapper and
265 binary wrapper. When sourcing the shell wrapper,
266 invoke using a terminal `.' on cygwin/mingw to
267 avoid the automatic append-.exe behavior.
269 2003-01-28 Albert Chin-A-Young <china@thewrittenword.com>
271 * libtool.m4: Hardcode library paths into libraries on IRIX.
273 2003-01-18 Robert Boehne <rboehne@gnu.org>
275 * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): Don't add -DPIC
276 for languages other than C and C++.
278 2003-01-13 Albert Chin-A-Young <china@thewrittenword.com>
280 * libtool.m4, ltmain.in: Add support for hppa*64* based on
281 a patch by Ross Alexander <ross.alexander@uk.neceur.com>.
282 Credit to Ross! Use +b to hardcode library runtime path.
283 Add new variable, $hardcode_libdir_flag_spec_ld, that
284 is equivalent to $hardcode_libdir_flag_spec but is used
285 when ld is used for linking. This works around having to
288 2003-01-12 Robert Boehne <rboehne@gnu.org>
290 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Revert an
291 accidental rearranging of dylib and so for darwin.
293 2003-01-10 Robert Boehne <rboehne@gnu.org>
295 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Modify the
296 "-shrext" option so that is works properly under Darwin.
297 Modify the processing of 'gcc -print-search-dirs' under
298 Darwin to make it behave like GNU gcc does.
299 (AC_LIBTOOL_CONFIG): Single quote $shrext.
300 * ltimain.in: Expand shared_ext just before it is used
301 so that it can be conditional on the value of $module.
303 2002-12-31 Benjamin Reed <ranger@befunk.com>
305 * ltmain.in [darwin]: disable lazy linking, needed
306 to resolve C++ global constructor issues
308 2002-12-30 Ralph Schleicher <rs@nunatak.allgaeu.org>
310 Rework by Robert Boehne <rboehne@gnu.org>
311 * ltmain.in: New link option -shrext.
312 * libtool.m4 (AC_LIBTOOL_CONFIG): New libtool variable shrext.
313 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Replace all hard coded shared
314 library file name extensions in library_names_spec and
315 soname_spec with $shrext.
316 * doc/libtool.texi (Link mode): Document it.
318 2002-12-30 Charles Wilson <cwilson@ece.gatech.edu>
320 * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): modify
321 $archive_expsym_cmds to restore support for using
322 .def files via the -export-symbols switch.
323 (AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]): in both the [CXX]
324 branch and the default branch, improve $export_symbols_cmds
325 so that DATA symbols are properly labelled. In the default
326 branch, duplicate the _CXX_CONFIG correction for
327 $archive_expsym_cmds.
329 2002-12-30 Charles Wilson <cwilson@ece.gatech.edu>
331 * libtool.m4 (AC_LIBTOOL_RC): AC_PROG_RC doesn't exist --
332 but we do AC_DEFUN something called LT_AC_PROG_RC.
335 2002-12-30 Robert Boehne <rboehne@gnu.org>
337 * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Copy the section
338 for Darwin from AC_LIBTOOL_PROG_LD_SHLIBS so that the CXX
339 tag doesn't use the g++ defaults for the OS X compiler.
341 2002-12-30 Albert Chin-A-Young <china@thewrittenword.com>
343 * libtool.m4: Sync methods used to detect GNU ld.
345 2002-12-20 Robert Boehne <rboehne@gnu.org>
347 * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION,
348 AC_LIBTOOL_PROG_CC_C_O): Do not escape } or ? in sed argument.
350 2002-12-19 Robert Boehne <rboehne@gnu.org>
352 * ltmain.in: Use the sed program found by LT_AC_PROG_SED
353 so that relink commands don't get truncated.
355 2002-12-18 Robert Boehne <rboehne@gnu.org>
357 * libtool.m4: Move AC_REQUIRE([LT_AC_PROG_SED]) to AC_PROG_LD
358 so it is invoked earlier.
360 2002-12-11 Allan Sandfeld Jensen <snowwolf@one2one-networks.com>
362 * libtool.m4: Add support for Intel icc compiler for Linux.
364 2002-12-11 Robert Boehne <rboehne@gnu.org>
366 * ltmain.in: Revert the version +1 change for IRIX, it could
367 cause compatibility problems.
369 2002-11-22 Christian Cornelssen <ccorn@cs.tu-berlin.de>
371 * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION,
372 AC_LIBTOOL_PROG_CC_C_O): Changed method for compilation with
373 custom flags to be language-independent. Thereby removed
374 CFLAGS/GCJFLAGS mixup bug. Imitate Autoconf-style logging.
375 Log entries no longer discarded by compilation failures.
376 (_LT_AC_LANG_C_CONFIG, _LT_AC_LANG_CXX_CONFIG,
377 _LT_AC_LANG_GCJ_CONFIG): Tuned settings of
378 lt_simple_compile_test_code and lt_simple_link_test_code
379 to avoid warnings that could break some option detections.
380 (AC_LIBTOOL_PROG_COMPILER_NO_RTTI): Removed
381 redundant "-c conftest.$ac_ext" in the argument to
382 AC_LIBTOOL_COMPILER_OPTION.
383 (AC_LIBTOOL_PROG_LD_SHLIBS): Replaced C-specific conftest
384 source code with $lt_simple_compile_test_code, to support
385 the "-lc" test with other languages.
387 2002-11-19 Paul Eggert <eggert@twinsun.com>
389 Don't assume that egrep and fgrep exist. POSIX 1003.1-2001 no
390 longer requires them; you're supposed to use grep -E and grep -F
391 instead. Also, don't assume that "test -a" works, since POSIX
394 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER, _LT_AC_LANG_C_CONFIG,
395 _LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE,
396 AC_LIBTOOL_PROG_LD_SHLIBS):
397 egrep -> grep, when that makes no difference.
398 * libtoolize.in: Likewise.
399 * ltdl.m4 (AC_LTDL_SYMBOL_USCORE): Likewise.
400 * ltmain.in: Likewise.
401 * demo/Makefile.am (hc-direct): Likewise.
402 * pdemo/Makefile.am (hc-direct): Likewise.
403 * tests/build-relink.test, tests/build-relink2.test,
404 tests/cdemo-conf.test, tests/cdemo-shared.test,
405 tests/cdemo-static.test, tests/demo-conf.test,
406 tests/demo-nofast.test, tests/demo-shared.test,
407 tests/demo-static.test, tests/depdemo-conf.test,
408 tests/depdemo-nofast.test, tests/depdemo-shared.test,
409 tests/depdemo-static.test, tests/hardcode.test,
410 tests/mdemo-conf.test, tests/mdemo-shared.test,
411 tests/mdemo-static.test, tests/pdemo-conf.test,
412 tests/tagdemo-conf.test, tests/tagdemo-shared.test,
413 tests/tagdemo-static.test: Likewise.
415 * libtool.m4 (AC_PROG_EGREP):
416 New macro, defined if Autoconf doesn't define.
417 (AC_PATH_TOOL_PREFIX, AC_PROG_LD_GNU): Use it.
418 (AC_PROG_LD, AC_PROG_NM, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE):
419 Use shell pattern matching rather than egrep.
420 (AC_LIBTOOL_CONFIG): Set lt_EGREP and EGREP.
422 * demo/Makefile.am (SET_HARDCODE_FLAGS): Use sed instead of egrep.
423 * pdemo/Makefile.am (SET_HARDCODE_FLAGS): Likewise.
425 * tests/defs (EGREP, FGREP): New vars.
427 * ltmain.in: egrep -> $EGREP
428 * tests/assign.test, tests/demo-exec.test, tests/demo-inst.test,
429 tests/pdemo-exec.test, tests/pdemo-inst.test, tests/sh.test:
432 * tests/hardcode.test: fgrep -> $FGREP
434 * tests/f77demo-exec.test: test -a -> test &&
436 2002-11-18 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
438 * ltmain.in: When using gcc, pass -mfoo to the linker
439 via $compiler_flags in order to pass architecture information to
440 the linker (e.g. 32 vs 64-bit). This may also be accomplished via
441 -Wl,-mfoo but this is not reliable with gcc because gcc may use
442 -mfoo to select a different linker, different libraries, etc, while
443 -Wl,-mfoo simply passes -mfoo to the linker. If there is a better
444 solution, please let me know what it is.
446 2002-11-18 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
448 * tests/Makefile.am: Conditional assignment of FFLAGS = @FFLAGS@
449 does not appear to be necessary given that Automake makes this
450 assignment by default. The condition is removed since Automake
451 1.7.1 complains about it.
453 2002-11-18 Jakub Jelinek <jakub@redhat.com>
455 * libtool.m4: Support linking of 64-bit libraries on
456 sparc{,v[789]}-*linux*, s390*-*linux*, ppc*-*linux*
457 GNU/Linux systems when the platform default is to build
460 2002-11-18 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
462 * libtool.m4: Support linking of 32-bit libraries with ld
463 on the x86-64, ppc64, s390x and sparc64 GNU/Linux systems.
465 2002-11-18 Akim Demaille <akim@epita.fr>
467 * ltmain.in: Do not change the PATH in the wrappers: let them
468 launch the real binary using its path.
470 2002-11-18 Kevin Ryde <user42@zip.com.au>
472 * doc/libtool.texi (Library tips): Note array dimensions.
474 2002-11-18 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
476 * tests/*.test: MinGW's MSYS treats files under /dev
477 specially. This causes 'test -r /dev/null/config/site' to
478 improperly report success, causing configure to fail. Change the
479 CONFIG_SITE definition from "/dev/null/config/site" to
480 "/nonexistent" to avoid this problem.
482 2002-11-18 Charles Wilson <cwilson@ece.gatech.edu>
484 * libtool.m4 (_LT_AC_LOCK): remove support for ancient
485 versions of mingw and cygwin.
486 (AC_LIBTOOL_POSTDEP_PREDEP): new function.
487 moved the "find hidden library dependencies" code here
488 from AC_LIBTOOL_LANG_CXX_CONFIG. Attempted to make it
489 multi-tag compatible, but currently only CXX calls it.
490 (AC_LIBTOOL_LANG_CXX_CONFIG): set
491 enable_shared_with_satic_runtimes to 'no' by default
492 Set it to 'yes' for cygwin, mingw, pw32. Replace
493 "find hidden library dependencies" code with a call
494 to the new function AC_LIBTOOL_POSTDEP_PREDEP.
495 Consolidate cygwin and mingw/pw32 stanzas.
496 (AC_LIBTOOL_LANG_F77_CONFIG): set
497 enable_shared_with_static_runtimes to 'no' by default
498 (AC_LIBTOOL_CONFIG): add
499 enable_shared_with_static_runtimes to the list of variables
500 to write into ltmain.sh; include it in the libtool script
501 template as allow_libtool_libs_with_static_runtimes.
502 (AC_LIBTOOL_PROG_LD_SHLIBS): set
503 enable_shared_with_static_runtimes to 'no' by default
504 Set it to 'yes' for cygwin, mingw, pw32.
505 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): only put cr in regexp
506 if the build_os is mingw, not host_os
508 * ltmain.in (case deplibs_check_method): for all appropriate
509 cases, if allow_libtool_libs_with_static_runtimes, then remove
510 predeps and postdeps from the list of dependencies that must
511 be checked for "dynamicness". For the "none" case, the
512 presence of compiler-generated postdeps and predeps should
513 not trigger "inter-library dependencies not supported" error.
514 (initial setup after arg processing): on cygwin/mingw, allow
515 compiler-generated dependent libs to be duplicated without
517 (initial search loop for deplibs): if the deplib in question
518 is a libtool lib, then if
519 allow_libtool_libs_with_static_runtimes then parse the .la file.
520 If the .la file only has an "old_library", add the deplib
521 directly to the deplibs list (-lstdc++) and DON'T use the .la
522 file; this allows the (case deplibs_check_method) change above
524 * ltmain.in (for pass in $passes loop): remove predeps,
525 postdeps, and compiler_lib_search_path from dependency_libs.
527 2002-11-08 Robert Boehne <rboehne@gnu.org>
529 * doc/libtool.texi: Add --mode=* to every example using libtool.
531 2002-11-03 Ossama Othman <ossama@doc.ece.uci.edu>
533 * ltmain.in: add support for installing into temporary
534 staging area (e.g. 'make install DESTDIR=...')
536 2002-11-03 Charles Wilson <cwilson@ece.gatech.edu>
538 * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): restore setting
539 allow_undefined_flag=unsupported for cygwin and mingw.
540 (AC_LIBTOOL_PROG_LD_SHLIBS): ditto, for both "normal" gcc/ld
541 and for the (unmaintained?) MSVC case.
543 2002-11-03 Charles Wilson <cwilson@ece.gatech.edu>
545 * doc/libtool.texi (Install mode): document new
548 2002-11-02 Robert Boehne <rboehne@gnu.org>
550 * ltmain.in: Print a warning if the mode is not specified.
551 * doc/libtool.texi: Document the change that the mode must be
554 2002-10-30 Charles Wilson <cwilson@ece.gatech.edu>
556 * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): use printf, not
557 echo. (AC_DEPLIBS_CHECK_METHOD): use new shell function
558 win32_libid on w32 platforms
559 * ltmain.in: add new section for shell functions. Add
560 win32_libid() shell function.
561 * f77demo/Makefile.am: add -no-undefined flag
563 2002-10-30 Rob Browning <rlb@defaultvalue.org>
565 * ltdl.c (realloc): Remove custom realloc. (#define
566 rpl_realloc realloc) and comment out later code for custom
567 realloc. You can't define your own malloc unless you know
568 enough about the malloc in use to be able to tell how big
569 the src ptr is. The disabled code incorrectly used the
570 *destination* ptr to decide how much to copy. This
571 sometimes results in out-of-bound accesses which cause
572 segfaults. This is a quick hack for now; we may want
573 something cleaner later. (tryall_dlopen_module): check to
574 be sure (dirname_len > 0) before testing first character
575 against '/'. (try_dlopen): check for feof(file) in read
576 loop -- otherwise infloop?
578 2002-10-25 Robert Boehne <rboehne@gnu.org>
580 * ltmain.in (-XCClinker): New flag passes a linking option
581 directly to the compiler driver without appending ${wl}.
583 2002-10-25 Gary V. Vaughan <gary@gnu.org>
585 * README-alpha: Add some release not templates for inspiration and
586 consistency at release time.
588 * Makefile.am (cvs-diff): Compress the generated diff file, ready
589 for upload to ftp.gnu.org.
591 2002-10-25 Howard Chu <hyc@highlandsun.com>
593 * ltmain.in [aix]: Be sure to deal with xlc_r, cc_r and other
596 2002-10-25 Gary V. Vaughan <gary@gnu.org>
598 * libtool.m4 (_LT_AC_FILE_IMPGEN_C): Removed. No longer used.
599 (_LT_AC_FILE_LTDLL_C): Ditto.
600 (AC_LIBTOOL_CONFIG) [cygwin, mingw, pw32, os2]: Don't call
601 _LT_AC_FILE_LTDLL_C or _LT_AC_FILE_IMPGEN_C.
603 2002-10-25 Albert Chin-A-Young <china@thewrittenword.com>
605 * libtool.m4: When LDFLAGS="-Wl,-brtl,[other options]", the
606 -brtl special-case code for AIX never gets triggered because
607 were are being too specific about how we search for -brtl.
608 Use case statement to avoid this. Remove extraneous
610 * ltmain.in: Recognize the IBM xlc compiler.
612 2002-10-24 Andrew Suffield <asuffield@debian.org>
614 * libltdl/ltdl.c (lt_dlopenext): Corrected sense of "file not
617 2002-10-24 Ossama Othman <ossama@doc.ece.uci.edu>
619 * ltmain.in: Support compiler names matching g++*
621 2002-10-23 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
623 * libtool.m4: Removed old Windows cruft.
624 * libtool.m4: Adapted pw32 to be like Cygwin/MinGW.
626 2002-10-23 Robert Boehne <rboehne@gnu.org>
628 ltmain.in: Do not add 1 to the version under IRIX, it is
631 2002-10-15 Charles Wilson <cwilson@ece.gatech.edu>
633 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): avoid long delay on
634 cygwin/Win9x when computing commandline length.
635 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): fix postinstall_cmds when
636 sources are in a subdirectory
637 * ltdl.m4 (AC_LTDL_SYSSEARCHPATH): use $PATH_SEPARATOR, not
639 * configure.ac: move depdemo-specific stuff. You must configure
640 libtool before you can try './libtool --features'.
641 * mdemo-inst.test: set $PATH to include the directory in which
642 the modules are installed (on cygwin, DLL search path is the
645 2002-10-15 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
647 * ltmain.in: MinGW works identically to Cygwin.
648 * libtool.m4: lt_cv_sys_max_cmd_len hard-coded to 8192
649 * Model MinGW configuration after Cygwin configuration.
650 Some portions share implementation.
652 2002-10-15 Elizabeth Barham <soggytrousers@yahoo.com>
654 * libtool.m4: Pattern MinGW library naming after that
655 used by Cygwin except use 'lib' prefix rather than 'cyg'.
656 * Transfer some configuration from Cygwin with adjustments
659 2002-10-15 Albert Chin-A-Young <china@thewrittenword.com>
661 * libtool.m4: When a module is built for AIX, the 'lib'
662 prefix isn't needed, neither is the version. AIX dlopen
663 will honor the RPATH in a library.
665 2002-10-11 Christoph Egger <Christoph_Egger@gmx.de>
667 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS, darwin): Add
668 -install_name to the link line only when -dynamiclib is
669 specified for a module. Use -bind_at_load when linking C++
672 2002-10-04 Elizabeth Barham <soggytrousers@yahoo.com>
674 * libtool.m4 (AC_LIBTOOL_SETUP): GCC now checks -shared to
675 create a dll for Windows targets.
677 2002-09-24 Robert Boehne <rboehne@gnu.org>
679 * ltmain.in: Fixed a few spelling errors.
681 2002-09-17 Robert Boehne <rboehne@gnu.org>
683 * libltdl/ltdl.c: Commented out access() call that checks for a
684 library file's existence and permissions, as it appears to fail
687 2002-09-09 Albert Chin-A-Young <china@thewrittenword.com>
689 * libtool.m4: Custom $symcode for Tru64 UNIX to catch 'Q',
692 2002-09-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.de>
694 * libtool.m4 (osf[345]): Append $major to soname_spec.
695 Reflect this in library_names_spec.
696 * ltmain.in (osf): Prefix $major with '.' for use as extension.
698 2002-08-28 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
700 * ltdl.m4 & libltdl/ltdl.c: Port fully to native Win32 API.
702 2002-07-31 Robert Boehne <rboehne@gnu.org>
704 * f77demo/.cvsignore: New file, forgotten in the last commit.
706 2002-07-31 Eric Lindahl <erik@theophys.kth.se>
708 * libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77
710 (AC_LIBTOOL_PROG_CC_C_O, _LT_AC_TAGCONFIG): Support F77 tag.
711 (AC_LIBTOOL_F77, _LT_AC_LANG_F77, AC_LIBTOOL_LANG_F77_CONFIG):
712 New macros for F77 tag Fortran support.
713 * configure.ac: Add support for creating the new F77 tag.
714 * bootstrap: Add f77demo directory to the list to be processed.
715 * Makefile.am: Add support for FFLAGS and FLIBS.
716 * tests/Makefile.am: Add new Fortran tests.
717 * tests/f77demo-*.test: New files.
718 * f77demo/configure.ac, f77demo/cprogram.c, f77demo/fooc.c
719 * f77demo/foof.f, f77demo/foo.h, f77demo/fprogram.f
720 * f77demo/Makefile.am, f77demo/README: New files.
722 2002-07-16 Gary V. Vaughan <gary@gnu.org>
724 * libltdl/ltdl.c (tryall_dlopen): We need to catch missing file
725 errors early so that file_not_found() can detect what happened.
727 2002-06-26 Bob Friesenhahn <bfreisen@simple.dallas.tx.us>
729 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Remove
730 extraneous '=' character which appears in gcc 3.1
731 -print-search-dirs output.
732 Handle both upper and lower case drive letters when testing for
733 Windows vs POSIX style path output from -print-search-dirs
736 2002-06-24 Robert Boehne <rboehne@gnu.org>
738 * ltmain.in (Piecewise linking): Add a clause to skip creating
739 the export file until the reloadable object file(s) have been
740 created, then use them as input for $export_symbols_cmds.
742 2002-06-23 Albert Chin-A-Young <china@thewrittenword.com>
744 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Need to quote [ and ] for
747 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): HP/UX needs
748 libltdl_cv_sys_dlopen_deplibs set to yes.
750 2002-06-23 Kevin Ryde <user42@zip.com.au>
752 * libtool.m4 (AC_LIBTOOL_SETUP, _LT_AC_LOCK): Use
753 AC_PROVIDE_IFELSE to test AC_LIBTOOL_WIN32_DLL and
754 AC_LIBTOOL_DLOPEN, necessary for autoconf 2.53.
756 2002-06-23 Gary V. Vaughan <gary@gnu.org>
758 * libltdl/ltdl.c (argz_insert): Actually, BEFORE can be NULL
759 when *PARGZ_LEN is non-NULL, so the assertion to the contrary was
761 Reported by Bob Friesenhahn <bfreisen@simple.dallas.tx.us>
762 and Albert Chin-A-Young <china@thewrittenword.com>
764 2002-06-21 Gary V. Vaughan <gary@gnu.org>
766 * libltdl/ltdl.c (foreach_dirinpath): Ensure that filename is '\0'
767 terminated by all code paths.
768 Reported by Lutz Müller <lutz@users.sourceforge.net>
770 2002-06-20 Gary V. Vaughan <gary@gnu.org>
772 From Kevin Ryde <user42@zip.com.au>:
773 * doc/libtool.texi (Platform quirks): s/dependan/dependen/
774 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Ditto.
777 2002-06-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
779 * ltmain.in (irix, nonstopux): Set major before use.
781 2002-06-11 Daniel Kobras <kobras@linux.de>
783 * libltdl/ltdl.c (try_dlopen): Don't return bogus handle to user
784 if tryall_dlopen() fails.
786 2002-06-01 Gary V. Vaughan <gary@gnu.org>
788 * tests/pdemo-exec.test: Typo. s/hell-static/hell_static/
790 2002-05-31 Charles Wilson <cwilson@ece.gatech.edu>
793 * libtool.m4: use $NM to create the symbol list on cygwin, not
794 $ltdll_cmds as on mingw. For all tags, (and host=cygwin) set
795 allow_undefined_flag="" so that the --auto-import magic
796 works properly. For all tags (and host=cygiwn) set
797 always_export_symbols=no -- it is unnecessary thanks to
798 binutils' auto-export magic.
799 * libltdl/ltdl.c: Don't force cygwin to use the LoadLibrary
800 wrapper; use cygwin's builtin implementatino of dl*.
801 * cdemo/Makefile.am: the downside of unsetting
802 'allow_undefined_flag' -- we must include -no-undefined
803 in the _la_LDFLAGS variable.
804 * depdemo/l1/Makefile.am: ditto.
805 * depdemo/l2/Makefile.am: ditto.
806 * depdemo/l3/Makefile.am: ditto.
807 * depdemo/l4/Makefile.am: ditto.
808 * mdemo/Makefile.am: ditto.
809 * tagdemo/Makefile.am: ditto.
810 * demo/Makefile.am: ditto. But also, we must make special
811 provision to clean up the hell0 wrapper script.
812 * pdemo/Makefile.am: ditto -no-undefined. ditto hell0.
813 And use 'hell_static' instead of 'hell.static'.
814 * tests/pdemo-inst.test: use 'hell_static' instead
816 * tests/pdemo-exec.test: ditto.
818 2002-05-30 Charles Wilson <cwilson@ece.gatech.edu>
820 * tests/build-relink2.test: look for installed libl3.la
821 in $prefix/lib/ as well as $prefix/lib/extra/.
823 2002-05-30 Gary V. Vaughan <gary@gnu.org>
825 * tests/hardcode.test: Use libtool --config to collect the
826 variable values for the test, otherwise the tag values interfere
827 with a straight grep.
829 2002-05-30 Gary V. Vaughan <gary@gnu.org>
831 Finally fix the annoying bug which always adds all tags to the
832 libtool script built by your project configure. Now we set the
833 default tags depending on whether AC_PROG_CXX et. al. are actually
834 called from configure.ac.
836 * libtool.m4 (_LT_AC_TAGCONFIG): Don't default the tagnames when
837 no --with-tags argument is given.
838 (_LT_AC_SHELL_INIT): Factored out from the AC_DIVERT_PUSH code
840 (_LT_AC_PROG_ECHO_BACKSLASH): ...which now calls the macro
842 (AC_LIBTOOL_CXX): Use _LT_AC_SHELL_INIT to add CXX to the
843 initialisation sequence for tagnames.
844 (AC_LIBTOOL_GCJ): Similarly for GCJ tag.
845 (AC_LIBTOOL_RC): Likewise for RC tag.
847 2002-05-21 Jon Meredith <jonm@alchemetrics.co.uk>
849 * ltmain.in: Fix a problem on SCO OpenServer5 that caused a
850 failure in three depdemo-make tests. For some reason the linker
851 tries to find the dependent libraries using the library search
852 path before it has read the libraries specified with absolute
853 paths in the full commandline. This patch add -L's for each of
854 the dependent library directories so that they can be resolved.
856 2002-05-09 Nick Hudson <skrll@netbsd.org>
858 * libtool.m4: Update support for NetBSD
859 * ltdl.m4: Make sure that libltdl_cv_func_dlopen and
860 libltdl_cv_lib_dl_dlopen are set and used instead of the
861 ac_cv_ versions. Also, use lt_cv_sys_global_symbol_pipe
862 instread of global_symbol_pipe. This fixes the detection of
863 dlopen on BSD derived plaforms and more importantly fixes
864 need_uscore detection.
866 2002-05-06 Paul Eggert <eggert@twinsun.com>
868 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): head -1 -> sed 1q to
869 port to POSIX 1003.1-2001 hosts, like textutils 2.0.21 with
870 _POSIX2_VERSION=200112.
872 2002-05-06 Paul Eggert <eggert@twinsun.com>
874 * ltmain.in: Don't assume that "sort +2" works, as POSIX
875 1003.1-2001 says that "sort +2" is supposed to sort the file
876 named "+2". An example host that behaves like this is
877 textutils 2.0.21 with _POSIX2_VERSION=200112.
879 2002-05-06 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
881 * ltmain.in: Detect and handle object name conflicts while
882 piecewise linking a static library.
884 2002-05-02 Dave Vasilevsky <thevas@mac.com>
886 * ltmain.in: Remove convenience libraries from deplibs for Darwin.
888 2002-05-02 Fritz Elfert <felfert@to.com>
890 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Modify archive_expsym_cmds
891 to catch properly handle dll alias symbols.
893 2002-04-24 Kevin Ryde <user42@zip.com.au>
895 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use $build_os not $host_os.
897 2002-04-14 Robert Boehne <rboehne@gnu.org>
899 * doc/libtool.texi (C++ libraries): Finally updated to reflect
900 Libtool's support for C++.
902 2002-04-14 Jean-Frederic Clere <jfrederic.clere@fujitsu-siemens.com>
904 * libtool.m4: Update support for Fujistu-Siemens Computers (FSC).
905 * ltmain.in: Add support for EBCDIC based systems.
907 2002-04-07 Robert Boehne <rboehne@gnu.org>
909 * libtool.m4 (LT_AC_PROG_SED): Refactor, removing temporary directory
910 and consistent use of the shell variable namespace "lt_ac_".
912 2002-04-02 Robert Boehne <rboehne@gnu.org>
914 * ltmain.in: Finish the tag matching logic started yesterday and
917 2002-04-01 Robert Boehne <rboehne@gnu.org>
919 * ltmain.in: Handle the case when no tag is explicitly set, and
920 $base_compile has a space in front of $CC, and revert the setting
921 of tagname checked in on 2002-3-14.
923 2002-04-01 Robert Boehne <rboehne@gnu.org>
925 * tagdemo/foo.cpp: Use C++ IO to catch problems linking to C++
927 * tagdemo/main.cpp: Ditto.
929 2002-03-16 Gary V. Vaughan <gary@gnu.org>
931 * TODO: Removed obsolete comments about RMS' package system.
933 2002-03-14 Robert Boehne <rboehne@gnu.org>
935 ltmain.in: Touch-up to make testsuite pass, and default tagname
936 to CC when it isn't explicitly set.
938 2002-03-14 Anthony Green <green@redhat.com>
940 * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Albert Chin's gcj fix.
941 (AC_LIBTOOL_PROG_COMPILER_PIC): Per Bothner's change for not
942 using -DPIC with gcj.
944 2002-03-11 Bruce Korb <bkorb@gnu.org>
946 * ltmain.in(compile): bring a touch of order to the option processing
948 2002-02-09 Gary V. Vaughan <gary@gnu.org>
951 * THANKS: Added Rob Collins and Chuck Wilson for their cygwin
954 From Robert Collins <robert.collins@itdomain.com.au>:
955 * configure.ac (AC_EXEEXT): Needed for DOSish systems.
956 * libtool.m4 (shlibpath_overrides_runpath) [cygwin]: Set to yes
957 when compiling with gcc.
958 (lt_prog_compiler_pic) [cygwin]: No longer needs the -DDLL_EXPORT
959 hack, so we just say the pic is the default.
960 (AC_LIBTOOL_PROG_LD_SHLIBS) [cygwin]: Extract symbols from a
962 [cygwin]: Declare C++ compiler characterisics for g++, taking into
963 account the new auto-import support in cygwin ld.
964 * ltmain.in (specialdeplibs) [cygwin]: Be careful about
965 eliminating duplicate -lgcc's from the link line.
966 [cygwin]: Be smarter about .exe suffixes.
967 * demo/configure.ac (AC_EXEEXT, AC_LIBTOOL_WIN32_DLL): Support
968 DOSish systems properly.
969 * depdemo/configure.ac (AC_EXEEXT, AC_LIBTOOL_WIN32_DLL): Ditto.
970 * demo/Makefile.am (deplibs-check): Allow for .exe suffix. Use
971 hell_static instead of hell.static for multi-`.' inhibited OSes.
972 * tests/demo-exec.test: Ditto.
973 * tests/demo-inst.test: Ditto.
974 * demo/foo.h [cygwin]: Sanitize cygwin dll support.
975 * demo/foo.c (_LIBFOO_COMPILATION_): No longer required.
976 * demo/hello.c (_LIBFOO_COMPILATION_): Ditto.
977 * depdemo/Makefile.am (bin_PROGRAMS): Use depdemo_static instead
978 of depdemo.static for multi-`.' inhibited OSes.
979 * tests/depdemo-exec.test: Ditto.
980 * tests/depdemo-inst.test: Ditto.
981 * mdemo/Makefile.am (bin_PROGRAMS): Ditto for mdemo.static.
982 * tests/dryrun.test: Ditto.
983 * tests/mdemo-exec.test: Ditto.
984 * tests/mdemo-inst.test: Ditto.
985 * tests/build-relink.test: Be careful about possible .exe
987 * tests/noinst-link.test: Allow for .exe suffix.
989 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
991 Reverted incorrect patch:
992 2001-10-24 H.J. Lu <hjl@gnu.org>
993 * ltmain.sh: Allow link against an archive when building a
995 * libtool.m4 (lt_cv_deplibs_check_method): Always use
996 file_magic for Linux ELF.
998 2002-01-30 Robert Boehne <rboehne@ricardo-us.com>
1000 * libtool.m4 (LT_AC_PROG_SED): Removed a mysterious newline.
1002 2002-01-28 Robert Boehne <rboehne@ricardo-us.com>
1004 * libtool.m4 (LT_AC_PROG_SED): New macro tests sed for truncation of
1005 output. AC_REQUIRE the new macro.
1006 * ltmain.in: Use $SED rather than plan old sed, as set by the new
1007 macro LT_AC_PROG_SED.
1009 2002-01-10 Volker Christian <voc@soft.uni-linz.ac.at>
1011 * libltdl/ltdl.c (find_handle_callback): treat the result of a call
1012 to access(2) correctly when deciding whether a library can be found
1013 in a directory from user_search_path.
1015 2002-01-07 Robert Boehne <rboehne@ricardo-us.com>
1017 * NEWS: Fixed wrong path for texinfo.tex.
1018 * configure.ac: Bumped version to 1.4e.
1020 GNU libtool 1.4d was released.
1022 * configure.ac: Bumped version to 1.4d.
1024 * config.guess, config.sub, texinfo.tex: Synchronised from
1027 2001-12-06 Jens Petersen <petersen@redhat.com>
1029 * ltmain.in: Replace all test "-a"s by "&& test"
1032 2001-11-28 Robert Boehne <rboehne@ricardo-us.com>
1034 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the
1035 factor of saftey as 3/4 of the result was not low enough.
1037 2001-11-28 Gary V. Vaughan <gary@gnu.org>
1039 * libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined
1040 in aclocal.m4 had bitrotted slightly.
1041 Reported by Takahiko Kawasaki <Takahiko_Kawasaki@cii.csk.co.jp>
1043 2001-11-27 Donald D. Anderson <dda@sleepycat.com>
1045 * ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should
1046 not be explicitly used. ld handles this depending on the presence
1047 of the -pthread option.
1049 2001-11-27 Robert Boehne <rboehne@ricardo-us.com>
1051 With help from Michael Matz <matz@kde.org>:
1052 * ltmain.in: Add a new command line argument
1053 --preserve-dup-deps for preserving duplicate
1054 dependent libraries.
1055 * libtool.texi: Document it.
1057 2001-11-27 Kevin Ryde <user42@zip.com.au>
1059 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Send "test"
1060 warnings to /dev/null, helps FreeBSD and maybe others.
1062 2001-11-15 Albert Chin-A-Young <china@thewrittenword.com>
1064 * libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC
1065 macro might add to $CC if options needed by compiler to
1068 2001-11-15 Gary V. Vaughan <gary@gnu.org>
1070 From Joseph S. Myers <jsm28@cam.ac.uk>:
1073 2001-11-15 Mo DeJong <supermo@bayarea.net>
1075 * ltmain.in: Place parens around a generated relink_command
1076 so it is run is a subshell. This avoids an install error
1077 where libtool ended up in the wrong directory after
1078 relinking a .la file.
1080 2001-10-31 Raja R Harinath <harinath@cs.umn.edu>
1082 * configure.ac (pkgdatadir): Move the invocation of AC_INIT_AUTOMAKE
1083 before the use of $PACKAGE in $pkgdatadir.
1084 Reported by Bob Friesenhahn <bfreisen@simple.dallas.tx.us>
1086 2001-10-28 Gary V. Vaughan <gary@gnu.org>
1088 From Tom Bates <Tom.Bates@compaq.com>:
1089 * libtool.m4 [mips-compaq-nonstopux]: New port.
1090 * ltmain.in [mips-compaq-nonstopux]: Support
1091 $version_type == nonstopux.
1093 2001-10-28 Albert Chin-A-Young <china@thewrittenword.com>
1095 * libltdl/ltdl.c (foreach_dirinpath): change some types to size_t
1096 from int because strlen() returns size_t. argz_len changed to
1097 size_t because argzize_path() takes 3rd argument as size_t, not
1099 Based on lint run from Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1101 2001-10-27 Gary V. Vaughan <gary@gnu.org>
1103 * libtool.m4 (_LT_AC_TAGCONFIG): Cray sed does not allow character
1104 sets to contain the separator character.
1105 Reported by Kevin Ryde <user42@zip.com.au>
1107 * ltdl.m4 (AC_WITH_LTDL): New macro to add `--with-included-ltdl'
1108 option to configure, but to find an appropriate ltdl library and
1109 append the right options to link it.
1111 2001-10-24 Kevin Ryde <user42@zip.com.au>
1113 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Remove a stray ' quote.
1115 2001-10-24 H.J. Lu <hjl@gnu.org>
1117 * ltmain.sh: Allow link against an archive when building a
1119 * libtool.m4 (lt_cv_deplibs_check_method): Always use
1120 file_magic for Linux ELF.
1122 2001-10-12 Guido Draheim <guidod-2001q3@gmx.de>
1124 * ltdl.m4: Changed "underscode to underscore".
1126 2001-10-06 Gary V. Vaughan <gary@gnu.org>
1128 * configure.ac: General modernisation and cleanup.
1129 * cdemo/configure.ac: Ditto.
1130 * demo/configure.ac: Ditto.
1131 * depdemo/configrue.ac: Ditto.
1132 * ltdl/configure.ac: Ditto.
1133 * ltdldemo/configure.ac: Ditto.
1134 * mdemo/configure.ac: Ditto.
1135 * pdemo/configure.ac: Ditto.
1136 * tagdemo/configure.ac: Ditto.
1138 2001-10-04 Albert Chin-A-Young <china@thewrittenword.com>
1140 * libltdl/ltdl.c: Match function return type with prototype
1141 (add static initializer to file_not_found).
1143 2001-09-30 Gary V. Vaughan <gary@gnu.org>
1145 * libtool.m4 (AC_LIBLTDL_CONVENIENCE): s/INCLTDL/LTDLINCL/ for
1146 consistency with gettext's INTLINCL. Keep the old symbol too for
1147 backwards compatibility.
1148 (AC_LIBLTDL_INSTALLABLE): Ditto.
1149 * doc/libtool.texi (Distributing libltdl): Adjust documentation.
1151 2001-09-22 Albert Chin-A-Young <china@thewrittenword.com>
1153 * ltdl.m4 (AC_LTDL_DLLIB): Even though HP-UX 10.20 and 11.00
1154 support shl_load *and* dlopen, dlopen works correctly only
1155 with a patch. Because we want to avoid the situation where we
1156 build on a system with the patch but deploy on a system without,
1157 use shl_load exclusively if found.
1159 2001-09-22 Gary V. Vaughan <gary@gnu.org>
1161 * libtool.m4 (_LT_AC_FILE_LTDLL_C): Be carefule that the start
1162 marker searched for by sed must start in column 0.
1163 (_LT_AC_FILE_IMPGEN_C): Ditto.
1164 Reported by Tor Lillqvist <tml@iki.fi>
1166 2001-09-22 Tor Lillqvist <tml@iki.fi>
1168 * libtool.m4 [mingw* cygwin*]: Small improvement for mingw-hosted
1169 tool support (while still running libtool on cygwin). In that case
1170 PATH_SEPARATOR is ':', but gcc -print-search-dirs still prints its
1171 search path with ';' as separator.
1172 (AC_LIBTOOL_RC, AC_LIBTOOL_LANG_RC_CONFIG): Add support for .rc
1173 files (Windows resource files), compiled by the resource compiler
1174 (windres in mingw) to .o files.
1175 (AC_PROG_NM): Minor bug fix for $PATH elements with spaces in
1177 * configure.ac: Use LT_AC_PROG_RC.
1178 * ltmain.in: Check for .rc files.
1181 * ltmain.in: Add a space to $base_compile in the case statement,
1182 as the case labels checks for trailing spaces, but there aren't
1183 necessarily in $base_compile.
1185 2001-09-22 Albert Chin-A-Young <china@thewrittenword.com>
1187 * libtool.m4: When setting archive_cmds for CC, don't
1188 test for $GXX but for $GCC on HP-UX. Indentation fixes.
1190 2001-09-21 Gary V. Vaughan <gary@gnu.org>
1192 From Tor Lillqvist <tml@iki.fi>:
1193 * ltmain.in [cygwin* mingw*]: Take care of the difference between
1194 wrapper script name and executable name.
1196 * libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6
1197 for /bin/sh, and that shell does not handle escaped quotes
1199 Reported by Christopher Pfisterer <cp@chrisp.de>
1201 2001-09-21 Albert Chin-A-Young <china@thewrittenword.com>
1203 * libltdl/ltdl.c: Match function return type with prototype
1204 (add static initializer to some functions) to prevent warnings
1207 2001-09-21 Gary V. Vaughan <gary@gnu.org>
1209 * libltdl/ltdl.c: Added support for dmalloc, and uncovered some
1210 memory bugs as a result.
1212 2001-09-21 Albert Chin <china@thewrittenword.com>
1214 * libtool.m4: Don't include main() when testing for command to
1215 parse $NM output because some C++ compilers don't allow you to
1216 take the address of main (e.g. HP-UX aCC).
1218 * libtool.m4: Some uses of $GXX were unquoted, but GXX is either
1219 NULL or yes. Use "$GXX".
1221 2001-09-13 Assar Westerlund <assar@sics.se>
1223 * ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test
1224 does not fail due to a prototype in dlfcn.h
1226 2001-09-13 Gary V. Vaughan <gary@gnu.org>
1228 * ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h.
1229 * libltdl/ltdl.c: If not, disable assertions manually.
1231 2001-09-11 Gary V. Vaughan <gary@gnu.org>
1233 * bootstrap: Be robust to having no files that need removing.
1235 * libltdl/configure.ac (AM_INIT_AUTOMAKE): Bump libltdl version to
1237 * libltdl/Makefile.am (libltdl_la_LDFLAGS): Bump libtool library
1238 version info to 4:0:1.
1240 2001-09-11 Gary V. Vaughan <gary@gnu.org>
1242 * libtool.m4: No need to undefine([symbols]), proper quotation is
1245 2001-09-10 Gary V. Vaughan <gary@gnu.org>
1247 * libtool.m4: CVS Autoconf guarantees a decent default IFS, so
1248 there is no need for us to preset it anymore.
1249 Be careful not to set IFS="${IFS}$PATH_SEPARATOR" for PATH
1250 splitting, otherwise spaces in directory names will be lost.
1251 Use $PATH_SEPARATOR... don't rely on $ac_path_separator, which was
1252 an autoconf internal until just now, when it disappeared!
1253 * ltmain.in: Default IFS once, at the start.
1254 Reported by Akim Demaille <akim@epita.fr>
1256 2001-09-10 Brad <brad@comstyle.com>
1258 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Missed an instance of
1259 Autoconf square bracket quoting style normalisation.
1261 * ltmain.in (-lc_r): Style improvement.
1263 * doc/libtool.texi: Remove obsolete references to ltconfig.
1264 * tests/quote.test: s/ltconfig/\$0/
1266 2001-09-09 Gary V. Vaughan <gary@gnu.org>
1268 * libtool.m4: Use Autoconf square bracket quoting style
1269 consistently throughout.
1271 2001-09-08 Gary V. Vaughan <gary@gnu.org>
1273 * bootstrap: Cleanup `autom4te' and `libtool' so that we don't
1274 get caught by something from a previous build.
1276 * libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Revert
1277 my 2001-09-06 patch.
1278 (no_undefined_flag)i [solaris*]: Revert Alexandre's 2001-04-11 patch.
1280 2001-09-07 Gary V. Vaughan <gary@gnu.org>
1282 * libltdl/ltdl.c (foreach_dirinpath): argz_len should be a size_t.
1283 Reported by Albert Chin <china@thewrittenword.com>
1285 2001-09-06 Gary V. Vaughan <gary@gnu.org>
1287 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris*]: Typo. s/GXX/GCC/.
1289 * libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Changing
1290 no_undefined_flag from `-z text' to `-z defs' (see entry below at
1291 2001-04-11 Alexandre Oliva <aoliva@redhat.com>) has a problem.
1292 when linking a shared library with gcc calling /usr/ccs/bin/ld (eg.
1293 the gcc supplied with Solaris 8 companion CD), using the flag
1294 -no-undefined, shared library linking will always fail because of
1295 the unresolved symbols from libgcc.a. Consequently we have to
1296 provide a path to libgcc.a when linking shared libraries in
1297 conjunction with -no-undefined!
1299 From Michael Pruett <mpruett@engr.sgi.com>:
1300 * libltdl/ltdl.c (find_module): `0' valued arguments to
1301 tryall_dlopen_module() must be explicitly cast to avoid compiler
1302 warnings on some environments.
1304 From Daniel Johnson <danielj7@mac.com>:
1305 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [darwin*]: Move from GNU
1306 ld section to non-GNU ld section.
1308 2001-09-05 Robert Boehne <rboehne@ricardo-us.com>
1310 * pdemo/Makefile.am (helldl): Automake 1.4 can't find the target
1311 if we use helldl$(EXEEXT), and Automake 1.5 barfs unless we do.
1312 Using both targets to the left of the colon seems to work though!
1314 2001-09-03 Gary V. Vaughan <gary@gnu.org>
1316 * demo/Makefile.am (helldl): Automake 1.4 can't find the target
1317 if we use helldl$(EXEEXT), and Automake 1.5 barfs unless we do.
1318 Using both targets to the left of the colon seems to work though!
1320 2001-09-03 Brad <brad@comstyle.com>
1322 * ltdl.m4 [AC_LTDL_SYS_DLOPEN_DEPLIBS]: Teach ltdl about the
1323 behavior of OpenBSD's dlopen().
1325 2001-09-03 Gary V. Vaughan <gary@gnu.org>
1327 From Marius Vollmer <mvo@zagadka.ping.de>:
1328 * libltdl/ltdl.c (tryall_dlopen_module): Don't forget to propogate
1329 errors over recurse levels.
1331 2001-09-03 Brad <brad@comstyle.com>
1333 * libtool.m4 [openbsd*]: More improvements to the OpenBSD port.
1335 2001-09-02 Gary V. Vaughan <gary@gnu.org>
1337 From Albert Chin <china@thewrittenword.com>:
1338 * libtool.m4 (_LT_AC_LANG_C_CONFIG) [aix4*]: Be careful with
1339 shared namespaces for static and shared libs.
1340 (AC_LIBTOOL_DLOPEN_SELF): If all else fails, try dld_link from GNU
1343 2001-09-02 Christopher Pfisterer <cp@chrisp.de>
1345 * libtool.m4, ltmain.in: Linker flag and version numbering fixes
1348 2001-09-02 Gary V. Vaughan <gary@gnu.org>
1350 Based on a patch from Marius Vollmer <mvo@zagadka.ping.de>:
1352 * ltdl.m4 (AC_LIB_LTDL): Check for unistd.h.
1353 * ltdl.c: Include unistd.h if it exists.
1354 (LTDL_SEARCHPATH_VAR): Macro to prevent hardcoding
1355 "LTDL_LIBRARY_PATH".
1356 (LTDL_ARCHIVE_EXT): Macro to prevent hardcoding ".la".
1357 (archive_ext): Have only one copy of ".la" in the readonly
1358 segment of the compiled library.
1359 (find_handle_callback): Don't bother trying to dlopen the file if
1361 (find_handle): Don't bother searching for files if no search_path
1363 (file_not_found): A new function to determine whether the last
1364 error was due to a file not found condition.
1365 (try_dlopen): Renamed from lt_dlopen() and changed to have the
1366 same footprint as tryall_dlopen. This involved a minor rewrite of
1367 much of the internals of this function.
1368 (lt_dlopen): A new function wrapped arounf try_dlopen().
1369 (lt_dlopenext): If a file already has a suitable extension, don't
1370 bother adding additional extensions and trying to open those.
1371 Tidy up the rest of the code to prevent continued searching with
1372 an eventual FILE_NOT_FOUND when a genuine failure earlier in the
1373 search process could be legitimately reported.
1375 * demo/Makefile.am (helldl$(EXEEXT)): Automake-1.5 made me change
1376 this from just `helldl'.
1378 2001-07-31 Robert Boehne <rboehne@ricardo-us.com>
1380 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) Fixed a problem
1381 with export_symbols_cmds not being set for CXX tags, and
1382 not being properly set for any tag under AIX/Power.
1384 2001-08-19 Ossama Othman <ossama@uci.edu>
1386 * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Corrected and improved
1387 error message that is displayed when there was a problem
1388 compiling the C++ test program. It still mentioned the now
1389 non-existent `ltcf-cxx.sh' file.
1391 * doc/libtool.texi (LTDL_SET_PRELOADED_SYMBOLS): Removed
1392 parentheses at end of starting "defmac" line, as pointed out by
1395 2001-08-18 Brad <brad@comstyle.com>
1397 * ltmain.in: Do not remove -lm from deplibs for OpenBSD.
1399 2001-08-16 Gary V. Vaughan <gary@gnu.org>
1401 * libltdl/ltdl.c (argz_create_sep): Don't forget to include the
1402 terminating '\0' when counting argz_len.
1403 (argz_create_sep): When canonicalizing argz, don't forget to copy
1404 the terminating '\0', incase canonicalization has shortened argz.
1405 (argz_stringify): Don't covert the final '\0' to a separator.
1407 2001-08-15 Gary V. Vaughan <gary@gnu.org>
1409 * libltdl/ltdl.c (lt_dlhandle_next): Now we can loop through all
1410 loaded module handles as originally intended.
1412 * libltdl/ltdl.c (lt_dlseterror): Oops. This never worked
1413 either, due to a pair of typos. Now fixed.
1415 * libltdl/ltdl.c (N_ELEMENTS): Deleted. How come nobody noticed
1416 there was no way this could have ever worked?
1417 (lt_dlcaller_set_data): Now that valid caller_ids must be
1418 non-zero, allocate an addition entry in the caller_data vector and
1419 use a zero valued key as the end marker.
1420 (lt_dlcaller_get_data): Iterate up to the end marker in one pass.
1422 2001-08-14 Gary V. Vaughan <gary@gnu.org>
1424 * libltdl/ltdl.c (lt_dlcaller_register): Caller ids are allocated
1425 starting from value `1', so that clients can use a value of zero
1426 to indicate that libltdl has not yet initialised.
1428 * ltmain.in (exec_cmd): Fix quoting in execute mode so that the
1429 double quotes added by libtool (to prevent lossage with embedded
1430 spaces in filenames etc.) are not interpreted as literals by the
1433 2001-08-13 Gary V. Vaughan <gary@gnu.org>
1435 * libltdl/ltdl.c (find_file_callback): Fix a multiple free()
1437 (tryall_dlopen_module): Remove some unused variables.
1439 * libltdl/ltdl.c (lt_dlinsertsearchdir): Calculate the address
1440 of the end of user_search_path correctly.
1442 * libltdl/ltdl.c (rpl_argz_stringify): New fallback implementation.
1443 * ltdl.m4 (AC_LTDL_FUNC_ARGZ): Test for argz_stringify in libc.
1444 * libltdl/ltdl.c (lt_argz_insertinorder): Renamed from
1445 lt_argz_insert to make room for...
1446 (lt_argz_insert): Wraps argz_insert with libltdl error handling.
1447 (lt_dlpath_insertdir): Insert new path elements into an
1449 (lt_dlinsertsearchdir): New function to insert new search
1450 directories anywhere into user_search_path using the above.
1451 (lt_dladdsearchdir): Rewritten to use lt_dlpath_insertdir.
1452 * libltdl/ltdl.h (lt_dlinsertsearchdir): Prototype for export.
1453 * doc/libtool.texi (Libltdl interface): Document it.
1456 2001-08-07 Gary V. Vaughan <gary@gnu.org>
1458 From Albert Chin <china@thewrittenword.com>:
1459 * ltmain.in [irix*]: $with_gcc is either "yes" or "" (empty string)
1460 with current autoconf, so we need to be robust to that when testing
1463 2001-08-06 Gary V. Vaughan <gary@gnu.org>
1465 From Brad <brad@comstyle.com>:
1466 * libtool.m4 (deplibs_check_method) [aix*]: Removed redundant setting
1469 2001-08-05 Gary V. Vaughan <gary@gnu.org>
1471 * libltdl/ltdl.c (load_deplibs): Insert missing 1st argument to
1474 2001-08-05 Tim Van Holder <tim.van.holder@pandora.be>
1476 * ltdl.m4: Canonicalize descriptive text used with
1479 * libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Remove.
1480 (_LT_AC_PROG_ECHO_BACKSLASH): Use $ac_path_separator
1481 instead of $PATH_SEPARATOR.
1482 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Ditto.
1483 (_LT_AC_TAGCONFIG): Ditto.
1484 (AC_ENABLE_SHARED): Ditto.
1485 (AC_ENABLE_STATIC): Ditto.
1486 (AC_ENABLE_FAST_INSTALL): Ditto.
1487 (AC_PATH_TOOL_PREFIX): Ditto.
1488 (AC_PATH_MAGIC): Ditto.
1489 (AC_PROG_LD): Ditto.
1490 (AC_PROG_NM): Ditto.
1491 * ltdl.m4 (AC_LTDL_SYSSEARCHPATH): Ditto.
1493 2001-08-05 Gary V. Vaughan <gary@gnu.org>
1495 From Brad <brad@comstyle.com>:
1496 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd]: OpenBSD
1497 can build modules without a `lib' prefix and version number.
1498 Move the deplibs check code from here...
1499 (AC_DEPLIBS_CHECK_METHOD): ...to here.
1501 2001-08-05 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1503 * libtool.m4 [osf3*, osf4*, osf5*]: Tru64 *can* build modules
1504 without a `lib' prefix to the module name.
1506 2001-08-05 Gary V. Vuaghan <gary@gnu.org>
1508 From Guido Draheim <Guido.Draheim@tek.com>:
1509 * ltmain.in: Display better and different error messages when
1510 library linkage fails in various ways.
1512 2001-08-05 Albert Chin-A-Young <china@thewrittenword.com>
1514 * libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Add newline after
1515 terminating '}' grouping character. Change '[0-9][0-9]'
1516 to '0' as we've already matched it.
1518 2001-08-05 Gary V. Vaughan <gary@gnu.org>
1520 From Brad <brad@comstyle.com>:
1521 * libtool.m4 (archive_cmds) [darwin, newsos, sysv4]: Replace
1522 1.3 era $linkopts references with $linker_flags.
1524 * libltdl/ltdl.c: Fixed several careless mistakes in the
1525 foreach_dirinpath support functions.
1526 (foreach_dirinpath): Walk path elements with the argz API.
1528 2001-08-04 Gary V. Vaughan <gary@gnu.org>
1530 From Sedi Master Albert Chin <china@thewrittenword.com>:
1531 * libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Replace the awk invocation
1532 with an equivalent bit of sed wizardry.
1534 From Edouard G. Parmelan <egp@free.fr>
1535 * libtool.m4 [darwin, openbsd]: Fix quoting problems with
1536 unquoted [] expressions.
1538 2001-08-03 Gary V. Vaughan <gary@gnu.org>
1540 * bootstrap: s/ltdldemo // -- This demo soesn't work properly,
1541 so I haven't committed it yet.
1543 2001-08-01 Ossama Othman <ossama@doc.ece.uci.edu>
1545 * libtool.m4 (AC_LIBTOOL_SETUP): Require Autoconf-2.50 via the
1546 AC_PREREQ autoconf macro since the new libtool macros utilize
1547 macros from that version of Autoconf.
1549 2001-08-01 Gary V. Vaughan <gary@gnu.org>
1551 * ltdl.m4: Bump serial number.
1552 General reformat and tify up in line with Autoconf-2.50 support.
1553 (AC_LTDL_FUNC_ARGZ): Test for system implementations of a
1554 handful of argz API calls, the error_t type, and the argz.h
1556 * libltdl/configure.ac (AM_INIT_AUTOMAKE): Bump version number.
1557 * libltdl/ltdl.c (rpl_argz_append, rpl_argz_create_sep.
1558 rpl_argz_insert, rpl_rgz_next): Fallback implementations of
1559 the similarly named functions for machines that don;t use glibc.
1560 (lt_dlrealloc): New memory function pointer that can be set by
1561 the client. Defaults to rpl_realloc, which in turn uses only
1562 lt_dlmalloc and lt_dlfree.
1563 (LT_EMALLOC, LT_EREALLOC): Set internal out-of-memory error
1564 inside the functions called by these new macros. Simplified all
1565 callers by removing explicit client error reporting.
1566 (memmove): Fallback implementation of overlap safe memory copy
1568 (tryall_dlopen): Factorized common code into...
1569 (tryall_dlopen_module): ...this new helper function.
1570 (canonicalize_path): Changed function signature to return success
1571 or failure. Updated all callers.
1572 (foreachfile_callback): Make use of argz API.
1573 (LT_DLSTRLEN): Moved from here...
1574 * libltdl/ltdl.h (LT_STRLEN): ...to here. Updated all callers.
1575 (lt_dlrealloc): Declare new memory management handle.
1577 2001-07-31 Robert Boehne <rboehne@ricardo-us.com>
1579 * libtool.m4 (mingw*) Revert the previous change as it was
1582 2001-07-31 Guido Draheim <Guido.Draheim@tek.com>
1584 * libtool.m4 (mingw*) sys_lib_search_path_spec:
1585 Sets the proper path separator for cross-compiling.
1587 2001-07-30 Steve Ellcey <sje@cup.hp.com>
1589 * libtool.m4 (ia64-*-hpux*) Add support for ia64*-*-hpux* platform.
1591 2001-07-30 Robert Boehne <rboehne@ricardo-us.com>
1593 * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Fixed an
1594 incorrect resetting of lt_prog_compiler_static when using gcc
1597 2001-07-31 Gary V. Vaughan <gary@gnu.org>
1599 * bootstrap: Remove generated files (incase they are links) before
1600 rerunning the autotools to regenerate them.
1602 2001-07-30 Gary V. Vaughan <gary@gnu.org>
1604 * libtool.m4 (AC_LIBTOOL_SETUP): Use Autoconf-2.50 era
1605 quadrigraphs and AC_HELP_STRING to bring AC_ARG_WITH/ENABLE
1607 (_LT_AC_LOCK): Ditto.
1608 (_LT_AC_TAGCONFIG): Ditto.
1609 (AC_PROG_LD): Ditto.
1610 (AC_ENABLE_SHARED): Ditto. And eliminate the last remaining
1611 changequote invocations.
1612 (AC_ENABLE_STATIC): Ditto. And Ditto.
1613 (AC_ENABLE_FAST_INSTALL): Ditto. And Ditto.
1614 * ltdl.m4 (AC_LTDL_ENABLE_INSTALL): Use Autoconf-2.50 era
1615 quadrigraphs and AC_HELP_STRING to bring AC_ARG_ENABLE
1619 * libtool.m4 [UnixWare7, OpenUNIX8]: Initial support for
1620 UnixWare7 and OpenUNIX8. Accept these identifiers from the
1621 latest config.guess/config.sub as pseudonyms for sysv5uw[78].
1623 Reported by Boyd Lynn Gerber <gerberb@zenez.com>
1625 2001-07-29 Gary V. Vaughan <gary@gnu.org>
1627 * tests/sh.test: Add a new test to enforce X as the fill
1628 character in `test "X...'.
1629 Beef up the `test' tests to also check `test -.' and `test ! -.'
1630 phrases for compliance.
1631 * ltmain.in: Fix quoting problems uncovered by the new tests.
1633 2001-07-29 Andrew C. Feren <aferen@CetaceanNetworks.com>
1635 * tests/sh.test: New test to disallow `test $foo', where
1636 `test "$foo"' is much safer.
1637 * ltmain.in: Fix quoting problems uncovered by the new test.
1639 2001-07-29 Steve Ellcey <sje@cup.hp.com>
1641 * libtool.m4 (lt_cv_sys_global_symbol_to_cdecl): Change it from
1642 "extern char" to "extern int" so that GCC 3.0 won't complain and
1643 refuse to compile programs containing "extern char main()".
1645 2001-07-29 Gary V. Vaughan <gary@gnu.org>
1647 From Guido Draheim <Guido.Draheim@tek.com>:
1648 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Support
1649 cross compilation to mingw by allowing `:' or ';' as a path
1653 2001-07-27 NIIBE Yutaka <gniibe@m17n.org>
1655 * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all
1656 for sh*-*-linux* (SuperH) too.
1658 2001-07-25 Ossama Othman <ossama@debian.org>
1660 From Thomas Poindessous <poinde_t@epita.fr>
1661 * ltmain.in (pic_mode): Added missing quotes around shell
1662 variable in "if test" conditional.
1664 From Peter Moulder <pmoulder@longford.csse.monash.edu.au>
1665 * ltmain.in (xform): Add support for pre-processed
1666 (e.g. `*.{i,ii}' sources).
1668 2001-07-25 Gary V. Vaughan <gary@gnu.org>
1670 From Steve Ellcey <sje@cup.hp.com>:
1671 * libltdl/ltdl.c (foreach_dirinpath): Free unassigned pointer
1672 fix for `canonical'.
1674 2001-07-23 Robert Boehne <rboehne@ricardo-us.com>
1676 * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS)
1677 [aix4*, aix5*]: Fixed a mispelled binder option under AIX.
1678 The option to throw errors for unresolved external references is
1679 -bernotok, not -bnoerok.
1681 2001-07-23 Gary V. Vaughan <gary@gnu.org>
1683 * Makefile.am (EXTRA_DIST): Don't forget to distribute
1686 From Erik Lindahl <E.Lindahl@chem.rug.nl>
1687 * libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Used on aix to discover
1688 the compiler's default library search path so that the MPI
1689 compiler suite is not hosed by the previously hardcoded path.
1690 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [aix4*, aix5*]: Use it.
1692 2001-07-23 Andreas Schwab <schwab@suse.de>
1694 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
1695 s390*-*-linux* and m68*-*-linux*.
1697 2001-07-19 Robert Boehne <rboehne@ricardo-us.com>
1699 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix tag support
1700 problems with CXX variables being overwritten by the individual
1702 (AC_LIBTOOL_PROG_CC_C_O): Ditto.
1703 (AC_LIBTOOL_PROG_COMPILER_PIC): Ditto.
1704 (AC_LIBTOOL_LANG_CXX_CONFIG): Moved call to
1705 AC_LIBTOOL_SYS_HARD_LINK_LOCKS after the call to
1706 AC_LIBTOOL_PROG_CC_C_O as it depends on the result.
1707 (AC_LIBTOOL_LANG_GCJ_CONFIG): Ditto.
1708 (AC_LIBTOOL_LANG_C_CONFIG): Ditto.
1709 (AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH): Used the macro
1710 _LT_AC_TAGVAR to ensure the correct variable is being queried.
1711 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Changed the naming of shared
1712 objects under IRIX back to what it was in the MLB.
1714 2001-07-23 Mark Kettenis <kettenis@gnu.org>
1716 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN) [gnu*]: Remove spurious
1717 "break" and bogus comment
1718 (_LT_AC_LANG_CXX_CONFIG): Add support for the Hurd.
1719 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Add support for the Hurd.
1721 2001-07-16 Robert Boehne <rboehne@ricardo-us.com>, Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1723 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): add cases and comments for
1724 more platforms, including AIX, Digital/Tru64 UNIX and IRIX.
1726 2001-07-16 Gary V. Vaughan <gary@gnu.org>
1728 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix ia64 AIX
1729 run-time-linking when not using gcc.
1730 (AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
1731 Reported by Dan McNichol <mcnichol@austin.ibm.com>
1733 2001-07-12 Gary V. Vaughan <gary@gnu.org>
1735 From dda@sleepycat.com (Don Anderson):
1736 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [qnx]: New
1737 supported architecture.
1738 (AC_DEPLIBS_CHECK_METHOD) [qnx]: Ditto.
1741 From Stefan Ondrejicka <ondrej@idata.sk>:
1742 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [cygwin*]: Make
1743 sure that /lib/w32api is searched for system libraries to
1744 match recent versions of cygwin.
1747 2001-07-12 Dan McNichol <mcnichol@austin.ibm.com>
1749 From albert chin <china@thewrittenword.com>
1750 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix AIX
1751 run-time-linking when using gcc.
1752 (AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
1754 2001-07-11 Gary V. Vaughan <gary@gnu.org>
1756 * libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
1757 solaris]: Doh! the evalled variable shouldn't have been
1760 * libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
1761 solaris]: output_verbose_link_cmd have unquoted `*' in case
1762 statements for these architectures. Be sure to quote them
1763 with a sed expression before passing to eval.
1764 Reported by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1766 2001-07-09 Gary V. Vaughan <gary@gnu.org>
1768 * README-alpha: s/configure.in/configure.ac.
1769 * configure.ac: Bumped version to 1.4c.
1771 GNU libtool 1.4b was released.
1773 * configure.ac: Bumped version to 1.4b.
1775 * config.guess, config.sub, texinfo.tex: Synchronised from
1778 2001-07-09 Robert Boehne <rboehne@ricardo-us.com>
1780 From Michael Elizabeth Chastain <chastain@cygnus.com>:
1781 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set max_cmd_len
1782 to a maximum of 512Kb, as it seems some HPUX 11.0 systems
1783 have trouble with 1MB.
1785 2001-07-09 Gary V. Vaughan <gary@gnu.org>
1787 * README-alpha: Upgrade distribution instructions to include
1788 canonical location of texinfo.tex.
1790 2001-07-09 Timothy Wall <twall@oculustech.com>
1792 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Don't disable shlibs
1793 on AIX5/IA64 with GNU ld. Keep gnu defaults if using gnu tools
1796 2001-07-09 Robert Boehne <rboehne@ricardo-us.com>
1798 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set max_cmd_len
1799 to -1 on hurd, it has no command line argument limits.
1800 * ltmain.in Handle max_cmd_len=-1 for systems that don't have
1801 command line argument limits.
1803 2001-07-05 Gary V. Vaughan <gary@gnu.org>
1805 * libtool.m4 (_LT_AC_LANG_C_CONFIG): Revert to 1.3.x
1806 sematics, and always build static libs when the host machine
1807 cannot build shared libs. Even if static libs were explicitly
1810 2001-07-02 Gary V. Vaughan <gary@gnu.org>
1813 * ltdl.c (lt_dladderror): Don't use `index' as a variable name,
1814 since it is a function on BSD based boxes.
1815 (lt_dlseterror): Ditto.
1816 (lt_dlexit): Remove unused errormsg declaration.
1817 (foreach_dirinpath): Make sure filename is initialised.
1818 (find_handle): Return NULL for a failed search.
1819 (foreachfile_callback): Don't reuse data2 symbol from prototype
1820 in func declaration to prevent symbol shadowing.
1821 * ltdl.h (lt_dlmutex_seterror): Don't use `error' as a parameter
1822 name, since it is a function on glibc boxes.
1824 * libtoolize.in: Display --version in the same format as
1825 autoconf and automake.
1828 2001-06-30 Gary V. Vaughan <gary@gnu.org>
1830 Merge test improvements from multi-language-branch:
1831 * tests/defs: Find and set the value of CC probed by libtool.m4
1832 * tests/link-2.test: Use a .lo wrapper script, and the value of
1833 CC set by defs instead of hardcoding gcc.
1834 * tests/link.test: Use the value of CC set by defs instead of
1836 * tests/quote.test: Ditto.
1837 * tests/suffix.test: Ditto.
1839 * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Always set
1840 lt_prog_compiler_wl to `-Wl'.
1841 Reported by Albert Chin-A-Young <china@thewrittenword.com>
1843 * ltdl.m4 (AC_LTDL_DLLIB) [sco3.2*]: When searching for a dlopen
1844 implementation, and adding `-ldl' has failed, try linking a call
1845 to dlopen, #including dlfcn.h, and without -ldl. On sco3.2 the
1846 header files redefines the interface symbols to point at the
1847 implementation symbols in libc.
1848 Reported by "Golubev I. N." <gin@mo.msk.ru>
1850 2001-06-29 Tim Van Holder <tim.van.holder@pandora.be>
1852 General cleanup of autoconf-2.50 upgrade:
1853 * configure.ac: Mark as needing autoconf-mode in
1854 emacs. Pass arguments to AC_INIT.
1855 * cdemo/configure.ac: Ditto.
1856 * demo/configure.ac: Ditto.
1857 * depdemo/configure.ac: Ditto.
1858 * libtldl/configure.ac: Ditto.
1859 * mdemo/configure.ac: Ditto.
1860 * pdemo/configure.ac: Ditto.
1861 * tagdemo/configure.ac: Ditto.
1862 * ltdl.m4: Mark as needing autoconf-mode in
1864 * libtool.m4: Mark as needing autoconf-mode in
1865 emacs. Don't add () to AS_MESSAGE_LOG_FD.
1866 * libltdl/configure.ac: Use config-h.in as
1867 template for config.h.
1868 * tagdemo/configure.ac: Drop the AC_DIAGNOSTIC. Move
1869 AC_LANG([C++]) after the OBJEXT/EXEEXT check.
1871 2001-06-29 Gary V. Vaughan <gary@gnu.org>
1873 From Tim Van Holder <tim.van.holder@pandora.be>
1874 * tests/suffix.test: Typo in 2nd for loop.
1876 From Tim Van Holder <tim.van.holder@pandora.be>
1877 * libltdl/Makefile.am (OBJECTS): This was an implicit variable.
1878 instead state the list of object variables explicitly.
1880 From Bruno Haible <haible@ilog.fr>
1881 * libtool.m4: undefine the m4 builtin `symbols', so that the
1882 string `symbols' can be used in the rest of the code without
1883 causing errors with autoconf-2.13.
1885 From "Golubev I. N." <gin@mo.msk.ru>
1886 * tests/Makefile.am (CPPLAGS): Typo. s/CPPLAGS/CPPFLAGS.
1888 * mdemo/Makefile,am (foo1_la_LIBADD): Add libsub.la, since foo1
1889 does use symbols from libsub.la -- only platforms that allow
1890 undefined symbols in libraries were able to cope with this
1892 Reported by Robert Collins <robert.collins@itdomain.com.au>
1894 From "Golubev I. N." <gin@mo.msk.ru>
1895 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [sco3.2v5*]: Needs
1896 -wl,-Bexport to make self dlopen work.
1898 2001-06-28 Gary V. Vaughan <gary@gnu.org>
1900 From Alexander Bluhm <Alexander.Bluhm@WiredMinds.de>
1901 * libltdl/ltdl.c (lt_dlopen): Fix bad memory initialisation
1904 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE) [HPUX]: Define
1905 lt_cv_sys_global_symbol_to_c_name_address to be a sed expression
1906 for mangling the output of the symbol pipe into a brace delimited
1907 C declaration of symbol name and address.
1908 * ltmain.in: Use it to generate the fooS.c symbol name
1909 Reported by Albert Chin-A-Young <china@thewrittenword.com>
1911 2001-06-28 Tim Van Holder <tim.van.holder@pandora.be>, Gary V. Vaughan <gary@gnu.org>
1913 * bootstrap: Use cp instead of ln -s, for systems without
1914 symlinks. Reorder the statements to avoid repetition outside
1917 2001-06-28 Paolo Bonzini <bonzini@gnu.org>, Gary V. Vaughan <gary@gnu.org>
1919 Libtool now builds with the help of Autoconf-2.50!
1920 * configure.ac (AC_PREREQ): Require Autoconf-2.50 or newer.
1921 (AC_PROG_CPP, AC_EXEEXT, AC_OBJEXT): Removed. Autoconf-2.50
1922 doesn't have the AC_REQUIRE bug that required these to be called
1923 explicitly from here. Autoconf-2.50 uses this file instead of...
1924 * configure.in: ...this, which is now deleted.
1925 * cdemo/configure.ac, cdemo/configure.in: Ditto.
1926 * demo/configure.ac, demo/configure.in: Ditto.
1927 * depdemo/configure.ac, depdemo/configure.in: Ditto.
1928 * libltdl/configure.ac, libltdl/configure.in: Ditto.
1929 * mdemo/configure.ac, mdemo/configure.in: Ditto.
1930 * pdemo/configure.ac, pdemo/configure.in: Ditto.
1931 * tagdemo/configure.ac, tagdemo/configure.in: Ditto.
1932 * libltdl/acconfig.h: Deleted.
1933 * Makefile.am (libtool): libtool now depends on configure.ac.
1934 * libtool.m4 (_LT_AC_LOCK): Use 2.50's AC_LANG_PUSH/AC_LANG_POP
1935 instead of 2.13's AC_LANG_SAVE/AC_LANG_RESTORE.
1936 (AC_LIBTOOL_LANG_C_CONFIG): Ditto.
1937 (AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
1938 * libtoolize.in: Use $configure_ac, instead of hardcoding
1941 2001-06-28 Tim Van Holder <tim.van.holder@pandora.be>
1943 * pdemo/Makefile.am: Use '=' instead of '+=' to shut up
1946 2001-06-27 Gary V. Vaughan <gary@gnu.org>
1948 From brad@openbsd.org:
1950 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd]: Improved
1951 support for various openbsd platforms.
1952 (AC_LIBTOOL_PROG_LD_SHLIBS): Ditto.
1955 2001-06-26 Gary V. Vaughan <gary@gnu.org>
1958 * libltdl/ltdl,c (LT_DLMUTEX_LOCK): Renamed from MUTEX_LOCK to
1959 avoid potential namespace clash.
1960 (LT_DLMUTEX_UNLOCK, LT_DLMUTEX_SETERROR, LT_DLMUTEX_GETERROR):
1962 (lt_dlmutex_lock_func): Renamed from mutex_lock to avoid a
1963 namespace clash of NCR MP-RAS.
1964 (lt_dlmutex_unlock_func, lt_dlmutex_seterror_func,
1965 lt_dlmutex_geterror_func): Ditto.
1966 Reported by Edouard G. Parmelan <egp@free.fr>
1968 * libltdl/ltdl.c (LT_DLSTRLEN): Call strlen only if the argument
1969 is non-NULL and non-zero in length. Changed all calls to strlen
1972 * libltdl/ltdl.c: Prototype all static functions.
1974 * ltdl.m4: Bump serial number to 3.
1975 (AC_LIB_LTDL): Require AC_HEADER_DIRENT for ltdl.c.
1976 * libltdl/ltdl.h (lt_dlforeachfile): Prototype for new function.
1977 * libltdl/ltdl.c: Include an appropriate header for the
1979 (foreach_dirinpath): Visit each file in a list of directories.
1980 (find_file_callback): Factor out the core of find_file() to make
1981 use of foreach_dirinpath().
1982 (find_file): Use it!
1983 (find_handle_callback, find_handle): Ditto.
1984 (lt_dlforeachfile): New function to find files in a searchpath.,,
1985 (foreachfile_callback): ...using this callback.
1986 * doc/libtool.texi (Libltdl interface): Document new
1987 lt_dlforeachfile api call.
1989 2001-06-25 Gary V. Vaughan <gary@gnu.org>
1991 * THANKS: Added Albert Chin-A-Young.
1993 * libtool.m4 (IFS): When IFS is changed to split a string for
1994 examination in a loop, restore it inside the loop as well as
1995 outside incase IFS is needed by commands in that loop.
1996 Reported by Pavel Roskin <proski@gnu.org>
1998 2001-06-25 Albert Chin-A-Young <china@thewrittenword.com>
2000 * libtool.m4: Prefer shl_load to dlopen on HP-UX because dlopen
2001 won't work properly without a patch.
2003 2001-06-25 Daniel Harvey <daniel@amristar.com.au>
2005 * libtool.m4 (ltdll_cmds): [$]0 doesn't appear to translate through
2006 the script correctly, change to $''0
2008 2001-06-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2010 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
2011 mips-*-linux* and mipsel-*-linux*.
2013 2001-06-24 Andreas Schwab <schwab@suse.de>
2015 * libtool.m4 (AC_LIBTOOL_SETUP): Remove failed try to
2016 transform linux to linux-gnu in $host.
2017 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Match $host_os against
2018 linux*, not linux-gnu*.
2019 (AC_DEPLIBS_CHECK_METHOD): Likewise.
2021 2001-06-24 Gary V. Vaughan <gary@gnu.org>
2023 * libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Set
2024 PATH_SEPARATOR appropriately if it is not set already,
2025 (_LT_AC_TAGCONFIG): Use it.
2026 (AC_ENABLE_SHARED): Ditto.
2027 (AC_ENABLE_STATIC): Ditto.
2028 (AC_ENABLE_FAST_INSTALL): Ditto.
2029 (AC_PATH_TOOL_PREFIX): Ditto.
2030 (AC_PATH_MAGIC): Ditto.
2031 (AC_PATH_PROG_NM): Ditto.
2033 From Tim Van Holder <tim.van.holder@pandora.be>:
2034 * libtool.m4: Use the canonical absolute path test
2035 ([\\/]* | ?:[\\/]) and $PATH_SEPARATOR wherever
2037 (AC_LIBTOOL_PROG_CC_PIC): Properly recognize DJGPP as a
2038 platform that doesn't support shared libraries.
2039 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Avoid this test on DJGPP; use a
2040 fixed value (12K) instead.
2041 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Don't forget $ac_exeext
2042 when testing for link success.
2044 * configure.in (AM_INIT_AUTOMAKE): Bumped version to 1.4a.
2046 Complete the new configure time tags creation facility based on
2047 the ltcf-*.sh and ltconfig.in files from multi-language-branch:
2048 * libtool.m4: More refactoring and reformatting.
2049 (_LT_AC_LANG_GCJ_CONFIG): Merged ltcf-gcj.sh from
2050 multi-language-branch.
2051 (_LT_AC_LANG_CXX_CONFIG): Merged ltcf-cxx.sh from
2052 multi-language-branch.
2053 * configure.in (AC_PROG_CXX, LT_AC_PROG_GCJ): Compiler checks must
2054 be done before AC_PROG_LIBTOOL which appends tags based on their
2057 2001-06-12 Robert Boehne <rboehne@ricardo-us.com>
2059 * docs/libtool.texi: Updated the libltdl interface documentation
2060 to bring it up to date.
2062 2001-06-06 Gary V. Vaughan <gary@gnu.org>
2064 * demo/Makefile.am (objdir): Use `libtool --config' for
2065 extracting configuration values, since a given value may
2066 be present in each tag.
2067 (hc-libpath): Ditto.
2069 * libtool.m4 (_LT_AC_TAGCONFIG): Add tagged configurations from
2070 the --with-tags option.
2071 (_LT_AC_LTCONFIG_HACK): Factored out into separate configuration
2072 macros -- The interdependencies and running order are still
2073 immutable, and need a lot of work to fix.
2074 (AC_LIBTOOL_CONFIG): Taken from the previous incarnation of
2075 _LT_AC_LTCONFIG_HACK -- this macro is used both to create the
2076 primary (C language) libtool configuration from
2077 _LT_AC_LTCONFIG_HACK and also to append tagged configurations from
2079 * NEWS: Merged from multi-language-branch.
2081 2001-06-06 Robert Boehne <rboehne@ricardo-us.com>
2083 * bootstrap: Added tagdemo and pdemo tests from
2084 multi-language-branch.
2085 * configure.in: Added pdemo and tagdemo to CONF_SUBDIRS
2086 and merged references to CXX and GCJ from multi-language-branch.
2087 * pdemo: Added test directory from multi-language-branch.
2088 * tagdemo: Added test directory from multi-language-branch.
2089 * tests/Makefile.am: Merged additional tests from
2090 multi-language-branch.
2091 * tests/pdemo-*.test: ditto.
2092 * tests/tagdemo-*.test: ditto.
2094 2001-05-30 Gary V. Vaughan <gary@gnu.org>
2096 * libtool.m4: Merged ltconfig.in from multi-language-branch.
2098 2001-05-28 Gary V. Vaughan <gary@gnu.org>
2100 * libtool.m4: Reformatting for consistency, and some refactoring
2101 in preparation for ltcf-*.sh merge.
2103 2001-05-27 Gary V. Vaughan <gary@gnu.org>
2105 * ltmain.in: Merged from multi-language-branch.
2106 * libtool.m4: Merged from multi-language-branch.
2107 * ChangeLog: Started afresh. Old ChangeLog history moved to...
2108 * ChangeLog.1: ...here.
2110 Continued in ChangeLog.1