1 2000-06-04 Mark Mitchell <mark@codesourcery.com>
3 * ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
4 with_gcc]: Use `gcc -shared' to build a shared library.
6 2001-06-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
8 * ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
11 2001-05-28 Simon Patarin <simon.patarin@inria.fr>
13 * ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared
14 libraries when using g++ with native linker.
16 2001-05-28 Albert Chin <china@thewrittenword.com>
18 * ltconfig.in (version_type, soname_spec) [aix4* | aix5*]: Use
19 linux-style versioning, and remove trailing .o from soname_spec.
21 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
23 * ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
24 [aix4*|aix5*]: Prepend blank.
26 2001-05-20 Alexandre Oliva <aoliva@redhat.com>
28 * configure.in: Reverted to 1.4, to avoid confusion with MLB.
29 Mainline is the release snapshot, except for the ChangeLog version
30 number, until the multi-language branch is merged into it.
32 * ltconfig.in: Fix sh.test regression introduced in previous patch.
34 * ltconfig.in (lt_cv_sys_max_cmd_len): Improve test to work better
35 in case of non-built-in echo. Set bounds correctly.
37 * ltcf-cxx.sh (allow_undefined_flag) [aix4* | aix5*]: Fix quote
40 * ltmain.in (exec_cmd): New variable. Don't exec programs within
41 the big `case'; set the variable instead, and exec the cmd
42 afterwards, so that the shell gets a chance to clean up here-doc
46 2001-05-16 Alan Modra <amodra@one.net.au>
48 * libtool.m4 (lt_cv_deplibs_check_method): pass_all for hppa*-linux.
50 2001-05-03 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de>
52 * ltmain.in (relink_command): Arrange for wrapper script to save
53 output to a variable and display it only if relinking fails.
55 2001-04-25 Gary V. Vaughan <gvv@techie.com>
57 * configure.in: bumped version to 1.4a.
59 GNU libtool 1.4 was released.
61 * configure.in: Bumped version to 1.4.
62 * config.sub, config.guess: Synchronised from ftp.gnu.org.
65 2001-04-24 Peter Eisentraut <peter_e@gmx.net>
67 * libtool.m4: Support $host_os as /sysv5uw7*/ from newer
68 config.guess in addition to older /unixware*/. Use compiler
69 driver, not linker, for linking shared libraries.
71 2001-04-24 Gary V. Vaughan <gvv@techie.com>
73 * libtool.m4, ltmain.in, libltdl/configure.in,
74 tests/quote.test: Remove stale references to ltconfig.
76 * ltdl.m4 (AC_C_INLINE): No longer required.
77 * libltdl/ltdl.c (strdup, strcmp, strchr, strrchr, memcpy, trim,
78 free_vars): Revoke inline keyword from declarations. `static
79 inline' is not very portable, and in addition Unixware 7.1.1's
80 compiler says you can't access static variables from inline
82 Reported by Peter Eisentraut <peter_e@gmx.net>
84 2001-04-24 Albert Chin-A-Young <china@thewrittenword.com>
86 * libtool.m4: Handle case where /bin/nm -p outputs multiple
87 symbol types (like under HP-UX 11.00).
89 2001-04-24 Thomas Tanner <tanner@ffii.org>
91 * TODO: describe problems with libltdl
92 * ltmain.in (ILD): tidy up, add comments, remove dead code,
94 * ltmain.in (ILD): don't touch newdependency_libs after scan or
96 * ltmain.in (ILD): don't dlpreopen dependency_libs of a dlopened
97 module (remove absolutely wrong quick hack)
98 * ltmain.in (ILD): remove wrong comments about duplicate removal
99 * ltmain.in (ILD): build a static-only module if it has
100 static libraries in its dependencies (so that libltdl can
101 safely load dependency_libs)
102 * ltmain.in (argument parsing): prefix comparsions of -l args with X,
103 replace -lc with `-framework System' _after_ the ILD passes
104 * ltmain.in (argument parsing): support dl[pre]open
105 for both .o and .lo files
106 * ltmain.in (deplibs_check): use portable test syntax
107 * ltmain.in (help): document -prefer-[non-]pic flags
108 * ltmain.in: improve readablity by adding some comments,
109 rename uninst_* to notinst_* (more adequate name)
111 2001-04-24 Gary V. Vaughan <gvv@techie.com>
113 * doc/PLATFORMS: More updates from subscribers to
116 From Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
117 * tests/Makefile.am (TESTS_ENVIRONMENT): Make sure the *.test
118 scripts get the same make that was used in the top level
121 2001-04-23 Gary V. Vaughan <gvv@techie.com>
123 * doc/PLATFORMS: Updated with more platforms successfully
124 tested by members of libtool@gnu.org.
126 2001-04-23 Peter Eisentraut <peter_e@gmx.net>
128 * doc/PLATFORMS: With this patch, freebsd4.3 passes the test
130 * libltdl/ltdl.c (lt_dlexit): Quit loop if only resident modules
133 2001-04-23 Gary V. Vaughan <gvv@techie.com>
135 * doc/PLATFORMS: With this patch, my Solaris boxes now pass the
137 From Albert Chin-A-Young <china@thewrittenword.com>
138 * ltmain.in: `test -L' is not portable, and infact breaks uninstall
139 mode on Solaris. Fallback to `test -h' and finally `test -f',
140 but be careful not to let the failure status cause libtool to
143 From Simon Spero <ses@ibiblio.org>
144 * ltdl.m4 (AC_LTDL_DLSYM_USCORE): Add $LIBADD_DL while
145 checking for dlsym _.
147 From Simon Spero <ses@ibiblio.org>
148 * libtool.m4 (lt_cv_deplibs_check_method) [darwin]: Set it!
150 * TODO: Make a note to undo this later.
151 From Christoph Pfisterer <cp@chrisp.de>
152 * libtool.m4: Use $() execution substitution quotation to work
153 around zsh builtin echo \ escape removal.
155 2001-04-22 Peter Eisentraut <peter_e@gmx.net>
157 * bootstrap: Allow overriding the location aclocal, automake,
158 autoconf, autoheader from the environment.
160 * demo/Makefile.am: Automake 1.4e does not allow `+=' assignments
161 if the variable was not set with `=' earlier. `+=' was not useful
164 2001-04-22 Gary V. Vaughan <gvv@techie.com>
166 * ltdl.m4 (AC_CHECK_HEADERS): UW7 has sys/dl.h, so we must
168 * libltdl/ltdl.c (HAVE_SYS_DL_H): Include it if necessary for
170 Reported by Matthew Schalit <mschalit@pacbell.net>
172 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
173 various releases of UnixWare and OpenServer that support it.
174 Reported by Matthew Schalit <mschalit@pacbell.net>
176 * doc/PLATFORMS: Updated with various platforms successfully
177 tested by members of libtool@gnu.org.
179 2001-04-21 Gary V. Vaughan <gvv@techie.com>
181 * TODO: propose pkg-config merge.
183 2001-04-21 Nick Hudson <skrll@netbsd.org>
185 * ltmain.in: Correct an error in yesterday's patch.
187 2001-04-20 Nick Hudson <skrll@netbsd.org>
189 * libtool.m4: Improve NetBSD support.
192 2001-04-19 Dan McNichol <mcnichol@austin.ibm.com>
194 * libtool.m4: Build standard shared libraries on AIX POWER
195 more like AIX does, with a shared object archived into lib<xxx>.a.
196 On AIX -bexpall flag does strange things... Don't use it.
197 Fix quotes around -berok flag. Add support for AIX 5.
198 Add support for run time linking on AIX POWER. (should work
199 on AIX 4.2 and up). Turn this feature on by adding -brtl flag
200 to LD_FLAGS. Add support for AIX on IA64. Note: AIX on IA64
201 uses a SYSV type linker. Add a comment telling what to do if the
202 TOC starts getting too large on AIX.
203 * NEWS: mention aix5 support.
205 2001-04-18 Alexandre Oliva <aoliva@redhat.com>
207 * TODO: Add -L- flag.
209 2001-04-11 Alexandre Oliva <aoliva@redhat.com>
211 * libtool.m4 (no_undefined_flag) [Solaris ld]: Change to -zdefs.
213 2001-04-11 Ossama Othman <ossama@uci.edu>
215 * AUTHORS: Added myself to the list of maintainers.
217 2001-04-08 Gary V. Vaughan <gvv@techie.com>
219 * libtool.m4 (hardcode_libdir_flag_spec, osf4/osf5): Use ${wl}
220 to pass -rpath when compiling with gcc.
221 Reported by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
223 * libltdl/ltdl.c (sys_shl_open): Cache a handle for the `self'
224 module, since HPUX adds module symbols into the `self' pool if
225 it is opened later. Return the cached pointer if the caller
226 subsequently tries to open `self'.
227 (sys_shl_sym): Diagnose NULL modules.
229 From Peter Eisentraut <peter_e@gmx.net>
230 * ltmain.in (clean,uninstall): test -e is not portable. Well,
231 neither is -L, but I'm hoping that redirecting error messages
232 to /dev/null and relying on non-zero exit status will work okay
233 on the few hosts that don't support -L.
235 2001-04-08 Nick Hudson <skrll@netbsd.org>
237 * ltmain.in: Improve check for valid -version-info parameter.
239 2001-04-08 Gary V. Vaughan <gvv@techie.com>
241 From Nick Hudson <skrll@netbsd.org>
242 * doc/Makefile.am (libtool_TEXINFOS): Add fdl.texi so that it
243 is included in the distribution.
245 2001-04-07 Peter Eisentraut <peter_e@gmx.net>
247 * ltmain.in (clean,uninstall): Do not error if the file doesn't
248 exist and 'rm -f' was used. Exit with status 1 on error.
250 2001-04-06 Nick Hudson <skrll@netbsd.org>
252 * ltmain.in: Implement a new deplibs_check_method called
253 match_pattern that does pattern matching on filenames...
254 * libtool.m4: ...use it with NetBSD
256 2001-04-05 Gary V. Vaughan <gvv@techie.com>
258 * doc/libtool.texi (Multiple dependencies): A note about the
259 problems I've reintroduced by reverting the my patch of 2001-03-31.
261 From Edward Lee <tailbert@yahoo.com>
264 * tests/Makefile.am (TESTS): Delete references to depdemo-dups.test.
265 * tests/depdemo-dups.test: Removed, as part of the patch
267 * ltmain.in: Revert my change from 2001-03-31. Although it
268 was technically correct, it opens a whole can of worms we don't
269 want to deal with right now.
271 From Ahmed Masud <masud@googgun.com>
272 * libltdl/ltdl.c (sys_shl_open): Return a NULL module handle
274 (sys_shl_close): Be careful not to close a NULL module handle.
275 (sys_shl_sym): Allow shl_findsym() to open NULL modules, but
276 discard the modified module address it returns.
278 * libltdl/ltdl.c (lt_dlopen): When reading the .la file,
279 reallocate the line buffer size if the line overflows the
281 Reported by Nick Hudson <skrll@netbsd.org>
283 * NEWS (1.3d) Removed bogus ltconfig reference.
285 2001-04-03 Gary V. Vaughan <gvv@techie.com>
287 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Remove the spurious
288 `dnl' from the help text of --with-pic.
289 Reported by stefan <stefan@lkcc.org>
291 2001-04-02 Gary V. Vaughan <gvv@techie.com>
293 * configure.in: bumped version to 1.3e.
295 GNU libtool 1.3d was released.
297 * NEWS: inserted todays date.
299 2001-04-01 Christoph Pfisterer <cp@chrisp.de>
301 * libtool.m4: Fixed support for Darwin and Rhapsody. Now correctly
302 hardcodes the library path and adds versioning. Other small
304 * ltmain.in: Fixed special cases for libc and libm on Rhapsody and
305 Darwin. One of them was misplaced. Added version_type case for
306 Rhapsody and Darwin, named "darwin".
308 2001-03-31 Gary V. Vaughan <gvv@techie.com>
310 * ltmain.in: Remove the code for stripping duplicate deplibs
311 from libtool link lines -- duplicates are somtimes necessary
312 to satisfy inter-library dependencies, and never cause link to
313 fail even if they are spurious.
314 * tests/depdemo-dups.test: New file. Make sure this bug doesn't
316 * tests/Makefile.am (TESTS): Use the new test above.
318 2001-03-29 Edward M. Lee <tailbert@yahoo.com>
320 * libtoolize.in: Check configure.ac and prefer configure.ac to
323 * libtoolize.in: change recommendation from AM_PROG_LIBTOOL to
326 * libtool.m4: Generate dll/import libraries for cygwin according
327 to the following: libFOO.a (static lib), libFOO.dll.a (import
328 lib), cygFOO-version.dll (dll). Update postinstall_cmds and
329 postuninstall_cmds to reflect this.
330 * ltmain.in: Generate installed .la files with dlnames set to
331 ../bin/cygFOO-version.dll for normal dlls. dlls for modules
332 remain with the .la file.
334 * libltdl/ltdl.c: Use windows paths while calling LoadLibrary.
336 2001-03-16 Albert Chin <china@thewrittenword.com>
338 * libtool.m4 (save_CPPFLAGS): Fix typo.
340 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
342 * libtool.m4 (lt_cv_compiler_c_o): Cache it.
343 (lt_cv_compiler_o_lo): Likewise.
345 2001-03-09 Peter Eisentraut <peter_e@gmx.net>
347 * ltmain.in (clean): Automatically remove $objdir (usually '.libs').
349 2001-03-08 Gary V. Vaughan <gvv@techie.com>
351 * ltconfig.in (library_names_spec): Undo latin-1 spaces I pasted
352 in yesterday by mistake.
354 2001-03-07 Gary V. Vaughan <gvv@techie.com>
356 From Tor Lillqvist <tml@iki.fi>
357 * libtool.m4 (export_symbols): On Windows, if the export_symbols
358 file (which has been passed to libtool with the -export-symbols
359 command line switch) already is a .def file, use it as is.
361 * libtool.m4 (library_names_spec): Using m4 quotes correctly this
364 From Tor Lillqvist <tml@iki.fi>
365 * libtool.m4 (library_names_spec): Use an appropriate filename
366 prefix for dlls -- lib for mingw; cyg for cygwin; pw for pw32.
368 2001-03-06 Alexandre Oliva <aoliva@redhat.com>
370 * libtool.m4 (can_build_shared) [AIX 4.[01], GCC]: GCC up to
371 2.96 can't build shared libraries reliably. Disable them.
373 * ltmain.in: When dropping dependencies of a -no-undefined
374 library, give up on building a shared library.
376 2001-03-05 Akim Demaille <akim@epita.fr>
378 * ltmain.sh: Don't quote the argument of case/esac and
380 * libtool.m4: Likewise.
382 2001-03-03 Markus F.X.J. Oberhumer <markus@oberhumer.com>,
383 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
385 * libtool.m4: Added explicit return type to all C functions.
387 2001-02-22 Gary Vaughan <gvv@techie.com>
390 * doc/libtool.texi (Thread Safety in libltdl): New node describing
391 the application the new MT API.
392 * libltdl/ltdl.h: Prototypes.
393 * libltdl/ltdl.c: Use these functions throughout the rest of
394 the file to provide thread locking.
395 (lt_dlmutex_register): New function to set callbacks for
396 multi-threaded calls into libltdl.
397 (lt_dl_mutex_lock): Type of a locking callback function.
398 (lt_dl_mutex_lock): Type of an unlocking callback function.
399 (lt_dl_mutex_seterror): Type of a callback function to save the
400 last libltdl error message in thread local storage.
401 (lt_dl_mutex_geterror): Type of a callback function to retrieve
402 the last saved error message from thread local storage.
404 2001-02-20 Gary Vaughan <gvv@techie.com>
406 * libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned
407 type to a negative number.
408 Reported by Guenter Millahn <Guenter.Millahn@Informatik.TU-Cottbus.DE>
410 2001-02-05 Gary V. Vaughan <gvv@techie.com>
412 From Nick Hudson <skrll@netbsd.org>
413 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): netbsd* is able to
414 automatically load module deplibs without assistance from
417 2001-02-02 Gary V. Vaughan <gvv@techie.com>
419 * libltdl/ltdl.c (load_deplibs): Make sure the depcount is reset,
420 even when deplibs are not used because of the patch below.
422 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): If we know that the host
423 architecture automatically loads deplibs, then...
424 * libltdl/ltdl.c (load_deplibs): ...don't manually load each one.
426 2001-01-31 Gary V. Vaughan <gvv@techie.com>
430 * libltdl/ltdl.c (load_deplibs): If loading a deplib fails,
431 don't sweat -- it may be a lib that is already statically linked
432 into the loading application.
434 * libltdl/ltdl.c: Clean up the shadowing of the global handles
436 (LT_DLRESIDENT_FLAGS): Add extra parens to satisfy -Wall.
437 (load_deplibs): Cast isspace() argument to an int to satisfy
440 2001-01-30 Robert Boehne <rboehne@ricardo-us.com>
442 * AUTHORS: added myself to the list of maintainers.
444 2001-01-28 Alexandre Oliva <aoliva@redhat.com>
446 * libltdl/Makefile.am (CLEANFILES): Clean conditionally-built
449 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
451 * libtool.m4 (ld_shlibs) [aix4*]: Disable on unknown CPU types.
453 2001-01-07 Gary V. Vaughan <gvv@techie.com>
456 * doc/libtool.texi (User defined module data): Updated.
457 * libltdl/ltdl.c (lt_dlhandle_next): New function.
458 * libltdl/ltdl.h (lt_dlhandle_next): Prototypes.
460 2001-01-05 Gary V. Vaughan <gvv@techie.com>
463 * doc/libtool.texi (User defined module data): Document it all.
464 * ltdl.m4: Check for memcpy, or else bcopy.
465 * ltdl.c (lt_caller_data): New type.
466 (lt_dl_handle_struct): Add an lt_caller_data field.
467 (lt_dlcaller_register, lt_dlcaller_set_data,
468 lt_dlcaller_get_data): New functions.
469 (rpl_memcpy): A minimal fallback implementation.
470 (rpl_realloc): A realloc implemented with lt_dlmalloc and
472 (LT_DLMALLOC, LT_DLFREE, LT_DLREALLOC, LT_DLMEM_REASSIGN):
473 New memory handling convenience macros. Use them
474 appropriately throughout the rest of this file.
475 * ltdl.h (lt_dlcaller_register, lt_dlcaller_set_data,
476 lt_dlcaller_get_data): Prototyped.
478 2001-01-04 Gary V. Vaughan <gvv@techie.com>
480 * libltdl/ltdl.h: formatting change.
482 2000-12-23 Gary V. Vaughan <gvv@techie.com>
485 * doc/fdl.texi (GNU Free Documentation License): contained @bye
486 command which prevented part of document to be generated (indices,
488 * doc/libtool.texi (Dlpreopening): the @deftypevar did not contain
489 a space after a type.
491 2000-12-22 Akim Demaille <akim@epita.fr>
493 * libtool.m4: s/[ \t]*$//
495 2000-12-22 Aneesh Kumar K.V <kvaneesh@hotmail.com>
497 * libtool.m4 (OSF/1): Revert my patch of 2000-12-16.
499 2000-12-20 Gary V. Vaughan <gvv@techie.com>
501 * libltdl/ltdl.c (lt_dlexit): Was checking for residency of the
503 Reported by Robert Boehne <rboehne@ricardo-us.com>
505 * ltmain.in (dlprefiles): Now that `2000-12-15 Utz-Uwe Haus' patch
506 below can detect preopened library deplibs correctly in libltdl,
507 we need to ensure that libtool library deplibs are also preloaded
508 into the binary for that phase to work.
510 2000-12-16 Aneesh Kumar K.V <kvaneesh@hotmail.com>
512 * libtool.m4 (OSF/1): Change the way to pass linker flags through
513 compiler on a Tru64 machine.
515 2000-12-16 Gary V. Vaughan <gvv@techie.com>
517 * libtool.m4 (sys_lib_search_path_spec): Use test instead of
519 (archive_cmds): And another one.
521 * libtool.m4 (darwin*): Fixed a pair of stupid typos I made in the
524 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): moved rogue settings from
525 sequent, ncr and newos6 back into here from other macros.
527 2000-12-16 Wilfredo Sanchez <wsanchez@apple.com>
529 * libtool.m4: (dyld/darwin*) Much improved port.
530 * ltmain.in: (dyld/darwin*) Much improved port.
532 2000-12-16 Sascha Schumann <sascha@schumann.cx>
534 * libtool.m4: Accept darwin as an alias for rhapsody.
537 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use the HPUX 10.20
538 methods to check for library dependencies on HPUX 11.
540 2000-12-16 Nick Hudson <skrll@netbsd.org>
542 * libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support
545 2000-12-15 Akim Demaille <akim@epita.fr>
547 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Rename
548 `ac_cv_sys_global_symbol_pipe' as `lt_cv_sys_global_symbol_pipe'.
549 Similarly with `lt_cv_global_symbol_to_cdecl
550 (_LT_AC_LTCONFIG_HACK): Similarly with `ac_cv_prog_cc_pic',
551 `ac_cv_prog_cc_shlib', `ac_cv_prog_cc_wl', `ac_cv_prog_cc_static',
552 `ac_cv_prog_cc_no_builtin', `ac_cv_prog_cc_can_build_shared',
553 `ac_cv_prog_cc_static_works', `ac_cv_archive_cmds_need_lc'.
554 (AC_PATH_TOOL_PREFIX): Similarly with `ac_cv_path_MAGIC_CMD'
555 (AC_PROG_LD) <ac_cv_path_LD>: Likewise.
556 (AC_PROG_LD_GNU) <ac_cv_prog_gnu_ld>: Likewise.
557 (AC_PROG_NM) <ac_cv_path_NM>: Likewise.
559 2000-12-15 Utz-Uwe Haus <haus@mail.math.uni-magdeburg.de>
561 * libltdl/ltdl.c (lt_dlopen): Changed "dl_dependency_libs" keyword
562 to "dependency_libs".
564 2000-12-14 Tod Milam <tmilam@traclabs.com>
566 * libltdl/ltdl.c (lt_dlexit): Reset the loaders value to zero when
567 the last module has been unloaded.
569 2000-12-14 Michael Schmitz <mschmitz@iname.com>
571 * libtool.m4: Port to *-sni-sysv4 (Reliant Unix)
572 * README: added Reliant Unix to hte list of supported platforms
573 * doc/PLATFORMS: added note on tests on Reliant Unix
575 2000-12-14 Masahiro Nobori <nobori@ss.titech.ac.jp>
579 * libtool.m4: New port to NEWS-OS Release 6.
581 2000-12-14 Nick Hudson <skrll@netbsd.org>
583 * libtool.m4 (hardcode_libdir_flag_spec): Remove linker
584 specification for netbsd.
586 2000-12-14 Akim Demaille <akim@epita.fr>
588 * libtool.m4: Don't depend on Autoconf internals:
589 s/ac_cv_prog_gcc/GCC/.
591 2000-12-14 Gary V. Vaughan <gvv@techie.com>
593 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Don't empty
594 out ac_cv_global_symbol_to_cdecl inside the loop, incase we
595 need to go around again and try with underscore prefix.
596 (_LT_AC_TRY_DLOPEN_SELF): On some hosts (cygwin for instance)
597 self dlclosing unloads the main program and causes a SIGSEGV. So
600 2000-12-05 Gary V. Vaughan <gvv@techie.com>
602 Oh My! Cygwin support has bitrotted while I was looking the other
603 way. This should fix it some:
604 * libtool.m4 (extract_expsyms_cmds): There is a quoting problem
605 with autoconf-2.13 that prevents [$]0 from expanding. Use shell
606 quotes instead to delay eval of $0.
607 (impgen.c) The '# ' sequence stripped by sed works again.
609 2000-12-01 Gary V. Vaughan <gvv@techie.com>
611 * doc/libtool.texi (Libltdl interface): Add documentation.
612 * libltdl/ltdl.h (lt_dlmakeresident, lt_dlisresident): Add
614 (LT_DLERROR_CLOSE_RESIDENT_MODULE): New error status.
615 * libltdl/ltdl.c (lt_dlmakeresident, lt_dlisresident): Allow
616 making and testing of resident module status, which prevents a
617 module from being lt_dlclosed.
618 (lt_dlopen): If lt_dlopen()ing self, make the module resident.
619 (lt_dlclose): Return an error if the module is resident.
621 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Move the tests for dlopen
623 (AC_LIBTOOL_DLOPEN_SELF): ...to here.
624 (_LT_AC_CHECK_DLFCN): Factor out repeated code for dlfcn.h
625 (_LT_AC_TRY_DLOPEN_SELF): Factor out repeated code for
626 checking dlopen status.
627 * ltdl.m4 (AC_LIB_LTDL): Use _LT_AC_CHECK_DLFCN.
628 dlopen compile time checking. Use _LT_AC_CHECK_DLFCN.
629 (AC_LTDL_DLSYM_USCORE): Use _LT_AC_TRY_DLOPEN_SELF.
631 2000-11-29 Gary V. Vaughan <gvv@techie.com>
633 * libltdl/ltdl.h (lt_dlhandle): Rename the wrapped structure
634 to prevent nameclash when used from C++.
635 * libltdl/ltdl.c: Fixed all references.
637 2000-11-25 Gary V. Vaughan <gvv@techie.com>
639 * libltdl/ltdl.c (lt_dlopen): Change the default search order
640 for modules. If the named module has no directory component,
641 always start the search with the user_search_path directories,
642 and then fall back on the current directory only if that fails.
644 2000-11-20 Gary V. Vaughan <gvv@techie.com>
646 * libltdl/Makefile.am (libltdl_la_LDFLAGS): increment the version
647 number to reflect the breakage of binary compatibility.
648 * doc/libtool.texi (Libltdl interface): Document
649 LT_NON_POSIX_NAMESPACE.
650 * libltdl/ltdl.h (LT_POSIX_NAMESPACE): Deleted. The default is
651 now to use this namespace, so the cpp macro is no longer
654 2000-11-20 Morten Eriksen <mortene@sim.no>
656 * ltdl.m4 (AC_LIB_LTDL, AC_LTDL_SYMBOL_USCORE): Break a circular
657 dependency between AC_LTDL_SYMBOL_USCORE and AC_LTDL_DLSYM_USCORE.
659 2000-11-20 Paul Berrevoets <paul@swi.com>
661 * ltmain.in: Some versions of expr respond with "0" if a
662 regexp fails to match.
664 2000-11-19 Paul Berrevoets <paul@swi.com>
666 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and
667 $3 in variable 'archive_expsym_cmds' for cygwin.
669 2000-11-19 Gary V. Vaughan <gvv@techie.com>
671 * ltdl.c: Relegate non-POSIX-compliant symbols (e.g. those
672 ending in ``_t'') to deprecated #define compatibility macros.
673 Also ease up on the namespace pollution, so that only ``lt_''
674 and ``LT_'' prefixes are taken from the global namespace.
677 2000-11-17 Gary V. Vaughan <gvv@techie.com>
679 * ltdl.c: Reformatted.
682 2000-11-11 Gary V. Vaughan <gvv@techie.com>
684 * ltdl.m4 (AC_LTDL_SYMBOL_USCORE): Use $ac_ext for conftest
686 * libtool.m4: Use $ac_ext and $ac_objext respectively for conftest
688 Reported by Carlo Wood <carlo@alinoe.com>
690 * doc/fdl.texi: New file. The license for distributing the
692 * doc/libtool.texi: Reference the new license.
694 2000-10-31 Morten Eriksen <mortene@sim.no>
696 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote argument to avoid
697 error output from cygpath when $srcdir is empty.
699 2000-10-31 Gary V. Vaughan <gvv@techie.com>
701 * bootstrap: rm Makefiles to prevent infinite loop during
702 configure when libtool.m4 is newer than Makefile.
704 2000-10-31 Akim Demaille <akim@epita.fr>
706 * libtool.m4: Adjust the copyright notice.
707 Quote all the macro names when defined.
708 Some minor formatting changes.
709 (AM_PROG_LIBTOOL, AM_ENABLE_SHARED, AM_ENABLE_STATIC)
710 (AM_DISABLE_SHARED, AM_DISABLE_STATIC, AM_PROG_LD, AM_PROG_NM):
711 Don't use indir when useless. Don't add trailing `dnl' either.
713 2000-10-30 Gary V. Vaughan <gvv@techie.com>
715 * doc/libtool.texi: Corrected another attack of CRLF line
718 2000-10-30 Ossama Othman <ossama@debian.org>
720 * libtool.m4 (archive_expsym_cmds): Fix typo where line was broken
721 in the middle of an expression.
723 2000-10-30 Aneesh Kumar K.V <kvaneesh@hotmail.com>
725 * libtool.m4 (archive_expsym_cmds): Support for -export-symbol
727 (hardcode_libdir_flag_spec): Fixed cxx throwing error while using
728 libtool. Done by passing -rpath directlty to the compiler.
730 2000-10-27 Robert Boehne <rboehne@ricardo-us.com>
732 * docs/libtool.texi: Added pointers to documentation
733 of Hewlett-Packard, Compaq Tru64 and IBM AIX systems.
735 2000-10-02 Gary V. Vaughan <gvv@techie.com>
737 From Bruce Korb <bkorb@cruzio.com>
738 * ltmain.in (execute_dlfiles): Reduce obfuscation.
740 2000-09-30 Alexandre Oliva <aoliva@redhat.com>
742 * libtool.m4 [netbsd*] (deplibs_check_method, file_magic_cmd,
743 file_magic_test_file): Removed inappropriate duplicate
744 definitions; these variables are set in AC_DEPLIBS_CHECK_METHOD.
746 * libtool.m4 (lt_cv_file_magic_cmd): Don't use '${MAGIC_CMD}' or
747 '${OBJDUMP}'; Solaris' /bin/sh loses with `}' in cache files.
748 (ac_cv_path_MAGIC_CMD): Renamed to lt_cv_path_MAGIC_CMD.
750 2000-09-28 Gary V. Vaughan <gvv@techie.com>
752 * libtool.m4 (MAGIC_CMD): Don't use MAGIC, since BSD versions of
753 the file command use this environment variable to hold the
754 location of the magic database.
755 Reported by Marc Espie <Marc.Espie@liafa.jussieu.fr>
757 2000-09-19 Gary V. Vaughan <gvv@techie.com>
759 * doc/PLATFORMS: Updated.
760 * demo/configure.in: Revert to the `libtool --features' test.
761 * Makefile.am (libtool): This needs to rerun configure now that
762 libtool is generated entirely by AC_PROG_LIBTOOL again.
764 (ltmain.sh): Is now regenerated when ltmain.in changes.
765 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Now does all of the work for
766 generating libtool immediately in configure.in, rather than
767 deferring part of the creation until config.status runs.
769 2000-09-17 Gary V. Vaughan <gvv@techie.com>
771 * bootstrap: Backed out yesterdays patch which is no longer
773 * Makefile.am (libtool): Reworked rule for regeneration of libtool,
774 now that it is built entirely withing config.status.
775 (libtoolize): Tidied for orthogonality with the other generation
777 (ltconfig): This is now generated by AC_PROG_LIBTOOL, called from
778 make by running config.status --recheck.
779 (ltmain.sh): Moved primary generation of this file into here...
780 * configure.in (AC_OUTPUT): ...instead of here.
781 * libtool.m4 (AC_OUTPUT_COMMANDS): Write the config to ltconfig
782 where it can be reused, rather than directly to libtool.
783 * demo/configure.in: libtool is no longer present immediately
784 after AC_LIBTOOL_M4 has completed, so the tests now grep through
785 ltconfig instead -- which *will* be present.
787 2000-09-16 Gary V. Vaughan <gvv@techie.com>
789 * TODO: Removed the item describing the change below, and added a
790 similar item to remind us to change the ltdl.m4 macros again when
791 _LT_AC_LTCONFIG_HACK is divided into proper macros.
792 * ltdl.m4 (AC_LTDL_SNARF_CONFIG): Removed. No longet required
793 now that ltconfig has migrated to libtool.m4.
794 (AC_LTDL_SHLIBEXT): Require _LT_AC_LTCONFIG_HACK.
795 (AC_LTDL_SHLIBPATH): ditto.
796 (AC_LTDL_SYSSEARCHPATH): ditto.
798 * ltdl.m4 (AC_LTDL_DLPREOPEN): Require the libtool.m4 symbol_pipe
800 (AC_LTDL_SYMBOL_USCORE): ditto.
801 (AC_LTDL_GLOBAL_SYMBOL_PIPE): Removed, since it is a duplicate
803 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): ...this new
804 macro, extracted from _LT_AC_LTCONFIG_HACK.
806 * ltdl.m4 (changequote): An audit of changequote and m4
807 quote usage -- all changequotes have been removed, and some
808 latent unquoted `[' and `]' bugs have been fixed.
810 * configure.in (AC_OUTPUT): ltmain.sh must be generated in the
811 source tree since this is where it would be found in a freshly
814 * configure.in: Replace `dnl' comments with `#' comments for
815 more conformity with cvs autoconf.
816 Removed emacs hack-local-variables, since there is now a
817 proper Autoconf major mode.
818 Removed a couple of changequote()s.
820 * bootstrap (ltconfig): When bootstrapping libtool with a
821 stock automake (i.e. without the README patch applied),
822 references to ltconfig are manually removed from the generated
825 2000-09-15 Gary V. Vaughan <gvv@techie.com>
827 * doc/libtool.texi: Removes references to ltconfig, and a small
828 amount of tidying up to compensate.
830 2000-09-15 Nick Hudson <skrll@netbsd.org>
832 * libtool.m4 (netbsd): Improved support.
834 2000-09-15 Gary V. Vaughan <gvv@techie.com>
836 * ltmain.in (version_type): Use "-iface" as the windows
837 versioning scheme, where iface is the number of the oldest
840 2000-09-14 Gary V. Vaughan <gvv@techie.com>
842 From Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
843 * libtool.m4 (pw32): Initial support for pw32, assuming that
844 libtool's behaviour in this environment is identical to under
846 * ltmain.in (pw32): ditto.
849 * libtool.m4 (changequote): An audit of changequote and m4
850 quote usage -- all changequotes (except a few with non-nesting
851 square brackets) have been removed.
853 * Makefile.am (EXTRA_DIST): The bootstrap script should be
854 distributed with libtool.
856 2000-09-13 Gary V. Vaughan <gvv@techie.com>
858 libtool.m4 (_LT_AC_LTCONFIG_HACK): Oh man! Third time lucky.
859 I just discovered that '&' needs to be escaped inside
862 2000-09-12 Michael Matz <matz@ifh.de>
864 * ltmain.in: Be careful about filenames with multiple `.'s in
865 them when calculating file extensions.
866 Reported by Joel Reed <jreed@support.ddiworld.com>
868 2000-09-12 Gary V. Vaughan <gvv@techie.com>
870 libtool.m4 (AC_PROG_LIBTOOL): Removed, as it was triggering a
871 bug in Autoconf-2.13 AC_REQUIRE implementation which inserted
872 some of the expanded tests too early in the generaated configure.
873 (_AC_PROG_LIBTOOL): renamed to AC_PROG_LIBTOOL, and defines
874 itself to an empty expansion to prevent multiple expansions.
875 configure.in (AC_LIBTOOL_SETUP): Replaced by a call to
876 AC_PROG_LIBTOOL now that the AC_REQUIRE bug has been worked
879 2000-09-09 Gary V. Vaughan <gvv@techie.com>
881 libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to escape the
882 redirections inside AC_TRY_EVAL in the need_lc tests. Doh!
884 libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to redirect the
885 output of grep to /dev/null in the need_lc tests.
887 configure.in (AC_PROG_LIBTOOL): Using this in libtools own
888 configure.in interacts badly with the AC_PROVIDE calls and
889 results in several tests being inserted into configure too
890 early. Use AC_LIBTOOL_SETUP instead.
892 2000-09-08 Gary V. Vaughan <gvv@techie.com>
894 libtool.m4 (_LT_AC_LTCONFIG_HACK): The ltconfig.in code I
895 ported from ltconfig.in was incomplete -- this is a backport
896 of the missing code taken from the multi-language branch.
898 2000-09-07 Pavel Roskin <proskin@gnu.org>
900 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Fixed incorrect use of
903 2000-09-07 Gary V. Vaughan <gvv@techie.com>
906 * TODO: Add a reminder to get rid of ltconfig in mlb.
907 * README: Until things even out, I have added a note and a
908 patch to make the installed automake cooperate with the new
909 ltconfig free libtool.
911 * libtool.m4 (_LT_AC_LTCONFIG_HACK): with_gcc is only useful in
912 ltmain.sh as it has not yet been set in libtool.m4. Use
913 $ac_cv_prog_gcc instead.
915 * doc/PLATFORMS: Updated.
917 * configure.in (AC_PROG_AWK): Removed -- no longer required by
921 * libtoolize.in (files): Don't try to install ltconfig -- it
923 * bootstrap: Fake an ltconfig incase the installed automake
924 calls an installed libtoolize (as part of its --add-missing
925 process) which thinks ltconfig should be there.
927 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Deleted a vital `;;'
928 terminator from a case statement by mistake.
930 * Makefile.am (ltmain.sh): Make this depend on TSDEPS again
931 so that the Changelog timestamp is used for ltmain.sh at `make
934 2000-09-06 Gary V. Vaughan <gvv@techie.com>
936 libtool.m4 now contains a version of the code that used to run
937 from ltconfig, so that ltmain.sh and then libtool are
938 generated at configure time.
940 * Makefile.am: Don't generate ltmain.sh or ltconfig anymore.
941 * bootstrap: ltconfig is no more!
942 * configure.in: Call AC_PROG_LIBTOOL directly.
943 (AC_OUTPUT): Generate tmain.sh.
944 * libtool.m4: Don't build an argument list for ltconfig.
945 (_LT_AC_LTCONFIG_HACK): Refactoring of the former contents of
946 ltconfig.in to take advantage of the m4 macros from autoconf.
947 * ltmain.in: Don't do a version check against ltconfig.
948 * tests/assign.test: Remove reference to ltconfig.
949 * tests/hardcode.test: ditto.
950 * tests/sh.test: ditto.
952 2000-09-05 Alexandre Oliva <aoliva@redhat.com>
954 * depdemo/main.c: Support -alt.
955 * tests/build-relink2.test: Try it.
957 * ltconfig.in: Removed all references to what used to be
958 hardcode_into_libs=all. 2000-09-03's patch was wrong.
959 * ltmain.in: Likewise.
960 * tests/build-relink.test, tests/build-relink2.test: Adjust.
961 * mdemo/Makefile.am (lib_LTLIBRARIES): Move libsub.la before
962 libfoo2.la, so that they're installed in the right order.
964 2000-09-04 Alexandre Oliva <aoliva@redhat.com>
966 * tests/dryrun.test: Build libsub.la along with the object files,
967 since it is needed by libfoo2.la.
969 * mdemo/Makefile.am: Mark only libfoo2 as -no-undefined.
970 Explicitly link it with libsub.la.
972 * ltconfig.in (need_lc): Preserve allow_undefined_flag.
974 * tests/*.test (CONFIG_SITE): Ultrix's /bin/sh fails on
975 `. /dev/null'. Set CONFIG_SITE to /dev/null/config/site, to make
976 sure we pick a non-existent file.
978 * Makefile.am (libtool, clibtool): Pass CONFIG_SHELL along with
979 ECHO down to ltconfig.
981 * ltconfig.in (hardcode_libdir_flag_spec, export_dynamic_flag_spec):
982 Use ${wl}, not ${wlarc}.
984 * ltmain.in (compile, need_lock): Don't create nor remove lock
987 * libltdl/ltdl.c (load_deplibs): Don't append shlib_ext; use
988 lt_dlopenext() instead.
990 * ltmain.in (link -static): Don't add $link_static_flag; only
991 -all-static should do that.
992 * mdemo/configure.in: Revert part of the previous delta.
994 * mdemo/configure.in: Don't use -static on AIX4.1.
995 * mdemo/Makefile.am: Likewise.
997 2000-09-03 Alexandre Oliva <aoliva@redhat.com>
999 * ltconfig.in: Get rid of hardcode_into_libs=all; use
1000 hardcode_into_libs=yes && shlibpath_overrides_runpath!=yes
1002 [FreeBSD 3.[01]] (shlibpath_overrides_runpath): Set to no.
1003 * ltmain.in: Likewise.
1004 * tests/build-relink.test, tests/build-relink2.test: Adjust.
1006 * libtool.m4: Fix typo I introduced in yesterday's patch.
1008 * libltdl/ltdl.c (lt_dlopen): Set dlname from library_names if
1011 * ltdl.m4 (HAVE_LIBDL): Look for dlopen in -lsvld.
1012 * ltconfig.in: Likewise.
1014 * tests/mdemo-exec.test: Modify failure message.
1016 * ltmain.in (newdlprefiles): Use dlname if it's available and
1017 old_library isn't; use linklib only if dlname is not available.
1019 * ltconfig.in (enable_dlopen): Set to no when lt_cv_dlopen is no.
1021 * libtool.m4: Don't quote CONFIG_SHELL nor ORIGINAL_CONFIG_SHELL.
1022 Quote $@ properly so that the shell expands it, not m4.
1024 * libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL
1025 can be `/path/to/shell -x'.
1027 * tests/quote.test: Move the match test out of case statements, to
1028 work around bug in /bin/sh of several OSs.
1030 * ltmain.in (variables_saved_for_relink): Attempt to unset them
1031 instead of setting them to an empty string.
1033 2000-09-02 Alexandre Oliva <aoliva@redhat.com>
1035 * ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds)
1036 <solaris*, sysv5*, beos*>: Use compiler_flags instead of linker
1038 Reported by Alex Hornby <alex@anvil.co.uk>
1040 2000-09-02 Makoto Ishisone <ishisone@sra.co.jp>
1042 * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo,
1043 add support for compact format library.
1045 2000-09-02 Alexandre Oliva <aoliva@redhat.com>
1047 * ltdl.m4: Oops, I had forgotten to commit this part of Syd Polk's
1048 patch from 2000-06-17.
1050 2000-09-02 Tom Kacvinsky <tjk@ams.org>, Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1052 * libtool.m4: Ignore Tru64's nm's complaint.
1054 2000-09-02 Pavel Roskin <proski@gnu.org>
1056 * ltconfig.in: only load $cache_file if it's a regular file
1058 2000-09-02 Assar Westerlund <assar@sics.se>
1060 * ltconfig.in: Add back ranlib calls for static libraries if there
1063 2000-08-31 Gary V. Vaughan <gvv@techie.com>
1065 Move the echo detection code to a macro in libtool.m4. The code
1066 at the top ofltconfig.in is ugly, but will go away when the rest
1067 of ltconfig is migrated.
1069 * Makefile.am (libtool): Pass the value of $ECHO to ltconfig as
1070 an environment variable.
1071 * libtool.m4 (_LT_AC_PROG_ECHO_BACKSLASH): Quote the ECHO value
1072 correctly so that it inserts the correct code into configure.in
1073 suitably quoted for M4 expansion. This code needs to be near
1074 the top of configure.in as it calls itself recursively, so I
1075 am using AC_DIVERSION_NOTICE (or simply NOTICE on CVS
1076 Autoconf). The value of ECHO is also substitued into the
1077 Makefile to be used when Make calls ltconfig to generate
1078 libtool, so another layer of quotation is required for the
1080 (AC_LIBTOOL_SETUP): Use it.
1081 * ltconfig.in: Accept a value for ECHO from the environment, and
1082 carefully substitue for $0 if it is present in the ECHO value.
1083 Because ECHO was quoted for Make, when ltconfig is called by
1084 configure, it is overquoted, and one layer of quotes must be
1087 2000-08-27 Gary V. Vaughan <gvv@techie.com>
1089 * ltconfig.in (with_gcc): Make the value of this option
1090 available to the generated libtool script.
1091 * ltmain.in (compile_command, finalize_command): The native C
1092 and C++ compilers on IRIX require the -LANG:std in order to to
1093 compile correctly. The same options should _not_ be passed
1094 through to gcc on IRIX, or at all on other architectures for
1095 backwards compatibility (among others).
1096 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1097 Reported by Albert Chin-A-Young <china@thewrittenword.com>
1099 2000-08-26 Gary V. Vaughan <gvv@techie.com>
1101 * ltconfig.in (old_reload_flag): typo.
1103 2000-08-01 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1105 * ltmain.in (shtool): Use echo|grep instead of expr, as in the
1108 2000-08-01 Alexandre Oliva <aoliva@redhat.com>
1110 * ltconfig.in (need_lc): Fix test message.
1112 2000-07-24 Mocha <netbsd_alpha@yahoo.com>
1114 * ltconfig.in (NetBSD, deplibs_check_method): Use file_magic.
1115 (NetBSD, file_magic_cmd, file_magic_test_file): Set.
1117 2000-07-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, David Kaelbling <drk@orchietta.hudson.sgi.com>
1119 * ltmain.in (irix, major): Prepend a `.'.
1120 * ltconfig.in (irix, soname_spec, library_names_spec): Adjust.
1122 2000-07-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Ralf S. Engelschall <rse@engelschall.com>
1124 * ltmain.in: Support GNU shtool's install.
1126 2000-07-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1128 * ltconfig.in (linkopts): Don't set for test.
1130 2000-07-24 Nick Hudson <skrll@netbsd.org>
1132 * ltconfig.in (linkopts): Replace with linker_flags.
1134 * ltmain.in (ILD): Fix addition of deplibs in relink case.
1136 2000-07-18 H.J. Lu <hjl@gnu.org>
1138 * ltconfig.in: Check if -lc is necessary for building shared
1139 library. Set build_libtool_need_lc to indicate it.
1140 * ltmain.in: Add -lc when building shared library only if
1143 2000-07-10 Mo DeJong <mdejong@redhat.com>
1145 * libtool.m4 (AC_PROG_NM): Fix macro so that it
1146 finds a cross NM on the PATH.
1148 2000-07-10 Ken Block <block@zk3.dec.com>
1150 * libltdl/ltdl.h: Also check for __cplusplus, __STDC__ is not
1151 by Compaq C++ compiler
1153 2000-07-10 Alexandre Oliva <aoliva@lsd.ic.unicamp.br>
1155 * ltconfig.in (wlarc, netbsd, aout): Set to empty.
1156 (hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it.
1158 * ltconfig.in (dynamic_linker, linux, powerpc): Do not disable
1159 shared libraries just because of MkLinux.
1161 * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend
1162 on $version_type; check for ELF support as in other BSDs.
1164 2000-06-17 Syd Polk <spolk@redhat.com>
1166 * libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based
1167 on target; use host instead.
1169 2000-05-30 Gary V. Vaughan <gvv@techie.com>
1171 * ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when
1172 the echo probing code falls into this branch without setting
1175 * ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds
1176 were reversed with respect to definition of __ELF__.
1177 From Keisuke Inoue <keisuke@csl.sony.co.jp>
1179 2000-05-29 Gary V. Vaughan <gvv@techie.com>
1181 * libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for
1183 * libtool.m4 (netbsd ELF): support file_magic.
1184 From Dan Winship <danw@helixcode.com>.
1186 2000-05-29 Steven M. Schultz <sms@moe.2bsd.com>
1188 * libtool.m4 (bsdi4*): Add -L option to bsdi4's file_magic_cmd
1189 command. Under BSD/OS 4.1 several libraries are now symlinks
1190 rather than regular files. Adding -L tells the file program
1191 to follow the symlink.
1193 2000-05-29 Gary V. Vaughan <gvv@techie.com>
1195 * libtool.m4 (i*86-*-freebsd*): Forgot to changequote(,).
1198 * libtool.m4 (i*86-*-freebsd*): Support a.out shared libs.
1199 From <suzukis@file.phys.tohoku.ac.jp>
1201 2000-05-29 Fred Fish <fnf@be.com>
1203 Support AR=mwld AR_FLAGS='-xml -o' for PPC Beos.
1204 * ltconfig (old_AR_FLAGS): Add.
1205 (old_archive_cmds): Use AR_FLAGS rather than hardcoding "cru".
1206 (archive_cmds): Use AR_FLAGS rather than hardcoding "cru".
1207 (AR_FLAGS): Default to "cru" if not set.
1209 2000-05-29 Gary V. Vaughan <gvv@techie.com>
1211 * ltconfig.in (echo): The following code actually prints the
1212 double quotes -- so I removed them:
1213 echo='printf "%s\n"' /bin/ksh -c '$echo \\t'
1214 From Tuukka Toivonen <tutoivon@mail.student.oulu.fi>
1218 2000-05-29 Bernhard Rosenkraenzer <bero@redhat.de>
1220 * libtool.m4: adding ia64 as supported linux platform
1222 2000-05-29 Michael Matz <matz@ifh.de>
1224 * ltmain.in: fix quoting for $var_value.
1226 * ltconfig.in: check for dlfcn.h: include return value
1227 to make -Wall in CFLAGS work.
1229 2000-05-27 Gary V. Vaughan <gvv@techie.com>
1231 * README-alpha: note new location of config.(guess|sub).
1233 2000-05-27 Chad Cunningham <ccunning@math.ohio-state.edu>
1235 * ltconfig.in (rhapsody*): New Port.
1236 * ltmain.in (rhapsody*): ditto.
1238 2000-05-27 Chris Lattner <sabre@skylab.org>
1240 * ltconfig.in (*-sequent-sysv4): New Port.
1242 2000-05-17 Gary V. Vaughan <gvv@techie.com>
1244 * ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path
1247 2000-05-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1249 * libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
1250 Pick LIBLTLD from top_builddir and INCLTDL from top_srcdir.
1251 * mdemo/configure.in: Remove comments on
1252 AC_LIBLTLD_CONVENIENCE.
1254 * libtool.m4 (_AC_PROG_LIBTOOL): Renamed from...
1255 (AC_PROG_LIBTOOL): Just AC_REQUIRE(_AC_PROG_LIBTOOL), to avoid
1256 effects of multiple runs.
1258 2000-05-11 Thomas Tanner <tanner@ffii.org>
1261 * doc/libtool.texi (libltdl): rename lt_(find|next|add|remove)_dlloader
1263 * libltdl/ltdl.c: ditto
1264 * libltdl/ltdl.h: ditto, add declaration of lt_dlloader_(find|remove)
1266 2000-05-06 Pavel Roskin <pavel_roskin@geocities.com>
1268 * libltdl/ltdl.c: Typo.
1270 * libtool.m4 (AC_LIBTOOL_SETUP): CVS autoconf no longer sets
1271 target to "NONE", but to an empty string.
1273 2000-05-05 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1275 * ltdl.c: support lt_dlopen(0) for win32
1277 2000-05-03 Thomas Tanner <tanner@ffii.org>
1279 * doc/libtool.texi (libltdl): fix typos,
1280 INCLTDL starts with top_srcdir, replace NULL with @code{NULL}
1282 * ltmain.in (ILD): search in newlib_search_path, too
1284 * ltmain.in (ILD): fix bugs in conv pass, expand convenience
1285 libs to deplibs and link them later on
1287 * ltmain.in (ILD): don't allow convenience libs to be
1290 * ltmain.in (ILD): it's not required to link all deplibs
1291 in fast-install mode
1293 * ltmain.in (ILD): if hardcode_into_libs=all, only relink
1294 a library if it is linked against uninstalled libtool libraries,
1295 rename link_against_libtool_libs to uninst_deplibs
1297 * ltmain.in (ILD): tidy up, add some comments
1299 2000-05-03 John Wehle (john@feith.com)
1301 * libtool.m4 (hpux10.20*): use file_magic for
1302 inter-library dependency tracking.
1304 2000-05-02 Gary V. Vaughan <gvv@techie.com>
1306 * AUTHORS: Update my email address.
1309 2000-04-11 Thomas Tanner <tanner@ffii.org>
1312 * libtool.m4: add AC_LIBTOOL_PICMODE
1313 * ltconfig.in: move pic_mode checks to ltmain.in
1314 * ltmain.in: add -prefer-pic and -prefer-non-pic
1316 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1318 * ltmain.in (tmpdir): Do not accept an existing directory, and
1319 force its mode to 700, for security reasons.
1320 Reported by Joseph S. Myers <jsm28@cam.ac.uk>
1322 2000-03-27 Thomas Tanner <tanner@ffii.org>
1324 * NEWS: reformatting
1326 * ltmain.in (ILD): add extra convenience library scanning pass
1328 * ltmain.in (ILD): accept -R flags for libraries, too
1330 * ltmain.in (ILD): correclty merge the dlpreopened libraries
1333 * ltmain.in (install mode): remove directories from filenames
1334 before relinking (reported by Elrond <Elrond@Wunder-Nett.org>)
1336 * doc/libtool.texi (libltdl): rename Library -> Lesser,
1337 clarify exception clause
1338 * libltdl/ltdl.c, libltdl.h (License): ditto
1340 2000-03-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1342 * ltconfig.in (variables_saved_for_relink): Set to `PATH
1343 $shlibpath_var $runpath_var'. If with_gcc, add gcc-related
1344 environment variables. Add it to the configuration section.
1345 * ltmain.in (relink_command): Expand those variables.
1347 2000-03-14 Christopher A. Knight <chriskn@crt.com>
1349 * ltconfig.in: added main() definition in compile
1350 check for header `dlfcn.h' to fix link errors
1351 when built with Sun Workshop Pro CC 4.2 (and perhaps
1354 2000-02-03 Gary V. Vaughan <gvv@techie.com>
1356 * libltdl/ltdl.c (lt_find_dlhandle): Deleted. This was B.S.
1357 far cleaner to use lt_dlforeach and lt_dlgetinfo.
1358 * libltdl/ltdl.h: Prototype deleted.
1359 * doc/libtool.texi: Documentation deleted.
1360 * NEWS: annoncement deleted.
1362 2000-02-23 Thomas Tanner <tanner@ffii.org>
1364 * ltmain.in: remove duplicates from deplibs, handle
1365 interdependent libraries (e.g. -la -lb -la),
1366 this requires adding deplibs in reverse order
1368 * ltmain.in: link dlpreopened libraries before other libraries
1369 (reported by Pavel Roskin)
1370 * mdemo/Makefile.am: build and link libsub.la
1371 * mdemo/sub.c: new file used by both dlopened modules
1372 * mdemo/foo*: use sub() defined in libsub
1373 * tests/dryrun.test: build libsub.la
1375 * mdemo/Makefile.am: always link mdemo.static with -static
1376 * mdemo/configure.in: ditto
1378 * ltmain.in: fix dlopen/dlpreopening of objects
1380 * ltmain.in (ILD): fix misplaced `continue' in -R* argument handler
1382 * ltmain.in: merge duplicated code of clean and uninstall mode
1384 * libtool.m4: recognize powerpc*linux* (reported by
1385 Dirk A. Mueller <dmuell@gmx.net>)
1387 2000-02-23 Gary V. Vaughan <gvv@techie.com>
1389 * ltconfig.in (old_MAGIC, old_STRIP, old_reload_flag,
1390 old_deplibs_check_method, old_file_magic_cmd): New variabes.
1391 Treat these as old_CC etc.
1392 (STRIP, MAGIC): Create and set these variables in the generated
1394 Reported by Pavel Roskin <pavel_rosin@geocities.com>
1396 * configure.in: Due to a bug in autoconf-2.13 implementation of
1397 AC_SUBST, `AC_SUBST(FILE)' can never work. Use MAGIC as the
1398 holder of the command to run in file_magic_cmd instead.
1399 * ltconfig.in: s/FILE/MAGIC/g.
1400 * libtool.m4 (AC_PROG_LIBTOOL): set MAGIC in the environment when
1402 (AC_PATH_MAGIC): renamed from AC_PATH_FILE.
1403 (AC_PATH_TOOL_PREFIX): s/FILE/MAGIC/g. Also set file_magic_cmd
1404 to '${MAGIC}' so that make can grok it.
1405 * Makefile.am (libtool):
1408 2000-02-21 Gary V. Vaughan <gvv@techie.com>
1410 * libltdl/ltdl.c (lt_find_dlhandle): New function.
1411 (tryall_dlopen): Use it.
1412 * libltdl/ltdl.h: Prototype it.
1413 * doc/libtool.texi: Document it.
1416 * libltdl/ltdl.c (lt_dlinit): removed unused variable, `loader'.
1418 * libltdl/ltdl.c (lt_remove_dlloader): typo, s/=/==/g.
1420 2000-02-03 Gary V. Vaughan <gvv@techie.com>
1422 * libltdl/ltdl.h (lt_dlloader_data_t): New type for loader
1424 (lt_user_dlloader): New lt_dlloader_data_t field.
1425 (lt_module_open_t): Add lt_dlloader_data_t parameter.
1426 (lt_module_close_t): Add lt_dlloader_data_t parameter.
1427 (lt_find_sym_t): Add lt_dlloader_data_t parameter.
1428 (lt_dlloader_exit_t): Add lt_dlloader_data_t parameter.
1429 * libltdl/ltdl.c: A sprinkling of /*ARGSUSED*/ markers to
1430 reassure lint that the unused arguments are intentional.
1431 (lt_dlloader_t): New lt_dlloader_data_t field.
1432 (lt_dlloader_data): New function to return the contents of the
1433 dlloader_data field.
1434 (sys_dl_open): Take an additional lt_dlloader_data_t argument.
1435 (sys_dl_close): Ditto.
1436 (sys_dl_sym): Ditto.
1437 (sys_dl): Initialise lt_dlloader_data_t field.
1438 (sys_shl_open, sys_shl_close, sys_shl_sym, sys_shl): As above.
1439 (sys_wll_open, sys_wll_close, sys_wll_sym, sys_wll): As above.
1440 (sys_bedl_open, sys_bedl_close, sys_bedl_sym, sys_bedl): As
1442 (sys_dld_open, sys_dld_close, sys_dld_sym, sys_dld): As above.
1443 (presym_init, presym_exit, presym_open, presym_close, presym_sym,
1445 (lt_dlinit): Call presym_init with additional argument.
1446 (lt_dlexit): Call dlloader_exit method with additional argument.
1447 (tryall_dlopen): Call module_open method with additional argument.
1448 (lt_dlclose): Call module_close method with additional argument.
1449 (lt_dlsym): Call find_sym method with additional argument.
1450 (lt_add_dlloader): Initialise dlloader_data field.
1451 (lt_remove_dlloader): Call dlloader_exit method with additional
1454 * libltdl/ltdl.c (find_file): Prevent early release of memory
1456 From Jon Leichter <jon@symas.com>
1458 (sys_wll_init): Deleted. No longer required. And this time,
1460 (sys_wll_exit): Ditto.
1462 2000-02-02 Gary V. Vaughan <gvv@techie.com>
1465 * doc/libtool.texi (Libltdl interface): Moved user defined module
1466 loader documentation from here...
1467 (Module loaders for libltdl) ...to here, and updated the text and
1469 * ltdl.m4 (AC_CHECK_FUNCS): check strcmp for lt_find_dlloader.
1470 * libltdl/ltdl.h: Reformatted and commented for readability.
1471 (struct lt_user_dlloader): New data type for passing
1472 initialisation pointers to lt_add_dlloader.
1473 (LTDL_ERROR_INVALID_LOADER): New error message when non loader
1474 handles are passed to the user loader API.
1475 (LTDL_ERROR_INIT_LOADER): New error when loader initialisation
1477 (LTDL_ERROR_REMOVE_LOADER): New error when loader removal fails.
1478 (lt_module_open_t): renamed from lt_lib_open_t.
1479 (lt_module_close_t): renamed from lt_lib_close_t.
1480 (lt_dlloader_exit_t): renamed from lt_dlloader_exit_t.
1481 * libltdl/ltdl.c: Reordered builtin loaders so that the "dld"
1482 loader no longer occurs before "dlopen" on some platforms and
1484 (lt_dlloader_t): Moved here from ltdl.h, added a field,
1485 "loader_name", for identifying the loader, and renamed from
1486 lt_dltype_t. Renamed type variables to loader IFF of type
1488 (lt_module_t): Renamed from lt_syshandle. Renamed handle variables
1489 to module IFF of type lt_module_t.
1490 (LTDL_TYPE_TOP): Deleted. No longer required.
1491 (sys_dl): Initialised as a struct lt_user_dlloader.
1492 (sys_dl_init): Deleted. No longer required.
1493 (sys_dl_exit): Ditto.
1494 (sys_shl): Initialised as a struct lt_user_dlloader.
1495 (sys_shl_init): Deleted. No longer required.
1496 (sys_shl_exit): Ditto.
1497 (sys_wll): Initialised as a struct lt_user_dlloader.
1498 (sys_wll_init): Deleted. No longer required.
1499 (sys_wll_exit): Ditto.
1500 (sys_bedl): Initialised as a struct lt_user_dlloader.
1501 (sys_bedl_init): Deleted. No longer required.
1502 (sys_bedl_exit): Ditto.
1503 (sys_dld): Initialised as a struct lt_user_dlloader.
1504 (sys_dld_init): Deleted. No longer required.
1505 (sys_dld_exit): Ditto.
1506 (sys_presym): Initialised as a struct lt_user_dlloader.
1507 (lt_mod_init_t): Moved to here from ltdl.h.
1508 (lt_dlinit): Add builtin loaders using the user loader API.
1509 (lt_dlexit): Unregister and free all loaders.
1510 (lt_add_dlloader): New function to add a new module loader after the
1511 loader specified in the argument.
1512 (lt_remove_dlloader): New function to remove a module loader.
1513 (lt_next_dlloader): New function for iterating over module loaders.
1514 (lt_dlloader_name): Accessor function for name of dlloader.
1515 (lt_find_dlloader): New function to get a reference to a registered
1517 (strcmp): static implementation incase the host has none.
1518 (lt_dlgettypes, lt_dlsettypes): Removed.
1520 2000-02-02 Thomas Tanner <tanner@ffii.org>
1522 * libltdl/ltdl.c: replace NULL with 0, remove unused system
1523 and app_private pointers from lt_dlhandle_t
1524 * libltdl/ltdl.c (presym_add_list): new preloaded symbols
1525 don't need to be added to the end
1527 * libltdl/ltdl.c (lt_dlgetdata, lt_dlsetdata): removed
1528 * libltdl/ltdl.h: ditto
1529 * doc/libtool.texi (libltdl interface): ditto
1531 2000-02-01 Thomas Tanner <tanner@ffii.org>
1533 * ltmain.in: support -dlopen/dlpreopen for libraries
1536 * ltmain.in: rename dlopen to dlopen_support
1537 * ltconfig.in: ditto
1538 * doc/libtool.texi: ditto
1540 * ltmain.in: check whether libraries are moved out of $libdir,
1541 replace .a and .lib with .$libext, .o and .obj with .$objext
1543 2000-01-31 Gary V. Vaughan <gvv@techie.com>
1545 * libltdl/ltdl.h (lt_dlrealloc): removed declaration.
1546 * libltdl/ltdl.c (lt_dlrealloc): removed definition.
1547 (lt_dladderror): Instead of calling lt_dlrealloc, use lt_dlmalloc,
1550 2000-01-30 Ossama Othman <ossama@debian.org>
1552 * libtool.m4 (lt_cv_cc_needs_belf): Set the test language to C
1553 prior to executing the test that checks if the C compiler needs
1555 Reported by Chris Butler <chrisb@sandy.force9.co.uk>
1557 2000-01-28 Gary V. Vaughan <gvv@techie.com>
1559 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use changequote to
1560 protect `[' and `]' in deplibs_check_method.
1562 * libltdl/ltdl.h (lt_dlrealloc): Added declaration.
1563 * libltdl/ltdl.c (lt_dlrealloc): Added default definition.
1565 * libltdl/ltdl.c (lt_dlseterror): Catch errorcodes below 0 as
1567 * libltdl/ltdl.h (LTDL_ERROR): Added missing '_' in K&R
1570 * libltdl/ltdl.h (ltdl_error_table): Added missing error code, and
1571 fixed typo in another code.
1572 * doc/libtool.texi (Libltdl interface): Added missing @end
1575 2000-01-27 Thomas Tanner <tanner@ffii.org>
1577 * ltconfig.in: Oops, replace the remaining $objdir's
1579 * ltmain.in: merge library linking code of programs and libraries,
1582 2000-01-27 Gary V. Vaughan <gvv@techie.com>
1585 * doc/libtool.texi (Libltdl interface): Document new entry
1587 * libltdl/ltdl.c (lt_dladderror): New function to add a user
1588 defined error message to the tables used by lt_dlerror().
1589 (lt_dlseterror): New function to allow setting of last_error by
1591 (ltdl_error_strings): New preprocessor generated table of internal
1592 error diagnostic strings.
1593 (user_error_strings): New internal list of registered user error
1595 (throughout!): Use error messages from ltdl_error_strings.
1596 * libltdl/ltdl.h (ltdl_error_table): New macro to tabulate
1597 internal diagnostic error strings alongside enum keys.
1600 * doc/libtool.texi (Libltdl interface): Document new entry
1602 * libltdl/ltdl.c (lt_dltype_t): Use new type definitions for
1604 (lt_dladdtype): New function to add a new ltdl dynamic loader
1605 type to the end of the list of valid types..
1606 (lt_dlgettypes): New function to return the complete list of ltdl
1607 dynamic loader types.
1608 (lt_dlsettypes): New function to replace the list of ltdl dynamic
1609 loader types entirely -- e.g. to prepend a new type to the
1611 (sys_dl_open, sys_dl_close, sys_dl_sym): Work with lt_syshandle.
1612 (sys_shl_open, sys_shl_close, sys_shl_sym): ditto.
1613 (sys_dld_open, sys_dld_close, sys_dld_sym): ditto.
1614 (sys_wll_open, sys_wll_close, sys_wll_sym): ditto.
1615 (sys_bedl_open, sys_bedl_close, sys_bedl_sym): ditto.
1616 (presym_open, presym_close, presym_sym): ditto.
1617 (tryall_dlopen): Call lt_lib_open_t functions lt_syshandle
1619 (lt_dlclose): Call lt_lib_close_t functions lt_syshandle
1621 (lt_dlsym): Call lt_find_sym_t functions lt_syshandle compatibly.
1622 (lt_dltype_t): moved type declaration from here...
1623 * libltdl/ltdl.h (lt_dltype_t): ...to here.
1624 (lt_syshandle): new type for low level system handles passed by
1626 (lt_mod_init_t): New type for functions implementing the
1627 initialisation for an ltdl dynamic loader.
1628 (lt_mod_exit_t): Type of exit functions for the same.
1629 (lt_lib_open_t): Type of loader functions for the same.
1630 (lt_lib_close_t): Type of unloader functions for the same.
1631 (lt_find_sym_t): Type of symbol resolver functions for the same.
1633 * libltdl/ltdl.c (sys_dl_init, sys_dl_exit, sys_dl_open,
1634 sys_dl_close, sys_dl_sym): Preprocess these away on cygwin to
1635 avoid spurious error messages.
1637 2000-01-24 Thomas Tanner <tanner@ffii.org>
1639 fix severe bugs reported by Elrond <Elrond@Wunder-Nett.org>
1641 * ltconfig.in: replace $objdir with $output_objdir
1643 * ltmain.in: change to the builddir before relinking programs
1645 * ltmain.in, ltconfig.in, libtool.m4, ltdl.m4:
1646 remove unnessary spaces from line endings
1648 2000-01-19 Thomas Tanner <tanner@ffii.org>
1650 * ltmain.in: rewrite of the ILD code, merge linking code for
1651 programs, libraries and objects, allow linking of shared libraries
1652 against static libraries/objects on platforms that support it
1653 but print a warning, fix some typos
1655 * partially revert my previous change and
1656 update only copyright notices of files that were actually modified
1660 * libltdl/Makefile.am: version number was wrong
1662 * libltdl/ltdl.c (tryall_dlopen): revert Gary's change
1663 since it breaks dlpreopening
1666 * libltdl/ltdl.c (sys_search_path): search in the system default
1667 library search path, too
1668 * ltdl.m4 (AC_LTDL_SYSSEARCHPATH): extract the path
1670 * libltdl/ltdl.c (find_module): remove bogus file_not_found_error
1672 * libltdl/ltdl.c (load_deplibs): implement loading of dependency
1674 * libltdl/ltdl.c (unload_deplibs): implement unloading of dependency
1676 * libltdl/ltdl.c (lt_dlexit): correctly close all modules and
1679 * libltdl/ltdl.c (lt_dlforeach): new function
1680 * libltdl/ltdl.h: ditto
1681 * doc/libtool.texi (using libltdl): document it
1683 * libtool.m4: reformatting, only add -I$topsrc_dir/libltdl to
1686 * libtoolize.in: reformatting
1687 * ltconfig.in: reformatting
1688 * ltmain.in: reformatting
1690 * mdemo/configure.in: AC_SUBST INCLTDL
1691 * mdemo/Makefile.am: use INCLTDL
1693 * tests/Makefile.am: reexport OBJEXT and EXEEXT
1694 * tests/dryrun.test: use them for building main.obj and mdemo.exe
1696 2000-01-17 Gary V. Vaughan <gvv@techie.com>
1698 * libltdl/ltdl.c (tryall_dlopen): Abort with
1699 file_not_found_error before trying all lib_open() methods
1700 if the file to be dlopened doesn't exist.
1701 * ltdl.m4 (AC_HAVE_HEADERS): add unistd.h.
1703 2000-01-16 Gary V. Vaughan <gvv@techie.com>
1705 * libltdl/ltdl.c (find_file): memory error fixed.
1707 2000-01-14 Gary V. Vaughan <gvv@techie.com>
1709 * ltconfig.in (Usage): Now it matches the code!
1710 Reported by Jon Leichter <jon@symas.com>
1712 * README: Some notes about libtool release numbers.
1714 * mdemo/README: Explain the deliberate incompleteness of the
1716 * mdemo/configure.in: Use AC_LIBTOOL_WIN32_DLL.
1717 * mdemo/Makefile.am (LDFLAGS): Add -no-undefined.
1719 * libltdl/ltdl.h (LTDL_STMT_START, LTDL_STMT_END): Macros for
1720 wrapping other macros to make a portable compound statement from
1721 multiple C statements in the expansion.
1722 (LTDL_SET_PRELOADED_SYMBOLS): Use the above macros to add an
1723 extern declaration for lt_preloaded_symbols, to remove
1724 dependency on undefined symbol from libltdl.dll on cygwin (and
1725 other -no-undefined architectures).
1726 * libltdl/ltdl.c (lt_preloaded_symbols): No longer defined here.
1728 * libtool,m4 (AC_LIBTOOL_SETUP): The result of lt_cv_need_dllmain
1729 was set to the opposite of what it should be.
1730 * configure.in (AC_LIBTOOL_WIN32_DLL): Call to this macro is
1731 required for libtool configury to test lt_cv_need_dllmain on
1734 * ltconfig.in (opt_cr, mingw*): replace unescaped ? with correctly
1735 escaped and portable \{0,1\} in sed expression.
1736 From Jon Leichter <jon@symas.com>
1738 2000-01-13 Gary V. Vaughan <gvv@techie.com>
1740 * libtool.m4 (AC_LIBLTDL_CONVENIENCE): Add -I${top_srcdir}/libltdl
1741 to default INCLTDL for VPATH.
1742 (AC_LIBLTDL_INSTALLABLE): ditto.
1743 Reported by Tom Tromey <tromey@cygnus.com>
1745 2000-01-12 Thomas Tanner <tanner@ffii.org>
1747 * update all copyright notices to 2000
1749 * doc/libtool.texi (using libltdl): document new lt_dlinfo struct,
1750 replace NULL with @code{NULL}, document lt_dlsetdata(),
1751 lt_dlgetdata() and lt_dlgetinfo()
1752 * libltdl/Makefile.am: increment interface version number
1753 * libltdl/configure.in: set version number to 1.1
1754 * libltdl/ltdl.c: make some variables public by moving them
1755 to the info struct, add support for application specific data
1756 within module handles, new lt_dlsetdata(), lt_dlgetdata() and
1757 lt_dlgetinfo() functions,
1758 fix memory leaks, minor cleanups
1759 * libltdl/ltdl.h: ditto
1760 * mdemo/main.c: demonstrate use of lt_dlgetinfo,
1761 improved handling of errors
1763 * ltconfig.in: set hardcode_into_libs = yes for GNU/Hurd, Linux
1764 and Solaris, only hardcode *all* run-paths if hardcode_into_libs
1765 is set to 'all', otherwise hardcode only user-specified rpaths
1767 * ltmain.in: minor cleanups, we don't need to add user-specified
1768 rpaths to compile_rpath, finalize_rpath is sufficient
1770 * ltconfig.in: transform linux* -> *linux-gnu* _after_ host_os has
1771 been set! (reported by Bruno Haible <haible@ilog.fr>)
1773 * configure.in: AC_SUBST reload_flag, deplibs_check_method
1776 * README: use 'libtool --version' instead of 'ltconfig --version'
1777 (suggested by Francios Pinard <pinard@iro.umontreal.ca>
1779 2000-01-10 Gary V. Vaughan <gvv@techie.com>
1781 * libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Leave undefined when
1782 not compiling for a Windows target.
1783 * libltdl/ltdl.c (canonicalize_path): New function to
1784 ensure internal paths use '/' directory separators.
1785 (find_file): use canonicalize_path. Memory management
1788 (free_vars): Removed `dir' and `name', which are now handled
1791 * libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Define to '/' or '\\',
1792 as suitable for the target host.
1793 (LTDL_PATHSEP_CHAR): Similarly with ':' or ';'.
1794 * libltdl/ltdl.c: Use LTDL_DIRSEP_CHAR and LTDL_PATHSEP_CHAR
1795 instead of hardcoding throughout.
1796 Reported by Jon Leichter <jon@symas.com>
1798 1999-12-18 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1800 * ltmain.in: Oops, `largarg' -> `lastarg'.
1802 * ltmain.in (-Wc, -Xcompiler): Implemented in compile mode.
1804 * ltmain.in (-Xcompiler, -Xlinker): Add to compile_command and
1806 (-Wc, -Wl): Likewise.
1808 * tests/quote.test: Adjust quoting style of -Wl.
1810 * ltmain.in: Oops, `echo' -> `$echo'.
1812 * ltmain.in (-Wl, -Wc): Make commas argument separators, just like
1815 * ltmain.in (libtool_args): Get all arguments properly enclosed in
1816 quotes and backslash-protected when needed.
1818 1999-12-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1820 * ltdl.m4: Renamed from...
1821 * libltdl/ltdl.m4: that no longer exists.
1822 * configure.in (ACINCLUDE_M4_LIST): Removed libltdl/acinclude.m4.
1823 * Makefile.am (aclocal_macros): Added ltdl.m4.
1824 (libltdl/acinclude.m4): Concatenate libtool.m4 and ltdl.m4.
1825 * bootstrap: Likewise.
1826 * libltdl/Makefile.am (ACLOCAL): Remove the definition. Relying
1827 upon -I may lead to duplicates.
1828 * doc/libtool.texi: Suggest appending ltdl.m4 to acinclude.m4.
1829 * libtoolize.in: Check AC_LIB_LTDL version number in aclocal.m4.
1831 * libltdl/configure.in (with_auxdir): Do not use it as the
1832 argument of AC_CONFIG_AUX_DIR, automake requires a literal here.
1833 Use AC_CONFIG_AUX_DIRS/DIR_DEFAULT instead.
1835 * libltdl/Makefile.am (ACLOCAL): Define with `-I .', as in
1838 1999-12-15 Thomas Tanner <tanner@ffii.org>
1840 * libltdl/configure.in: path to auxiliary files can be specified
1841 using --with-auxdir (idea by Howard Chu <hyc@highlandsun.com>)
1843 * ltmain.in: don't remove multiple occurences from dependency_libs
1844 of a library, otherwise many dependencies would get lost
1846 * bootstrap: use "aclocal -I ." instead of adding the contents
1847 of ltdl.m4 to acinclude.m4
1849 1999-12-13 Gary V. Vaughan <gvv@techie.com>
1852 * libltdl/Makefile.am: Use -no-undefined for dll compliance.
1853 * libltdl/configure.in: Use AC_LIBTOOL_WIN32_DLL for dll
1855 * libltdl/ltdl.c: Define and use LTDL_GLOBAL_DATA to correctly
1856 export global data symbols from libtldl.dll.
1857 * libltdl/ltdl.h: Define and use LTDL_SCOPE to declare data
1858 symbols as dllexport, dllimport or plain ornary extern depending
1859 in the context in which it is used.
1861 * doc/libtool.texi (Distributing libltdl): document use of
1863 * libltdl/configure.in: Removed header checks, as they are
1864 automatically performed by AC_LIB_LTDL.
1865 * libltdl/ltdl.m4: Added header checks from configure.in, so that
1866 AC_LIB_LTDL is sufficient to compile ltdl.c.
1867 Reported by Stephan Kulow <coolo@kde.org>.
1869 * ltconfig.in (ltdll_obj): fixed typo: objdir -> $objdir
1871 1999-12-12 Gary V. Vaughan <gvv@techie.com>
1873 * ltconfig.in (cygwin*, mingw*, export_symbols_cmds): keep any
1874 DATA tags associated with symbols by recent dlltool.
1875 (cygwin*, mingw*, archive_expsym_cmds): Honor any DATA tags
1876 found in the symbol list.
1877 Reported by Jon Leichter <jon@symas.com>.
1879 1999-12-10 Gary V. Vaughan <gvv@techie.com>
1881 From Stephan Kulow <coolo@kde.org>
1882 * libltdl/ltdl.m4: Add arg 3 to AC_DEFINE's to save the user
1883 from having to hack acconfig.h.
1885 1999-12-06 Gary V. Vaughan <gvv@techie.com>
1888 * TODO: Note some cleanups that are now needed.
1889 * libltdl/configure.in: Use the new macroised tests.
1890 * libltdl/ltdl.m4: New file, macroised tests formerly in
1891 libltdl/configure.in.
1892 Reported by Stephan Kulow <coolo@kde.org>.
1894 From Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1895 * ltconfig.in: split off the osf3 section, so that the osf4 and
1896 osf5 sections can add `-msym' to arguments passed to the linker
1899 1999-12-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1901 * ltconfig.in (ac_compile): Use $ac_ext instead of .c.
1902 (ac_link): Likewise.
1903 (dlfcn.h, ac_try): Do not add filename, it is already in
1905 Reported by Stephane Conversy <Stephane.Conversy@lri.fr>
1907 * ltconfig.in (linux-gnu*): Disable hardcode_into_libs until it
1908 works together with fast_install.
1910 * libtool.m4: Use host when --target is not specified.
1912 * configure.in: AC_SUBST variables that are used by ltconfig to
1915 * ltconfig.in (irix6*): Do not override deplibs_check_method
1918 * libtool.m4: Do not AC_SUBST anything other than LIBTOOL.
1920 1999-11-20 Michael Forster <email@michael-forster.de>
1922 * ltconfig.in (linux-gnu*): Set hardcode_into_libs=yes.
1924 1999-11-29 Gary V. Vaughan <gvv@techie.com>
1926 * ltconfig.in: Be friendlier to C++ compilers when testing
1928 Reported by Stephan Kulow <coolo@itm.mu-luebeck.de>
1930 1999-11-26 Gary V. Vaughan <gvv@techie.com>
1932 * libtool.m4: better use of $target instead of $host to support
1934 Reported by Sam Latinga <slouken@devolution.com>
1936 1999-11-16 Thomas Tanner <tanner@ffii.org>
1938 * configure.in: generate ltconfig and ltmain.sh before configuring
1941 1999-11-04 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1943 * tests/sh.test: New test to detect uses of quotes within
1944 backticks within quotes.
1945 * ltconfig.in, ltmain.in: Fix detected errors. Mark false
1946 positives with a comment that disables the detector.
1947 Reported by Akim Demaille <akim@epita.fr>
1949 * configure.in: Move ltconfig and ltmain.sh generation back...
1950 * Makefile.am: here.
1952 1999-11-02 Thomas Tanner <tanner@ffii.org>
1955 * THANKS: added Olly Betts and Pavel Roskin
1956 * doc/libtool.texi: fix typo
1958 * fix major bugs which rendered libtool virtually
1959 unusable (i.e. not portable):
1960 * ltconfig.in: don't hardcode system dependent variables in ltconfig!!
1961 but set sane defaults
1962 * Makefile.am: pass variables from AC_LIBTOOL_SETUP to ltconfig
1963 * libtool.m4: ditto, fix typo in AC_PROG_LD_RELOAD_FLAG
1965 * ltconfig.in: use old_deplibs for archives, too
1966 remove second occurence of sysv5
1967 * ltmain.in: fix typo, fix the second occurence of -DPIC, too
1969 * libltdl/Makefile.am: increment version number, fix typo
1970 * libltdl/ltdl.c (lt_dlsym): don't report an error if the
1971 libltdl-style symbol name wasn't found
1973 1999-11-02 Wolfgang Rapp <ulris@bn-ulm.de>
1975 * ltconfig.in: add support for Unixware (sysv4.2uw2*)
1977 1999-10-29 Gary V. Vaughan <gvv@techie.com>
1979 * ltmain.in: Damnit! Cygwin cvs committed all the
1982 1999-10-28 Stephane Conversy <Stephane.Conversy@lri.fr>
1984 * ltmain.in (-DPIC): changed the order of pic flags a little to
1985 prevent upsetting the sgi c++ compiler.
1987 1999-10-28 Olly Betts <olly@muscat.co.uk>
1989 * ltconfig.in (opt_cr): Handle crlf sequences output by the
1992 * libtool.m4: Third time lucky, with Tor's patch.
1994 1999-10-19 Tor Lillqvist <tml@iki.fi>
1996 * libtool.m4: these was a missing `*' in the -mno-cygwin
1998 * ltconfig.in (cygwin, ltdll_obj): fixed a quoting error.
1999 (export_symbols_cmds): added missing cosmetic newline.
2001 1999-10-18 Tor Lillqvist <tml@iki.fi>
2003 * libtool.m4: test command used == which should be =.
2004 Support -mno-cygwin flag for building mingw32 dlls.
2005 * ltconfig.in (file_magic_cmd): add missing quotes.
2006 (deplibs_check_method): and here.
2008 1999-10-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2010 * libltdl/ltdl.c (lt_dlopen): Do not search paths when the
2011 specified library is not just a basename.
2013 1999-10-10 Gary V. Vaughan <gvv@techie.com>
2015 * libtool.m4 (AC_PATH_FILE): new macro replaces
2016 AC_PATH_TOOL_GREP_OUTPUT.
2017 (AC_PATH_TOOL_PREFIX): new macro replaces
2018 AC_PATH_PROG_GREP_OUTPUT.
2019 (AC_LD_RELOAD_FLAG): migrated from ltconfig.in.
2020 (AC_DEPLIBS_CHECK_METHOD): ditto.
2021 * ltconfig.in (reload_flag): moved to libtool.m4.
2022 (deplbs_check_method): ditto.
2024 1999-10-07 Gary V. Vaughan <gvv@techie.com>
2026 * libtool.m4 (AC_PATH_PROG_VERSION_GREP): removed in favour of the
2027 more general AC_PATH_PROG_GREP_OUTPUT.
2028 (AC_PATH_TOOL_VERSION_GREP): removed in favour of the more general
2029 AC_PATH_TOOL_GREP_OUTPUT.
2030 (AC_PROG_LIBTOOL): Search for a working find program in the
2031 user's PATH using the new macros.
2033 1999-10-06 Gary V. Vaughan <gvv@techie.com>
2036 * ltconfig.in: Accept osf5.
2037 Reported by Sascha Schumann <sascha@schumann.cx>
2039 1999-10-04 Gary V. Vaughan <gvv@techie.com>
2041 * ltmain.in (-no-install): This doesn't work on win32 since
2042 the search path for libraries is not encoded in the binary,
2043 and dlls not in $PATH won't be found. Fall back to -no-fast-install
2046 * ltmain.in (-no-fast-install): Wrapper script used to add the
2047 exeext on again when naming the wrapped executable.
2049 1999-10-03 Gary V. Vaughan <gvv@techie.com>
2051 * ltconfig.in: Set $FILE to @FILE@ for substitution with
2052 the value found in libtool.m4 at configure time.
2053 * libtool.m4 (AC_PATH_TOOL_GREP_VERSION): New macro, combines
2054 AC_PATH_PROG and AC_CHECK_TOOL with a test which greps the
2055 output of $ac_dir/${ac_prefix}<tool> --version for a
2057 (AC_PATH_PROG_GREP_VERSION): New macro used by the above.
2058 (AC_LIBTOOL_SETUP): Use the new macros to search the PATH
2059 [starting at /usr/bin] for a file program which accepts
2060 --version and has "file" in its --version output.
2062 1999-10-03 Thomas Tanner <tanner@ffii.org>
2064 * NEWS: new -no-install flag
2065 * configure.in: fix typo
2066 * doc/libtool.texi(Link mode): document -no-install flag,
2067 correct -no-fast-install docs
2068 * libtool.m4: check for "file" command
2069 * ltconfig.in: don't hardcode /usr/bin/file, remove second
2070 definition of sysv5, replace linkopts -> linker_flags
2071 * ltmain.in: add new -no-install flag, print help for -no-install
2072 and -no-fast-install flags
2074 1999-10-03 Olly Betts <olly@muscat.co.uk>
2076 * ltmain.in: always create output_objdir
2078 1999-10-03 Pavel Roskin <pavel_roskin@geocities.com>
2080 * libltdl/Makefile.am: don't preserve file attributes when
2081 installing the libltdl sources
2083 1999-10-01 Gary V. Vaughan <gvv@techie.com>
2085 * configure.in (AC_OUTPUT_COMMANDS): generate ltmain.sh
2086 * Makefile.am (ltmain.sh ltconfig): removed. Automake inserts the
2087 rules to automatically call config.status.
2089 * libtool.m4: be sure to AC_SUBST values no longer tested in
2091 * ltconfig.in: replaced several of the simple feature tests with
2092 substitutions from config.status.
2093 * Makefile.am (ltconfig): generate ltconfig with config.status.
2094 * configure.in (AC_OUTPUT): generate ltconfig with config.status.
2096 1999-09-30 Donald Anderson <dda@world.std.com>
2098 * ltconfig.in (sco3.2v5): use pass_all deplibs_check_method
2101 1999-09-29 Gary V. Vaughan <gvv@techie.com>
2103 * ltconfig.in (whole-archive-flag-spec): I had been
2104 wondering why my file system was filling up with empty
2105 files named `71'... seems I forgot to hold in the
2106 shift key when redirecting stderr, 2>&1. Doh!
2108 1999-09-29 Vadim <vadim@olly.ru>
2110 * ltconfig.in (sysv): More UW7 support.
2112 1999-09-28 Albert Cheng <acheng@ncsa.uiuc.edu>
2114 * ltmain.in (shlibpath_var): ensure the variable is non-empty before
2117 1999-09-27 Manfred Weichel <weichel@global.nacamar.de>
2119 * ltconfig.in (sysv5): Added support required for shared
2120 library linking on SCO UW7.
2122 1999-09-22 Gary V. Vaughan <gvv@techie.com>
2124 * ltconfig.in (whole-archive-flag-spec): test whether the
2125 version of GNU ld being used understands --whole-archive
2128 1999-09-19 Thomas Tanner <tanner@ffii.org>
2130 * ltmain.in: don't ignore convenience libraries for objects/archives
2133 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2135 * ltconfig.in (CDPATH): Set to `:' instead of empty.
2136 * ltmain.in (CDPATH): Likewise.
2137 Reported by Greg McGary <gkm@eng.ascend.com>
2139 1999-08-24 Gary V. Vaughan <gvv@techie.com>
2141 * ltconfig.in (ltdll.c, impgen.c): Prevent the shell from
2142 expanding variables & backslash escapes when writing these
2143 files to the libtool script.
2145 1999-08-24 Thomas Tanner <tanner@ffii.org>
2147 * NEWS: mention fixes
2148 * doc/PLATFORMS: GNU/Hurd update
2149 * depdemo: make use of variables
2150 * ltconfig.in: use CC -E when checking for ELF support
2151 on NetBSD (reported by Todd Vierling <tv@pobox.com>),
2152 replace all occurences of 'linkopts' with 'linker_flags'
2153 * ltmain.in: move ltdll.c and impgen.c to ltconfig.in and
2154 only add them to the libtool script if it's necessary
2156 1999-08-24 Boyd Gerber <gerberb@zenez.com>
2158 * ltconfig.in: add support for UnixWare 7.X.X
2159 * doc/PLATFORMS: add new platforms
2161 1999-08-24 Pavel Roskin <pavel_roskin@geocities.com>
2163 * doc/libtool.texi: document use of noinst_LTLIBRARIES for
2164 convenience libraries
2166 * ltconfig.in: check for freebsdelf3, not just freebsd3.
2167 Set hardcode_into_libs=yes for FreeBSD 3.0 and 3.1
2169 * ltmain.in: enable workaround for freebsdelf3.0
2171 1999-08-24 Bert Driehuis <bert_driehuis@nl.compuware.com>
2173 * ltconfig.in: export_dynamic_flag_spec is -rdynamic on BSD/OS
2175 1999-08-07 Alexandre Oliva <oliva@dcc.unicamp.br>
2177 * libltdl/COPYING.LIB: Update to version 2.1.
2178 * libltdl/ltdl.h, libltdl/ltdl.c: Update FSF address.
2180 1999-08-03 Gary V. Vaughan <gvv@techie.com>
2182 * libtool.m4 (mingw*, AC_PROG_LD): use tr for carriage return
2184 * ltconfig.in: ditto.
2185 From Olly Betts <olly@muscat.co.uk>
2187 1999-08-02 Olly Betts <olly@muscat.co.uk>
2189 * doc/libtool.texi (Compile mode): typo correction.
2190 (Link mode): and another.
2191 (Release numbers): and another.
2192 (Distributing libltdl): and another.
2193 (Test descriptions): and another.
2194 (libtool script contents): and one more.
2196 * libtool.m4 (AC_PROG_LD): strip carriage returns from the
2197 output of gcc -print-prog-name=ld.
2198 * ltconfig.in: ditto.
2200 1999-07-30 Pavel Roskin <pavel_roskin@geocities.com>
2202 * ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else
2203 initialised structures are sometimes emitted in the code section.
2205 1999-07-30 Mumit Khan <khan@xraylith.wisc.edu>
2207 * ltconfig.in: Read line at a time to avoid tokenisation by
2210 1999-07-29 Alexandre Oliva <oliva@dcc.unicamp.br>
2212 * ltmain.in: Fix creation of relative links to object files in
2215 1999-07-29 Olly Betts <olly@muscat.co.uk>
2217 * ltconfig.in(cygwin mingw32, archive_expsym_cmds): Only compile
2218 and link ltdll.c if the libtool.m4 macros discovered that it is
2221 1999-07-26 Olly Betts <olly@muscat.co.uk>
2223 * libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): Oops. Fix some
2224 typos made by Evil Gary while (mis)applying my patch :-).
2226 * libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): On second
2227 thoughts, only probe for -mdll vs -dll on mingw, and revert to
2228 the old `-Wl,--dll -nostartfiles' on cygwin.
2230 1999-07-24 Erez Zadok <ezk@cs.columbia.edu>
2232 * doc/PLATFORMS (i*86-*openbsd2.5): New platform.
2233 Slight reordering of other bsd entries.
2235 1999-07-24 Olly Betts <olly@muscat.co.uk>
2237 * NEWS: Note new user visible changes.
2238 * libtool.m4 (mingw32, AC_LIBTOOL_SETUP): probe for -mdll vs -dll
2240 probe whether the cygwin/mingw library supplies a stub DllMain
2241 (but this information isn't yet used).
2242 * ltconfig.in (mingw32, extract_expsyms_cmds): if HOST_CC is set,
2243 use that to build impgen so we can use it when cross-compiling.
2244 use correct entry points for mingw so static C++ constructors get
2245 called for code in the DLL.
2246 * ltmain.in (impgen.c): define O_BINARY to 0 if it is not in the
2249 1999-07-24 Bert Driehuis <bert_driehuis@compuware.com>
2251 * ltconfig.in: Updated bsdi4 soname specs to be more like
2252 linux as discussed on the bsdi mailing list.
2254 1999-07-20 Gary V. Vaughan <gvv@techie.com>
2256 * configure.in (AC_PROG_RANLIB): No longer required as we now use
2257 AC_CHECK_TOOL in AC_LIBTOOL_SETUP.
2258 * libtool.m4 (AC_PROG_LIBTOOL): Pass the $build variable to
2260 (AC_PROG_RANLIB): replaced with AC_CHECK_TOOL.
2261 * ltconfig.in (build): new variable to hold the build triplet
2262 which is now checked for unless --no-verify is specified.
2263 (--build): new argument to set the build triplet.
2264 (ranlib): Prefer ${host_alias}-ranlib[.exe] if $build is different
2266 * doc/libtool.texi (Invoking ltconfig): Document --build option.
2267 * NEWS: Note --build option.
2269 1999-07-19 Erez Zadok <ezk@cs.columbia.edu>
2271 * doc/PLATFORMS: Updated mostly *bsd platforms.
2273 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
2275 * doc/libtool.texi (Porting inter-library dependencies): Typos
2276 Reported by Petter Reinholdtsen <pere@hungry.com>
2278 1999-07-17 Thomas Tanner <tanner@ffii.org>
2280 * NEWS, TODO: updated (pic flags)
2281 * libtool.m4 (AC_PROG_LIBTOOL): added --with-pic flag
2282 * ltconfig.in: new pic_mode variable and --prefer[-non]-pic flags,
2283 fixed the strip check (reported by Keith Bostic <bostic@bostic.com>)
2284 * ltmain.in (compile mode): build only PIC/non-PIC code depending
2286 * libltdl/README: document the supported dlopen interfaces
2287 * doc/libtool.texi (tests): documented new tests
2288 * tests/Makefile.am: added new tests
2289 * tests/demo-pic.test: new test to test --with-pic
2290 * tests/demo-nopic.test: new test to test --without-pic
2291 * tests/build-relink2.test: variant of build-relink.test that
2294 1999-07-09 Olly Betts <olly@muscat.co.uk>
2296 * doc/libtool.texi (C++ Libraries): fixed a typo.
2298 1999-07-06 Gary V. Vaughan <gvv@techie.com>
2300 * README-alpha: improved the release instructions to mention
2301 actual list addresses for announcements, and urls for upload
2304 1999-07-03 Thomas Tanner <tanner@ffii.org>
2306 * doc/PLATFORMS: 1.3b passes all tests on cygwin
2308 1999-07-03 Pavel Roskin <pavel_roskin@geocities.com>
2310 * ltconfig.in: finish_cmds for FreeBSD removed
2311 * depdemo/l3/Makefile.am: install libl3.la into an extra directory
2313 1999-07-02 Gary V. Vaughan <gvv@techie.com>
2315 * configure.in: bumped version to 1.3c.
2317 GNU libtool 1.3b was released.
2319 * NEWS: inserted todays date.
2321 1999-07-02 Alexandre Oliva <oliva@dcc.unicamp.br>
2323 * doc/PLATFORMS: Tested on as many platforms as possible for me.
2325 1999-07-01 Thomas Tanner <tanner@ffii.org>
2328 * doc/PLATFORMS: updated
2329 * changed my email address
2331 1999-06-30 Thomas Tanner <tanner@ffii.org>
2333 * demo/foo.h: use LT_PARAMS instead of LTDL_PARAMS (this is not libltdl)
2334 * tests/build-relink.test: also check for hardcode_into_libs = yes,
2335 if set, we need to relink at install-time
2337 1999-06-29 Thomas Tanner <tanner@ffii.org>
2339 * NEWS: mention -no-fast-install, rename dummy to force
2340 * doc/PLATFORMS: 1.3b passes all tests on GNU/Linux,
2341 FreeBSD (2.2.6 and 3.1)
2342 * doc/libtool.texi: it's possible to link libtool libraries
2343 using -L and -l, better documentation of uninstall and clean mode,
2344 rename dummy to force, documented -no-fast-install,
2345 AC_LIBLTDL_* must be called before AC_PROG_LIBTOOL,
2346 documented hardcode_into_libs and striplib/old_striplib,
2347 * ltconfig.in: search for strip program, added hardcode_into_libs
2348 and striplib/old_striplib variables, set strip commands for GNU strip,
2349 on FreeBSD >= 3.2 set hardcode_into_libs to yes,
2350 fast-install mode doesn't work if hardcode_into_libs = yes
2351 * ltmain.in: reimplemented hardcoding into libraries:
2352 new relink mode, preserve all libtool args, relink libraries
2353 when installing if necessary
2354 added -no-fast-install flag, removed unnecessary `dlname'
2355 initialization, use striplib/old_striplib for stripping libraries,
2356 dlname is always soname or in library_names so we don't need
2357 to handle different file names
2359 1999-06-29 Alexandre Oliva <oliva@dcc.unicamp.br>
2361 * ltconfig.in (freebsd*, shlibpath_overrides_runpath): Set to yes
2362 up to release 3.1, and to no from 3.2 on.
2363 Reported by Pavel Roskin <pavel_roskin@geocities.com>
2365 1999-06-29 Pavel Roskin <pavel_roskin@geocities.com>, Alexandre Oliva <oliva@dcc.unicamp.br>
2367 * ltconfig.in (freebsd*, shlibpath_overrides_runpath): Set to
2368 yes; tested on 3.1-ELF by Pavel and on 2.2.6 by Alexandre.
2370 1999-06-25 Alexandre Oliva <oliva@dcc.unicamp.br>
2372 * ltconfig.in (linux-gnu*, deplibs_check_method): Use pass_all on
2373 alpha, x86 and sparc architectures by now, reverting to file_magic
2374 at least on ARM, where it breaks.
2376 1999-06-23 Thomas Tanner <tanner@ffii.org>
2379 * README: added GNU Hurd to the supported platforms
2380 * doc/libtool.texi: document `-dlpreopen dummy'
2381 instead of `-dlopen dummy'
2382 * libltdl/ltdl.c (strchr): fixed typo (missing star)
2384 1999-06-23 Stephan Kulow <coolo@itm.mu-luebeck.de>
2386 * libltdl/ltdl.c (strrchr): fixed typo (missing star)
2387 * libltdl/ltdl.c (trim): use `const' to silence -Wwrite-strings
2389 1999-06-23 Olly Betts <olly@muscat.co.uk>
2391 * ltmain.in (ltdll.c): Support for crosscompiling from linux to
2394 1999-06-23 Gary V. Vaughan <gvv@techie.com>
2396 * ltconfig.in (cygwin, export_symbols_cmds): If there is already
2397 an extracted and compiled ltdll.c, then don't delete, reextract
2399 (cygwin, archive_expsym_cmds): Make sure the ltdll source has been
2400 extracted and compiled before referencing the object, since there
2401 are paths through the code which run archive_expsym_cmds without
2402 running export_symbols_cmds.
2404 1999-06-20 Gary V. Vaughan <gvv@techie.com>
2406 * ltconfig.in: moved the test for NM after the test for
2409 1999-06-20 Alexandre Oliva <oliva@dcc.unicamp.br>
2411 * ltconfig.in: Use sed '$q' instead of sed "" for copying ltmain,
2412 just in case some sed does not support an empty command.
2414 * ltconfig.in (link_static_flag, ac_cv_prog_cc_static): Use the
2417 1999-06-18 Thomas Tanner <tanner@ffii.org>
2419 * ltconfig.in (bsdi4, deplibs_check_method): use a less restrictive
2420 regex (reported by Chris P. Ross <cross@eng.us.uu.net>)
2421 * ltmain.in: support `-dlopen dummy', define lt_preloaded_symbols
2423 * doc/libtool.texi (Compile and Link mode): document it,
2424 documented the -Wc, -Wl flags, libtool does also support non C
2427 1999-06-18 Teun Burgers <burgers@ecn.nl>
2429 * ltconfig.in: CR/LF fix for broken DJGPP bash
2430 * ltmain.in: CR/LF fix for DJGPP
2432 1999-06-18 Gary V. Vaughan <gvv@techie.com>
2434 * ltmain.in (outputname): When generating the executable wrapper
2435 script, $outputname already has the $exeext suffix, so we needn't
2438 1999-06-16 Gary V. Vaughan <gvv@techie.com>
2440 * libltdl/configure.in (ac_cv_lib_dl_dlopen): missing "x" in test
2441 comparison corrected.
2443 * libltdl/ltdl.c (sys_wll_open): libltdl expects this function to
2444 fail if it is unable to physically load the library. Sadly,
2445 LoadLibrary will search the loaded libraries for a match and
2446 return one of them if the path search load fails. Simulate a
2447 failure in this case for compatibility with the other APIs.
2448 Also, LoadLibrary takes the liberty of adding `.dll' to library
2449 names passed without an extension, we now add a trailing `.' to
2450 prevent this from happening.
2452 1999-06-15 Gary V. Vaughan <gvv@techie.com>
2454 * libltdl/ltdl.c (sys_wll_close): Strangely enough, Microsoft have
2455 decided that LoadLibrary returns `0' for success, yet FreeLibrary
2456 returns `0' for failure! The FreeLibrary call used to interpret
2457 `0' as success for both functions.
2459 1999-06-14 Thomas Tanner <tanner@ffii.org>
2461 * ltconfig.in: use eval when setting have_dlfcn_h, reformatting
2463 1999-06-12 Thomas Tanner <tanner@ffii.org>
2465 * ltmain.in: store old archives in deplibs and old_deplibs,
2466 retain the order of dependency libraries (even old archives),
2467 determining the absolute directory name didn't work due to a typo,
2468 add the library search paths of all dependency libraries when
2469 linking a library (fixes IRIX 5.2 bug)
2471 1999-06-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2473 * ltconfig.in: Reverted June 6's patch for new GNU ld output, it
2474 is no longer needed, as ld reverted to the original format.
2477 * ltconfig.in: When testing self-dlopening, test whether dlclose
2478 crashes. On FreeBSD 3.1, it does. :-(
2479 * libltdl/configure.in: Likewise.
2480 * NEWS: Note work-around.
2481 Reported by Pavel Roskin <pavel_roskin@geocities.com>
2483 1999-06-09 Gary V. Vaughan <gvv@techie.com>
2485 * ltconfig.in (exeext): autoconf's AC_EXEEXT uses "no" to indicate
2486 no extension, and we must do the same in order to share the cache
2487 value. Also we must ignore conftest.err which HPsUX (at least)
2488 fills with gratuitous warnings.
2489 (objext): for consistency, do the same as above.
2490 Reported by Pavel Roskin <pavel_roskin@geocities.com>
2492 1999-06-09 Pavel Roskin <pavel_roskin@geocities.com>
2494 * ltconfig.in (exeext): Use quotes in the test, to prevent a
2497 1999-06-09 Gary V. Vaughan <gvv@techie.com>
2499 * ltconfig.in: Reordered tests to be more like configure.in's
2500 recommended order (programs first, then libraries, etc.).
2501 Performed a manual ``constant folding pass'' (eg: s/eval "test
2502 \"echo '$''{'lt_cv_dlopen'+set}'`\" != set/test
2503 "${lt_cv_dlopen+set}" != set/).
2504 s/test "${foo+set}" = "set"/test "X${foo+set}" = Xset/g
2506 * ltconfig.in (link_static_flag): Accept, in order of decreasing
2507 preference: the cached value; the default value for the current
2508 host. Also test that the compiler accepts the flag, and cache
2511 * ltconfig.in (pic_flag): Accept, in order of decreasing
2512 preference: the cached value; the default value for the current
2513 host. Also test that the compiler accepts the flag, and cache
2516 1999-06-08 Gary V. Vaughan <gvv@techie.com>
2518 * ltconfig.in (LN_S): Accept, in order of decreasing preference:
2519 the cached value; an environment setting; ``ln -s'' if it works;
2520 ``ln'' if ``ln -s'' doesn't appear to work.
2522 * ltconfig.in (objext): Accept, in order of decreasing preference:
2523 the cached value; the result of a test object compilation.
2525 * ltconfig.in (RANLIB): Accept, in order of decreasing preference:
2526 the cached value; an environment setting; the first file called
2527 ``ranlib'' in the user's path.
2529 * ltmain.in (exeext): Use $exeext when working out the names of
2530 programs (but not the wrapper script itself due to a stupidity in
2531 win32 which hardwires the .exe extension to the binary loader!).
2532 * ltconfig.in (exeext): Now that the wrapper script tries to move
2533 executables, we need to know whether they have an extension (ala
2534 AC_EXEEXT). Since we can't rely on AC_EXEEXT having been called
2535 in configure.in, we must be able to check for ourselves, though we
2536 can look for a cached result incase AC_EXEEXT was called.
2538 * ltconfig.in (cygwin, pic_flag): Force separate compilation of
2539 objects for dlls vs. objects for static archives. Using a cpp
2540 macro also allows us to decide whether or not we need to use
2541 dllexport/import declarations.
2543 * ltconfig.in (cygwin, need_version): Set to no, otherwise module
2544 dll's end up with mighty long names!
2546 1999-06-06 Alexandre Oliva <oliva@dcc.unicamp.br>
2548 * ltconfig.in: Support new GNU ld --help output format.
2550 Reported by Gaël Quéri <gael@baoule.dyndns.org> and
2551 H.J. Lu <hjl@varesearch.com>.
2553 1999-06-05 Mark Kettenis <kettenis@gnu.org>
2555 * ltconfig.in: Update support for the Hurd. Make sure that the
2556 soname includes the major version number and create the right
2557 links. Allow shared objects without the `lib' prefix and without
2558 version information.
2560 1999-06-02 Nick Rasmussen <nick@jive.org>
2562 * ltmain.in (link): use "$nonopt" as the compiler for
2563 compile/finalize_command
2565 1999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
2567 * TODO: Remove the short list of people interested in C++
2568 constructors; it's not meaningful, since there are so many more
2569 people requesting this feature, and we just can't maintain it
2572 1999-05-27 Pavel Roskin <pavel_roskin@geocities.com>
2574 * ltconfig.in (GNU Hurd, deplibs_check_method): Use pass_all.
2576 1999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>, Olly Betts <olly@muscat.co.uk>
2578 * ltmain.in: Expand convenience libraries when creating reloadable
2582 1999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
2584 * NEWS: Mention the two bugfixes below.
2586 * ltmain.in: Only create directory into which to extract
2587 convenience libraries when $convenience is not empty. It would
2588 always be created on systems that did not support
2589 whole_archive_flag_spec.
2591 * ltconfig.in (export_symbols_cmds): Add $convenience.
2592 (cygwin, export_symbols_cmds): Ditto.
2593 * ltmain.in: Generate export symbol list before expanding
2594 convenience libraries, to avoid passing whole_archive_flag_spec to
2596 Reported by Godmar Back <gback@cs.utah.edu>
2598 1999-05-27 David Jones <jones@mosaid.com>
2600 * libltdl/ltdl.c (LTDL_BIND_FLAGS): Remove BIND_VERBOSE, to avoid
2601 printing error messages.
2603 1999-05-26 Alexandre Oliva <oliva@dcc.unicamp.br>
2605 GNU libtool 1.3.2 was released.
2607 1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
2609 * NEWS: List fixed problems.
2610 * doc/PLATFORMS: Tested for 1.3.2.
2612 * config.guess: Synch with GNU common.
2614 * ltmain.in: Revert to stripping .exe on all platforms.
2615 * TODO: Note about this problem. Demo is fixed on win32. Support
2616 `empty' convenience libraries.
2618 * ltconfig.in (solaris*, ld_shlibs): Do not enable shared
2619 libraries with GNU ld 2.8.*, it's broken. Emit a warning
2620 suggesting an upgrade.
2621 Reported by Brian Ford <ford@vss.fsi.com> and Ronald Pijnacker
2622 <Ronald.Pijnacker@best.ms.philips.com>
2624 1999-05-25 Frank Ch. Eigler <fche@cygnus.com>
2626 * ltmain.in: file_magic check would not avoid cyclic links.
2628 1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
2630 * depdemo/main.c, depdemo/l1/l1.c, depdemo/l2/l2.c: K&R-ize.
2631 * depdemo/l3/l3.c, depdemo/l4/l4.c: Likewise.
2633 * ltmain.in: Remove object files before writing to them, to avoid
2635 Reported by Ron O'Hara <rono@sentuny.com.au>
2637 1999-05-24 Thomas Tanner <tanner@ffii.org>
2639 * NEWS: support for installing stripped libraries using GNU strip
2640 * ltconfig.in: set deplibs_check_method=pass_all on FreeBSD,
2641 Linux and Solaris since no one can reproduce the famous deplibs
2643 * ltmain.in: preserve $CC (reported by Tom Tromey),
2644 strip libraries using GNU strip if it's available and the
2645 -s flag was passed to "install"
2647 1999-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
2649 * doc/PLATFORMS: Release 1.3.1 passes on GNU Hurd/x86.
2650 Reported by Pavel Roskin <pavel_roskin@geocities.com>
2652 1999-05-23 Thomas Tanner <tanner@ffii.org>
2654 * ltmain.in: strip off the .exe suffix only on *Win
2655 (Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>)
2657 1999-05-22 Thomas Tanner <tanner@ffii.org>
2660 * TODO: -Wc, -Wl, implemented
2661 * AUTHORS: changed my email address
2662 * doc/libtool.texi: fix "wierd" typo :)
2663 * ltmain.in: linking against convenience libraries was broken,
2664 implemented the "-Wc," "-Wl," "-Xcompiler" "-Xlinker" flag for
2665 compiler and linker-specific flags,
2666 add -lc before we do the deplibs check
2667 * ltconfig.in: linkopts -> compiler_flags for $CC and linker_flags
2668 for $LD, link_all_deplibs=yes on IRIX
2670 1999-05-22 Gary V. Vaughan <gvv@techie.com>
2672 * NEWS: insert todays date alongside 1.3.1 release.
2673 * Makefile.in: use gnu not gnits rules
2674 * config.guess: synch with gnu common & apply Takabatake-san's
2676 * config.sub: synch with gnu common.
2678 1999-05-22 Doug Evans <devans@casey.cygnus.com>
2680 * libltdl/configure.in (dlerror): Fix typo in dlopen found in -ldl
2683 1999-05-21 Pavel Roskin <pavel_roskin@geocities.com>
2685 * Makefile.am (EXTRA_DIST): Don't distribute instutils.
2686 (install-data-hook): use libltdl/Makefile.am's local-install files
2688 * libltdl/Makefile.am (local-install-files): New rule to install
2689 libltdl without creating links or mode 777 directories.
2690 * instutil/*: deleted.
2692 1999-05-21 Alexandre Oliva <oliva@dcc.unicamp.br>
2694 * doc/PLATFORMS: Updated to 1.3.1 for all platforms I've got.
2695 Added sparc-unknown-linux-gnu.
2697 1999-05-21 Gary V. Vaughan <gvv@techie.com>
2699 * demo/foo.h: s/PARAMS/LTDL_PARAMS/g
2700 * libltdl/ltdl.h: ditto.
2701 * libltdl/ltdl.c: ditto.
2703 * demo/foo.h: s/__P/PARAMS/g
2704 * libltdl/ltdl.h: ditto.
2705 * libltdl/ltdl.c: ditto.
2706 Reported by Akim Demaille <demaille@inf.enst.fr>
2708 1999-05-20 Alexandre Oliva <oliva@dcc.unicamp.br>
2710 * NEWS: Updated docs.
2711 * TODO: Recommend libtool.m4 to be inserted in acinclude.m4. AIX
2712 4.3.2.0 no longer fails on static dlopening. GNU DLD no longer
2713 has to support .la files, since libltdl already does. Convenience
2714 libraries and reloadable objects should be tested in the
2715 testsuite. We could support some amount of control on the soname
2717 * doc/libtool.texi: Notes about convenience libraries and
2718 automake. Documented INCLTDL.
2720 1999-05-20 Thomas Tanner <tanner@gmx.de>
2722 * cdemo/main.c: "Welcome _to_ ..."
2723 * mdemo/main.c: ditto
2724 * libltdl/configure.in: support multiple dlopening mechanisms
2726 * libltdl/ltdl.c: prefix system dependent functions with "sys_"
2727 to avoid symbol conflicts (libdld didn't work)
2728 * libtool.m4 (AC_LIBLTDL_*): set INCLTDL to the path of ltdl.h
2729 * ltconfig.in: check for dlopen with -ldl first
2731 1999-05-19 Gary V. Vaughan <gvv@techie.com>
2733 * NEWS: Added 1.3.1 news items.
2734 * doc/PLATFORMS: updated the boxes I have access to, to 1.3.1
2735 in preparation for the next release.
2737 1999-05-18 Gary V. Vaughan <gvv@techie.com>
2739 * ltconfig.in (cygwin*, whole_archive_flag_spec): dlltool chokes
2740 on this, so leave it unset in this case so that the ltmain code
2741 knows it has to unpack convenience archives by itself.
2743 1999-05-17 Gary V. Vaughan <gvv@techie.com>
2745 * ltmain.in: Do not exit when an unknown library name is passed
2746 passed in, simply warn and continue since some compilers require
2747 -LANG:* like options to work.
2748 Reported by Adam C. Powell, IV <adam.powell@nist.gov>
2750 1999-05-17 Jiro Takabatake <jiro@din.or.jp>
2752 * ltconfig.in: port to NEC UX/4800.
2755 1999-05-17 Gary V. Vaughan <gvv@techie.com>
2757 * ltconfig.in (beos*, deplibs_check_method): set to pass_all. BeOS
2759 Reported by "Shawn T . Amundson" <amundson@gimp.org>
2761 * libltdl/configure.in: Fix test failures on AIX 4.3.2 by checking
2762 for dlopen *with* -ldl first.
2763 Reported by Greg Wooledge <ic5035%tss1crs.amgreetings.com@rose.amgreetings.com>
2765 * demo/foo.h: Don't set any declspecs until we have full dll
2768 1999-05-16 Alexandre Oliva <oliva@dcc.unicamp.br>
2770 * ltconfig.in (solaris2.6, whole_archive_flag_spec): Do not use
2773 1999-05-14 Alexandre Oliva <oliva@dcc.unicamp.br>
2775 * instutil/chmod: New script to avoid chmod'ing files while
2776 installing libltdl's sources.
2777 * instutil/ln: New script to avoid hard-linking libltdl's sources
2778 in the install tree.
2779 * Makefile.am (EXTRA_DIST): Dist them.
2780 (instal-data-hook): Add srcdir/instutil to the beginning of the
2781 PATH before installing libltdl's sources.
2783 1999-05-09 Gary V. Vaughan <gvv@techie.com>
2787 1999-05-06 Gary V. Vaughan <gvv@techie.com>
2789 * Makefile.am (install-data-hook): make sure the install directory
2790 is not left world writable.
2791 Reported by Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2793 1999-04-30 Alexandre Oliva <oliva@dcc.unicamp.br>
2795 * libtool.m4: Use ifelse instead of if.
2796 Reported by David Mazieres <dm@amsterdam.lcs.mit.edu>
2798 1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
2800 GNU Libtool 1.3 was released.
2802 * NEWS: Summarize news from 1.2 to 1.3.
2804 * ltmain.in: Save exit status of link_command before removing
2805 symbol table object file.
2807 1999-04-29 Gary V. Vaughan <gvv@techie.com>
2809 * doc/PLATFORMS: updated my hpux-10.20 and cygwin box entries.
2811 1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
2813 * NEWS: Improved support for DU and IRIX too.
2815 * config.sub, config.guess: Updated from GNU common.
2817 * mdemo/configure.in: Move AC_LIBLTDL_CONVENIENCE before
2818 AM_PROG_LIBTOOL, as suggested by autoconf.
2820 * doc/libtool.texi (Distributing libltdl): Document that -static
2821 may cause the same problems on libltdl as -all-static.
2822 * TODO: We might want to fix this in the future.
2824 * doc/libtool.texi: Clear up overfull hbox.
2826 * libltdl/Makefile.am (ltdl.lo): Add dependencies.
2827 * libltdl/configure.in: Clean up some duplicate defines. Enable
2828 support for multiple dlopening mechanisms.
2829 * libltdl/acconfig.h: New file. Add #undefs for defines that
2830 would be duplicated.
2832 1999-04-29 Gary V. Vaughan <gvv@techie.com>
2834 * libtool.m4 (cygwin*|mingw*, DLLTOOL, OBJDUMP, AS): Only expand the
2835 code that makes these configure time checks on hosts that need the
2836 tools *and* if the AC_LIBTOOL_WIN32_DLL macro is used.
2838 1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
2840 * ltmain.in (nlist, SYMFILE): Use outputname instead of output for
2841 names within output_objdir.
2843 1999-04-28 Alexandre Oliva <oliva@dcc.unicamp.br>
2845 * libtool.m4 (AC_ENABLE_SHARED, AC_ENABLE_STATIC,
2846 AC_ENABLE_FAST_INSTALL): Do not call AC_BEFORE here, they're
2847 AC_REQUIREd by AC_LIBTOOL_SETUP.
2848 (AC_DISABLE_SHARED, AC_DISABLE_STATIC, AC_DISABLE_FAST_INSTALL):
2849 Call AC_BEFORE here, and now with two arguments, since these do
2851 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE): Fix calls to
2854 1999-04-28 Gary V. Vaughan <gvv@techie.com>
2856 * libtool.m4 (ltconfig_enable_win32_dll): pass --enable-win32-dll to
2857 ltconfig if this is set.
2858 (AC_LIBTOOL_WIN32_DLL): New macro required for libtool to attempt
2859 a dll build on win32 hosts.
2860 * ltconfig.in (--enable-win32-dll): new flag for the cli.
2861 (cygwin*|mingw*|os2*, ltconfig_enable_win32_dll): if this is not set
2862 to yes, then do not attempt to build shared libraries.
2863 * doc/libtool.texi: document AC_LIBTOOL_WIN32_DLL.
2864 * NEWS: noted new macro.
2866 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
2868 * libtool.m4 (AC_LIBTOOL_DLOPEN, AC_ENABLE_SHARED,
2869 AC_ENABLE_STATIC, AC_ENABLE_FAST_INSTALL, AC_LIBLTDL_CONVENIENCE,
2870 AC_LIBLTDL_INSTALLABLE): Warn if they appear after
2871 AC_PROG_LIBTOOL. AC_LIBTOOL_SETUP, actually.
2872 (AC_LIBTOOL_SETUP): Check whether DLOPEN support is to be enabled
2873 at autoconf time, not configure time. Simplify code and
2874 improve (?) help message about --disable-libtool-lock.
2876 1999-04-27 Thomas Tanner <tanner@gmx.de>
2878 * NEWS: new clean mode
2879 * THANKS: added Ossama Othman
2880 * doc/libtool.texi: documented the new `clean' mode
2881 * ltconfig.in: set need_version=no on OSF (reported by
2882 Marcus Sundberg <mackan@stacken.kth.se>)
2883 * ltmain.in: allow absolute non-existant -L paths,
2884 always use output_objdir instead of objdir for temporary files,
2885 delete generated temporary symbol lists,
2886 don't add .la twice in the pseudo-library header,
2887 implemented and documented clean mode (deletes libraries,
2888 programs and object files and the files associated with them),
2889 if build_libtool_libs=no and no static library is available,
2890 try to link the program against the shared library,
2891 don't add a statically linked library to the dependency_libs
2892 * ltmain.in (help uninstall): added a missing backslash
2893 after echo (reported by Ossama Othman)
2895 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
2897 * ltmain.in (old_archive_cmds): Iterate on oldobjs to find out
2898 which links to object files we must create. Do not test for empty
2899 pic_flag to create such links. Use objext when searching for
2900 object files extracted from convenience library.
2902 * ltconfig.in (compiler_c_o): Make sure the compiler does not
2903 create temporaries in the current directory when output should go
2904 elsewhere. We must perform locking if it does.
2906 1999-04-27 Gary V. Vaughan <gvv@techie.com>
2908 * ltmain.in (old_archive_cmds): Ensure that there are always .o
2909 objects available before running old_archive_cmds.
2911 1999-04-26 Erez Zadok <ezk@cs.columbia.edu>
2913 * doc/PLATFORMS: Updates for netbsd 1.3.3 and 1.4.
2915 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
2917 * ltconfig.in (aix4.[01], always_export_symbols): The case pattern
2918 would never match; fixed.
2919 Reported by Stephan Kulow <coolo@itm.mu-luebeck.de>
2921 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
2923 * libtool.m4 (OBJDUMP): Pass it to ltconfig.
2924 * configure.in: AC_SUBST DLLTOOL, OBJDUMP and AS.
2925 * Makefile.am (libtool, clibtool): Pass them to ltconfig.
2927 1999-04-25 Frank Ch. Eigler <fche@cygnus.com>
2929 * libtool.m4 (cygwin*): Look for target objdump tool.
2930 * ltconfig.in (cygwin*, file_magic_cmd): Use autoconf-located target
2931 objdump tool. Track OBJDUMP like DLLTOOL and AS.
2933 * ltconfig.in (cygwin*, deplibs_check_method): Accept
2934 "architecture: i386" as optional suffix, for it is printed on a
2935 separate line sometimes.
2937 * ltmain.in (cygwin*, ltdll.c): Wrap DllMain declaration in extern "C".
2939 * ltmain.in (deplibs_check_method=file_magic): Redirect stderr to
2940 /dev/null, to suppress error messages from target objdump.
2942 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
2944 * ltconfig.in (irix*, soname_spec, library_names_spec): Missing
2945 dots before $versuffix and $major.
2947 * ltconfig.in (solaris*, whole_archive_flag_spec): Use -z
2948 allextract/defaultextract from Solaris 2.6 on.
2949 Reported by Brian Ford <ford@vss.fsi.com>
2951 * ltconfig.in (beos*, allow_undefined_flag): Do not build shared
2952 libraries with undefined symbols.
2954 * ltconfig.in (aix4*, allow_undefined_flag): Set to -berok.
2955 (aix4*, shared_flag): Set to -shared or ${wl}-bM:SRE.
2956 (aix4*, archive_cmds): Use -bexpall.
2957 (aix4*, archive_cmds, archive_expsym_cmds): Use shared_flag and
2958 allow_undefined_flag.
2959 (aix4*, always_export_symbols): Set to yes up to AIX 4.1.*,
2960 because -bexpall is supported from 4.2 on.
2961 Reported by Greg Wooledge
2962 <ic5035%tss1crs.amgreetings.com@rose.amgreetings.com>
2964 * ltconfig.in (hpux*, hardcode_minus_L): Set to yes.
2965 (hpux*, hardcode_libdir_flag_spec): Do not use +s by default.
2966 (hpux*, shlibpath_overrides_runpath): Set to no.
2968 * ltconfig.in (irix*, osf*, archive_cmds): Write so_locations
2971 * ltconfig.in (irix*, soname_spec): Append $major.
2972 (irix*, library_names_spec): Add new soname.
2973 Reported by David Kaelbling <drk@sgi.com>
2975 * ltconfig.in (irix*, sys_lib_dlsearch_path_spec): /usr/local/lib
2976 is not searched by default. /usr/lib is searched before /lib.
2977 * ltconfig.in (irix*, sys_lib_search_path_spec): /usr/lib is
2978 searched before /lib.
2980 * ltconfig.in (irix5*, need_lib_prefix, need_version): Set to no,
2981 by unifying with irix6*.
2983 * ltconfig.in (irix*, osf*, deplibs_check_method): Use pass_all.
2985 * ltconfig.in (old_LDFLAGS, old_LIBS): Save and write to comments
2988 * ltmain.in (prefer_static_libs): New variable, set to no by
2989 default, but set to yes by -static and -all-static. Used instead
2990 of build_libtool_libs to decide whether to use a shared or static
2991 version of a library, when both versions are available.
2993 1999-04-25 Boyd Lynn Gerber <gerberb@zenez.com>
2995 * ltconfig.in (sco3.2v5*): Use LD_RUN_PATH for hard-coding.
2997 1999-04-25 Pavel Roskin <pavel_roskin@geocities.com>
2999 * Makefile.am (uninstall-local): Remove installed libltdl tree.
3001 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
3003 * demo/Makefile.am (hc-direct, hc-libflag, hc-libpath, hc-minusl):
3004 Added CFLAGS to link commands; SCO OSR needs it for -belf.
3006 * TODO: -Wl and -Wc options.
3008 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
3010 * libltdl/ltdl.c: Remove trivial warnings.
3012 1999-04-22 Frank Ch. Eigler <fche@cygnus.com>
3014 * ltconfig.in: Correct sed expression that extracts symbols
3015 from cygwin def files. Ignore demangled C++ names, if any.
3017 1999-04-12 John David Anglin <dave.anglin@nrc.ca>
3019 * libltdl/ltdl.c (shl_close): shl_t was correct here...
3020 (shl_sym): ... but we have to pass the handle by reference here.
3022 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
3024 * doc/libtool.texi (Invoking ltconfig): Document environment
3027 * doc/libtool.texi (Invoking ltconfig): Document --cache-file.
3029 * doc/libtool.texi (Invoking ltconfig): Document
3030 --disable-fast-install, --enable-dlopen, --with-gnu-ld and
3033 1999-04-11 Thomas Tanner <tanner@gmx.de>
3035 * libltdl/configure.in: check for shl_load in libdld
3036 * libltdl/ltdl.c (shl_close, shl_sym): use (shl_t *) instead of shl_t
3037 * ltconfig.in (check for gcc): removed a bogus line,
3038 check for shl_load in libdld
3039 * ltmain.in: added a warning to the header of the .la file
3040 to warn users against deleting the file,
3041 link shared against static libraries if
3042 deplibs_check_method == pass_all
3044 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
3046 * libtool.m4 (AC_PROG_LD, AC_PROG_NM): When looking for programs,
3047 try $ac_exeext too, so that they're found on DJGPP/MS-DOS.
3048 * ltconfig.in: Likewise.
3049 Reported by Robert S. Maier <rsm@math.arizona.edu>
3051 * ltconfig.in (Usage): Removed --enable-dlopen-self.
3052 Reported by Pavel Roskin <pavel_roskin@geocities.com>
3054 * ltconfig.in: Moved sysv4 before sysv4.*.
3055 (symcode): Brian's overrider is specific to sysv4, not sysv4*.
3057 1999-04-09 Thomas Tanner <tanner@gmx.de>
3059 * NEWS, README: Motorola System V 4 support
3060 * doc/PLATFORMS: added mk88-motorola-sysv4
3061 * ltconfig.in: installed patch from Brian Ford <ford@vss.fsi.com>
3062 to support mk88-motorola-sysv4
3064 * doc/libtool.texi: some cleanups in the libltdl documentation
3066 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
3068 * ltconfig.in (--fallback-echo): Do not put an inline document and
3069 an exec in the same if construct; otherwise the inline document
3071 * ltmain.in (--fallback-echo): Likewise.
3072 Reported by John David Anglin <dave.anglin@nrc.ca>
3074 * dryrun.test: It would still fail at random times, because `cp'
3075 and `mv' are not guaranteed to preserve the timestamps of the
3076 installed files. Instead of preserving them, just remove them
3077 before the dry uninstall test. Redirect dry-run output to stderr,
3078 so that it can be easily separated from the regular output.
3080 1999-04-07 Thomas Tanner <tanner@gmx.de>
3082 * NEWS: support for moved libraries
3083 * libtool.m4: another DJGPP fix
3085 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
3087 * doc/PLATFORMS: Updated to 1.3 for all platforms I've got. I'll
3088 make sure 1.3 won't be released unless it passes all tests on
3091 * doc/libtool.texi (Compile mode): Document potential problem and
3092 work-around for `-c -o dir/foo.lo'.
3094 * tests/dryrun.test: The constant modifications of libtool would
3095 cause main.o to be updated at the wrong time; the new approach is
3096 to modify the libtool script so that it enables dry run depending
3097 on whether an environment variable is set or not. I've also moved
3098 `after' and `before' to a directory deep within $objdir, instead
3099 of creating it in ../tests.
3100 * tests/Makefile.am (CLEANFILES): Removed.
3102 1999-04-06 Alexandre Oliva <oliva@dcc.unicamp.br>
3104 * tests/dryrun.test: We cannot rely on setting LIBTOOL, because
3105 automake may use sub-makes, and the setting will not be propagated
3106 to them on some makes. Instead, create a dry version of libtool
3107 and switch between it and the original one before and after dry
3109 * tests/Makefile.am (CLEANFILES): Added libtool-*, created by
3112 * tests/dryrun.test: Use cmp instead of diff.
3113 (before, after): Create them within ../tests.
3114 (libtool): Set to `/bin/sh ./libtool' by default, but use LIBTOOL,
3115 SHELL and top_builddir from the environment if available. For dry
3116 runs, use "$libtool -n".
3117 * tests/Makefile.am (CLEANFILES): Added before and after.
3118 * ltmain.in: Do not create links to object files in dry runs.
3120 1999-04-06 Thomas Tanner <tanner@gmx.de>
3122 * ltmain.in: added a missing line of the ILD patch
3124 * NEWS: improved DJGPP support
3125 * doc/libtool.texi: removed hardcode_into_libs documentation
3126 * libtool.m4: some DJGPP fixes
3127 * ltconfig.in: ditto, reverted one of my previous patches: we need
3128 to check for NM, removed the hardcode_into_libs support since
3129 no platform seems to support it
3130 * ltmain.in: some DJGPP fixes, removed the hardcode_into_libs support
3132 1999-04-05 Alexandre Oliva <oliva@dcc.unicamp.br>
3134 * ltconfig.in (netbsd*, GNU ld): Support a.out shared libraries
3136 * Makefile.am (CVS): allow command-line overriding of cvs
3138 * ltconfig.in (exclude_expsyms): Exclude _GLOBAL_OFFSET_TABLE_ by
3139 default, as most a.out platforms use it, and end up in trouble if
3140 we preload it, so it's safer to rule it out by default, and
3141 special case its removal from exclude_expsyms if someone ever
3144 1999-04-05 Thomas Tanner <tanner@gmx.de>
3146 * doc/libtool.texi: reorder tests to reflect execution order,
3147 documented dryrun.test and depdemo*
3148 * ltmain.in (lt_preloaded_symbols): dry-run mode bugfix
3149 * tests/dryrun.test: new test to check whether the dry-run
3152 * demo/run.test: removed the unnecessary test
3153 * demo/Makefile.am: ditto
3154 * ltmain.in: set the DLL search path on cygwin,mingw and os2
3156 1999-04-04 Alexandre Oliva <oliva@dcc.unicamp.br>
3158 * ltconfig.in (sunos4*, GNU ld): -Bstatic is not enough for
3159 deplibs.test to work with GNU ld; -Bshareable is needed here.
3161 * ltconfig.in (ld_shlibs, amigaos*): Disable shared libs with
3164 * ltconfig.in (sunos4*, GNU ld): Reordered.
3166 * ltconfig.in (archive_cmds, sunos4*): Revert to -Bstatic; the
3167 native linker doesn't even support -Bshareable, only GNU ld does.
3168 Do not use `gcc -shared' in archive_cmds, it breaks deplibs.test.
3170 * ltconfig.in: if ld_shlibs=no, set can_build_shared=no too,
3171 otherwise it will just be disregarded. This would cause
3172 netbsd/m68k with GNU ld a.out, and certainly many other platforms,
3173 to incorrectly believe that shared libraries were supported, while
3174 archive_cmds was empty, causing shared libraries not to be created
3176 1999-04-03 Alexandre Oliva <oliva@dcc.unicamp.br>
3178 * NEWS: improved support for AIX and HP/UX
3180 1999-04-03 Thomas Tanner <tanner@gmx.de>
3183 * libtool.m4: check for main in libm instead of cos
3184 * ltmain.in: cosmetic fixes, don't try to link libraries only once
3185 (although it's not necessary on many platforms and looks ugly...),
3187 1999-04-02 Alexandre Oliva <oliva@dcc.unicamp.br>
3189 * ltmain.in (convenience): fixed race condition when more than one
3190 library was linked with the same convenience library by
3191 uniquifying the extract directory. It is now named after the new
3192 library *and* the old one, and lives in the objdir of the new one.
3194 * ltmain.in (-L*): do not abort just because a directory specified
3195 with -L does not exist; just warn and discard it
3197 * depdemo/l1/Makefile.am (AUTOMAKE_OPTIONS): no-dependencies
3198 * depdemo/l2/Makefile.am (AUTOMAKE_OPTIONS): ditto
3199 * depdemo/l3/Makefile.am (AUTOMAKE_OPTIONS): ditto
3200 * depdemo/l4/Makefile.am (AUTOMAKE_OPTIONS): ditto
3202 * ltconfig.in (archive_cmds, sunos4*): where we used -Bstatic, we
3203 should have been using -Bshareable
3205 * demo/Makefile.am (CLEANFILES): clean EXTRA_* from deplibs-check
3207 * libtool.m4 (LDFLAGS, LIBS): pass them to ltconfig, for the tests
3208 that involve linking
3209 * Makefile.am (LDFLAGS, LIBS, libtool, clibtool): ditto
3210 * tests/Makefile.am (CFLAGS, CPPFLAGS, LDFLAGS, LIBS): set
3211 (LDFLAGS, LIBS, TESTS_ENVIRONMENT): pass them down
3213 1999-04-02 Erez Zadok <ezk@cs.columbia.edu>
3215 * doc/PLATFORMS: 1.2f ok on various versions of hpux cc
3217 1999-04-02 Alexandre Oliva <oliva@dcc.unicamp.br>
3219 * ltconfig.in (link_all_deplibs): set to unknown by default
3220 * ltmain.in: test != no, not = yes
3221 * doc/libtool.texi: document unknown
3223 1999-04-01 Thomas Tanner <tanner@gmx.de>
3225 * doc/libtool.texi: documented deplibs.test
3227 * demo/Makefile.am: moved testsuite specific declarations to the end,
3228 the deplibs check is now optional
3229 * libltdl/configure.in: read libtool --config only once,
3230 merged AC_SYS_SYMBOL_UNDERSCORE+AC_SYS_NM_PARSE from libtool.m4
3231 * libtool.m4: AC_SYS_SYMBOL_UNDERSCORE+AC_SYS_NM_PARSE were not
3232 used, lt_dlopen and silent may be empty, AC_SYS_LIBTOOL_CYGWIN
3234 * ltconfig.in: NM is already checked in libtool.m4,
3235 * ltmain.in: always link all static dependency_libs
3236 * tests/Makefile.am: added deplibs.test
3237 * tests/demo-exec.test, demo-inst.test: removed hell0
3238 * tests/deplibs.test: new test to test the deplibs_check_method
3240 1999-03-31 Thomas Tanner <tanner@gmx.de>
3242 * ltmain.in: always link a library before its dependency libs
3243 * mdemo/Makefile.am: test -export-symbols-regex
3245 1999-03-30 Thomas Tanner <tanner@gmx.de>
3247 * doc/libtool.texi: fixed a typo
3248 * libtoolize.in: add the libtool scripts to libltdl.tar.gz
3249 * libtool.m4: don't AC_SUBST(USE_SYMBOL_UNDERSCORE),
3250 AC_CHECK_LIBM sets LIBM, AC_LIBLTDL_INSTALLABLE doesn't work
3251 when libltdl is already installed
3252 * *demo/Makefile.am: use LIBM
3253 * *demo/configure.in: AC_SUBST LIBM
3254 * libltdl/configure.in: use ac_cv_sys_symbol_underscore instead of
3255 USE_SYMBOL_UNDERSCORE
3256 * ltconfig.in: added link_all_deplibs variable
3257 * doc/libtool.texi: document it
3258 * ltmain.in: always search for libname.la - don't eval libname_spec,
3259 when linking libraries against static ones just print a warning
3260 and add them to dependency_libs, add -lc before deplibs,
3261 always link all dependencies of a static library or if
3262 link_all_deplibs is yes, hardcode library paths if
3263 hardcode_into_libs is no, don't link against dependency_libs
3264 that already are deplibs
3266 1999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br>
3268 * ltconfig.in (aix4*, collect2name): make sure collect2 exists
3269 before running string on it, to avoid errors on old gccs
3270 Reported by Erez Zadok <ezk@cs.columbia.edu>
3272 * ltconfig.in (aix4*, hardcode_libdir_flag_spec): unless we're
3273 using gcc with old collect2, use -b libpath to hardcode the
3276 * ltmain.in, ltconfig.in: reverted most of the quoting changes
3277 from 1999-03-25; Gary's delay_variable_subst patch from 1999-02-19
3278 obviates it. Keep only quoting of $PATH, for uniformity with
3279 other systems that already did it
3281 1999-03-29 Gary V. Vaughan <gary@gnu.org>
3283 * libltdl/ltdl.c (lt_dladdsearchdir): Forgot to mallocate the
3284 extra byte of memory for the teminating NUL, and forgot to
3285 strcpy the original path in to the new memory before appending
3286 the new path compononent.
3288 1999-03-27 Thomas Tanner <tanner@gmx.de>
3291 * README: updated (BeOS support, no longer shared libraries
3292 support for AmigaOS), cleanups, we have now two mailing lists
3293 * REAMDE-alpha: autogen -> bootstrap, we have now two mailing lists
3294 * THANKS: added Xavier Pianet
3295 * doc/PLATFORMS: BeOS works
3296 * doc/libtool.texi: we have now to two mailing lists,
3297 updated -dlopen self documentation, documented libltdl's license,
3298 put each author in a separate line,
3299 inter-library dependencies on uninstalled libtool libraries are
3300 now supported, cleanups and minor corrections
3301 * libltdl/COPYING.LIB: new file
3302 * libltdl/ltdl.[ch]: added special exception to the LGPL license
3303 * libtool.spec: removed, it was outdated
3304 * Makefile.am: removed libtool.spec
3305 * ltmain.in: use TMPDIR when possible, create a subdirectory
3306 in the temporary directory, added -export-symbols-regex to the help,
3308 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
3310 * demo/Makefile.am: create a static library, link two libtool
3311 archives with it, then link the program hell0 with both
3312 * demo/hell1.c, demo/hell2.c: dummy files used to create the
3313 libtool archives without introducing symbol conflicts
3314 * tests/demo-exec.test, tests/demo-inst.test: run the new program
3315 * ltconfig.in (irix5*, irix6*, deplibs_check_method): pass_all
3317 * ltmain.in ($PATH): instead of modifying the PATH, better prevent
3318 its expansion the first time *_cmds variables are eval'ed. Modify
3319 $show within loops that eval them so as to expand variables
3320 * ltconfig.in (*_cmds): quote $ so that they're not expanded by
3323 1999-03-25 Gary V. Vaughan <gvv@techie.com>
3325 * ltmain.in ($PATH): Expand any tildes in the users path to the
3326 contents of $HOME to avoid problems with *_cmds splitting and
3329 1999-03-24 Thomas Tanner <tanner@gmx.de>
3331 * TODO: support -dlopen for libraries
3332 * doc/PLATFORMS: Erez Zadok reported that libtool works on bsdi 4.0.1
3333 * doc/libtool.texi (libltdl): libltdl supports BeOS
3334 * libltdl/ltdl.c: shlib_ext was declared even if LTDL_SHLIB_EXT
3335 didn't exist, partially reverted my previous patch: BeOS will
3336 automatically search in ADDON_PATH
3337 * ltmain.in: don't allow relative run-paths, fixed a typo in a warning,
3338 ignore -dlopen self for libraries and objects,
3339 only accept -L paths that exist, minor cleanups,
3340 bugfix: add -lc for normal libraries, not convenicence libraries
3341 removed offensive warnings/comments
3343 1999-03-24 Alexandre Oliva <oliva@dcc.unicamp.br>
3345 * ltconfig.in (ld_shlibs, amigaos*): disable shared libraries
3347 1999-03-23 Gary V. Vaughan <gvv@techie.com>
3349 * libltdl/configure.in: the sed expression for finding the shared
3350 library extension used to think the . in [.] for the cygwin
3351 shared_library_names_spec was the start of the extension!! We now
3352 remove anything in square brackets (assuming that the square
3353 brackets delimit a sed or expr expression which is not part of the
3354 extension) before looking for the extension.
3356 * TODO (cygwin): food for thought re: mutually dependant dlls.
3358 1999-03-21 Alexandre Oliva <oliva@dcc.unicamp.br>
3360 * tests/build-relink.test: if we relink and have hardcode_direct,
3361 removing an uninstalled library breaks an uninstalled program
3363 * doc/libtool.texi: documented convenience libraries
3364 * TODO: removed entry about it
3366 * tests/*-unst.test: if directory is not configured, skip it
3367 * tests/demo.test, tests/mdemo.test: unused, removed
3368 * tests/depdemo.test: ditto
3370 1999-03-20 Thomas Tanner <tanner@gmx.de>
3372 * doc/libtool.texi (link mode): documentation for -module updated
3373 * ltconfig.in: fast-install mode doesn't work for
3374 hardcode_into_libs=yes
3375 * ltmain.in: bugfix: "-dlopen self [-all]-static" wouldn't use
3376 dlopen_self_static, automatically enable -export-dynamic when
3377 using "-dlopen self", always make run-paths absolute,
3378 ignore -lc only on platforms that don't have such a library,
3379 cleanups in the ILD code, find even installed libtool libraries
3380 that were moved, before generating the DLL-import library we need
3381 to set libname, improved hardcoding of shlibpath for libraries,
3382 don't generate an installable pseudo-library for convenience
3383 libraries, bugfix: export_symbols would be removed immediately
3386 1999-03-19 Thomas Tanner <tanner@gmx.de>
3388 * use the same header in all configure.in's and Makefile.am's
3389 * NEWS: improved support for BeOS and Cygwin
3390 * TODO: ILD branch was merged, all internal variables and macros
3392 * demo/Makefile.am: use $(LIBS) instead of -lm
3393 * doc/libtool.texi: documented new variable hardcode_into_libs
3394 and thread_safe_flag_spec, renamed all AM_ENABLE/DISABLE_* macros
3395 to AC_*, documented AC_DISABLE_FAST_INSTALL and AC_LIBTOOL_DLOPEN
3396 * libltdl/ltdl.c: added two new error messages (cannot_open_error,
3397 cannot_close_error), use them where approriate,
3398 BeOS support (thanks to Xavier Pianet), on BeOS search modules
3399 additionally in ADDON_PATH
3400 * libtool.m4: rewrote AC_CHECK_LIBM: BeOS and Cygwin don't have
3401 libm and *-ncr-sysv4.3* requires libmw
3402 * ltconfig.in: don't check for LoadLibrary, hardcode dlopen
3403 configuration for BeOS and Cygwin
3404 * ltmain.in: fix sourcing of .la files on Solaris
3405 (patch by Raja R Harinath)
3407 1999-03-19 Alexandre Oliva <oliva@dcc.unicamp.br>
3409 * ltconfig.in (sunos4*, with_gnu_ld, hardcode_minus_L): remove, we
3411 (aix4*, without_gnu_ld, hardcode_shlibpath_var): unsupported is
3413 (hpux9*, hpux10*, hpux11*, archive_cmds): drop +s, unneeded here
3414 (hpux9*, hpux10*, hpux11*, hardcode_libdir_flag_spec): add +s
3416 (hpux9*, hpux10*, hpux11*, shlibpath_overrides_runpath): since +s
3417 appears before +b, set it to yes
3418 (hardcode_shlibpath_var, hardcode_action): do not use
3419 shlibpath_var to specify the compile-time search path; it loses,
3420 and we may end up linking with pre-installed older versions of
3421 libraries instead of yet-to-be-installed ones
3422 (*, hardcode_direct, hardcode_minus_L): remove entries that set
3423 them to no, that is default
3425 * demo/Makefile.am (hc-direct, hc-libpath, hc-minusL): link with
3426 $$hardcode_libdir_flag_spec, if available, with libdir=$(libdir),
3427 to make sure the hardcode_* variables will produce the expected
3428 results even in the presence of a hardcoding flag; depend on
3429 libhello.la having been installed already
3430 (hc-libflag): link with the installed library, but try to
3431 hard-code the uninstalled one
3432 * doc/libtool.texi: document the changes
3434 * tests/*.test: when a test fails, skip tests that depend on it.
3435 If a certain configuration is not supported, skip all its tests.
3437 * doc/libtool.texi: reorder tests to reflect execution order
3439 * tests/noinst-link.test: new test
3440 * tests/Makefile.am (TESTS): added noinst-link.test
3441 * doc/libtool.texi: document it
3443 1999-03-19 Gary V. Vaughan <gvv@techie.com>
3445 * ltmain.in (dependency_libs): There is no reason to infer that
3446 the pseudo library is invalid if dependency_libs='' at
3447 install-time, or else libltdl/libltdl.la is invalid!!
3449 1999-03-18 Thomas Tanner <tanner@gmx.de>
3451 * merged my inter-library dependencies code from the ILD branch:
3452 * NEWS: inter-library dependencies are now supported
3453 * configure.in: add the depdemo subdirectory
3454 * depdemo/*: new demo to demonstrate inter-library dependencies
3455 * tests/depdemo*: new tests for depdemo
3456 * ltconfig.in: added hardcode_into_libs (whether library paths
3457 should be hardcoded into the libraries),
3458 it currently defaults to 'no'
3459 * ltmain.in: new internal 'relink' mode to relink libraries
3460 on platforms with hardcode_into_libs=yes, save command line
3461 arguments in libtool_args, accept relative -L directories,
3462 ignore -lm on BeOS and Cygwin, always ignore -lc,
3463 handle -l, -L and .la arguments later, always make the library
3464 installation directory (-rpath) absolute, in relink mode don't
3465 delete the not-relinked library and exit immediately after relinking,
3466 try to find already-installed libtool libraries that were specified
3467 using -l, support hardcoding of library paths into libraries too,
3468 export shlibpath before linking libraries, and a lot of other
3469 big changes that I don't want to describe here... please read
3472 * merged Gary's Win32 code from the ILD branch:
3473 * NEWS: Win32 DLLs are now supported
3474 * TODO: removed .a library namespace clash for win32. It is
3476 * ltconfig.in (cygwin, library_names_spec): removed $libname.a.
3477 Creating a dll with libtool no longer creates an import library.
3478 * ltconfig.in (extract_expsyms_cmds): Create $objdir if it does
3479 not exist -- i.e. we need to generate import an import library
3480 in a directory which has no libs of its own.
3481 * doc/libtool.texi (old_archive_from_expsyms_cmds,
3482 extract_expsyms_cmds): documented these new variables.
3483 * ltconfig.in (extract_expsyms_cmds): New variable. Commands to
3484 extract the exported symbol list from a dll.
3485 (old_archive_from_expsyms_cmds): New variable. Commands to build
3486 an old archive from the extracted expsyms list.
3487 * ltmain.in: run the cmds in extract_expsyms_cmds and
3488 old_archive_from_expsyms_cmds as necessary.
3489 * ltconfig.in (cygwin, old_archive_from_new_cmds): no longer
3491 * ltconfig.in (cygwin, shlibpath_overrides_runpath): I'm not even
3492 sure whether win32 honours the runpath at all when searching for
3493 a dll to load! Anyway, when set to yes this prevents a gratuitous
3495 * ltmain.in (deplib): The cygwin environment doesn't actually have
3496 -lm, and although the linker fakes having one, specifiying it to
3497 libtool will break ILD, so we ignore it when generating
3500 1999-03-17 Gary V. Vaughan <gvv@techie.com>
3502 * doc/PLATFORMS: Thanks to Alexandres changes below, both my
3503 hp boxes pass the entire test suite.
3505 1999-03-17 Alexandre Oliva <oliva@dcc.unicamp.br>
3507 * ltconfig.in (hpux*, hardcode_minus_L): should be no, we have +b
3508 (hpux*, hardcode_libdir_separator): set to colon
3510 1999-03-17 Alexandre Oliva <oliva@dcc.unicamp.br>
3512 * doc/PLATFORMS: egcs is gcc; updates from Erez Zadok
3514 1999-03-16 Alexandre Oliva <oliva@dcc.unicamp.br>
3516 * ltmain.in (deplibs, beos*): don't append -lc
3517 Reported by Xavier Pianet <xavier@xingo.com>
3519 * tests/build-relink.test (hardcode_action): when set to relink,
3520 skip the test with lt-hell
3522 * Makefile.am (EXTRA_DIST): add mkstamp
3523 Reported by Xavier Pianet <xavier@xingo.com>
3525 * Makefile.am (EXTRA_DIST): add ChangeLog.0
3527 1999-03-16 Thomas Tanner <tanner@gmx.de>
3529 * doc/libtool.texi: some minor corrections to the "-dlopen self"
3531 * tests/Makefile.am: sorted by name, added assign.test
3532 * ChangeLog: started new file
3534 * ltconfig.in: some cosmetical changes
3537 Continued in ChangeLog.0