* libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea.
[libtool.git] / ChangeLog.2002
blob610419c3db413e46967d0db8b207557c760dfd56
1 2002-12-31  Benjamin Reed  <ranger@befunk.com>
3         * ltmain.in [darwin]: disable lazy linking, needed
4         to resolve C++ global constructor issues
6 2002-12-30  Ralph Schleicher  <rs@nunatak.allgaeu.org>
8         Rework by Robert Boehne <rboehne@gnu.org>
9         * ltmain.in: New link option -shrext.
10         * libtool.m4 (AC_LIBTOOL_CONFIG): New libtool variable shrext.
11         (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Replace all hard coded shared
12         library file name extensions in library_names_spec and
13         soname_spec with $shrext.
14         * doc/libtool.texi (Link mode): Document it.
16 2002-12-30  Charles Wilson  <cwilson@ece.gatech.edu>
18         * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): modify
19         $archive_expsym_cmds to restore support for using
20         .def files via the -export-symbols switch.
21         (AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]): in both the [CXX]
22         branch and the default branch, improve $export_symbols_cmds
23         so that DATA symbols are properly  labelled.  In the default
24         branch, duplicate the _CXX_CONFIG correction for
25         $archive_expsym_cmds.
27 2002-12-30  Charles Wilson  <cwilson@ece.gatech.edu>
29         * libtool.m4 (AC_LIBTOOL_RC): AC_PROG_RC doesn't exist --
30         but we do AC_DEFUN something called LT_AC_PROG_RC.
31         Call that instead.
33 2002-12-30  Robert Boehne  <rboehne@gnu.org>
35         * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Copy the section
36         for Darwin from AC_LIBTOOL_PROG_LD_SHLIBS so that the CXX
37         tag doesn't use the g++ defaults for the OS X compiler.
39 2002-12-30  Albert Chin-A-Young <china@thewrittenword.com>
41         * libtool.m4: Sync methods used to detect GNU ld.
43 2002-12-20  Robert Boehne  <rboehne@gnu.org>
45         * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION,
46         AC_LIBTOOL_PROG_CC_C_O): Do not escape } or ? in sed argument.
48 2002-12-19  Robert Boehne  <rboehne@gnu.org>
50         * ltmain.in: Use the sed program found by LT_AC_PROG_SED
51         so that relink commands don't get truncated.
53 2002-12-18  Robert Boehne  <rboehne@gnu.org>
55         * libtool.m4: Move AC_REQUIRE([LT_AC_PROG_SED]) to AC_PROG_LD
56         so it is invoked earlier.
58 2002-12-11  Allan Sandfeld Jensen  <snowwolf@one2one-networks.com>
60         * libtool.m4: Add support for Intel icc compiler for Linux.
62 2002-12-11  Robert Boehne  <rboehne@gnu.org>
64         * ltmain.in: Revert the version +1 change for IRIX, it could
65         cause compatibility problems.
67 2002-11-22  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
69         * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION,
70         AC_LIBTOOL_PROG_CC_C_O): Changed method for compilation with
71         custom flags to be language-independent.  Thereby removed
72         CFLAGS/GCJFLAGS mixup bug.  Imitate Autoconf-style logging.
73         Log entries no longer discarded by compilation failures.
74         (_LT_AC_LANG_C_CONFIG, _LT_AC_LANG_CXX_CONFIG,
75         _LT_AC_LANG_GCJ_CONFIG): Tuned settings of
76         lt_simple_compile_test_code and lt_simple_link_test_code
77         to avoid warnings that could break some option detections.
78         (AC_LIBTOOL_PROG_COMPILER_NO_RTTI): Removed
79         redundant "-c conftest.$ac_ext" in the argument to
80         AC_LIBTOOL_COMPILER_OPTION.
81         (AC_LIBTOOL_PROG_LD_SHLIBS): Replaced C-specific conftest
82         source code with $lt_simple_compile_test_code, to support
83         the "-lc" test with other languages.
85 2002-11-19  Paul Eggert  <eggert@twinsun.com>
87         Don't assume that egrep and fgrep exist.  POSIX 1003.1-2001 no
88         longer requires them; you're supposed to use grep -E and grep -F
89         instead.  Also, don't assume that "test -a" works, since POSIX
90         doesn't require it.
92         * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER, _LT_AC_LANG_C_CONFIG,
93         _LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE,
94         AC_LIBTOOL_PROG_LD_SHLIBS):
95         egrep -> grep, when that makes no difference.
96         * libtoolize.in: Likewise.
97         * ltdl.m4 (AC_LTDL_SYMBOL_USCORE): Likewise.
98         * ltmain.in: Likewise.
99         * demo/Makefile.am (hc-direct): Likewise.
100         * pdemo/Makefile.am (hc-direct): Likewise.
101         * tests/build-relink.test, tests/build-relink2.test,
102         tests/cdemo-conf.test, tests/cdemo-shared.test,
103         tests/cdemo-static.test, tests/demo-conf.test,
104         tests/demo-nofast.test, tests/demo-shared.test,
105         tests/demo-static.test, tests/depdemo-conf.test,
106         tests/depdemo-nofast.test, tests/depdemo-shared.test,
107         tests/depdemo-static.test, tests/hardcode.test,
108         tests/mdemo-conf.test, tests/mdemo-shared.test,
109         tests/mdemo-static.test, tests/pdemo-conf.test,
110         tests/tagdemo-conf.test, tests/tagdemo-shared.test,
111         tests/tagdemo-static.test: Likewise.
113         * libtool.m4 (AC_PROG_EGREP):
114         New macro, defined if Autoconf doesn't define.
115         (AC_PATH_TOOL_PREFIX, AC_PROG_LD_GNU): Use it.
116         (AC_PROG_LD, AC_PROG_NM, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE):
117         Use shell pattern matching rather than egrep.
118         (AC_LIBTOOL_CONFIG): Set lt_EGREP and EGREP.
120         * demo/Makefile.am (SET_HARDCODE_FLAGS): Use sed instead of egrep.
121         * pdemo/Makefile.am (SET_HARDCODE_FLAGS): Likewise.
123         * tests/defs (EGREP, FGREP): New vars.
125         * ltmain.in: egrep -> $EGREP
126         * tests/assign.test, tests/demo-exec.test, tests/demo-inst.test,
127         tests/pdemo-exec.test, tests/pdemo-inst.test, tests/sh.test:
128         Likewise.
130         * tests/hardcode.test: fgrep -> $FGREP
132         * tests/f77demo-exec.test: test -a -> test &&
134 2002-11-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
136         * ltmain.in: When using gcc, pass -mfoo to the linker
137         via $compiler_flags in order to pass architecture information to
138         the linker (e.g. 32 vs 64-bit). This may also be accomplished via
139         -Wl,-mfoo but this is not reliable with gcc because gcc may use
140         -mfoo to select a different linker, different libraries, etc, while
141         -Wl,-mfoo simply passes -mfoo to the linker. If there is a better
142         solution, please let me know what it is.
144 2002-11-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
146         * tests/Makefile.am: Conditional assignment of FFLAGS = @FFLAGS@
147         does not appear to be necessary given that Automake makes this
148         assignment by default.  The condition is removed since Automake
149         1.7.1 complains about it.
151 2002-11-18  Jakub Jelinek  <jakub@redhat.com>
153         * libtool.m4: Support linking of 64-bit libraries on
154         sparc{,v[789]}-*linux*, s390*-*linux*, ppc*-*linux*
155         GNU/Linux systems when the platform default is to build
156         32-bit libraries.
158 2002-11-18  Andreas Jaeger  <aj@suse.de>, Bo Thorsen  <bo@suse.de>
160         * libtool.m4: Support linking of 32-bit libraries with ld
161         on the x86-64, ppc64, s390x and sparc64 GNU/Linux systems.
163 2002-11-18  Akim Demaille  <akim@epita.fr>
165         * ltmain.in: Do not change the PATH in the wrappers: let them
166         launch the real binary using its path.
168 2002-11-18  Kevin Ryde  <user42@zip.com.au>
170         * doc/libtool.texi (Library tips): Note array dimensions.
172 2002-11-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
174         * tests/*.test: MinGW's MSYS treats files under /dev
175         specially. This causes 'test -r /dev/null/config/site' to
176         improperly report success, causing configure to fail. Change the
177         CONFIG_SITE definition from "/dev/null/config/site" to
178         "/nonexistent" to avoid this problem.
180 2002-11-18  Charles Wilson  <cwilson@ece.gatech.edu>
182         * libtool.m4 (_LT_AC_LOCK): remove support for ancient
183         versions of mingw and cygwin.
184         (AC_LIBTOOL_POSTDEP_PREDEP): new function.
185         moved the "find hidden library dependencies" code here
186         from AC_LIBTOOL_LANG_CXX_CONFIG.  Attempted to make it
187         multi-tag compatible, but currently only CXX calls it.
188         (AC_LIBTOOL_LANG_CXX_CONFIG): set
189         enable_shared_with_satic_runtimes to 'no' by default
190         Set it to 'yes' for cygwin, mingw, pw32. Replace
191         "find hidden library dependencies" code with a call
192         to the new function AC_LIBTOOL_POSTDEP_PREDEP.
193         Consolidate cygwin and mingw/pw32 stanzas.
194         (AC_LIBTOOL_LANG_F77_CONFIG): set
195         enable_shared_with_static_runtimes to 'no' by default
196         (AC_LIBTOOL_CONFIG): add
197         enable_shared_with_static_runtimes to the list of variables
198         to write into ltmain.sh; include it in the libtool script
199         template as allow_libtool_libs_with_static_runtimes.
200         (AC_LIBTOOL_PROG_LD_SHLIBS): set
201         enable_shared_with_static_runtimes to 'no' by default
202         Set it to 'yes' for cygwin, mingw, pw32.
203         (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): only put cr in regexp
204         if the build_os is mingw, not host_os
206         * ltmain.in (case deplibs_check_method): for all appropriate
207         cases, if allow_libtool_libs_with_static_runtimes, then remove
208         predeps and postdeps from the list of dependencies that must
209         be checked for "dynamicness".  For the "none" case, the
210         presence of compiler-generated postdeps and predeps should
211         not trigger "inter-library dependencies not supported" error.
212         (initial setup after arg processing): on cygwin/mingw, allow
213         compiler-generated dependent libs to be duplicated without
214         elimination.
215         (initial search loop for deplibs): if the deplib in question
216         is a libtool lib, then if
217         allow_libtool_libs_with_static_runtimes then parse the .la file.
218         If the .la file only has an "old_library", add the deplib
219         directly to the deplibs list (-lstdc++) and DON'T use the .la
220         file; this allows the (case deplibs_check_method) change above
221         to take effect.
222         * ltmain.in (for pass in $passes loop): remove predeps,
223         postdeps, and compiler_lib_search_path from dependency_libs.
225 2002-11-08  Robert Boehne  <rboehne@gnu.org>
227         * doc/libtool.texi: Add --mode=* to every example using libtool.
229 2002-11-03  Ossama Othman  <ossama@doc.ece.uci.edu>
231         * ltmain.in: add support for installing into temporary
232         staging area (e.g. 'make install DESTDIR=...')
234 2002-11-03  Charles Wilson  <cwilson@ece.gatech.edu>
236         * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): restore setting
237         allow_undefined_flag=unsupported for cygwin and mingw.
238         (AC_LIBTOOL_PROG_LD_SHLIBS): ditto, for both "normal" gcc/ld
239         and for the (unmaintained?) MSVC case.
241 2002-11-03  Charles Wilson  <cwilson@ece.gatech.edu>
243         * doc/libtool.texi (Install mode): document new
244         -inst-prefix option.
246 2002-11-02  Robert Boehne  <rboehne@gnu.org>
248         * ltmain.in: Print a warning if the mode is not specified.
249         * doc/libtool.texi: Document the change that the mode must be
250         specified.
252 2002-10-30  Charles Wilson  <cwilson@ece.gatech.edu>
254         * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): use printf, not
255         echo. (AC_DEPLIBS_CHECK_METHOD): use new shell function
256         win32_libid on w32 platforms
257         * ltmain.in: add new section for shell functions. Add
258         win32_libid() shell function.
259         * f77demo/Makefile.am: add -no-undefined flag
261 2002-10-30  Rob Browning  <rlb@defaultvalue.org>
263         * ltdl.c (realloc): Remove custom realloc. (#define
264         rpl_realloc realloc) and comment out later code for custom
265         realloc. You can't define your own malloc unless you know
266         enough about the malloc in use to be able to tell how big
267         the src ptr is. The disabled code incorrectly used the
268         *destination* ptr to decide how much to copy. This
269         sometimes results in out-of-bound accesses which cause
270         segfaults. This is a quick hack for now; we may want
271         something cleaner later.
272         (tryall_dlopen_module): check to be sure (dirname_len > 0) before
273         testing first character against '/'.
274         (try_dlopen): check for feof(file) in read loop -- otherwise
275         infinite loop?
277 2002-10-25  Robert Boehne  <rboehne@gnu.org>
279         * ltmain.in (-XCClinker): New flag passes a linking option
280         directly to the compiler driver without appending ${wl}.
282 2002-10-25  Gary V. Vaughan  <gary@gnu.org>
284         * README-alpha: Add some release note templates for inspiration
285         and consistency at release time.
287         * Makefile.am (cvs-diff): Compress the generated diff file, ready
288         for upload to ftp.gnu.org.
290 2002-10-25  Howard Chu  <hyc@highlandsun.com>
292         * ltmain.in [aix]: Be sure to deal with xlc_r, cc_r and other
293         compiler variants.
295 2002-10-25  Gary V. Vaughan  <gary@gnu.org>
297         * libtool.m4 (_LT_AC_FILE_IMPGEN_C): Removed.  No longer used.
298         (_LT_AC_FILE_LTDLL_C): Ditto.
299         (AC_LIBTOOL_CONFIG) [cygwin, mingw, pw32, os2]: Don't call
300         _LT_AC_FILE_LTDLL_C or _LT_AC_FILE_IMPGEN_C.
302 2002-10-25  Albert Chin-A-Young  <china@thewrittenword.com>
304         * libtool.m4: When LDFLAGS="-Wl,-brtl,[other options]", the
305         -brtl special-case code for AIX never gets triggered because
306         were are being too specific about how we search for -brtl.
307         Use case statement to avoid this. Remove extraneous
308         semicolon.
309         * ltmain.in: Recognize the IBM xlc compiler.
311 2002-10-24  Andrew Suffield  <asuffield@debian.org>
313         * libltdl/ltdl.c (lt_dlopenext): Corrected sense of "file not
314         found" check.
316 2002-10-24  Ossama Othman  <ossama@doc.ece.uci.edu>
318         * ltmain.in: Support compiler names matching g++*
320 2002-10-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
322         * libtool.m4: Removed old Windows cruft.
323         * libtool.m4: Adapted pw32 to be like Cygwin/MinGW.
325 2002-10-23  Robert Boehne  <rboehne@gnu.org>
327         ltmain.in: Do not add 1 to the version under IRIX, it is
328         not necessary.
330 2002-10-15  Charles Wilson  <cwilson@ece.gatech.edu>
332         * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): avoid long delay on
333          cygwin/Win9x when computing commandline length.
334         (AC_LIBTOOL_SYS_DYNAMIC_LINKER): fix postinstall_cmds when
335         sources are in a subdirectory
336         * ltdl.m4 (AC_LTDL_SYSSEARCHPATH): use $PATH_SEPARATOR, not
337         $ac_path_separator
338         * configure.ac: move depdemo-specific stuff.  You must configure
339         libtool before you can try './libtool --features'.
340         * mdemo-inst.test: set $PATH to include the directory in which
341         the modules are installed (on cygwin, DLL search path is the
342         $PATH)
344 2002-10-15  Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
346         * ltmain.in: MinGW works identically to Cygwin.
347         * libtool.m4: lt_cv_sys_max_cmd_len hard-coded to 8192
348         *  Model MinGW configuration after Cygwin configuration.
349         Some portions share implementation.
351 2002-10-15  Elizabeth Barham <soggytrousers@yahoo.com>
353         * libtool.m4: Pattern MinGW library naming after that
354         used by Cygwin except use 'lib' prefix rather than 'cyg'.
355         * Transfer some configuration from Cygwin with adjustments
356         for MinGW.
358 2002-10-15  Albert Chin-A-Young  <china@thewrittenword.com>
360         * libtool.m4: When a module is built for AIX, the 'lib'
361         prefix isn't needed, neither is the version. AIX dlopen
362         will honor the RPATH in a library.
364 2002-10-11  Christoph Egger  <Christoph_Egger@gmx.de>
366         * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS, darwin): Add
367         -install_name to the link line only when -dynamiclib is
368         specified for a module.  Use -bind_at_load when linking C++
369         shared libraries.
371 2002-10-04  Elizabeth Barham  <soggytrousers@yahoo.com>
373         * libtool.m4 (AC_LIBTOOL_SETUP): GCC now checks -shared to
374         create a dll for Windows targets.
376 2002-09-24  Robert Boehne  <rboehne@gnu.org>
378         * ltmain.in: Fixed a few spelling errors.
380 2002-09-17  Robert Boehne  <rboehne@gnu.org>
382         * libltdl/ltdl.c: Commented out access() call that checks for a
383         library file's existence and permissions, as it appears to fail
384         in every case.
386 2002-09-09  Albert Chin-A-Young  <china@thewrittenword.com>
388         * libtool.m4: Custom $symcode for Tru64 UNIX to catch 'Q',
389         read-only constants.
391 2002-09-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.de>
393         * libtool.m4 (osf[345]): Append $major to soname_spec.
394         Reflect this in library_names_spec.
395         * ltmain.in (osf): Prefix $major with '.' for use as extension.
397 2002-08-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
399         * ltdl.m4 & libltdl/ltdl.c: Port fully to native Win32 API.
401 2002-07-31  Robert Boehne  <rboehne@gnu.org>
403         * f77demo/.cvsignore: New file, forgotten in the last commit.
405 2002-07-31  Eric Lindahl  <erik@theophys.kth.se>
407         * libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77
408         Fortran support tag.
409         (AC_LIBTOOL_PROG_CC_C_O, _LT_AC_TAGCONFIG): Support F77 tag.
410         (AC_LIBTOOL_F77, _LT_AC_LANG_F77, AC_LIBTOOL_LANG_F77_CONFIG):
411         New macros for F77 tag Fortran support.
412         * configure.ac: Add support for creating the new F77 tag.
413         * bootstrap: Add f77demo directory to the list to be processed.
414         * Makefile.am: Add support for FFLAGS and FLIBS.
415         * tests/Makefile.am: Add new Fortran tests.
416         * tests/f77demo-*.test: New files.
417         * f77demo/configure.ac, f77demo/cprogram.c, f77demo/fooc.c
418         * f77demo/foof.f, f77demo/foo.h, f77demo/fprogram.f
419         * f77demo/Makefile.am, f77demo/README: New files.
421 2002-07-16  Gary V. Vaughan  <gary@gnu.org>
423         * libltdl/ltdl.c (tryall_dlopen): We need to catch missing file
424         errors early so that file_not_found() can detect what happened.
426 2002-06-26  Bob Friesenhahn  <bfreisen@simple.dallas.tx.us>
428         * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Remove
429         extraneous '=' character which appears in gcc 3.1
430         -print-search-dirs output.
431         Handle both upper and lower case drive letters when testing for
432         Windows vs POSIX style path output from -print-search-dirs
433         output.
435 2002-06-24  Robert Boehne  <rboehne@gnu.org>
437         * ltmain.in (Piecewise linking): Add a clause to skip creating
438         the export file until the reloadable object file(s) have been
439         created, then use them as input for $export_symbols_cmds.
441 2002-06-23  Albert Chin-A-Young  <china@thewrittenword.com>
443         * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Need to quote [ and ] for
444         Autoconf.
446         * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): HP/UX needs
447         libltdl_cv_sys_dlopen_deplibs set to yes.
449 2002-06-23  Kevin Ryde  <user42@zip.com.au>
451         * libtool.m4 (AC_LIBTOOL_SETUP, _LT_AC_LOCK): Use
452         AC_PROVIDE_IFELSE to test AC_LIBTOOL_WIN32_DLL and
453         AC_LIBTOOL_DLOPEN, necessary for autoconf 2.53.
455 2002-06-23  Gary V. Vaughan  <gary@gnu.org>
457         * libltdl/ltdl.c (argz_insert): Actually, BEFORE can be NULL
458         when *PARGZ_LEN is non-NULL, so the assertion to the contrary was
459         bogus.
460         Reported by Bob Friesenhahn <bfreisen@simple.dallas.tx.us>
461         and Albert Chin-A-Young <china@thewrittenword.com>
463 2002-06-21  Gary V. Vaughan  <gary@gnu.org>
465         * libltdl/ltdl.c (foreach_dirinpath): Ensure that filename is '\0'
466         terminated by all code paths.
467         Reported by Lutz Müller <lutz@users.sourceforge.net>
469 2002-06-20  Gary V. Vaughan  <gary@gnu.org>
471         From Kevin Ryde  <user42@zip.com.au>:
472         * doc/libtool.texi (Platform quirks): s/dependan/dependen/
473         * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Ditto.
474         * TODO: Ditto.
476 2002-06-13  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
478         * ltmain.in (irix, nonstopux): Set major before use.
480 2002-06-11  Daniel Kobras  <kobras@linux.de>
482         * libltdl/ltdl.c (try_dlopen): Don't return bogus handle to user
483           if tryall_dlopen() fails.
485 2002-06-01  Gary V. Vaughan  <gary@gnu.org>
487         * tests/pdemo-exec.test: Typo.  s/hell-static/hell_static/
489 2002-05-31  Charles Wilson  <cwilson@ece.gatech.edu>
491         * NEWS: Updated.
492         * libtool.m4: use $NM to create the symbol list on cygwin, not
493         $ltdll_cmds as on mingw.  For all tags, (and host=cygwin) set
494         allow_undefined_flag="" so that the --auto-import magic
495         works properly.  For all tags (and host=cygiwn) set
496         always_export_symbols=no -- it is unnecessary thanks to
497         binutils' auto-export magic.
498         * libltdl/ltdl.c: Don't force cygwin to use the LoadLibrary
499         wrapper; use cygwin's builtin implementatino of dl*.
500         * cdemo/Makefile.am: the downside of unsetting
501         'allow_undefined_flag' -- we must include -no-undefined
502         in the _la_LDFLAGS variable.
503         * depdemo/l1/Makefile.am: ditto.
504         * depdemo/l2/Makefile.am: ditto.
505         * depdemo/l3/Makefile.am: ditto.
506         * depdemo/l4/Makefile.am: ditto.
507         * mdemo/Makefile.am: ditto.
508         * tagdemo/Makefile.am: ditto.
509         * demo/Makefile.am: ditto.  But also, we must make special
510         provision to clean up the hell0 wrapper script.
511         * pdemo/Makefile.am: ditto -no-undefined.  ditto hell0.
512         And use 'hell_static' instead of 'hell.static'.
513         * tests/pdemo-inst.test: use 'hell_static' instead
514         of 'hell.static'.
515         * tests/pdemo-exec.test: ditto.
517 2002-05-30  Charles Wilson  <cwilson@ece.gatech.edu>
519         * tests/build-relink2.test: look for installed libl3.la
520         in $prefix/lib/ as well as $prefix/lib/extra/.
522 2002-05-30  Gary V. Vaughan  <gary@gnu.org>
524         * tests/hardcode.test: Use libtool --config to collect the
525         variable values for the test, otherwise the tag values interfere
526         with a straight grep.
528 2002-05-30  Gary V. Vaughan  <gary@gnu.org>
530         Finally fix the annoying bug which always adds all tags to the
531         libtool script built by your project configure.  Now we set the
532         default tags depending on whether AC_PROG_CXX et. al. are actually
533         called from configure.ac.
535         * libtool.m4 (_LT_AC_TAGCONFIG): Don't default the tagnames when
536         no --with-tags argument is given.
537         (_LT_AC_SHELL_INIT): Factored out from the AC_DIVERT_PUSH code
538         in...
539         (_LT_AC_PROG_ECHO_BACKSLASH): ...which now calls the macro
540         instead.
541         (AC_LIBTOOL_CXX): Use _LT_AC_SHELL_INIT to add CXX to the
542         initialisation sequence for tagnames.
543         (AC_LIBTOOL_GCJ): Similarly for GCJ tag.
544         (AC_LIBTOOL_RC): Likewise for RC tag.
546 2002-05-21  Jon Meredith  <jonm@alchemetrics.co.uk>
548         * ltmain.in: Fix a problem on SCO OpenServer5 that caused a
549         failure in three depdemo-make tests. For some reason the linker
550         tries to find the dependent libraries using the library search
551         path before it has read the libraries specified with absolute
552         paths in the full commandline. This patch add -L's for each of
553         the dependent library directories so that they can be resolved.
555 2002-05-09  Nick Hudson  <skrll@netbsd.org>
557         * libtool.m4: Update support for NetBSD
558         * ltdl.m4: Make sure that libltdl_cv_func_dlopen and
559         libltdl_cv_lib_dl_dlopen are set and used instead of the
560         ac_cv_ versions. Also, use lt_cv_sys_global_symbol_pipe
561         instread of global_symbol_pipe. This fixes the detection of
562         dlopen on BSD derived plaforms and more importantly fixes
563         need_uscore detection.
565 2002-05-06  Paul Eggert  <eggert@twinsun.com>
567         * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): head -1 -> sed 1q to
568         port to POSIX 1003.1-2001 hosts, like textutils 2.0.21 with
569         _POSIX2_VERSION=200112.
571 2002-05-06  Paul Eggert  <eggert@twinsun.com>
573         * ltmain.in: Don't assume that "sort +2" works, as POSIX
574         1003.1-2001 says that "sort +2" is supposed to sort the file
575         named "+2".  An example host that behaves like this is
576         textutils 2.0.21 with _POSIX2_VERSION=200112.
578 2002-05-06  Loren James Rittle  <rittle@latour.rsch.comm.mot.com>
580         * ltmain.in: Detect and handle object name conflicts while
581         piecewise linking a static library.
583 2002-05-02  Dave Vasilevsky  <thevas@mac.com>
585         * ltmain.in: Remove convenience libraries from deplibs for Darwin.
587 2002-05-02  Fritz Elfert  <felfert@to.com>
589         * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Modify archive_expsym_cmds
590         to catch properly handle dll alias symbols.
592 2002-04-24  Kevin Ryde  <user42@zip.com.au>
594         * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use $build_os not $host_os.
596 2002-04-14  Robert Boehne  <rboehne@gnu.org>
598         * doc/libtool.texi (C++ libraries): Finally updated to reflect
599         Libtool's support for C++.
601 2002-04-14  Jean-Frederic Clere  <jfrederic.clere@fujitsu-siemens.com>
603         * libtool.m4: Update support for Fujistu-Siemens Computers (FSC).
604         * ltmain.in: Add support for EBCDIC based systems.
606 2002-04-07  Robert Boehne  <rboehne@gnu.org>
608         * libtool.m4 (LT_AC_PROG_SED): Refactor, removing temporary directory
609         and consistent use of the shell variable namespace "lt_ac_".
611 2002-04-02  Robert Boehne  <rboehne@gnu.org>
613         * ltmain.in: Finish the tag matching logic started yesterday and
614         refactor it a bit.
616 2002-04-01  Robert Boehne  <rboehne@gnu.org>
618         * ltmain.in: Handle the case when no tag is explicitly set, and
619         $base_compile has a space in front of $CC, and revert the setting
620         of tagname checked in on 2002-3-14.
622 2002-04-01  Robert Boehne  <rboehne@gnu.org>
624         * tagdemo/foo.cpp: Use C++ IO to catch problems linking to C++
625         runtime libraries.
626         * tagdemo/main.cpp: Ditto.
628 2002-03-16  Gary V. Vaughan  <gary@gnu.org>
630         * TODO: Removed obsolete comments about RMS' package system.
632 2002-03-14  Robert Boehne  <rboehne@gnu.org>
634         ltmain.in: Touch-up to make testsuite pass, and default tagname
635         to CC when it isn't explicitly set.
637 2002-03-14  Anthony Green  <green@redhat.com>
639         * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Albert Chin's gcj fix.
640         (AC_LIBTOOL_PROG_COMPILER_PIC): Per Bothner's change for not
641         using -DPIC with gcj.
643 2002-03-11  Bruce Korb  <bkorb@gnu.org>
645         * ltmain.in(compile): bring a touch of order to the option processing
647 2002-02-09  Gary V. Vaughan  <gary@gnu.org>
649         * NEWS: Updated.
650         * THANKS: Added Rob Collins and Chuck Wilson for their cygwin
651         work.
653         From Robert Collins  <robert.collins@itdomain.com.au>:
654         * configure.ac (AC_EXEEXT): Needed for DOSish systems.
655         * libtool.m4 (shlibpath_overrides_runpath) [cygwin]: Set to yes
656         when compiling with gcc.
657         (lt_prog_compiler_pic) [cygwin]: No longer needs the -DDLL_EXPORT
658         hack, so we just say the pic is the default.
659         (AC_LIBTOOL_PROG_LD_SHLIBS) [cygwin]: Extract symbols from a
660         library normally.
661         [cygwin]: Declare C++ compiler characterisics for g++, taking into
662         account the new auto-import support in cygwin ld.
663         * ltmain.in (specialdeplibs) [cygwin]: Be careful about
664         eliminating duplicate -lgcc's from the link line.
665         [cygwin]: Be smarter about .exe suffixes.
666         * demo/configure.ac (AC_EXEEXT, AC_LIBTOOL_WIN32_DLL):  Support
667         DOSish systems properly.
668         * depdemo/configure.ac (AC_EXEEXT, AC_LIBTOOL_WIN32_DLL):  Ditto.
669         * demo/Makefile.am (deplibs-check): Allow for .exe suffix.  Use
670         hell_static instead of hell.static for multi-`.' inhibited OSes.
671         * tests/demo-exec.test: Ditto.
672         * tests/demo-inst.test: Ditto.
673         * demo/foo.h [cygwin]: Sanitize cygwin dll support.
674         * demo/foo.c (_LIBFOO_COMPILATION_): No longer required.
675         * demo/hello.c (_LIBFOO_COMPILATION_): Ditto.
676         * depdemo/Makefile.am (bin_PROGRAMS): Use depdemo_static instead
677         of depdemo.static for multi-`.' inhibited OSes.
678         * tests/depdemo-exec.test: Ditto.
679         * tests/depdemo-inst.test: Ditto.
680         * mdemo/Makefile.am (bin_PROGRAMS):  Ditto for mdemo.static.
681         * tests/dryrun.test: Ditto.
682         * tests/mdemo-exec.test: Ditto.
683         * tests/mdemo-inst.test: Ditto.
684         * tests/build-relink.test:  Be careful about possible .exe
685         suffixes.
686         * tests/noinst-link.test: Allow for .exe suffix.
688 2002-02-07  Alexandre Oliva  <aoliva@redhat.com>
690         Reverted incorrect patch:
691         2001-10-24  H.J. Lu  <hjl@gnu.org>
692         * ltmain.sh: Allow link against an archive when building a
693         shared library.
694         * libtool.m4 (lt_cv_deplibs_check_method): Always use
695         file_magic for Linux ELF.
697 2002-01-30  Robert Boehne  <rboehne@ricardo-us.com>
699         * libtool.m4 (LT_AC_PROG_SED): Removed a mysterious newline.
701 2002-01-28  Robert Boehne  <rboehne@ricardo-us.com>
703         * libtool.m4 (LT_AC_PROG_SED): New macro tests sed for truncation of
704         output.  AC_REQUIRE the new macro.
705         * ltmain.in: Use $SED rather than plan old sed, as set by the new
706         macro LT_AC_PROG_SED.
708 2002-01-10  Volker Christian  <voc@soft.uni-linz.ac.at>
710         * libltdl/ltdl.c (find_handle_callback): treat the result of a call
711         to access(2) correctly when deciding whether a library can be found
712         in a directory from user_search_path.
714 2002-01-07  Robert Boehne  <rboehne@ricardo-us.com>
716         * NEWS: Fixed wrong path for texinfo.tex.
717         * configure.ac: Bumped version to 1.4e.
719         GNU libtool 1.4d was released.
721         * configure.ac: Bumped version to 1.4d.
722         * NEWS: updated.
723         * config.guess, config.sub, texinfo.tex:  Synchronised from
724         ftp.gnu.org.
726 Continued in ChangeLog.2001