* libltdl/m4/libtool.m4 [_LT_REQUIRED_DARWIN_CHECKS]: Fix the
[libtool.git] / ChangeLog.2003
blob2a1172af630ebe2e2f7e9dbb413ab28be4134bf2
1 2003-12-31  Scott James Remnant  <scott@netsplit.com>
3         * ltmain.sh: Infer tagged configuration for link mode with the
4         full compiler arguments available rather than only the first.
6 2003-12-31  Alexandre Duret-Lutz  <adl@gnu.org>
8         * ltmain.sh: Quote $exec_cmd before it is eval'ed, so that
9         libtool --mode=execute echo '4 * 5' does not expand the `*'.
11 2003-11-28  Peter O'Gorman  <peter@pogma.com>
13         * m4/libtool.m4: Move things around so that "setopt NO_GLOB_SUBST"
14         to make zsh behave wrt \ escapes happens early in config.status.
16 2003-11-27  Gary V. Vaughan  <gary@gnu.org>
18         * libltdl/configure.ac: Removed.
19         * configure.ac (AC_CONFIG_HEADERS): Merged from
20         libltdl/configure.ac.
21         (AC_LIB_LTDL): Ditto.
22         (AC_CONFIG_FILES): Add libltdl/Makefile.
23         (AC_CONFIG_SUBDIRS): Removed.
24         (AC_CONFIG_COMMANDS): Remove generation of libltdl/ltmain.sh.
25         * libltdl/Makefile.am (libtool): Removed references, since we now
26         share $(top_builddir)/libtool.
27         * NEWS: Updated.
29 2003-11-26  Gary V. Vaughan  <gary@gnu.org>
31         * Makefile.am (vcl.tmp): Be careful of VPATH builds.
33         * Makefile.am (EXTRA_DIST): Add stamp-vcl, or we go back to a
34         double configure run from a distributed tarball :-?
36 2003-11-26  Gary V. Vaughan  <gary@gnu.org>
38         Okay, the problem I am trying to solve is that when a change (say,
39         bumping the version to 1.6 for the next release) is committed, the
40         timestamp in ChangeLog is updated, but ltmain.sh and libtoolize
41         inherit the pre-commit build number from config.status.  This
42         delta notes the change in build number in the unstamped ChangeLog
43         and forces a rerun of configure etc. to roll a new ltmain.sh with
44         the correct TIMESTAMP:
46         * Makefile.am (stamp-vcl): We actually need a new config.status to
47         force the correct timestamp into libtoolize and ltmain.sh,
48         rerunning autoconf has no effect at all if configure.ac hasn't
49         changed.
51 2003-11-26  Gary V. Vaughan  <gary@gnu.org>
53         * Makefile.am (stamp-vcl): New rules to force libtool and
54         libtoolize scripts to update when the TIMESTAMP changes in
55         ChangeLog, but the file modification time doesn't (e.g in cvs
56         commit).  Otherwise we'll carry on releasing tarballs with the
57         wrong version numbers in the tools!
59         * config/mkstamp: Change output format to ` $rev $date'.
60         * configure.ac: Make the banner more like suggestions in
61         http://www.gnu.org/prep/standards_toc.html Section 4.6.
62         * libtoolize.in: Make --version output conform to the GNU
63         standard.
64         * ltmain.in: Ditto. And tweak the generated file headers to
65         match.
67 2003-11-25  Gary V. Vaughan  <gary@gnu.org>
69         * Makefile.am (config.status): Removed.  Rebuilding config.status
70         isn't enough, because the TIMESTAMP in configure is still out
71         of date.
72         (configure): We actually need a new configure to force the
73         correct timestamp into ltmain.sh.
75         * Makefile.am (config/ltmain.sh): Removed.  Rebuilding ltmain.sh
76         isn't enough, because the TIMESTAMP in config.status is still out
77         of date.
78         (config.status): We actually need a new config.status to force the
79         correct timestamp into ltmain.sh.
81         * Makefile.am (config/ltmain.sh): Note the dependency on the
82         timestamp in ChangeLog so we don't ship libtools that report the
83         wrong version number :-/
85         * bootstrap: Explain automake and autoconf version dependencies
86         truthfully, and the difference between bootstrap and user
87         dependencies.
88         * configure.ac (AM_INIT_AUTOMAKE): List AUTOMAKE_OPTIONS here.
89         * Makefile.am, doc/Makefile.am, tests/Makefile.am
90         (AUTOMAKE_OPTIONS): Removed from here.
92 2003-11-24  Gary V. Vaughan  <gary@gnu.org>
94         * tests/defs (func_configure): cdemo, demo and mdemo are shows
95         signs of indeterminacy for some users.  Be more verbose during
96         failure to help track down the cause.
98 2003-11-22  Peter O'Gorman  <peter@pogma.com>
100         * ltmain.in: Check for module_cmds if max_cmd_len is exceeded too.
102         * ltmain.in: Move eval to after command separation to allow ~ in paths.
104         * tests/demo-hardcode.test: Call ./libtool not libtool.
106         * ltmain.in: Test $old_striplib before using it, not $striplib.
108 2003-11-22  Gary V. Vaughan  <gary@gnu.org>
110         * configure.ac (LASTRELEASE): Calculate it as best as we can from
111         AC_PACKAGE_VERSION.
112         * Makefile.am (distdir): Remove dependency on timestamps so that
113         it is possible to roll a dist without contacting the cvs server.
114         Use `make cvs-release' for that.
115         (cvs-news): Extracted from cvs-dist.
116         (cvs-dist): Depend on cvs-news.
117         (CHECK_LASTRELEASE): Check LASTRELEASE has been set.
118         (prev-tarball): New rule.  Use LASTRELEASE to make sure the
119         previous release tarball is present.
120         (cvs-diff): Use CHECK_LASTRELEASE.
121         (xdelta): Ditto.
122         (cvs-release): Depend on prev-tarball, timestamps, cvs-news and
123         fetch. Provided you set LASTRELEASE appropriately, making a full
124         cvs release is just a matter of `make cvs-release', and submitting
125         the files to ftp-upload.
127 2003-11-19  Gary V. Vaughan  <gary@gnu.org>
129         * m4/libtool.m4 (_LT_PROG_LTMAIN): Ensure config.status has a
130         value for `ac_aux_dir' when automake is not used.
131         Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
133         * configure.ac (AC_PREREQ): AS_HELP_STRING was introduced after
134         autoconf-2.57 was released.
136 2003-11-18  Gary V. Vaughan  <gary@gnu.org>
138         * libltdl/ltdl.c (lt_dlhandle_find): New function to find a handle
139         by module name.
140         * libltdl/ltdl.h (lt_dlhandle_find): Declare it.
141         * doc/libtool.texi (User defined module data): Document it.
142         * NEWS: Updated.
144 2003-11-17  Gary V. Vaughan  <gary@gnu.org>
146         * m4/libtool.m4 (AC_LIBTOOL_SETUP): Uncomment call to
147         _LT_CONFIG_COMMANDS.
148         (_LT_AC_TAG_CONFIG, AC_LIBTOOL_CONFIG): Accumulate tag generation
149         for `config.status' using _LT_CONFIG_SAVE_COMMANDS.  Remove
150         AC_MSG_NOTICE noise now that libtool is generated by a single
151         config.status tag.
152         * Makefile.am (libtool): Specify CONFIG_COMMANDS properly now that
153         libtool is generated in one pass.
155         * configure.ac (CONF_SUBDIRS): Make these relative to
156         tests/Makefile.am.
157         (DIST_MAKEFILE_LIST): Adjust to compensate for having removed the
158         `tests/' part in CONF_SUBDIRS.
159         * tests/Makefile.am (DIST_SUBDIRS): Distribute these directories.
160         (SUBDIRS): Set to `.', a NOP, to workaround an automake bug which
161         ignores DIST_SUBDIRS unless SUBDIRS is also set.
162         * Makefile.am (DIST_SUBDIRS): Don't try to distribute the tests
163         subdirectories from here, since the recursive automake dist rule
164         only works with direct child directories.  Defer to
165         tests/Makefile.am in this case.
167 2003-11-15  Scott James Remnant  <scott@netsplit.com>
169         * ltmain.in: In compile mode, delay parsing of -shared, -static,
170         -prefer-pic and -prefer-non-pic until after tagged configuration
171         has been read.  In link mode, read tagged configuration before
172         parsing any arguments.  These arguments will now work when using
173         a non-C compiler.
175 2003-11-14  Gary V. Vaughan  <gary@gnu.org>
177         * NEWS: Mention AC_LIBTOOL_TAGS.
179         * Makefile.am (EXTRA_DIST): List ChangeLog files correctly.
181         * tests/cdemo/configure.ac, tests/demo/configure.ac,
182         tests/depdemo/configure.ac, tests/f77demo/configure.ac,
183         tests/mdemo/configure.ac, tests/mdemo2/configure.ac,
184         tests/pdemo/configure.ac, tests/tagdemo/configure.ac: Declare just
185         the tags we need using AC_LIBTOOL_TAGS, reducing the size of the
186         configure script by 50% in most cases.
188 2003-11-14  Marius Vollmer  <mvo@zagadka.de>
190         * doc/libtool.texi (Libltdl interface): libltdl does in fact load
191         dependency libs for lt_dlopen()ed modules.
193 2003-11-14  Gary V. Vaughan  <gary@gnu.org>
195         Run our configure.ac files through Autoconf 2.59's autoupdate, and
196         then tweak the results by hand:
198         * m4/libtool.m4 (AC_PROG_LD): In common with all the other
199         AC_PROG_ macros, AC_SUBST the discovered LD.
200         (AC_PROG_NM): Similarly for NM.
201         (LT_AC_PROG_SED): Similarly for SED.
202         * configure.ac: No need to SUBST NM and LD manually any more.
203         (AC_PREREQ): Conservatively downgrade from 2.59 to 2.54.
204         * tests/cdemo/configure.ac, tests/demo/configure.ac,
205         tests/depdemo/configure.ac, tests/f77demo/configure.ac,
206         tests/mdemo/configure.ac, tests/mdemo2/configure.ac,
207         tests/pdemo/configure.ac, tests/tagdemo/configure.ac: Ditto.
208         * m4/libtool.m4 (AM_PROG_LIBTOOL, AM_ENABLE_SHARED,
209         AM_ENABLE_STATIC, AM_DISABLE_SHARED, AM_DISABLE_STATIC,
210         AM_PROG_LD, AM_PROG_NM): AU_DEFUN these macros so autoupdate can
211         use the newer definitions.
213 2003-11-12  Gary V. Vaughan  <gary@gnu.org>
215         The rules for uploading releases to gnu.org have been updated, and
216         are in fact now rather complicated.  This delta updates the
217         release instructions to the describe the new process, and updates
218         the maintainer rules to help automate many of the steps:
220         * README-alpha: Updated release instructions.
221         * Makefile.am (GPG): Name of the program for generating signatures
222         for files to be uploaded.
223         (XDELTA, XDELTA_OPTIONS): Invocation of xdelta.
224         (cvs-dist): Run distcheck before tagging the cvs tree incase
225         distcheck fails, and then generate the gpg signature files.
226         (cvs-diff): Generate the gpg signature files for the diff.
227         (xdelta): New rule for generating the xdelta diffs and associated
228         gpg signature files.
229         (cvs-release): New rule to do all of the above, if you don't mind
230         typing your gpg passphrase over and over again. :-)
231         (fetch): New rule inspired by automakes similar rule for updating
232         files maintained outside the project.
233         * config/config.guess, config/config.sub: Updated with the new
234         fetch rule.
236 2003-11-11  Gary V. Vaughan  <gary@gnu.org>
238         * libltdl/ltdl.c (lt_dlinit): Save a function call for each loader
239         added to the list, in exchange for appending loaders to the list
240         with O(N) rather than O(1).  The longest the loader list can ever
241         get is 4 (on cygwin with dld installed) so it probably constitutes
242         a small speedup, in addition to making the code much more readable.
244         * m4/libtool.m4 (AC_LIBTOOL_SETUP): Don't define the value for
245         ltmain unconditionally.
246         (_LT_PROG_LTMAIN): New macro to ensure that the
247         shell variable `ltmain' actually points at a suitable `ltmain.sh'.
248         (_AC_PROG_LIBTOOL): Require it.
249         (AC_LIBTOOL_CONFIG, _LT_AC_TAG_CONFIG): Invoke it.
250         * Makefile.am (libtool): ltmain.sh is in the build tree.
251         * libltdl/configure.ac: Ditto.
253 2003-11-10  Scott James Remnant  <scott@netsplit.com>
255         * ltmain.in: Add -pthread and similar to $deplibs ($compile_deplibs
256         and $finalize_deplibs for programs) when found on the command line
257         or in a .la file's dependency_libs (but don't place them there) so
258         they are honoured when linking both programs and libraries.
260 2003-11-10  Scott James Remnant  <scott@netsplit.com>
262         * m4/libtool.m4  (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: Include
263         directories found in /etc/ld.so.conf in sys_lib_dlsearch_path_spec.
265 2003-11-09  Peter O'Gorman  <peter@pogma.com>
267         * ltmain.in (linkalldeplibs,darwin): Fix a bug reported by Idar
268         Tollefsen where a dir could be added to the link line with no '-L'
269         on darwin.
271 2003-11-07  Gary V. Vaughan  <gary@gnu.org>
273         * tests/cdemo/configure.ac, tests/demo/configure.ac,
274         tests/depdemo/configure.ac, tests/f77demo/configure.ac,
275         tests/mdemo/configure.ac, tests/mdemo2/configure.ac,
276         tests/pdemo/configure.ac, tests/tagdemo/configure.ac:
277         s/AM_PROG_LIBTOOL/AC_PROG_LIBTOOL/. Marching boldly into the 21th
278         century :-$
280         * m4/libtool.m4 (AC_LIBTOOL_TAGS, AC_ENABLE_SHARED,
281         AC_DISABLE_SHARED, AC_ENABLE_STATIC, AC_DISABLE_STATIC,
282         AC_ENABLE_FAST_INSTALL, AC_DISABLE_FAST_INSTALL, AM_PROG_LIBTOOL,
283         AM_ENABLE_SHARED, AM_ENABLE_STATIC, AM_DISABLE_SHARED,
284         AM_DISABLE_STATIC): These macros must be AC_DEFUNed after all,
285         otherwise aclocal can't find them when it tries to construct
286         `aclocal.m4'.
288         * Makefile.am (install-data-local): Wipe out old installation
289         pkgdatadir before installing new files.
290         * NEWS: Updated.
292         * libtoolize.in (func_scan_files): If libtoolize is run before
293         automake has created install-sh and configure.ac does not mention
294         AC_CONFIG_AUX_DIR, fall back to the current directory for auxdir.
296 2003-11-07  Robert Millan  <zeratul2@wanadoo.es>
298         * m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD) [GNU/KNetBSD]: Detect
299         inter-library dependencies.
301 2003-11-06  Gary V. Vaughan  <gary@gnu.org>
303         * m4/libtool.m4 (_LT_AC_FILE_LTDLL_C): Removed; no longer in use.
305         * m4/libtool.m4: s/ifelse(/m4_if(/g
306         (_LT_AC_SYS_LIBPATH_AIX, _LT_AC_SHELL_INIT,
307         _LT_AC_PROG_ECHO_BACKSLASH, AC_LIBTOOL_LINKER_OPTION,
308         AC_LIBTOOL_TAGS, _LT_AC_TAG_CHECK, _LT_AC_TAG_CONFIG,
309         AC_ENABLE_SHARED, AC_DISABLE_SHARED, AC_ENABLE_STATIC,
310         AC_DISABLE_STATIC, AC_ENABLE_FAST_INSTALL,
311         AC_DISABLE_FAST_INSTALL, _LT_AC_LANG_C_CONFIG,
312         _LT_AC_LANG_GCJ_CONFIG, _LT_AC_LANG_RC_CONFIG, AC_LIBTOOL_CONFIG,
313         _LT_AC_TAGVAR, AM_PROG_LIBTOOL, AM_ENABLE_SHARED,
314         AM_ENABLE_STATIC, AM_DISABLE_SHARED, AM_DISABLE_STATIC): Use
315         m4_define instead of AC_DEFUN for internal macros that do not
316         AC_PROVIDE or AC_REQUIRE, and documented user macros that cannot
317         be AC_REQUIREd because they need arguments, or because that would
318         violate the documented API.
320         * m4/libtool.m4 (AC_LIBTOOL_SETUP): Add a new
321         delay_single_quote_subst sed script to quote single quotes in
322         variables that are copied to `config.status'.
323         (_LT_CONFIG_STATUS_DECLARE): New macro to apply
324         delay_single_quote_subst to a named variable.
325         (AC_LIBTOOL_CONFIG): Use _LT_CONFIG_STATUS_DECLARE to declare all
326         `configure' variables that are copied to `config.status'.
327         (AC_LIBTOOL_PROG_COMPILER_PIC): Fix a quoting bug exposed by
328         _LT_CONFIG_STATUS_DECLARE using the null quadrigraph in the
329         rvalues of lt_prog_compiler_pic.
331 2003-11-06  Owen Taylor  <otaylor@redhat.com>
333         * m4/libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Recognise the
334         'R' symbol type so read-only symbols can be exported when combining
335         GCC and Solaris LD.
337 2003-11-06  James Henstridge  <james@daa.com.au>,
338         Scott James Remnant  <scott@netsplit.com>
340         * m4/libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [Linux]: Fix the
341         -export-symbols and -export-symbols-regex options.
343 2003-11-06  Scott James Remnant  <scott@netsplit.com>
345         * tests/demo-nopic.test: Skip test on hppa, which don't like
346         non-PIC shared libraries.
348 2003-11-06  Charles Wilson  <cwilson@ece.gatech.edu>
350         * tests/depdemo/configure.ac, tests/mdemo/configure.ac,
351         tests/mdemo2/configure.ac: process 'libtool --features'
352         from Makefile, not configure -- because libtool doesn't
353         exist at configure time.
355         * ltmain.in (find_executable, check_executable) [cygwin*, mingw*]:
356         binary wrapper used with uninstalled executables breaks when
357         invoked via execlp/execvp (that is, via $PATH).  Handle that case.
358         (fnqualify): Subsumed into find_executable.
360         * m4/libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [cygwin*, mingw*]:
361         when extracting symbols from an import lib (occurs if
362         --enable-shared --disable-static), the output of
363         $global_symbol_pipe is not the same as  when extracting from a
364         static library (the default case). Add extra filters to
365         $export_symbols_cmds to process this sort of output in addition to
366         'normal' static-lib output.
367         * NEWS: Updated.
369 2003-11-06  Charles Wilson  <cwilson@ece.gatech.edu>,
370         Gary V. Vaughan  <gary@gnu.org>
372         * libltdl/ltdl.c (LT_USE_POSIX_DIRENT): Factored out.
373         (LT_USE_WINDOWS_DIRENT_EMULATION): Move to after include "ltdl.h",
374         as they are affected by __WINDOWS__ definition.
375         (LT_READTEXT_MODE): Use textmode to read .la files.
376         (lt_dlinit): Use LoadLibrary loader as a fallback on cygwin.
378 2003-11-06  Gary V. Vaughan  <gary@gnu.org>
380         * libltdl/ltdl.h (__WINDOWS__): Define this if _WIN32 or WIN32 are
381         defined, unless __CYGWIN__ or __CYGWIN32__ are defined.
382         (LT_SCOPE): Now set without reference to __CYGWIN__ definition,
383         since __WINDOWS__ now implies !__CYGWIN__ after canonicalisation.
384         (LT_PARAMS, lt_ptr): Use canonicalised __WINDOWS__ to determine
385         which values to set these macros to.
387 2003-11-05  Gary V. Vaughan  <gary@gnu.org>
389         * README-alpha: Mention autotools-announce@gnu.org, and update release
390         note templates.
392 2003-11-01  Scott James Remnant  <scott@netsplit.com>
394         * ltmain.in: When relinking, place the -L parameter containing
395         the installation prefix directory after the intended destination,
396         so we don't accidentally link against an older installed library.
398 2003-11-01  Peter O'Gorman  <peter@pogma.com>
400         * tests/mdemo2/Makefile.am: Let mdemo2 find ltdl.h again.
402 2003-10-30  Peter O'Gorman  <peter@pogma.com>
404         * m4/libtool.m4 (Darwin): Fix stupidities for darwin tags support.
405         Makes it work again if AC_LIBTOOL_TAGS is specified in configure.ac.
406         Bug reported by Joe Orton and Christian Schaffner.
408 2003-10-21  Gary V. Vaughan  <gary@gnu.org>
410         Start to eliminate the double run of configure in a fresh CVS
411         checkout by generating ltmain.sh, using that to create libtool,
412         and then adding the tags to that, all from config.status.
414         * configure.ac (AC_CONFIG_FILES): Make config/ltmain.sh, and copy
415         it to libltdl.
416         * Makefile.am ($(srcdir)/config/ltmain.sh): This file is now
417         created by config.status.  Adjust this rule.
418         (libtoolize): Set CONFIG_COMMANDS to empty to prevent regenerating
419         the libtool script as a side effect of running this rule.
420         * libtool.m4: Bump serial number.  Fix comment typos.
421         (_LT_CONFIG_LIBTOOL_INIT, _LT_CONFIG_LIBTOOL,
422         _LT_CONFIG_SAVE_COMMANDS, _LT_CONFIG_COMMANDS: New macros.  They
423         don't work for some reason - the variable value quoting in the
424         init section is all wrong.  Not used at the moment.
425         (AC_LIBTOOL_CONFIG): Generate libtool from config.status.
426         (_LT_AC_TAG_CONFIG): Add the tags in config.status.
427         (compiler_DEFAULT): Save the compiler value for the DEFAULT tag,
428         or it gets overwritten by the other macros.
429         (EOF): Globally replace with _LT_EOF to avoid namespace pollution.
430         * tests/demo/configure.ac (STATIC): Check $enable_static instead
431         of running ./libtool which doesn't exist yet.
432         (BINARY_HELLDL): Check $lt_cv_sys_global_symbol_pipe with case
433         instead of grepping ./libtool which doesn't exist yet.
434         * tests/pdemo/configure.ac (STATIC, BINARY_HELLDL): Ditto.
435         * doc/libtool.texi (AC_PROG_LIBTOOL): Add some notes about trying
436         to get config details from `libtool --config'.
437         * NEWS: Updated.
439 2003-10-21  Gary V. Vaughan  <gary@gnu.org>
441         * ChangeLog, ChangeLog.0, ChangeLog.1: Refactored...
442         * ChangeLog, ChangeLog.2002, ChangeLog.2001, ChangeLog.2000,
443         ChangeLog.1999, ChangeLog.1998, ChangeLog.1997, ChangeLog.1996:
444         ...into entries by year for easier copyright confirmation.
446         * configure.ac, libltdl/configure.ac, tests/cdemo/configure.ac,
447         tests/demo/configure.ac, tests/depdemo/configure.ac,
448         tests/f77demo/configure.ac, tests/mdemo/configure.ac,
449         tests/mdemo2/configure.ac, tests/pdemo/configure.ac,
450         tests/tagdemo/configure.ac (AM_INIT_AUTOMAKE): Remove redundant
451         arguments.
452         * libltdl/configure.ac: Use quadrigraphs to escape macronames.
454         * bootstrap (reconfdirs): Same as yesterday, only with portable
455         bourne shell syntax.  :-/
457 2003-10-20  Gary V. Vaughan  <gary@gnu.org>
459         * bootstrap (reconfdirs): Overridable top dirs for bootstrap, for
460         those times when you don't want to wait for all of the test
461         directories to be rebootstrapped!
463 2003-10-19  Kevin P. Fleming  <kpfleming@backtobasicsmgmt.com>
464         Charles Wilson <cygwin@cwilson.fastmail.fm>
466         * ltmain.in: include --tag options, if specified, in the
467         relink_command in uninstalled .la files.  Also, preserve --silent,
468         --debug options when libtool re-execs itself.
469         * NEWS: Updated.
471 2003-10-19  Charles Wilson  <cygwin@cwilson.fastmail.fm>
473         * libtoolize.in: protect sed expression against
474         AC_CONFIG_AUX_DIR_DEFAULT.
476 2003-10-16  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
478         * m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): For MinGW, reverted DLL
479         check method back to a working objdump-based test.  This is not as
480         concrete a test as using the 'file' command, but it does not
481         require that the 'file' command be available.
483 2003-10-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
485         * doc/libtool.texi (AC_LIBTOOL_TAGS): Incorporate documentation
486         for AC_LIBTOOL_TAGS macro to specifify libtool tags. The now
487         defunct --with-tags option was never documented.
489 2003-10-15  Albert Chin-A-Young  <china@thewrittenword.com>
491         * m4/libtool.m4: Restrict the list of tags that can be created
492         with a new AC_LIBTOOL_TAGS([tag1 tag2 ...]) macro. Deprecate
493         --with-tags.
495 2003-10-15  Gary V. Vaughan  <gary@gnu.org>
497         * libtoolize.in: Typo when copying config.sub.
498         From Patrick Welche <prlw1@newn.cam.ac.uk>
500         * demo/Makefile.am (libhell0_a_SOURCES): Do not name sources
501         already built with libtool...
502         (libhell0_a_LIBADD): ...instead name the objects directly.  This
503         prevents a long standing warning from automake 1.7+.
504         * pdemo/Makefile.am (libhell0_a_SOURCES, libhell0_a_LIBADD):
505         Ditto.
507         * bootstrap: Make the fake files valid shell scripts with a
508         comment incase they get left around.
509         (LIBTOOLIZE): Use a dummy script to prevent the installed
510         `libtoolize' from trashing the distributed libtool.m4,
511         config.guess and config.sub.
513         * configure.ac (AC_CONFIG_TESTDIR, AC_CONFIG_TESTFILES): Comment
514         this out for now, the autotest testsuite rewrite is not ready
515         yet.
517         * tests/cdemo/Makefile.am, tests/demo/Makefile.am,
518         tests/depdemo/Makefile.am, tests/f77demo/Makefile.am,
519         tests/mdemo/Makefile.am, tests/mdemo2/Makefile.am,
520         tests/pdemo/Makefile.am, tests/tagdemo/Makefile.am (top_distdir):
521         Removed. `autoreconf' needs literals in ACLOCAL_AMFLAGS.
523 2003-10-14  Gary V. Vaughan  <gary@gnu.org>
525         * libtoolize.in (func_mkdir_p): Synch with tests/defs; if there
526         are no more directories in the stack, break out of the loop.
528         * tests/Makefile.am (COMMON_TESTS): Remove pdemo-unst.test, which
529         isn't a real test.
531 2003-10-14  Gary V. Vaughan  <gary@gnu.org>
533         Refactor all the test case common code into shell functions in
534         tests/defs, and move the various demo directories out of
535         $top_srcdir, and into tests too.  The refactoring showed up a
536         number of inconsistencies and latent bugs, as well as fixing (I
537         think!!) the long-standing annoyance with some of the tests giving
538         spurious failures intermittently.  While I was here, emacs kindly
539         removed a lot of bogus whitespace and added copyright notices for
540         us:
542         * cdemo, demo, depdemo, f77demo, mdemo, mdemo2, pdemo, tagdemo:
543         Moved from here...
544         * tests/cdemo, tests/demo, tests/depdemo, tests/f77demo,
545         tests/mdemo, tests/mdemo2, tests/pdemo, tests/tagdemo: ...to
546         here.
547         * tests/defs: Factor much common functionality from the test
548         scripts into shell functions.  Added a copyright notice.
549         * tests/assign.test, tests/cdemo-conf.test, tests/cdemo-exec.test,
550         tests/cdemo-make.test, tests/cdemo-shared.test,
551         tests/cdemo-static.test, tests/demo-conf.test,
552         tests/demo-deplibs.test, tests/demo-exec.test,
553         tests/demo-inst.test, tests/demo-make.test,
554         tests/demo-nofast.test, tests/demo-nopic.test,
555         tests/demo-pic.test, tests/demo-shared.test,
556         tests/demo-static.test, tests/demo-unst.test,
557         tests/depdemo-conf.test, tests/depdemo-exec.test,
558         tests/depdemo-inst.test, tests/depdemo-make.test,
559         tests/depdemo-nofast.test, tests/depdemo-shared.test,
560         tests/depdemo-static.test, tests/depdemo-unst.test,
561         tests/f77demo-conf.test, tests/f77demo-exec.test,
562         tests/f77demo-make.test, tests/f77demo-shared.test,
563         tests/f77demo-static.test, tests/link-2.test, tests/link.test,
564         tests/mdemo-conf.test, tests/mdemo-exec.test,
565         tests/mdemo-inst.test, tests/mdemo-make.test,
566         tests/mdemo-shared.test, tests/mdemo-static.test,
567         tests/mdemo-unst.test, tests/mdemo2-conf.test,
568         tests/mdemo2-exec.test, tests/mdemo2-make.test, tests/nomode.test,
569         tests/pdemo-conf.test, tests/pdemo-exec.test,
570         tests/pdemo-inst.test, tests/pdemo-make.test,
571         tests/pdemo-unst.test, tests/quote.test, tests/sh.test,
572         tests/suffix.test, tests/tagdemo-conf.test,
573         tests/tagdemo-exec.test, tests/tagdemo-make.test,
574         tests/tagdemo-shared.test, tests/tagdemo-static.test: Refactored
575         to use new functions in tests/defs.  Added a copyright notice.
576         * tests/hardcode.test, noinst-link.test,
577         tests/relink.test, tests/relink.test,
578         tests/mdryrun.test: Ditto.  Moved from here...
579         * tests/demo-hardcode.test, demo-noinst-link.test,
580         tests/demo-relink.test, tests/depdemo-relink.test,
581         tests/mdemo-dryrun.test: ...to here respectively.
582         * Makefile.am: Added a copyright notice.
583         * tests/sh.test: Check libtoolize.in for non-portabilities too.
584         * libtoolize.in: Fix non-portabilities found by tests/sh.test.
586 2003-10-12  Peter O'Gorman <peter@pogma.com>
588         * m4/libtool.m4: Speed up max_cmd_len check.
590 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
592         * libtoolize.in: AC_CONFIG_M4_DIR has landed in CVS autoconf.
593         Only it's called AC_CONFIG_MACRO_DIR.  Search and replace.
594         Grumble. ;-)
596 2003-10-08  Scott James Remnant  <scott@netsplit.com>
598         * libltdl/ltdl.c (lt_dlerror): change return value when
599         no error has occured to NULL to match documentation.
600         (Debian Bug #157229)
602 2003-10-07  Gary V. Vaughan  <gary@gnu.org>
604         * ltmain.in: Don't suppress output of PIC mode compile if
605         -no-suppress option is given.
606         * doc/libtool.texi (Invoking libtool): Document it.
607         * NEWS: Updated.
609 2003-10-07  Marcus Comstedt  <marcus@mc.pp.se>
611         * m4/libtool.m4 [amigaos-ppc, amigaos-m68k]: Differentiate between
612         amigaos on ppc and m68k.
613         * NEWS: Updated.
615 2003-10-07  Ralph Schleicher  <rs@nunatak.allgaeu.org>
617         * ltmain.in: Do not create `.o' objects when `-shared' is
618         specified in compile mode.
619         Do not make a static library when `-shared' is specified in link
620         mode.
621         * doc/libtool.texi (Compile mode): Document it.
622         * NEWS: Updated.
624         * doc/libtool.texi (Compile mode): Be more specific about the
625         effect of `-static'.
626         * ltmain.in: Do not create `.lo' objects when `-static' is
627         specified.
628         * NEWS: Updated.
630 2003-10-07  Gary V. Vaughan  <gary@gnu.org>
632         * doc/libtool.texi (Invoking libtool): Updated.
633         * ltmain.in: Add missing clean and finish modes to the shorthand
634         options.
636         * ltmain.in: Typo in the --mode shorthand.
638 2003-10-07  Scott James Remnant  <scott@netsplit.com>
640         * m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Remove dead code
641         for platforms that have been using pass_all for some time now.
643 2003-10-07  Gary V. Vaughan  <gary@gnu.org>
645         * libtoolize.in: Completely rewritten.
646         * Makefile.am (AUTOMAKE_OPTIONS): Reduced to 1.7.  The 1.8
647         requirement just made the distribution much smaller due to
648         m4_includes.  1.7 will bootstrap libtool just fine.
649         * NEWS: Updated.
651 2003-10-05  Peter O'Gorman <peter@pogma.com>,
652         Gary V. Vaughan  <gary@gnu.org>
654         * ltmain.in: Remove inferrence of mode, add shorthand for mode
655         choice.
657         * ltmain.in: Specifying -allow-undefined is now an error.
659 2003-09-29  Scott James Remnant  <scott@netsplit.com>
661         * m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for linux*
662         solving many build problems on ARM, and hopefully preventing any
663         future ones.
664         (Debian Bug #191133 and #190569)
666 2003-09-29  Bob Friesenhahn <bfriesen@simple.dallas.tx.us>,
667         Dalibor Topic <robilad@kaffe.org>
669         * libltdl/ltdl.c: Only include malloc.h if stdlib.h can not be
670         found.
672 2003-09-26  Alfred M. Szmidt  <ams@kemisten.nu>
674         * mdemo2/Makefile.am (INCLUDES): Include `$(top_srcdir)/../libltdl'
675         instead of `../libltdl'.
677 2003-09-24  Gary V. Vaughan  <gary@gnu.org>
679         * bootstrap: Rewritten to use autoreconf.
680         * config.guess, config.sub, mkstamp:  Moved from here...
681         * config/config.guess, config/config.sub, config/mkstamp: ...to
682         here, respectively.
683         * libtool.m4, ltdl.m4: Moved from here...
684         * m4/libtool.m4, m4/ltdl.m4: ...to here, respectively.
685         * configure.ac: Removed various acinclude.m4 hackery, as these
686         files are no longer needed with automake 1.8.
687         * Makefile.am: Removed various acinclude.m4 hackery, as these
688         files are no longer needed with automake 1.8.
689         (AUTOMAKE_OPTIONS): Require CVS automake.
690         (CONF_SUBDIRS, CFLAGS, CPPFLAGS, LDFLAGS, LIBS, FFLAGS, FLIBS):
691         Automake now makes a Make variable from every AC_SUBST, so these
692         are NOP.
693         (aclocal_macros): These files are now in their own m4 subdir.
694         Changed all clients.
695         (EXTRA_DIST): mkstamp has moved to the new config subdir.  Changed
696         all clients.
697         (pkgdata_SCRIPTS): Ditto wrt config.guess and config.sub.
698         (pkgdata_DATA): Ditto wrt ltmain.sh.
699         * f77demo/configure.ac, libltdl/configure.ac (AM_CONFIG_HEADER):
700         Is deprecated in favour of AC_CONFIG_HEADERS.  Updated to the
701         latter.
702         * Makefile.am, cdemo/Makefile.am, demo/Makefile.am,
703         depdemo/Makefile.am, f77demo/Makefile.am, mdemo/Makefile.am,
704         mdemo2/Makefile.am, pdemo/Makefile.am, tagdemo/Makefile.am
705         (EXTRA_DIST): Remove acinclude.m4.
706         (ACLOCAL_AMFLAGS): Search new `m4' macro directory.
707         * configure.ac, cdemo/configure.ac, demo/configure.ac,
708         depdemo/configure.ac, f77demo/configure.ac, mdemo/configure.ac,
709         mdemo2/configure.ac, pdemo/configure.ac, tagdemo/configure.ac
710         (AC_CONFIG_AUX_DIR): Declare that config helper scripts are now
711         kept in the new config subdir.
712         * libltdl/configure.ac (AC_CONFIG_AUX_DIR): Removed.  Defaults to
713         `.' anyway.
715 2003-09-21  Robert Millan  <robertmh@gnu.org>
717         * libtool.m4: Add GNU/KNetBSD support.
718         * ltdl.m4: Likewise.
720 2003-09-13  Scott James Remnant  <scott@netsplit.com>
722         * libtool.m4: allow STRIP to contain spaces and additional
723         arguments.  (Debian Bug #183055)
724         * ltmain.in: include newline in "sensible default" for IFS.
725         (Debian Bug #98492 and #95447)
727 2003-09-11  Peter O'Gorman  <peter@pogma.com>
729         * AUTHORS, THANKS: Added myself to AUTHORS, removed from THANKS.
731 2003-09-10  Peter O'Gorman  <peter@pogma.com>
733         * mdemo2/configure.ac: Use AC_LIBTOOL_DLOPEN.
734         * mdemo2/main.c: Use LTDL_SET_PRELOADED_SYMBOLS().
735         * mdemo2/Makefile.am: Set INCLUDES properly and add -dlopen force
736         to make sure the symbols file is included in the link line.
738         * ltmain.in: Accept -framework for darwin and put it in
739         dependency_libs. For non-installed .la's try to avoid having
740         ./.libs/.libs/libfoo.so on the link line.
742 2003-09-10  Arne Woerner  <woerner@mediabase-gmbh.de>
744         * libtool.m4 [openbsd]: openbsd 3.x needs versioning information.
746 2003-08-29  Gary V. Vaughan  <gary@gnu.org>
748         * bootstrap: Typo.
750 2003-08-29  Alexandre Duret-Lutz  <adl@gnu.org>
752         * libtool.m4 (_LT_AC_LANG_C_CONFIG): Fix unquoted call to
753         _LT_AC_LANG_C_CONFIG.
754         (AC_PROG_EGREP): Remove, now that Libtool requires Autoconf 2.56.
755         * bootstrap: Issue an upgrade warning.
757 2003-08-27  Gary V. Vaughan  <gary@gnu.org>
759         * libtool.m4 (_LT_AC_CHECK_DLFCN): Use the interrim new
760         AC_CHECK_HEADER with compiler rather than preprocessor.
761         (AC_LIBTOOL_SETUP): ...which was introduced in autoconf-2.56, so
762         we AC_PREREQ that version.
763         * ltdl.m4 (AC_WITH_LTDL, AC_LIB_LTDL, AC_LTDL_FUNC_ARGZ): Ditto.
765 2003-08-27  Gary V. Vaughan  <gary@gnu.org>
767         Work around a bug in AU_ALIAS in CVS Autoconf that inserts a
768         newline just before AC_FD_CC, by hand updating:
770         * ltdl.m4 (AC_LTDL_SYMBOL_USCORE): s/AC_FD_CC/AS_MESSAGE_LOG_FD/g.
772 2003-08-05  Jim Pick <jim@kaffe.org>,
773         Ito Kazumitsu <kaz@maczuka.gcd.org>,
774         Gary V. Vaughan  <gary@gnu.org>
776         Much as we have tried not to make it the callers' responsibility
777         to maintain an lt_dlrealloc function pointer, it is too difficult
778         to implement realloc as malloc/memcpy/free without knowing the
779         size of the original block.  rpl_realloc has been deprecated since
780         2002-10-30, but kaffe has real failures with that so it's time to
781         bite the bullet.  Caller gets to maintain lt_dlrealloc:
783         * NEWS (1.5.1): Updated.
784         * libltdl/ltdl.c (LT_DLREALLOC): Use lt_dlrealloc so the user can
785         update the function pointer to match lt_dlmalloc.
786         (lt_emalloc): Use lt_dlrealloc rather than hardcoding realloc.
787         * doc/libtool.texi (Libltdl interface): Describe lt_dlrealloc now
788         that it too has become part of the exported interface to libltdl.
790 2003-08-01  Peter O'Gorman  <peter@pogma.com>
792         * libtool.m4 (darwin): Use "-undefined dynamic_lookup" if the
793         user set MACOSX_DEPLOYMENT_TARGET to 10.3 or greater.
794         * libltdl/ltdl.c (dyld): Save the error from the first lookup
795         to report in lt_dlerror(). Otherwise the error is always
796         "Symbol _foo not in /usr/lib/libSystem.dylib".
797         Thanks to Chris Zubrzycki for reporting this.
799 2003-08-01  Robert Boehne  <rboehne@gnu.org>
801         * libltdl/ltdl.h: Tweak the header to support visual studio.
803 2003-07-31  Greg Eisenhauer  <eisen@cc.gatech.edu>
805         * ltmain.in: Provide absolute paths for dlopen and dlpreopen
806         files in generating uninstalled libtool libraries.
807         * mdemo2/main.c, mdemo2/Makefile.am, mdemo2/README,
808         mdemo2/configure.ac, mdemo2/.cvsignore, mdemo/mlib.c,
809         tests/mdemo2-conf.test, tests/mdemo2-exec.test,
810         tests/mdemo2-make.test: New files for testing above feature.
811         * configure.ac, bootstrap, tests/Makefile.am: Accomodate new
812         test directory.
813         * mdemo/Makefile.am: Build libmlib.la for mdemo2 tests.
815 2003-07-30  Tony Wyatt <wyattaw@optushome.com.au>
817         * libtool.m4: Remove parentheses around finish_eval part which
818         broke on amigaos pdksh.
820 2003-07-30  Christiaan Welvaart  <cjw@daneel.dyndns.org>
822         * tests/dryrun.test: Ignore any 'total' line from "ls -l" output.
824 2003-07-30  Albert Chin-A-Young  <china@thewrittenword.com>
826         * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Correctly remove IRIX C++
827         template files.
829 2003-07-24  Robert Millan  <robertmh@gnu.org>
831         * libtool.m4: More fixes for the new GNU/FreeBSD triplet.
833 2003-07-14  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
835         * config.guess, config.sub: Synchronized from ftp.gnu.org since
836         Robert Millan's patch requires it.
838 2003-07-14  Robert Millan  <zeratul2@wanadoo.es>
840         * libtool.m4: Fixed to use the new GNU/FreeBSD triplet.
841         * ltdl.m4: Fixed to use the new GNU/FreeBSD triplet.
842         * ltmain.in: Remove GNU/FreeBSD cases, which are no longer needed.
844 2003-07-14  Andreas Schwab  <schwab@suse.de>
846         * libtool.m4 (_LT_AC_LOCK): Also match powerpc64-*linux* in
847         addition to ppc64-*linux*.  From Markus Meissner
848         <meissner@bogus.example.com>.
850 2003-07-14  Dalibor Topic  <robilad@yahoo.com>
852         * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): For AmigaOS with pdksh,
853         set the maximum command line length to 8K since otherwise the test
854         takes over an hour to run.
856 2003-06-25  Alexandre Oliva  <aoliva@redhat.com>, Tim Waugh  <twaugh@redhat.com>
858         * libtool.m4: Replace mis-uses of path with pathname.
859         (AC_PROG_LD_GNU): Don't quote $LD when running it.
860         (_LT_AC_LANG_CXX_CONFIG): Use -nostdlib also when linking with g++
861         and non-GNU ld.
863 2003-06-11  Gary V. Vaughan  <gary@gnu.org>
865         * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION): Require LT_AC_PROG_SED to
866         ensure $SED is set by the time it is used.
868         * ChangeLog: Restore missing entries from 2003-04-22.
870         * NEWS: Sychronised from branch-1-5.
872 2003-06-03  Benjamin Reed  <ranger@befunk.com>
874         * ltmain.in: search libraries in the order of preference, rather
875         than picking .la's even if they're in a less preferred directory.
877 2003-06-03  Robert Millan <rmh@debian.org>
879         * ltdl.m4: Add support for GNU/FreeBSD.
880         * ltmain.in: Add support for GNU/FreeBSD.
882 2003-06-03  Albert Chin-A-Young  <china@thewrittenword.com>
884         * libtool.m4: No need to use sed to remove leading comma when
885         appending to $tagnames.
887 2003-06-03  Albert Chin-A-Young  <china@thewrittenword.com>
889         * tests/defs, tests/demo-conf.test, tests/demo-nofast.test,
890         tests/demo-nopic.test, tests/demo-pic.test,
891         tests/demo-shared.test, tests/demo-static.test,
892         tests/depdemo-conf.test, tests/depdemo-nofast.test,
893         tests/depdemo-shared.test, tests/depdemo-static.test:
894         Pass build system type to tests to support environment
895         where default system type not equal to build system type
896         (eg. 64-bit HP-UX).
898 2003-06-03  Peter O'Gorman  <peter@pogma.com>
900         * libtool.m4 (darwin): Remove checks for Apple-specific gcc.
901         * libltdl/ltdl.c (HAVE_MACH_O_DYLD_H): #define
902         __private_extern__ for fsf gcc.
903         * ltmain.in (darwin): Only add new paths to newlib_search_path.
905 2003-06-03  Max Bowsher  <maxb@ukf.net>
907         * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Reorder cygwin's
908         system library search path.
910 2003-06-01  Robert Boehne  <rboehne@gnu.org>
912         * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Match all qnx-nto
913         as recent config.guess returns a slightly different string.
914         * ltmain.in: Replace use of "od" with tr.
916 2003-05-30  Gary V. Vaughan  <gary@gnu.org>
918         * libltdl/ltdl.c (argz_insert): Corrected an off by one error when
919         checking that before is not out of range.
921 2003-05-29  Gary V. Vaughan  <gary@gnu.org>
923         * libltdl/ltdl.c (lt_int_dyld_lib_install_name): Removed unused
924         variable mh1.
925         (sys_dyld_close): Removed unused variable size.
927 2003-05-21  Bruno Haible  <bruno@clisp.org>
929         * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Add support for
930         GNU/FreeBSD.
932 2003-04-22  Alexandre Oliva  <aoliva@redhat.com>
934         * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on all
935         mips*-linux* variants.
937 2003-04-22  Samuel Meder  <meder@mcs.anl.gov>
939         * libtool.m4 Switch on $CC and add paterns to cases.
941 2003-04-22  Peter O'Gorman  <peter@pogma.com>
943         * libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check
944         to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, becuase the
945         value of shlibpath_overrides_runpath is used in the HARDCODE
946         test and is set in the DYNAMIC_LINKER test.
947         * ltmain.in [darwin]: We never need to relink on darwin.
949 2003-04-22  Samuel Meder  <meder@mcs.anl.gov>
951         * libtool.m4: Switch on $CC and add patterns to cases.
953 2003-04-21  Richard Dawe  <rich@phekda.freeserve.co.uk>
955         * doc/libtool.texi: Use @ifnottex instead of @ifinfo,
956         to allow production of HTML documentation using makeinfo.
958 2003-04-14  Robert Boehne  <rboehne@gnu.org>
960         * NEWS: Updated.
961         * configure.ac: Bumped version to 1.5a.
963         GNU libtool 1.5 was released.
965         * configure.ac: Bumped version to 1.5.
966         * NEWS: updated.
967         * README-alpha: Updated upload instructions.
968         * README: Changed typo in version description.
969         * config.guess, config.sub, texinfo.tex:  Synchronized from
970         ftp.gnu.org.
973 2003-04-10  Alexandre Oliva  <aoliva@redhat.com>
975         * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on all
976         mips*-linux* variants.
978 2003-04-09  Samuel Meder  <meder@mcs.anl.gov>
980         * libtool.m4 Switch on $CC and add paterns to cases.
982 2003-04-09  Peter O'Gorman  <peter@pogma.com>
984         * libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check
985         to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, becuase the
986         value of shlibpath_overrides_runpath is used in the HARDCODE
987         test and is set in the DYNAMIC_LINKER test.
988         * ltmain.in(darwin): We never need to relink on darwin.
990 2003-04-09  Samuel Meder  <meder@mcs.anl.gov>
992         * libtool.m4 Switch on `basename $CC` not $CC
994 2003-04-05  Peter O'Gorman  <peter@pogma.com>
996         * libtool.m4: if ZSH_VERSION is set then setopt NO_GLOB_SUBST so
997         libtool works. Remove zsh echo test code, don't bother checking
998         for zsh anymore in the darwin archive_expsym_cmds.
1000 2003-04-05  Allan Sandfeld Jensen  <snowwolf@one2one-networks.com>
1002         * libtool.m4: Switch on $CC not $cc_basename.
1004 2003-04-02  Robert Boehne  <rboehne@gnu.org>
1006         * tests/defs: Quote $DJGPP to prevent problems with some shells.
1007         Pointed out by Albert Chin <libtool@thewrittenword.com>
1009 2003-04-01  Peter O'Gorman  <peter@pogma.com>
1011         * libtool.m4: Fix the echo test which I broke earlier.
1012         * ltmain.in: Make DESTDIR work on darwin, don't use otool.
1014 2003-03-31  Keith Packard  <keithp@keithp.com>
1016         * ltmain.in: New flag -version-number to be used for maintaining
1017         compatability with a previously non-Libtool versioning scheme.
1018         * doc/libtool.texi: Document it.
1020 2003-03-31  Naofumi Yasufuku  <naofumi@yasufuku.net>
1022         * ltmain.in (win32_libid): Fixed sed expression error in
1023         win32_nmres evaluation.
1025 2003-03-31  Albert Chin  <libtool@thewrittenword.com>
1027         * ltmain.in: Don't pass -R flags found in a .la's dependency_libs
1028         variable directly down to the linker.
1029         Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>.
1031 2003-03-28  Richard Dawe  <rich@phekda.freeserve.co.uk>
1033         * Makefile.am: Define CONF_SUBDIRS.
1034         * tests/defs: Set CONFIG_SITE to /nonexistent, except on DJGPP,
1035         which requires its config.site, to work correctly.
1036         * tests/cdemo-conf.test, tests/cdemo-shared.test,
1037         tests/cdemo-static.test, tests/demo-conf.test,
1038         tests/demo-nofast.test, tests/demo-nopic.test,
1039         tests/demo-pic.test, tests/demo-shared.test,
1040         tests/demo-static.test, tests/depdemo-conf.test,
1041         tests/depdemo-nofast.test, tests/depdemo-shared.test,
1042         tests/depdemo-static.test, tests/f77demo-conf.test,
1043         tests/f77demo-shared.test, tests/f77demo-static.test,
1044         tests/mdemo-conf.test, tests/mdemo-shared.test,
1045         tests/mdemo-static.test, tests/pdemo-conf.test,
1046         tests/tagdemo-conf.test, tests/tagdemo-shared.test,
1047         tests/tagdemo-static.test: Don't set CONFIG_SITE, now that
1048         tests/defs sets it.
1049         * tests/cdemo-exec.test, tests/demo-exec.test,
1050         tests/demo-inst.test, tests/depdemo-exec.test,
1051         tests/depdemo-inst.test, tests/f77demo-exec.test,
1052         tests/mdemo-exec.test, tests/mdemo-inst.test,
1053         tests/pdemo-exec.test, tests/pdemo-inst.test,
1054         tests/tagdemo-exec.test: When checking for the existence
1055         of executables, use the executable file extension from $EXEEXT.
1057 2003-03-28  Peter O'Gorman  <peter@pogma.com>
1059         * libltdl/ltdl.c (dyld): Remove some debug printf's, fix a bug.
1060         * ltmain.in (darwin): Only link against shared libraries when doing
1061         link_all_deplibs.
1063 2003-03-25  Robert Boehne  <rboehne@gnu.org>
1065         * bootstrap: Add f77demo to the directories that AUTOHEADER
1066         is run in.
1068 2003-03-21  Wesley W. Terpstra <terpstra@ito.tu-darmstadt.de>
1070         * ltmain.in: Don't accumulate directory information in clean mode.
1071         Include properly pathed wrapper script.
1073 2003-03-21  Peter O'Gorman  <peter@pogma.com>
1075         * README: Remove "Important" information about patching automake.
1076         * configure.ac: Fix misapplied patch in last commit
1077         * libtool.m4 (darwin): Check compiler is apple gcc, add -single_module
1078         support so that dyloading c++ shared libraries will work.
1079         * libtool.m4 (_LT_AC_TAGCONFIG): Add test -n to the tests so that
1080         it will work outside of libtool.
1081         * doc/PLATFORMS: Add darwin
1082         * f77demo/configure.ac: Add config.h which was misapplied previously.
1084 2003-03-20  Peter O'Gorman  <peter@pogma.com>
1086         * ltmain.in: Always use $echo not echo for consistency.
1087         Changes for darwin building. Warn if linking against libs linked
1088         with -module. Use module_cmds if available and building a module,
1089         move convenience double lib check,
1090         * libltdl/ltdl.c: ltdl support for darwin (first blush)
1091         * libltdl/README: note that darwin is supported
1092         * ltdl.m4: Changes for darwin, and for new shrext
1093         * libtool.m4: Changed the way darwin builds stuff (make check passes)
1094         added module_cmds, module_expsym_cmds and hardcode_automatic and put
1095         them in the libtool script. check for zsh's removal of escapes. Allow
1096         libraries to be stripped on darwin.
1097         * TODO: Remove the todo about zsh's removal of excapes. note that zsh
1098         echo works perfectly well, eval is screwed up. Seems to be fixed in
1099         latest zsh.
1100         * THANKS: added self :)
1101         * f77demo/configure.ac: Use config.h or it doesn't work.
1103 2003-03-19  Robert Boehne  <rboehne@gnu.org>
1105         * libtool.m4 (_LT_AC_TAGCONFIG): Add test around the macro that
1106         adds tags to the libtool script so that they won't run when not
1107         needed.
1108         * configure.ac: Set F77 to no when no Fortran compiler is found.
1110 2003-03-16  Charles Wilson  <cwilson@ece.gatech.edu>
1112         * ltmain.in (win32_libid): use $SED, not head.
1114 2003-03-02  Alexandre Oliva  <aoliva@redhat.com>
1116         * libtool.m4 (AC_PROG_LD): Use $CC instead of GCC.
1117         (_LT_AC_LANG_CXX_CONFIG): Preserve variables used by AC_PROG_LD,
1118         and reset them for a C++ environment.  Use the with_gnu_ld setting
1119         from AC_PROG_LD.
1121 2003-02-28  Ralph Schleicher  <rs@nunatak.allgaeu.org>
1123         * ltmain.in: Only append a dot to the wrapper script when
1124         building on cygwin/MSYS (check for $build, not $host).
1126 2003-02-27  Samuel Meder  <meder@mcs.anl.gov>
1128         * libtool.m4 (ia64): Add support for Intel compiler (ecc) on IA64
1129         Linux.
1131 2003-02-27  Benjamin Reed <ranger@befunk.com>
1133         * THANKS: Added people who have submitted 3 or more patches
1134         to libtool to the THANKS file.
1135         * README: Added notes about the Darwin (MacOSX) support.
1137 2003-02-25  Bob McElrath  <bob+libtool@mcelrath.org>
1139         * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): Add support for
1140         the Compaq C compiler for Alpha Linux.
1142 2003-02-25  Benjamin Reed  <ranger@befunk.com>
1144         * libtool.m4 (darwin): Disable hardcoding library paths to
1145         make relinking unnecessary.
1147 2003-02-24  Robert Boehne  <rboehne@gnu.org>
1149         * libltdl/configure.ac: Use AC_CONFIG_AUX_DIR([.]) to place
1150         auxilary files in the libltdl directory.
1151         * Makefile.am: Add to the ltmain.sh rule to copy it into the
1152         libltdl subdirectory.
1153         * bootstrap: Explicitly handle ltmain.sh in libltdl, and pass
1154         --copy to automake.
1156 2003-02-24  Ralph Schleicher  <rs@nunatak.allgaeu.org>
1158         * libtool.m4 (AC_LIBTOOL_SETUP): Check for ar.
1160 2003-02-23  Peter O'Gorman  <peter@pogma.com>
1162         * libtool.m4 (darwin): Revamp darwin platform support.
1163         * ltdl.m4 (darwin): Support dlcompat if found.
1164         * ltmain.in: Make sure ranlib is run if needed when piecewise
1165         linking.
1167 2003-02-23  Alexandre Duret-Lutz  <adl@gnu.org>
1169         * ltmain.in (--help): Show mailing-address for bug reports.
1170         (--version): Mention only the most recent copyright year.
1171         * libtoolize.in (--help): Show mailing-address for bug reports.
1172         (--version): Mention only the most recent copyright year.
1174 2003-02-19  Alexandre Oliva  <aoliva@redhat.com>
1176         * libtool.m4 (AC_PROG_LD): Use $CC instead of GCC.
1177         (_LT_AC_LANG_CXX_CONFIG): Preserve variables used by AC_PROG_LD,
1178         and reset them for a C++ environment.  Use the with_gnu_ld setting
1179         from AC_PROG_LD.
1181         * libtool.m4: Replace $linker_flags with $compiler_flags wherever
1182         it is used as argument to $CC.
1184         * libtool.m4: Use linux version_type on IRIX with GNU ld.
1185         Prefix -soname, -set_version and their arguments with ${wl}.  Add
1186         -melf* linker scripts to LD, and use them to determine libsuff,
1187         shlibsuff and libmagic.
1189 2003-02-17  Allan Sandfeld Jensen  <snowwolf@one2one-networks.com>
1191         * libtool.m4: Intel icc fixups for version 7.0.
1193 2003-02-17  Ralph Schleicher  <rs@nunatak.allgaeu.org>
1195         * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Prepend a dot to
1196         the value of the shrext (aka shared_ext) variable and delete it
1197         from the library_names_spec and soname_spec definitions.  That
1198         way the user can omit the shared library suffix by setting it
1199         to the empty string.
1200         (AC_LIBTOOL_LANG_CXX_CONFIG): Strengthen renaming commands for
1201         the KCC compiler.
1202         * doc/libtool.texi (Link mode): Update the manual.
1204 2003-02-17  Charles Wilson  <cwilson@ece.gatech.edu>
1206         * ltmain.in (win32_libid): Rewritten to improve speed.
1208 2003-02-11  Richard Dawe  <rich@phekda.freeserve.co.uk>
1210         * libtoolize.in: Use the program found by AC_PROG_LN_S
1211         to create symlinks.
1213 2003-02-08  Jan Kratochvil  <project-libtool@jankratochvil.net>
1215         * ltmain.in: Handle duplicate object file names when performing
1216         piecewise archive linking by renaming object files when needed.
1218 2003-02-05  Robert Boehne  <rboehne@gnu.org>
1220         * libtool.m4 (AC_CHECK_LIBM): Search for a real symbol in
1221         the math library rather than 'main', it causes problems for
1222         C++ compilers with certain Auto* tools.
1223         (AC_LIBLTDL_INSTALLABLE): ditto.
1225 2003-02-05  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
1227         * libtool.m4 (_LT_AC_LANG_CXX_CONFIG)
1228         (AC_LIBTOOL_PROG_LD_SHLIBS): Rewrite printf commands so
1229         that the format string cannot be mistaken as an option.
1230         Reported by Martin MOKREJS.
1232 2003-02-05  Robert Boehne  <rboehne@gnu.org>
1234         * libtool.m4: Modify the sys_lib_search_path_spec to allow
1235         for either native sed or GNU sed to be used.
1237 2003-02-04  Nick Hudson  <skrll@netbsd.org>
1239         * libtool.m4: don't use -nodefaultlibs in archive_commands
1240         or archive_expsym_commands on NetBSD.
1242 2003-02-04  Albert Chin-A-Young  <china@thewrittenword.com>
1244         * libtool.m4: Change setting of archive_cmds_need_lc
1245         so that it doesn't overwrite the previous setting.
1247 2003-01-28  Albert Chin-A-Young  <china@thewrittenword.com>
1249         * libtool.m4: Allow compiler variable, CC, CXX, etc. to
1250         be a program name with arguments. Original version stripped
1251         arguments for CC.
1253 2003-01-28  Charles Wilson  <cwilson@ece.gatech.edu>
1255         * ltmain.in: add code for a binary wrapper
1256         to use with uninstalled executables on cygwin/mingw.
1257         Make sure that --mode=clean gets shell wrapper and
1258         binary wrapper.  When sourcing the shell wrapper,
1259         invoke using a terminal `.' on cygwin/mingw to
1260         avoid the automatic append-.exe behavior.
1262 2003-01-28  Albert Chin-A-Young  <china@thewrittenword.com>
1264         * libtool.m4: Hardcode library paths into libraries on IRIX.
1266 2003-01-18  Robert Boehne  <rboehne@gnu.org>
1268         * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): Don't add -DPIC
1269         for languages other than C and C++.
1271 2003-01-13  Albert Chin-A-Young  <china@thewrittenword.com>
1273         * libtool.m4, ltmain.in: Add support for hppa*64* based on
1274         a patch by Ross Alexander <ross.alexander@uk.neceur.com>.
1275         Credit to Ross! Use +b to hardcode library runtime path.
1276         Add new variable, $hardcode_libdir_flag_spec_ld, that
1277         is equivalent to $hardcode_libdir_flag_spec but is used
1278         when ld is used for linking. This works around having to
1279         set wl=''.
1281 2003-01-12  Robert Boehne  <rboehne@gnu.org>
1283         * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Revert an
1284         accidental rearranging of dylib and so for darwin.
1286 2003-01-10  Robert Boehne  <rboehne@gnu.org>
1288         * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Modify the
1289         "-shrext" option so that is works properly under Darwin.
1290         Modify the processing of 'gcc -print-search-dirs' under
1291         Darwin to make it behave like GNU gcc does.
1292         (AC_LIBTOOL_CONFIG): Single quote $shrext.
1293         * ltimain.in: Expand shared_ext just before it is used
1294         so that it can be conditional on the value of $module.
1296 Continued in ChangeLog.2002