* libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea.
[libtool.git] / ChangeLog.1998
blob6eff17529fc413a27d5df25ff7783979b3364b38
1 1998-12-31  Joseph Beckenbach III <jrb3@best.com>
3         * ltconfig.in: added support for BeOS
4         * ltmain.in (shlibpath_var): added a workaround for
5           an odd bug in the BeOS R4 sed
7 1998-12-31  Thomas Tanner  <tanner@gmx.de>
9         * verified all copyright notices
10           and updated them to 1999
11         * TODO: added some things that need to documented
12         * doc/libtool.texi: -export-symbols is not
13           supported on all platforms
14         * doc/PLATFORMS: added a few new platforms
16 1998-12-30  Thomas Tanner  <tanner@gmx.de>
18         * NEWS: updated
19         * THANKS: added Todd Vierling <tv@pobox.com>
21 1998-12-30  Todd Vierling  <tv@pobox.com>
23         * ltconfig.in: improved shared object handling on both
24           a.out and ELF platforms for NetBSD
26 1998-12-29  Thomas Tanner  <tanner@gmx.de>
28         * ltconfig.in: do not rely on a leading space when concatenating
29           variables as suggested by Erez Zadok
30         * ltmain.in: likewise
31         * doc/PLATFORMS: updated and reformatted
32           (thanks to Erez Zadok for the testing)
34 1998-12-27  Thomas Tanner  <tanner@gmx.de>
36         * THANKS: added Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
38 1998-12-26  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
40         * ltconfig.in: support i486-ncr-sysv4.3.03
41         shared libraries.
43         * ltmain.in: before every ln -s, remove the link name
45 1998-12-25  Thomas Tanner  <tanner@gmx.de>
47         * depdemo/configure.in: removed last relics of demo
48         * depdemo/sysdep.h: ditto
49         * mdemo/Makefile.am: ditto
50         * libltdl/Makefile.am: fixed the version number, build libltdls if
51           -enable-install and -enable-dlpreopen are enabled
52         * libltdl/configure.in: libltdl is version 0.1, not 1.0,
53           renamed -enable-ltdl-install to -enable-install,
54           conditionals for libltdls, check for strchr and index,
55           replaced NULL with 0
56         * libltdl/ltdl.c: replaced NULL with 0, dlpreopen only if
57           USE_DLPREOPEN was defined, integrated shl_load code from GModule
58           (still untested)
60 1998-12-24  Gary V. Vaughan  <gary@gnu.org>
62         * libltdl/configure.in: fixup spacing in --enable-ltdl-install
63         help string so that it lines up nicely for configure --help.
65         * ltmain.in (dllsearchpath): keep track of what the dll search path
66         will need to be in the wrapper scripts as deplibs are calculated.
67         Make sure the wrapper script doesn't end in `.exr', which makes
68         win32 try to execute it as a binary!
69         Add the contents of dllsearchpath to $PATH in the wrapper script.
70         Use the relative path to the wrapped program so that the dll
71         search path is calculated properly by win32 OSes.
72         * TODO: removed the item for making wrapper scripts work on win32.
74         * TODO: removed the reference to making libltdl and demo work on
75         win32.  They *do* work now that wrapper scripts are functioning.
77         * ltmain.in (file_magic_command): It turns out that if the
78         file_magic_command generates huge output (e.g. running `objdump
79         -f' over a large import lib [say libX11.a]) the expr to check it
80         against the file_magic_regex blows up.  There is now an optimistic
81         heuristic, to save only the first 10 lines of running
82         file_magic_command which (at risk of sounding like Bill) should be
83         enough for anyone =)O|.
85         * ltmain.in: Set the compile_dependencylibs and dllsearchpath for
86         non-libtool libs, or else libdeps only works between ltlibs for
87         cygwin32.
89 1998-12-23  Alexandre Oliva  <oliva@dcc.unicamp.br>
91         * ltmain.in (SP2NL, NL2SP): use `tr' magic to avoid passing very
92         long lines to sed
93         * doc/libtool.texi (sed): very long lines are no longer a problem
95         * libltdl/Makefile.am: install libltdl conditionally...
96         * libltdl/configure.in: ... if --enable-ltdl-install is issued
97         * libltdl/ltdl.c: removed #ifdef DEBUG
98         * mdemo/Makefile.am (mdemo_debug_LDADD, mdemo_debug_DEPENDENCIES):
99         use libltdl.la
101 1998-12-23  Gary V. Vaughan  <gary@gnu.org>
103         * doc/PLATFORMS: added my cygwin32 box (i686-pc-cygwin32).
105         * TODO: remind myself of the win32 tasks remaining.
107         * ltconfig.in (archive_cmds, archive_sym_cmds,
108         old_archive_from_new_cmds): Fixed a bug which left an a.exe in the
109         build directory.  Fixed a bug where $soname-def was never deleted.
111         * ltconfig.in (file_magic_command): new variable holds the command
112         (including any args) to run to generate the string to match
113         against the regex in $file_magic.  Use the variable where
114         necessary. Added to libtool header output.
115         (deplibs_check_method): use file_magic for win32, but compare the
116         output of `objdump -f' with the regex (see below).
117         (archive_cmds, archive_sym_cmds): use compile_dependencylibs for
118         each $CC invokation (see below).
120         * ltmain.in: Set allow_undefined to `no' for win32 variants by
121         default, otherwise it is impossible to link a dll without forcing
122         the makefile maintainer to figure out whether to pass
123         --no-undefined at every libtool invokation.
124         (compile_dependencylibs): save the list of dependency library
125         flags needed for a deplib build on win32.
126         (link_against_libtool_libs): commented out the check for this;  if
127         it is left in, then ltlibs (i.e. *.la files) cannot be deplibs for
128         subsequent links.
129         Don't add -lc to the deplibs line for win32 platforms (which don't
130         have a libc as such).
131         (file_magic_command): use this to get some output to compare with
132         the file_magic regex (instead of hardcoding `file' which doesn't
133         exist on win32.
134         * doc/libtool.texi (Porting inter-library dependencies): Updated
135         to document the changes above.
137         * ltconfig.in (deplibs_check_method): Changed the file_magic regex
138         to match more linux variants.  This is less lenient than Thomas
139         Tanner's commit to fix the same problem below.
140         Reported by Joel Klecker <espy@debian.org>
141         * THANKS: added Joel Klecker <espy@debian.org>
143 1998-12-23  Thomas Tanner  <tanner@gmx.de>
145         * ltconfig.in: fixed file-magic for Linux shared libraries
146         * ltmain.in: removed the unused -force-static flag
147         * libltdl/ltdl.c: added strchr, search modules in LTDL_LIBRARY_PATH,
148           check whether actual module was already dlopened,
149           read in preload_libs rather than dependency_libs
151 1998-12-23  Thomas Tanner  <tanner@gmx.de>
153         * libltdl/Makefile.am: build two versions of libltdl:
154           libltdl (support native dlopen if available, otherwise dlpreopen),
155           libltdls (like libltdl, but always support for dlpreopen)
156         * libltdl/ltdl.c: ditto
157         * libltdl/configure.in: warn if dlopen is not supported
158         * mdemo/Makefile.am (mdemo.debug): use libltdls
160 1998-12-22  Gary V. Vaughan  <gary@gnu.org>
162         * ltconfig.in: revert Thomas Tanners change to create all
163         libraries without the `lib' prefix on win32, otherwise `gcc foo.c
164         -lbar' can't find libbar.a.
166 1998-12-22  Alexandre Oliva  <oliva@dcc.unicamp.br>
168         * Makefile.am (SUBDIRS): prepend `.' to avoid am-recursive
169         dependency hack
171 1998-12-21  Thomas Tanner  <tanner@gmx.de>
173         * ltconfig.in: indentation is now 8 character wide tabs
174         * ltmain.in: ditto
175         * ChangeLog: ditto
176         * ltmain.in: renamed check_shared_deplibs_method to
177           deplibs_check_method (we_dont_want_too_long_variable_names :)
178         * doc/libtool.texi (Porting inter-library dependencies): ditto
179         * depdemo/.cvsignore: renamed hell* to depdemo*, added *.lo,*.la
180         * mdemo/.cvsignore: ditto
182 1998-12-21  Gary V. Vaughan  <gary@gnu.org>
184         * libtool.m4 (AM_SYS_NM_PARSE): apparently  __ptr_t is predefined
185         on some systems - use lt_ptr_t instead.
186         * ltconfig.in: ditto.
187         * ltmain.in: ditto.
189         * libtool.m4 (AM_SYS_SYMBOL_UNDERSCORE): use an AC_SUBST to pass
190         the result of this into the compile rather than AC_DEFINE which
191         breaks when building with older versions of autoconf.
192         * ltconfig.in (symxfrm): Don't put the leading underscore back
193         with the global_symbol_pipe.
194         * demo/dlmain.c (main): No need to specialcase underscores in
195         dld_preloaded_symbols - it is fixed by symxfrm above!
196         * libltdl/configure.in: use AM_SYS_SYMBOL_UNDERSCORE from
197         libtool.m4 rather than reinvent the wheel here =)O|
199         * ltmain.in:  Fix deplibs methods to not rely on a.out (cygwin
200         uses a.exe!).
202         * libltdl/configure.in: Cleanups - fix header comment and emacs
203         local-vars.
205         * demo/dlmain.c (win32_force_data_import_address): a nasty hack
206         to force the address of imported data symbols into
207         dld_preloaded_symbols on win32, which does data imports
208         differently to function imports (sheesh!).  This functionality
209         needs to be moved into the dld_preloaded_symbols generation code.
210         demo/helldl with static linking is broken on win32 by this change,
211         probably until after libtool-1.3 =(O|
212         * demo/foo.h: make sure __CYGWIN32__ is always defined on cygwin32
213         systems.  Use the correct __declspec macro for lib exports/imports
214         on cygwin32.
215         * demo/foo.c, demo/hello.c: Make sure we tell foo.h that these
216         sources are inside libfoo, and want to export symbols.
218 1998-12-20  Thomas Tanner  <tanner@gmx.de>
220         * autogen: configure demo, depdemo, libltdl and mdemo
221         * tests/mdemo-exec.test: renamed hell* to mdemo*
222         * tests/mdemo-inst.test: ditto
224 1998-12-19  Thomas Tanner  <tanner@gmx.de>
226         * libltdl/Makefile.am: build a normal libtool library
227         * libltdl/ltdl.c: get LTDL_LIBRARY_PATH but don't make use of it yet,
228           some reformatting
229         * ltmain.in: fixed a bug which listed symbols in
230           dld_preloaded_symbols twice
231         * TODO: removed symbol export lists and deplibs
233 1998-12-18  Thomas Tanner  <tanner@gmx.de>
235         * ltconfig.in: added need_lib_prefix and need_version,
236           which determine whether we must prefix modules with 'lib'
237           and whether versioning is required for libraries.
238         * ltmain.in: allow modules names without 'lib' prefix,
239           new -avoid-versioning option
240         * doc/libtool.texi (link flags): updated documentation for -module,
241           added -avoid-versioning
242         * doc/libtool.texi (libtool script contents):
243           documented the two new flags and archive_sym_cmds
244         * doc/libtool.texi (tests):
245           added (partially very short) documentation for assign.test,
246           nomode.test, quote.test, sh.test
247         * libltdl/ltdl.c: canonicalize module names,
248           some cleanups and bugfixes,  __ptr_t is predefined on
249           some systems - use lt_ptr_t instead
250         * mdemo/: renamed hell* to mdemo* (hell is already used in
251           demo), updated the documentation, import sin and cos in main
252           program rather than linking libfoo1 statically
254 1998-12-17  Gary V. Vaughan  <gary@gnu.org>
256         * libtool.m4 (AM_PROG_LIBTOOL): Added AC_PREREQ(2.12) to prevent
257         people using libtool with old autoconfs that don't provide the
258         features we need.
260 1998-12-16  Alexandre Oliva  <oliva@dcc.unicamp.br>
262         * NEWS, configure.in, libtool.spec: Bumped to 1.2e for CVS
264         * NEWS, configure.in, libtool.spec: Bumped to 1.2d for release
266         * Makefile.am (cvs-dist): our release tags are in lower case
267         (cvs-diff): ditto
268         (EXTRA_DIST): added README-alpha
269         * README-alpha: minor adaptations
270         * demo/Makefile.am, mdemo/Makefile.am, depdemo/Makefile.am:
271         removed comment about special needs for distribution
272         * depdemo/Makefile.am: don't generate dependencies
273         * depdemo/configure.in: modified version number
275         * ltmain.in (-force-static, force_static): removed
276         * libltdl/Makefile.am (CFLAGS): ditto
277         * libltdl/configure.in: check for memory.h, rindex() and
278         dlpreopening.  Fixed NEED_USCORE caching policy.
279         * libltdl/ltdl.h (lt_dlsym): make the name argument const
280         * libltdl/ltdl.c (types): new variable: head of list of available
281         dlopening mechanisms
282         (lt_dltype_t): interface of a dlopening mechanism, with pointers
283         to functions for init, exit, open, close and sym
284         (lt_dlhandle_t): added pointer to interface type
285         (strdup): don't name it strdup; it can be troublesome
286         (strrchr): ditto; use rindex if available
287         (LIBTOOL_STATIC): check HAVE_DLPREOPEN instead, and move to the
288         end of the file, so that it becomes the header of the list
289         (all): renamed all interface-implementation functions, to avoid
290         name clashes, and created lt_dltype_t nodes for all of them
291         (lt_dlinit): initialize all available interfaces; remove those
292         that fail from the list.  Return failure only if no interfaces
293         could be initialized.
294         (lt_dlexit): return number of failures
295         (tryall_dlopen): try to open the library with all available
296         interfaces
297         (lt_dlopen): use tryall_dlopen; increased size of fixed buffers.
298         We should probably make these bound-checked or dynamically
299         allocated for the final release!  Fix bug when filename did not
300         contain slashes; should we check for `\\' too?  Try old_library if
301         everything else fails.
302         (lt_dlclose): use the interface type for closing
303         (lt_dlsym): make `symbol' const, use interface type for looking up
304         * mdemo/Makefile.am: moved mdemo/modules/* back into mdemo
305         (SUBDIRS): removed
306         (libfoo2_la_LDFLAGS): added -static; nice test.  However, since it
307         causes -lm to linked into hell*, it causes tests that should fail
308         to pass
309         (noinst_HEADERS): no need to install foo.h
310         * mdemo/configure.in: remove modules/Makefile
311         tests/mdemo-exec.test: updated accordingly
313         * NEWS: Added Thomas Tanner and Gary V. Vaughan to the list of new
314         maintainers.  Detailed expected failures of libltdl+mdemo.  Listed
315         recent ports.  Added full URL for the home page.  Note that
316         libtool C program is unusable.
318 1998-12-16  Bruno Haible  <haible@ilog.fr>
320         * doc/libtool.texi (Tested platforms): broken `sed' programs
322 1998-12-16  Alexandre Oliva  <oliva@dcc.unicamp.br>
324         * THANKS: added Stephan Kulow; removed Gary V. Vaughan and Thomas
325         Tanner, now that they're AUTHORS
327 1998-12-16  Stephan Kulow  <coolo@kde.org>
329         * ltmain.in (freebsd-aout, freebsd-elf): added missing dot to
330         versuffix
332 1998-12-16  Alexandre Oliva  <oliva@dcc.unicamp.br>
334         * libltdl/Makefile.am (EXTRA_DIST): removed, nothing needed
335         (libtool): automatically update
337         * libltdl/configure.in (stdlib.h, unistd.h, stdio.h): check
338         * libltdl/ltdl.c: include them
340         * demo/configure.in (BINARY_HELLDL): test whether dlopen is
341         supported at configure time
342         * demo/Makefile.am (helldl): use automake conditionals to build
343         helldl as a script or as a binary program
345         * tests/Makefile.am (EXTRA_DIST): remove ltdl-*.test
346         (clean-local): don't clean libltdl any more
347         * tests/ltdl-conf.test: removed
348         * tests/ltdl-inst.test: ditto
349         * tests/ltdl-make.test: ditto
350         * tests/ltdl-unst.test: ditto
351         * tests/mdemo-make.test: updated accordingly
352         * tests/mdemo-inst.test: ditto
353         * tests/mdemo-unst.test: ditto
354         * doc/libtool.texi: ditto
356         * ltmain.in (-DSTATIC): changed to -DLIBTOOL_STATIC, and defined
357         only for -force-static; it should be removed soon, before people
358         start to use it
360         * configure.in (AC_CONFIG_SUBDIRS): added libltdl
361         * Makefile.am (SUBDIRS): build libltdl by default
362         (DIST_SUBDIRS): simplify distribution of demo and mdemo
363         (libtool, clibtool, libtoolize, ltconfig, ltmain.sh): add
364         srcdir where appropriate
365         (ACINCLUDE_M4_LIST): new rule for maintaining links from
366         acinclude.m4 to libtool.m4
367         (*demo/Makefile.in): don't update autoconf/automake files any
368         more; make check is needed
370 1998-12-14  Gary V. Vaughan  <gary@gnu.org>
372         * ltconfig.in (archive_cmds): tweaked for cygwin b18->b20.1
373         compatibility and fixed a bug with generating the export
374         definitions file.  This is only tested on b20.1, but should
375         work back to b18 at least.
377 1998-12-11  Thomas Tanner  <tanner@gmx.de>
379         * ltmain.in: -module implies now -export-dynamic,
380           dlpreopen files if we're linking statically
381         * doc/libtool.texi (link flags): added documentation for -module
382           and the tests for mdemo and libltdl
383         * mdemo/Makefile.am: replaced -dlpreopen with -dlopen
385 1998-12-09  Alexandre Oliva  <oliva@dcc.unicamp.br>
387         * PORTING: removed the text Akim Demaille converted to .texi
389 1998-12-09  Akim Demaille  <demaille@inf.enst.fr>
391         * doc/libtool.texi: converted inter-library dependencies
392         instructions from PORTING
394 1998-12-09  Alexandre Oliva  <oliva@dcc.unicamp.br>
396         * ltmain.in (convenience, deplibs): propagate dependencies
397         * libltdl/Makefile.am (noinst_HEADERS): don't install ltdl.h yet
398         (noinst_LTLIBRARIES): ditto for libltdl.la
400 1998-12-08  Gary V. Vaughan  <gary@gnu.org>
402         * README-alpha: adapted the release procedure from
403           automake/HACKING.
404         * Makefile.am: adapted the cvs-dist and cvs-diff rules from
405           automake/Makefile.am.  I guess this is probably safe to use
406           already, but I didn't test it as it tags the CVS tree.  If
407           it needs tweaking, we'll find out come 1.2d.
409 1998-12-08  Thomas Tanner  <tanner@gmx.de>
411         * ltconfig.in: fixed some typos in archive_sym_cmds
412         * ltmain.in: replaced basename with a sed expression
414 1998-12-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
416         * configure.in: we no longer use PRCS
418         * doc/libtool.texi (author): listed all the AUTHORS
419         (Dlopen issues): added reference to libltdl, still undocumented
420         (C++ libraries): it's not *that* simple, after all :-(
421         (Inter-library dependencies): they're back!
423 1998-12-04  Alexandre Oliva  <oliva@dcc.unicamp.br>
425         * libtool.m4 (ac_cv_sys_symbol_underscore): `test a == b' doesn't
426         work, use `test a = b' instead
428         * Makefile.am (mdemo_distfiles): libfoo[12].sym no longer exist
430         * ltconfig.in (solaris): do not use $CC for linking if GNU ld is
431         not available
433 1998-12-04  Manfred Weichel  <Manfred.Weichel@pdb.siemens.de>
435         * ltconfig.in: Port to SCO UnixWare 7.x.
437 1998-12-03  Thomas Tanner  <tanner@gmx.de>
439         * ChangeLog: converted CR/LF back to CR format
440         * ltconfig.in: new variable sys_lib_search_path for searching
441         of installed libraries, export archive_sym_cmds and
442         sys_lib_search_path
443         * ltmain.in: use sys_lib_search_path, removed extradeplibs
444         (they're not portable)
446 1998-12-02  Gary V. Vaughan  <gary@gnu.org>
448         * libltdl/configure.in: look for string.h or else strings.h, and
449         also check for ANSI strrchr() function.  Fix `undescore before
450         symbols' macro to not rely on a.out (cygwin uses a.exe!).  Fix
451         `underscore for dlsym' to set cache variable properly, not just in
452         environment of AC_DEFINE(NEED_USCORE).
453         * libltdl/ltdl.h (__ptr_t): for K&R compatibility using char*.
454         * libltdl/ltdl.c (strrchr): fallback function incase none is
455         defined in libc.
456         (trim, ltdlopen): replace rindex with ANSI strrchr.
457         Add static function declarations so that we get type checking with
458         ANSI compilers.  Use __ptr_t instead of void*.
460 1998-12-01  Thomas Tanner  <tanner@gmx.de>
462         * ltconfig.in: added -export-symbols support for GNU ld and
463         Solaris (untested), archive_sym_cmds for -export-symbols
464         * doc/libtool.texi, ltmain.in: -export-symbols is now
465         independent from -export-dynamic and does not work for modules
466         anymore
467         * ltmain.in: added some checks for -export-symbols
468         * mdemo/modules/Makefile.am: replaced -export-symbols with
469         -export-dynamic since it doesn't work for modules
471 1998-12-01  Gary V. Vaughan  <gary@gnu.org>
473         * README: Updated homepage pointer to gnu libtool page.
475         * ltconfig.in (ltdll.c): update the ltdll.c file for cygwinb20.
476         Based on code from Mumit Khan <khan@xraylith.wisc.edu>.
477         (archive_cmds): correct typo libtool.c->ltdll.c.  Update shell
478         commands for cygwin32.
480         * libtool.m4 (AM_SYS_SYMBOL_UNDERSCORE): New macro; find out
481         whether compiled symbols have an extra leading underscore.
482         (AM_SYS_NM_PARSE): New macro (converted to m4 from ltconfig.in);
483         find a sed expression to parse global symbols from the output of
484         $NM.
485         (AM_PROG_LIBTOOL): require AM_SYS_NM_PARSE and
486         AM_SYS_SYMBOL_UNDERSCORE.
487         * demo/dlmain.c (main): Remove a single leading underscore from
488         compiled symbol names if necessary.
490 1998-12-01  Alexandre Oliva  <oliva@dcc.unicamp.br>
492         * config.guess, config.sub: imported from autoconf pre-2.13
494 1998-11-27  Gary V. Vaughan  <gary@gnu.org>
496         * libtool (AM_PROG_LD): Oops... we need to know the host_os for
497         the changes below.  I'm not sure whether mingw32 and os2 support
498         UNC paths, if they did we wouldn't need the check, we could use
499         UNC paths on all three; or if the bug with $LD not being
500         shell-meta escaped was fixed, we could use '\\' separators on all
501         three. AC_REQUIRE'ed AC_CANONICAL_HOST.
503         * libtool.m4 (AM_PROG_LD): Cannonicalize the absolute path for the
504         ld program;  The order is funny to provide canonicalization to
505         paths with '\\' separators as well as '/'.
506         * ltconfig.in: ditto.
508         * AUTHORS: Added myself as a co-maintainer.
510         * ltconfig.in (archive_cmds): The `;\' in a compound statement is
511         expanded wrongly for cygwin32, mingw32, aix3 and aix4. Changed to
512         `;'.
514 1998-11-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
516         * libtool.spec (URL): point to www.gnu.org
517         (Source): point to ftp.gnu.org
519         * Makefile.am (EXTRA_DIST): removed libtool.prj
520         Reported by Akim Demaille <demaille@inf.enst.fr>
522 1998-11-24  Alexandre Oliva  <oliva@dcc.unicamp.br>
524         * ltconfig.in (echo): avoid shell error messages when we're
525         testing for large command line support
526         Reported by Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
528         * doc/PLATFORMS: updated last-tested release for platforms I've
529         got access to
531         * THANKS: added Chris P. Ross
533 1998-11-24  Chris P. Ross  <cross@eng.us.uu.net>
535         * ltconfig.in: added recognition of the dynamic linker on BSD/OS 4.x
536         * README: added BSD/OS 4.x to the list of supported platforms
537         * doc/PLATFORMS: added BSD/OS 4.x support for various host id's
539 1998-11-24  David Heine  <dlheine@truffle.Stanford.EDU>
541         * ltmain.in (pass_all): actively pass the flags
543 1998-11-24  Thomas Tanner  <tanner@gmx.de>
545         * depdemo: added inter-library dependencies demo (doesn't work yet!)
546         * AUTHORS: added myself to the list of maintainers
548 1998-11-22  Thomas Tanner  <tanner@gmx.de>
550         * libltdl: added support for .la files, LGPL license,
551         K&R compatibility, some API changes and bugfixes
552         * ltmain.in: renamed -module flag (for compiling) to -force-static,
553         define -DSTATIC when compiling static .o files,
554         do not include directories in dld_preloaded_symbols
555         * mdemo: modified mdemo to work with the new libltdl
556         * tests/mdemo-exec.test, tests/mdemo-inst.test: use .la files
558 1998-11-21  Alexandre Oliva  <oliva@dcc.unicamp.br>
560         * libltdl/ltdl.c: replace NULL with 0, so that we don't depend on
561         header files defining it.
563         * ltconfig.in (archive_cmds, osf3, osf4, solaris, sunos4): create
564         libraries with gcc -shared if using gcc without GNU ld.
566         * ltconfig.in: replaced occurrences of solaris2 with solaris, to
567         prepare for Solaris 7
569 1998-11-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
571         * mdemo/Makefile.am (hell_debug_LDFLAGS): -dlpreopen -> -dlopen
572         (hell_LDFLAGS): added -export-dynamic and -dlopen
573         (SUBDIRS, INCLUDES): added modules directory
574         (foo1.c, foo2.c, foo.h, libfoo1.sym, libfoo2.sym): moved to modules
575         * Makefile.am: ditto
576         * tests/mdemo-exec.test, tests/mdemo-inst.test: libraries moved
577         * mdemo/modules/Makefile.am: new file
579         * */Makefile.am (AUTOMAKE_OPTIONS): added no-dependencies
581         * ltmain.in: missing `test' between `&&' and `"$module"'
583         * ltconfig.in (echo_test_string): the whole ltconfig script was
584         too much for DU4.0's ksh, but the first 50 lines will be enough.
586         * ltmain.in (installed): new variable defined within a .la file,
587         so that libtool can now link already-installed libraries into a
588         program.
589         * NEWS: ditto
590         * doc/libtool.texi (Linking executables): document it
592         * ltmain.in (output_objdir): compute it from $output, not $arg
594         * tests/mdemo-inst.test (libltdl): install it
595         * tests/mdemo-unst.test (libltdl): uninstall it
596         * tests/Makefile.am (TESTS): list ltdl-unst.test before mdemo-conf.test
598 1998-11-18  Alexandre Oliva  <oliva@dcc.unicamp.br>
600         * NEWS: -module and libltdl
601         * mdemo/Makefile.am: ../libltdl is within $(srcdir)
603 1998-11-18  Thomas Tanner  <tanner@gmx.de>
605         * libltdl, Makefile.am: added libltdl (a system independent
606         dlopen wrapper library extracted from mdemo)
607         * ltmain.in: added -module flag for compiling and linking of
608         modules. If enabled it compiles always both .o (with -DLT_RENAME)
609         and .lo files
610         * mdemo: modified mdemo to work with libltdl
611         * tests/ltdl*: added tests for libltdl
613 1998-11-16  Steve Price  <sprice@hiwaay.net>
615         * ltconfig.in: when $host_os is freebsd[23]* determine whether
616         the current linker format is a.out or ELF
617         * ltmain.in: add two new $version_type's, freebsd-aout and
618         freebsd-elf, to support above change
620 1998-11-16  Stephan Kulow  <coolo@kde.org>
622         * ltconfig.in: extent no_builtin_flag to contain -fno-rtti and
623         -fno-exceptions in case we compile with a gcc, that supports
624         this options (egcs and gcc >= 2.8)
626 1998-11-16  Alexandre Oliva  <oliva@dcc.unicamp.br>
628         * ltmain.in (C_compiler): copy $CC before it is overwritten with
629         command-line compiler, so that we can use it to compile C sources
630         generated during the build.  This fixes the problem that showed up
631         with -export-dynamic of C++ programs in egcs 1.1.
632         * NEWS: ditto
634 1998-11-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
636         * PORTING: Porting instructions are in the libtool manual already
638         * NEWS: Mention -export-symbols and new dlpreopen
640 1998-11-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
642         * ltmain.in (IFS): revert Gary's patch when parsing version
643         information; we still use `:' here :-)
645         * NEWS: updated
646         * PORTING: new file, with general instructions and inter-library
647         dependencies tips
649 1998-11-11  Gary V. Vaughan  <gary@gnu.org>
651         * ltconfig.in: make use of '~' field separator in reload_cmds,
652         old_archive_from_new_cmds, old_archive_cmds, archive_cmds,
653         old_postinstall_cmds, postinstall_cmds, old_postuninstall_cmds,
654         postuninstall_cmds and finish_cmds, so that the semi-colons inside
655         if/then/else/fi and for/do/done etc. do not break the eval loop in
656         ltmain.in (below).
657         * ltmain.in: changed all of the eval loops to use an IFS of `~',
658         to allow differentiation between the end-of-statement-;
659         (now `~' is used) and end-of-substatement-; (still `;').  This
660         fixes AIX and win32 at least.
662 1998-11-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
664         * ltconfig.in (sunos*, sympat, symxfrm): remove underscore
665         prepended by the compiler
667 1998-11-10  Toshio Kuratomi  <badger@prtr-13.ucsc.edu>
669         * ltconfig.in: re-enable deplibs
670         * ltmain.in: support deplibs, at least for GNU/Linux/x86
671         Updated to current libtool by Thomas Tanner  <tanner@gmx.de>
673 1998-11-10  Gordon Matzigkeit  <gord@trick.fig.org>
675         * ltmain.in (link): Make the relink warning less harsh.
677 1998-11-07  William M. Perry  <wmperry@aventail.com>
679         * ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds
681 1998-11-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
683         * ltconfig.in: add --falback-echo, to be used if everything else
684         fails.  The tests now check the behavior of $echo for very large
685         strings, because some echo commands would just core dump (e.g.,
686         Solaris' printf).  If too large strings fail, smaller ones are
687         tested.
688         (ltecho): arrange that, if the --fallback-echo method is selected,
689         echo will be defined in the libtool script so as to re-run itself,
690         not ltconfig
691         * ltmain.in: add --fallback-echo
692         (qecho) ensure that, if --falback-echo is being used, qecho is
693         defined with the full pathname of the libtool script
695         * tests/sh.test (test X): ensure that the double-quote supposed to be
696         reported is really reported
698 1998-11-07  Thomas Tanner  <tanner@gmx.de>
700         * mdemo/main.c: removed hardcoded library names; link against -lm
701         * tests/mdemo-exec, tests/mdemo-inst: pass the library names
702         to the program
704 1998-11-07  Marc J. Fraioli  <fraioli@dg-rtp.dg.com>
706         * README: Added DG/UX
707         * doc/PLATFORMS: ditto
709 1998-11-04  Michael Tiemann  <tiemann@cygnus.com>
711         * ltconfig.in (irix6): it's a little bit different from irix5
713 1998-11-04  Alexandre Oliva  <oliva@dcc.unicamp.br>
715         * THANKS: Added Thomas Tanner and Gary V. Vaughan
717         * ltconfig.in, ltmain.in: updated and fixed the patches below
719 1998-11-04  Thomas Tanner  <tanner@gmx.de>
721         * mdemo/*: added new demo to demonstrate building of dlopenend
722         modules
723         * tests/Makefile.am, tests/mdemo*: added some tests for mdemo
725 1998-11-04  Gary V. Vaughan  <gary@gnu.org>
727         * demo/configure.in: added AC_EXEEXT macro so that the tests can
728         work on cywin32/mingw32 hosts.  This requires the current CVS
729         autoconf
731 1998-11-04  Thomas Tanner  <tanner@gmx.de>
733         * ltmain.in: New flag -export-symbols; new dlpreopen system
734         * demo/dlmain.c: removed dld_preloaded_symbol_count
736 1998-11-04  Ian Lance Taylor  <ian@cygnus.com>
738         * ltmain.in: On installation, don't get confused if the same name
739         appears more than once in the list of library names.
741 1998-11-04  Ian Lance Taylor  <ian@cygnus.com>
743         * ltconfig.in: Add objext and libext variables.  Check for object
744         suffix.  Check for mingw32* as well as cygwin32*.  Use objext when
745         testing compiler.  Add support for Visual C++ on cygwin32 when not
746         using gcc.  Add objext, libext, and fix_srcfile_path to generated
747         libtool script.
748         * ltmain.in: Use .${objext} rather than .o.  Use fix_srcfile_path
749         if it is set.  Check for .obj as well as for .o, and for .lib as
750         well as for .a.  Use .${libext} rather than .a when creating old
751         libraries.
752         * libtoolize.in: Change initial /bin/sh to @SHELL@.
753         * libtool.m4 (AM_PROG_LIBTOOL): Add AC_REQUIRE for
754         AC_CANONICAL_BUILD, so that autoconf doesn't get mixed up by the
755         AC_REQUIRE in AC_CHECK_TOOL.
757 1998-11-04  Ian Lance Taylor  <ian@cygnus.com>
759         * ltconfig.in: Look in the right directory for libtool.c in
760         archive_cmds for cygwin32.
762 1998-11-04  Ian Lance Taylor  <ian@cygnus.com>
764         * ltconfig.in: Fix cygwin32 support to avoid using a double
765         extension, to delete the def file, to set version_type to windows,
766         and to include versuffix in the DLL name.
767         * ltmain.in: Add support for a version_type of windows.
769 1998-11-04  Ian Lance Taylor  <ian@cygnus.com>
771         * ltconfig.in: Add cygwin32 support.
772         * libtool.m4 (AM_PROG_LIBTOOL): Call AM_SYS_LIBTOOL_CYGWIN32 on a
773         cygwin32 host.  Pass DLLTOOL and AS to ltconfig.
774         (AM_SYS_LIBTOOL_CYGWIN32): New macro.
776 1998-11-04  Alexandre Oliva  <oliva@dcc.unicamp.br>
778         * libtool.m4 (sco): fix typo
780 1998-11-04  Ian Lance Taylor  <ian@cygnus.com>
782         * ltconfig.in: On AIX, don't treat GNU ld specially.
784 1998-11-04  Alexandre Oliva  <oliva@dcc.unicamp.br>
786         * ltconfig.in (hardcode_minus_L): Revert Ian's patch for
787         ltconfig.in.  Although -L hardcoding is not used with GNU ld, it
788         does happen, so hardcode_minus_L must be set to yes.
790         * ltconfig.in (compiler_o_lo): check whether we can write directly
791         to a .lo
793         * ltmain.in (compiler_o_lo): if not, write to .o and rename it
795 1998-11-04  Ian Lance Taylor  <ian@cygnus.com>
797         * ltconfig.in: For sunos4 using GNU ld, set hardcode_minus_L to
798         no.
799         * ltmain.in: Add some hacks to make SunOS --enable-shared work
800         when using GNU ld.
802 1998-11-04  Alexandre Oliva  <oliva@dcc.unicamp.br>
804         * THANKS: Added Marc J. Fraioli
806 1998-11-04  Marc J. Fraioli  <fraioli@dg-rtp.dg.com>
808         * ltconfig.in (dgux): new supported platforms
810 1998-11-04  Alexandre Oliva  <oliva@dcc.unicamp.br>
812         * ltconfig.in (need_locks): if neither `-c -o' nor hard links are
813         available, fallback to not so safe mechanism, by setting
814         need_locks to warn
815         * ltmain.in (need_locks): when need_locks is set to warn, use the
816         lockfile to try to fail in case of incorrect concurrent builds
818         * THANKS: Added Eric Estievenart
820 1998-11-04  Eric Estievenart  <eric@via.ecp.fr>
822         * doc/libtool.texi (Compile mode): Document that -o is fully
823         supported.
825         * libtool.m4 (libtool-lock): new ARG_ENABLE; sets (need_locks)
826         * ltconfig.in (disable-lock): control need_locks
827         (hard_links): check whether hard-links can be used for locking
828         * ltmain.in (need_locks): use $output_obj.lock for locking
830 1998-11-03  Alexandre Oliva  <oliva@dcc.unicamp.br>
832         * ltmain.in: correctly create libraries and programs with
833         directory components in their names
835 1998-11-03  Eric Estievenart <eric@via.ecp.fr>
837         * ltmain.in (output_obj): typo
839 1998-11-02  Ian Lance Taylor  <ian@cygnus.com>
841         * ltconfig.in: For sunos4, add ${libname}.so$versuffix to
842         library_names_spec.
843         * ltmain.in: For version_type of sunos, set versuffix even if
844         -version-info was not used.
846 1998-11-02  Alexandre Oliva  <oliva@dcc.unicamp.br>
848         * ltmain.in (libobj): default value must not contain directory
849         components
851 1998-11-02  Eric Estievenart <eric@via.ecp.fr>
853         * ltconfig.in (compiler): detect if the compiler supports
854         -c and -o flags, create a variable compiler_c_o. Also issue
855         a big warning if it is not supported
857         * ltmain.in (compile): enable the -o option as input for libtool.
858         The objects are not moved if the compiler supports -o with -c.
859         Sources and objects can contain relative directories.
860         (link): enable the linking of executables into relative directories
862 1998-11-02  Alexandre Oliva  <oliva@dcc.unicamp.br>
864         * AUTHORS: added myself as a co-maintainer
865         * THANKS: and removed my name from here
867         * autogen: new script; run it to bootstrap libtool after checking
868         it out from CVS
870         * libtool.m4 (CFLAGS): check whether -belf is needed on SCO, as
871         suggested by Robert Lipe <robertl@dgii.com>
873 1998-10-31  Gordon Matzigkeit  <gord@trick.fig.org>
875         * demo/Makefile.am (hc-libpath): Use parameters from the libtool
876         in the top build directory, since the one in the demo directory is
877         not guaranteed to exist.
879 1998-10-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
881         * demo/Makefile.am (objdir): there are no longer quotes around
882         objdir in the libtool script
884 1998-10-27  Gordon Matzigkeit  <gord@trick.fig.org>
886         * ltconfig.in (dynamic_linker): Echo the result to fd 6, so that
887         --silent works correctly.  From William M. Perry.
889 1998-09-24  Gordon Matzigkeit  <gord@trick.fig.org>
891         * ltmain.in (link): Fix problems when building only static
892         libraries.  From Owen Taylor.
894 1998-08-20  Gordon Matzigkeit  <gord@trick.fig.org>
896         * ltmain.in (install): When library_names_spec has redundancies,
897         avoid deleting the main library when installing symlinks.  From
898         Jeff Dairiki.
899         (link): Get rid of backticks in a here doc comment.
900         This causes segfaults on Solaris 2.  From Aleksandar Bakic.
901         (finish): Don't display messages
903         * ltconfig.in (archive_cmds): On HP-UX 9, make sure we don't try
904         to move a file to itself.  From Jeff Dairiki.
906 1998-08-19  Gordon Matzigkeit  <gord@trick.fig.org>
908         * ltconfig.in: Make changes to accomodate ltmain.c.
910         * Makefile.am (clibtool): New target for the C version of libtool.
912         * ltmain.c: Experimental C version of libtool.
914 1998-07-10  Ian Lance Taylor  <ian@cygnus.com>
916         * ltmain.in (install): Test against both $SHELL and /bin/sh.
918 1998-06-30  Gordon Matzigkeit  <gord@trick.fig.org>
920         * ltmain.in: Convenience archive support.  From Ulrich Drepper.
922         * ltconfig.in (postinstall_commands): Change libraries to be
923         executable on Solaris in order to prevent ldd from moaning.  From
924         Julian Gosnell.
925         (whole_archive_flag_spec): New variable to shortcut convenience
926         archive expansion.  From Ulrich Drepper.
928 1998-06-11  Gordon Matzigkeit  <gord@profitpress.com>
930         * ltconfig.in, ltmain.in: Change globs to accept forward slashes
931         in absolute directory names used on DOS-like systems.  From Robert
932         S. Maier.
934 Thu May 28 18:59:08 1998  Ian Lance Taylor  <ian@cygnus.com>
936         * ltconfig.in: Use $SHELL when invoking shell scripts.
938 1998-05-21  Gordon Matzigkeit  <gord@profitpress.com>
940         * ltmain.in (compile): Don't have `-static' turn off libtool
941         libraries, so that people can use it just to guarantee that `.o'
942         files exist.  Suggested by David Mosberger-Tang.
944 1998-05-18  Gordon Matzigkeit  <gord@profitpress.com>
946         * ltmain.in (link): Possibly reexec the shell from within the
947         wrapper script.
948         Allow `-version-info' and `-release' to coexist again.  If people
949         want to shoot themselves in the foot, I'd better let them do so,
950         so that people who are smart enough not to can squeeze out another
951         ounce of functionality.  From Tim Janik.
952         (version_vars): Delete dead variable.
954         * ltconfig.in (hardcode_minus_L): FreeBSD 3.0 doesn't hardcode, at
955         last.  Reported by Jason Nordwick.
957         * libtoolize.in, ltconfig.in, ltmain.in: Change a bunch of `if
958         test ...; then : ; else ...' constructs to `if test ! ...; then
959         ...', for clarity.
961 1998-05-17  Gordon Matzigkeit  <gord@profitpress.com>
963         * ltmain.in (LC_ALL, LANG): Save these values and restore them
964         during execute mode.  From Pavel Kankovsky.
965         (mode): Accept strace and truss as programs that throw us into
966         execute mode.  From Pavel Kankovsky.
968 1998-05-07  Ian Lance Taylor  <ian@cygnus.com>
970         * ltconfig.in: Don't use .$versuffix or .$major.  Instead, assume
971         the variable will include any required prefix.
972         * ltmain.in: If no -version-info option was used, produce empty
973         version strings rather than 0.0.0.  When making library symlinks,
974         avoid making a symlink if the name would be the same.
976 1998-04-27  Gordon Matzigkeit  <gord@profitpress.com>
978         * ltmain.in (link): Support `unsupported' as a hardcode_action.
979         Reported by Lars Hecking.
980         (lib_linked): Do some sanity checking to make sure that we
981         actually do link libtool libraries into the program to prevent the
982         above problem from happening again.
984 1998-04-20  Gordon Matzigkeit  <gord@profitpress.com>
986         * ltmain.in: Maybe reexec under $SHELL, if $echo doesn't work.
987         Reported by Lars Hecking.
989 1998-04-19  Gordon Matzigkeit  <gord@profitpress.com>
991         * Makefile.am (maintainer-rekey): New rule to force us to change
992         Project-Version after we make a release.  This keeps all version
993         numbers in sync, rather than branching just before the release.
994         (maintainer-release, maintainer-checkin): Use maintainer-rekey.
996         * ltmain.in (finish): Notice when a finish command fails, so that
997         we can add it to the list of recommendations.
999 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
1001         * libtool.m4 (AM_PROG_LIBTOOL): Append file descriptor 5 to
1002         config.log, so that configure doesn't clobber the messages that
1003         ltconfig put there.  From David Taylor.
1005 1998-04-15  Gordon Matzigkeit  <gord@profitpress.com>
1007         * ltconfig.in (archive_cmds): Try using `$CC -shared' when
1008         configuring for GCC under irix5 and irix6.  From Wolfram Gloger.
1009         (ofile): Add `--output' flag to change the name of the generated
1010         libtool.  Suggested by Wolfram Gloger.
1012 1998-04-14  Gordon Matzigkeit  <gord@profitpress.com>
1014         * ltmain.in: Remove all hardcoded references to ltmain.in in
1015         favour of $PACKAGE and $PROGRAM.
1016         (install): Compute the installation name for programs, in case we
1017         install a relinked file which has a different name.  Reported by
1018         Pieter Schoenmakers.
1020         * ltconfig.in (echo): Try using the ksh(1) `print -r' builtin
1021         command, before reverting to printf(1).
1023         * Makefile.am (libtool): Use $(SHELL) when invoking ltconfig.
1025         * ltconfig.in (echo): Rewrite the test for a working echo so that
1026         we win on Solaris by avoiding printf(1), if possible.
1028         * tests/quote.test (echo): Update the echo test from ../ltconfig.in.
1030 1998-04-13  Ian Lance Taylor  <ian@cygnus.com>
1032         * libtool.m4 (AM_PROG_NM): Don't override NM in the environment.
1034 1998-04-13  Gordon Matzigkeit  <gord@profitpress.com>
1036         * ltmain.in: New `--config' flag to print out all configured
1037         variables.
1039         * libtool.m4: Pass ltconfig the undocumented --no-reexec flag,
1040         since we call it explicitly using CONFIG_SHELL.
1042         * ltconfig.in: Restart the script under a different shell if
1043         CONFIG_SHELL is not /bin/sh.  This way, people can use Bash if
1044         they don't have a working echo program.
1046         * ltmain.in, ltconfig.in: Use $SHELL instead of /bin/sh when
1047         generating executable scripts.
1049         * libtoolize.in, ltconfig.in, ltmain.in: Implement the `--debug'
1050         flag to begin shell tracing.
1052         * ltconfig.in (archive_cmds): Don't use `gcc -shared', even if we
1053         have GNU ld.  Reported by Robert S. Maier.
1055 1998-04-06  Gordon Matzigkeit  <gord@profitpress.com>
1057         * ltconfig.in (pic_flag): Create more than just a null C file, so
1058         that the SunPRO 4.2 cc doesn't complain.  From Bob Friesenhahn.
1059         (gnu_ld_acts_native): Delete this variable.  There is just too
1060         much version skew to try to pretend GNU ld is the same as the
1061         system ld.  Reported by Ian Lance Taylor.
1062         (hardcode_action): Don't bother relinking or aborting on systems
1063         that are too dynamic to have a consistent hardcode method.
1064         Reported by Doug Winterburn.
1066 1998-03-24  Gordon Matzigkeit  <gord@profitpress.com>
1068         * doc/libtool.texi: A little proofreading.  From Albert
1069         Chin-A-Young.
1071 1998-03-23  Gordon Matzigkeit  <gord@profitpress.com>
1073         * ltconfig.in: Treat HP-UX 11 just like HP-UX 10.  From Jeff Law.
1075 1998-03-21  Gordon Matzigkeit  <gord@profitpress.com>
1077         * ltconfig.in (reload_flag): Correct a tiny bug where `--silent'
1078         would still print out the reload flag.  From Stephan Kulow.
1080 1998-03-20  Ian Lance Taylor  <ian@cygnus.com>
1082         * libtool.m4: Use changequote to avoid problems with square
1083         bracket patterns.
1085 1998-03-20  Gordon Matzigkeit  <gord@profitpress.com>
1087         * Release 1.2.
1089 1998-03-18  Gordon Matzigkeit  <gord@profitpress.com>
1091         * ltmain.in: Rearrange some of the echos to make them more
1092         consistent.
1094 1998-03-14  Gordon Matzigkeit  <gord@profitpress.com>
1096         * ltmain.in: Break up an echo command that causes Solaris printf
1097         to dump core.  Apparently the Solaris people hardcoded a 2110-byte
1098         buffer into their printf(1).  Feh.  From John Judge.
1100 1998-03-11  Gordon Matzigkeit  <gord@profitpress.com>
1102         * ltconfig.in: Change the test for the PIC compiler flag so that
1103         we assume it doesn't work if there are any warning messages.  This
1104         fixes a bug using old GCC's on HP-UX.  Reported by Akim Demaille.
1106 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1108         * Makefile.am ($(srcdir)/ltconfig): Remove bogus command to create
1109         a file ltconfig in the build directory.
1111 1998-03-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1113         * ltmain.in: Avoid unnecessary use of command substitution,
1114         replacing foo=`eval \\$echo \"$mumble\"` by eval foo=\"$mumble\".
1116         (link): Use ${1+"$@"} in wrapper scripts in order to pass
1117         arguments safely to a program.
1119         * ltconfig.in: Use -fpic instead of -fPIC if $host_cpu matches
1120         m68*.
1122 1998-03-08  Gordon Matzigkeit  <gord@profitpress.com>
1124         * Release 1.1.
1126         * ltmain.in: <sigh> I like `here documents' a lot, but apparently
1127         they are so badly handled by old and buggy /bin/sh's, that
1128         replacing `cat <<EOF ... EOF' by `$echo "..."' improves libtool's
1129         speed by a factor of 5.  So, I've eliminated here docs from the
1130         all-important ltmain.in.  From Tom Lane.
1132         * tests/tlibtool: Eliminate from distribution.
1134         * tests/defs (libtool): Don't use tlibtool anymore, since we can now use
1135         the generated libtool directly.
1137 1998-03-07  Gordon Matzigkeit  <gord@profitpress.com>
1139         * ltconfig.in: Copy the contents of ltmain.sh into the generated
1140         libtool.  This should more than halve the execution times on old
1141         or buggy /bin/sh systems, such as HP-UX 9 and SunOS 4.1.4.  From
1142         Tom Lane.
1144 1998-03-05  Gordon Matzigkeit  <gord@profitpress.com>
1146         * libtool.m4 (AM_ENABLE_SHARED, AM_ENABLE_STATIC): Add support for
1147         the `default' package, so that people can control unnamed
1148         packages.
1149         (LD): Only add an ABI flag under IRIX 6.x, since IRIX 5.x doesn't
1150         support them.  From Alexandre Oliva.
1152 1998-03-01  Gordon Matzigkeit  <gord@profitpress.com>
1154         * ltconfig.in: Port to UnixWare 2.x.  From Christopher Olsen.
1156 1998-02-25  Gordon Matzigkeit  <gord@profitpress.com>
1158         * ltmain.in (compile): For consistency, honour the `-static' flag
1159         during compilation.
1161 1998-02-23  Brendan Kehoe  <brendan@cygnus.com>
1163         * libtool.m4 (AM_ENABLE_SHARED, AM_ENABLE_STATIC): For
1164         --enable-shared, heed the value of $PACKAGE from AM_INIT_AUTOMAKE
1165         if given as the argument for the library to be built shared.
1167 1998-02-20  Gordon Matzigkeit  <gord@profitpress.com>
1169         * libtool.m4, ltconfig.in (NM): Fix up a typo confusion between
1170         $ac_dir and $dir.  Reported by Akim Demaille.
1172         * ltmain.in (link): Don't allow both `-version-info' and
1173         `-release'.  Reported by Danny Backx.
1175 1998-02-18  Gordon Matzigkeit  <gord@profitpress.com>
1177         * Makefile.am (noinst_SCRIPTS): Remove lineno from distribution.
1179         * lineno: Remove from distribution, as it is no longer needed.
1181         * Makefile.am ($(srcdir)/ltconfig.in, $(srcdir)/ltmain.sh):
1182         Rewrite these rules not to use config.status or lineno.  This
1183         makes things simpler, and reduces dependencies, so that the
1184         scripts are rebuilt and installed in srcdir only when necessary.
1185         Reported by Stephan Kulow.
1187         * tests/sh.test (scripts): Remove the lineno script, since it is no
1188         longer distributed.
1190         * tests/assign.test, if.test, test-e.test: Even though 15 tests looks
1191         impressive, these are now redundant.  Remove them from the
1192         distribution.
1194         * tests/sh.test: Do what assign.test, if.test, and test-e.test used to
1195         do.
1197 1998-02-16  Gordon Matzigkeit  <gord@profitpress.com>
1199         * libtool.m4, ltmain.in, ltconfig.in: Correctly identify absolute
1200         directory names on MS-DOS.  Suggested by Bob Friesenhahn.
1202         * ltconfig.in, ltmain.in, libtool.m4: Change a bunch of `sed N!d'
1203         commands to `sed Nq', for efficiency.
1205         * ltmain.in: Only egrep the first few lines of files in order to
1206         determine if they were libtool-generated.  This prevents egrep(1)
1207         from taking forever to look at a 10MB binary on Solaris.  From
1208         Stephan Kulow.
1210         * tests/defs: Correctly identify absolute directory names on MS-DOS.
1211         Suggested by Bob Friesenhahn.
1213 1998-02-11  Gordon Matzigkeit  <gord@profitpress.com>
1215         * ltconfig.in (no_undefined_flag): Add a flag to declare under
1216         Solaris that the library should not have any undefined
1217         references.  Suggested by Bob Friesenhahn.
1219         * ltmain.in (mkdir): Fix one more mkdir race.  From H.J. Lu.
1221 1998-02-08  Gordon Matzigkeit  <gord@profitpress.com>
1223         * ltconfig.in, ltmain.in (striplib, old_striplib): Ditto.
1225         * ltconfig.in (profile_flag_pattern): Get rid of dead code.
1227 1998-02-07  Gordon Matzigkeit  <gord@profitpress.com>
1229         * libtool.m4 (AM_ENABLE_SHARED, AM_ENABLE_STATIC): New macros to
1230         modify the `--enable-shared' and `--enable-static' defaults in the
1231         configure script.  This works a lot better than the old
1232         `enable_shared' and `enable_static' variables did.  Reported by
1233         Bob Friesenhahn.
1235         * tests/suffix.test (extensions): Added GNAT (GNU Ada Translator)
1236         suffices, `.ada', `.ads', `.adb'.  From Samuel Tardieu.
1238 1998-02-07  Samuel Tardieu  <sam@inf.enst.fr>
1240         * ltmain.in: Recognize .ada, .ads and .adb as known suffixes (they
1241         are used by GNAT, the GNU Ada compiler).
1243 1998-02-06  Gordon Matzigkeit  <gord@profitpress.com>
1245         * ltconfig.in: Turn on IRIX shared libraries again!
1247         * libtool.m4 (LD): Use file(1) to discover which ABI we're using
1248         on IRIX, and propagate the correct linker flag.  From Jim Wilson.
1250         * ltconfig.in, ltmain.in (Xsed): `arg=-n; echo "$arg" | sed ...'
1251         gives problems, because the `-n' is interpreted as an option to
1252         echo(1).  So, use `echo "X$arg" | sed -e 's/^X//' ...' everywhere,
1253         via the $Xsed convenience variable.  Suggested by H.J. Lu.
1255 1998-02-02  Gordon Matzigkeit  <gord@profitpress.com>
1257         * ltconfig.in: Turn off IRIX shared library support until 32-bit
1258         and 64-bit ABI differences can be resolved.
1260 1998-01-28  Gordon Matzigkeit  <gord@profitpress.com>
1262         * libtool.m4 (LD): Reverse yesterday's change because `-old_ld'
1263         isn't accepted by GCC.
1265 1998-01-27  Gordon Matzigkeit  <gord@profitpress.com>
1267         * ltconfig.in (soname_spec): Add in user-specified release numbers
1268         for every host system that supports an soname that differs from
1269         the linkname.
1271         * libtool.m4 (LD): Add `-old_ld' to the list of flags that need to
1272         be passed through on SGI.  Reported by Chris Lee.
1274         * ltmain.in (release): Prepend a hyphen to the release number, and
1275         fix a typo because `-version-info' takes only 3 args.  From
1276         H.J. Lu.
1278 1998-01-25  Gordon Matzigkeit  <gord@profitpress.com>
1280         * ltconfig.in (library_names_spec): On Linux, use the
1281         user-specified release.
1283         * ltmain.in (link): Allow the user to specify a release number for
1284         the library using the `-release' flag.  Suggested by H.J. Lu and
1285         Ian Lance Taylor.
1287 1998-01-23  Gordon Matzigkeit  <gord@profitpress.com>
1289         * tests/Makefile.am (TESTS_ENVIRONMENT): Export some important
1290         environment variables.  Reported by Ian Haggard.
1292 1998-01-19  Gordon Matzigkeit  <gord@profitpress.com>
1294         * ltconfig.in (old_postuninstall_cmds): Reorder so that chmod
1295         happens after ranlib.  From Markus F.X.J. Oberhumer.
1297         * ltmain.in (mode): Added `gcc*' and `*-gcc*' to the patterns that
1298         recognize compilers.  From Pieter Schoenmakers.
1299         (link): Recognize `.a' files again.  Suggested by Pieter
1300         Schoenmakers.
1302 1998-01-18  Gordon Matzigkeit  <gord@profitpress.com>
1304         * ltmain.in (compile): Recognize `.asm' extension, for use with
1305         the nasm assembler.  From Markus F.X.J. Oberhumer.
1307         * tests/suffix.test (extensions): Recognize `.asm'.  From Markus
1308         F.X.J. Oberhumer.
1310 1998-01-12  Gordon Matzigkeit  <gord@profitpress.com>
1312         * ltconfig.in (runpath_var): Use instead of
1313         `hardcode_runpath_var'.
1315 1998-01-11  Gordon Matzigkeit  <gord@profitpress.com>
1317         * ltmain.in (finish): Add a better --finish message.  Suggested by
1318         Kenneth Albanowski.
1320         * ltconfig.in, ltmain.in: Fix a few typos.
1322 1998-01-03  Gordon Matzigkeit  <gord@profitpress.com>
1324         * ltmain.in (link): Quote the definition of $echo in the wrapper
1325         script.
1327         * ltconfig.in (export_dynamic_flag_spec): Use `--export-dynamic'
1328         instead of `-export-dynamic', which is not accepted by all GNU
1329         ld's.  From Eiichi Takamori.
1331         * ltmain.in (install): Don't print silly `library stripping'
1332         warnings.  Reported by François Pinard.
1334 Continued in ChangeLog.1997