Imported Upstream version 2.4.2
[platform/upstream/libtool.git] / ChangeLog.2006
1 2006-12-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2
3         * tests/link-order2.at: Define our override `sin' function with
4         C binding even if $CC is a C++ compiler.  Skip the test with g++
5         as its command line driver reorders `-lm'.
6         * tests/search-path.at: Declare `inflate' with C binding.
7         * tests/stresstest.at: Avoid unused variable warnings.
8
9 2006-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10
11         * tests/link-order2.at: Simplify logic to be a bit more self
12         documenting.  Suggested by Gary V. Vaughan.
13
14 2006-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
15
16         * tests/link-order2.at: Add missing $bindir setting.  Prevent
17         compiler optimization of sqrt call.  Fix logic inversion and
18         add some comments about this stunt.  Add a test with reversed
19         library link order that should fail if the system has a libm.
20         Report by Patrick Welche.
21
22 2006-10-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
23
24         Assume presence of a config header in all files, to provoke
25         test failures on all systems.
26         * libltdl/lt__alloc.c: Likewise.
27         * libltdl/libltdl/lt__dirent.h: Likewise.
28         * libltdl/libltdl/lt__glibc.h: Likewise.
29         * libltdl/libltdl/lt__private.h: Likewise.
30         * libltdl/libltdl/lt__strl.h: Likewise.
31         * tests/recursive.at: Use AC_CONFIG_HEADERS.
32         * tests/nonrecursive.at: Likewise.  Invoke autoheader.
33         * HACKING: Adjust.
34         Report by Patrick Welche.
35
36 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>,
37             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
38
39         * doc/libtool.texi (Distributing libltdl): In recursive and
40         nonrecursive mode, a config header is now required.
41         * libltdl/argz.c: Remove check for HAVE_CONFIG_H, to conform
42         to gnulib's policy of including config.h unconditionally.
43
44 2006-10-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
45
46         * tests/link-order2.at: New test to show one case where ordering
47         of depdepls on the command line matters.
48         * Makefile.am: Adjust.
49
50         * tests/tagtrace.test: SKIP if `autoconf --trace' exits 63 or 1,
51         for various possible (valid) error cases.  Also output stderr,
52         to help with analysis.
53
54         * NEWS: Account for recent multilib fix.
55         * tests/search-path.at: New test, to provide at least a weak
56         test.
57         * Makefile.am: Update.
58
59         * libtoolize.m4sh (func_fixup_Makefile): Fix missing
60         substitution for nonrecursive mode.  Remove otherwise-empty
61         continuation lines in the output file.
62         Report by Bob Friesenhahn.
63
64 2006-10-22  Peter O'Gorman  <peter@pogma.com>
65
66         * libltdl/config/ltmain.m4sh: Add -F* to flags that are passed
67         to the linker.
68         Reported by SIGOURE Benoit <sigoure.benoit@lrde.epita.fr>
69
70 2006-10-19  Peter O'Gorman  <peter@pogma.com>
71
72         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Improve
73         multilib support.
74         Reported by Kate Minola <kate01123@gmail.com> and others.
75
76 2006-10-13  Eric Blake  <ebb9@byu.net>
77
78         * libltdl/ltdl.c (load_deplibs): Avoid memory leak on failure.
79         (unload_deplibs): Avoid memory leak on cleanup.
80
81 2006-09-20  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
82
83         * libltdl/m4/libtool.m4 (func_mode_compile): Accept files with
84         extension `.f9?'.
85         * tests/suffix.test: Test `f95'.
86
87         * libltdl/config/ltmain.m4sh (func_mode_uninstall): Use
88         `func_source' consistently.
89
90 2006-09-18  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
91
92         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
93         [k*bsd*-gnu ]: Fix brown paper bag: save and restore `libdir'.
94
95 2006-09-17  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
96
97         * tests/duplicate_deps.at: New file.  Test circular depending
98         convenience archives (currently failing).
99         * Makefile.am: Update.
100         Report by Stefan Traby <stefan@hello-penguin.com>.
101
102         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
103         [ openbsd ]: Set `hardcode_direct_absolute', to prefer rpath
104         over putting absolute file names in NEEDED entries.
105         * NEWS: Update.
106         Reported by Jake Meuser and others.
107
108         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
109         [ k*bsd*-gnu ]: Test if ld sets DT_RUNPATH; in that case, set
110         shlib_overrides_runpath to `yes'.  Fixes test failure of new
111         test on Gentoo GNU/Linux.
112
113         * tests/shlibpath.at: New file, with...
114         (shlibpath_overrides_runpath): ...new test.
115         * Makefile.am: Update.
116
117 2006-09-12  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
118
119         * tests/destdir.at: New file.
120         * Makefile.am: Adjust.
121
122 2006-09-11  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
123
124         * tests/inherited_flags.at: Drop `${parameter}' for `$parameter'
125         where appropriate, for improved `testsuite -x' output.
126
127 2006-09-04  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
128
129         * libltdl/ltdl.c: Move LT__UNUSED before parameter name, for g++
130         3.2.3 (on MinGW).
131         * libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
132         libltdl/loaders/load_add_on.c, libltdl/loaders/loadlibrary.c,
133         libltdl/loaders/preopen.c, libltdl/loaders/shl_load.c: Likewise.
134
135 2006-09-04  George Bosilca <bosilca@cs.utk.edu>
136         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
137
138         Make libltdl work when compiled with a C++ compiler.
139
140         * libltdl/lt__alloc.c, libltdl/lt_dlloader.c, libltdl/ltdl.c,
141         libltdl/slist.c, libltdl/libltdl/lt__alloc.h,
142         libltdl/libltdl/lt_error.h, libltdl/libltdl/slist.h,
143         libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
144         libltdl/loaders/dyld.c, libltdl/loaders/load_add_on.c,
145         libltdl/loaders/loadlibrary.c, libltdl/loaders/preopen.c,
146         libltdl/loaders/shl_load.c, tests/stresstest.at,
147         tests/testsuite.at, tests/f77demo/foo.h, tests/fcdemo/foo.h,
148         tests/mdemo/foo.h, tests/mdemo/foo1.c, tests/mdemo/foo2.c,
149         tests/mdemo/main.c: Allow sources to be compiled by a C++
150         compiler: Cast appropriately, add C linkage for `get_vtable'
151         functions, do not use C++ keyword `delete'.
152
153         * libltdl/config/ltmain.m4sh (func_mode_link): In the dlsym
154         file, define a type for the symbol list, and declare the list
155         `extern', so that it is extern even if compiled by a C++
156         compiler.  The type definition helps avoid a compiler warning
157         against anonymous extern struct.
158         * libltdl/libltdl/lt_system.h: Add `extern' to `LT_SCOPE' for
159         the same reason.
160
161         * libltdl/argz_.h: It's __cplusplus, not _cplusplus.
162         * libltdl/libltdl/slist.h: Likewise.
163
164         * libltdl/libltdl/lt__glibc.h: Wrap included argz.h in
165         `extern "C"', for broken headers on Cygwin.
166
167 2006-09-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
168
169         * tests/testsuite.at: Test `unset' on a set variable; older
170         bash versions return 1 if the variable was not set.
171
172         * tests/am-subdir.at, tests/early-libtool.at: Fix the LF vs.
173         CRLF related failures on MinGW by grepping for good output
174         instead of using AT_CHECK's `expout'.
175
176 2006-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
177
178         Drop K&R support from testsuite in favor of C89.
179
180         * tests/duplicate_members.at: provide declarations of used
181         functions.
182         * tests/testsuite.at: Drop unneeded arguments.
183         * tests/cdemo/main.c: Assume C89.
184         * tests/demo/dlmain.c: Likewise.
185         * tests/demo/main.c: Likewise.
186         * tests/depdemo/main.c: Likewise.
187         * tests/depdemo/l1/l1.c: Likewise.
188         * tests/depdemo/l2/l2.c: Likewise.
189         * tests/depdemo/l3/l3.c: Likewise.
190         * tests/depdemo/l4/l4.c: Likewise.
191         * tests/f77demo/cprogram.c: Likewise.
192         * tests/fcdemo/cprogram.c: Likewise.
193         * tests/mdemo/mlib.c: Likewise.
194         * tests/mdemo2/main.c: Likewise.
195         * tests/pdemo/longer_file_name_dlmain.c: Likewise.
196         * tests/pdemo/longer_file_name_main.c: Likewise.
197         * tests/fcdemo/fooc.c: Reformat.
198         * tests/mdemo/sub.c: Likewise.
199
200 2006-08-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
201
202         * tests/mdemo/main.c: Fix bogus line in last patch.
203
204 2006-08-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
205
206         Avoid mixing functions and data pointers in callback functions.
207
208         * libltdl/ltdl.c (file_worker_func): New type.
209         (lt_dlforeachfile): Instead of passing a function pointer as a
210         data pointer, pass a pointer to a file_worker_func pointer.
211         (foreach_callback_func): Adjust.
212         * tests/mdemo/main.c: Assume C89. Exercise lt_dlforeachfile.
213         (callback, try_iterate, my_dirname): New functions.
214         * tests/mdemo-exec.test: Check for its output.
215
216 2006-08-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
217
218         * libltdl/libltdl/lt__private.h (__attribute__, LT__UNUSED):
219         New macros.
220         * libltdl/loaders/dld_link.c: Use LT__UNUSED where
221         appropriate.
222         * libltdl/loaders/dlopen.c, libltdl/loaders/load_add_on.c,
223         libltdl/loaders/loadlibrary.c, libltdl/loaders/preopen.c,
224         libltdl/loaders/shl_load.c: Likewise.
225         * libltdl/ltdl.c: Likewise.
226         (find_file_callback): Fix declaration names to match definition.
227         (load_deplibs) [!LTDL_DLOPEN_DEPLIBS]: Use separate definition
228         for less preprocessor clutter.
229
230         * Makefile.am (check-local, installcheck-local): Use
231         `TESTSUITEFLAGS' rather than `TESTSUITE_FLAGS', like Autoconf.
232         * HACKING, README, README.alpha: All uses changed.
233
234 2006-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
235
236         * libltdl/argz.c: Use `#ifdef HAVE_CONFIG_H', to facilitate code
237         sharing with gnulib.  Report by Eric Blake.
238         * libltdl/lt__alloc.c, libltdl/libltdl/lt__dirent.h,
239         libltdl/libltdl/lt__glibc.h, libltdl/libltdl/lt__private.h,
240         libltdl/libltdl/lt__strl.h: Likewise.
241         * HACKING: Update.
242
243 2006-08-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
244
245         * libltdl/config/ltmain.m4sh (func_mode_link): Pass through
246         `--coverage' and `-pg', for GCC.  Report by Rainer Keller
247         <keller@hlrs.de> and Tor Lillqvist <tml@iki.fi>.
248
249 2006-08-25  Kurt Roeckx <kurt@roeckx.be>,
250             Aurelien Jarno <aurel32@debian.org>
251
252         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
253         (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
254         (_LT_LANG_CXX_CONFIG) [k*bsd*-gnu]: kfreebsd*-gnu and
255         knetbsd*-gnu behave like linux-gnu.
256         * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
257         * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK)
258         [x86_64-*kfreebsd*-gnu]: Add 32/64 bit bi-arch support.
259         * NEWS: Update.
260
261 2006-08-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
262
263         * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD) [ mingw,pw32 ]:
264         If `file' is present, use `func_win32_libid' rather than
265         `objdump -f', to facilitate cross-compilation.
266         Reported by Pierre Ossman <ossman@cendio.se>.
267
268 2006-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
269
270         * libltdl/config/ltmain.m4sh (func_mode_link): In GNU ld script,
271         do not quote object file names, for Intel icc 9.0 IPO link.
272
273 2006-08-22  Eric Blake  <ebb9@byu.net>
274
275         * libltdl/m4/ltdl.m4 (LTDL_INIT): Avoid macros marked obsolete in
276         latest autoconf.
277         * libltdl/m4/libtool.m4 (_lt_cv_sys_global_symbol_pipe): Work in
278         spite of -Wmissing-prototypes.
279         * libltdl/libltdl/lt__dirent.h: Rewrite to accomodate loss of
280         AC_HEADER_DIRENT.
281
282         * libltdl/m4/libtool.m4: Avoid space-tab.
283
284 2006-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
285
286         * libltdl/config/ltmain.m4sh (func_mode_execute): Also search
287         the directory above `$objdir' for the argument of "-dlopen", as
288         mentioned in the error message.
289
290 2006-08-03  Ralf Menzel  <menzel@ls6.cs.uni-dortmund.de>
291
292         * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Fix issues
293         with previous patch. for ... do' line is superflous. Need
294         _LT_TAGVAR not _LT_AC_TAGVAR, should be for both linux and
295         solaris with Sun compiler.
296
297 2006-08-01  Albert Chin <china@thewrittenword.com>
298
299         * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS) [ solaris ]:
300         Don't set $postdeps to "-lCstd -lCrun" if
301         "-library=stlport4" set in CXXFLAGS as stlport4 C++
302         library incompatible with Cstd C++ library. Use
303         '-library=Cstd -library=Crun' instead of '-lCstd -lCrun'.
304
305 2006-07-28  Eric Blake  <ebb9@byu.net>
306
307         * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD, LT_OUTPUT):
308         s/recognise/recognize/.
309
310 2006-07-22  Eric Blake  <ebb9@byu.net>
311
312         * libltdl/ltdl.c (loader_init_callback) [HAVE_LIBDLLOADER]:
313         Protect definition to avoid compiler warnings about unused
314         function.
315
316 2006-07-21  Eric Blake  <ebb9@byu.net>
317
318         * libltdl/m4/ltdl.m4 (LT_LIB_DLLOAD): Search for dlopen without
319         depending on -ldl, required by cygwin 1.5.20.
320
321 2006-06-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
322
323         * libltdl/m4/libtool.m4 (_LT_COMPILER_BOILERPLATE)
324         ( _LT_LINKER_BOILERPLATE): Rewrite to not use unchecked
325         `printf', for old systems like SunOS 4.1.
326         (_LT_COMPILER_OPTION, _LT_LINKER_OPTION)
327         (_LT_COMPILER_C_O, _LT_LINKER_SHLIBS): Likewise.
328         (_LT_LANG_C_CONFIG): Adjust: use literal newlines in
329         `lt_simple_compile_test_code' and `lt_simple_link_test_code'.
330         (_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
331         (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Likewise.
332         Bug report by Bruce Becker and Mark Andrews.
333
334 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
335
336         Fix the bugs where libtoolize needs to use `dir/file' instead of
337         `./dir/file', where ltdldir is `.', so that libtoolize correctly
338         checks for (and suggests) `config' and `m4' instead of
339         `./config' and `./m4' as auxiliary resp. macro directories.
340         The change is necessary for unambiguous naming, the chosen way
341         plays better with non-GNU make in VPATH builds.
342
343         * libtoolize.m4sh (ltdlprefix): New variable, to use as prefix
344         instead of `$ltdldir/'.
345         (func_check_macros): Use it.  Bug report by Eric Blake.
346
347 2006-06-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
348
349         Fix several libtoolize-related bugs:
350         - Do not symlink aclocal.m4, to work around a bug in aclocal
351         overwriting the linked-to file instead of removing the symlink.
352         - Have `libtoolize --copy' cause current time stamps, so that
353         dependents will be rebuilt; for this, install files in order.
354         - Fix list of distribution files for (non)recursive libltdl.
355         - Fix some failure cases.
356
357         * libtoolize.m4sh (func_copy_cb):
358         If `$opt_link', still copy `aclocal.m4', so a subsequent
359         `aclocal' will not overwrite the symlink target.
360         In `--copy' mode, do `cp -p' and `touch' for each file, so
361         timestamps are updated but permissions preserved.
362         (main): Reorder installing of files to match logical order
363         and timestamp requirements.
364         (func_fixup_Makefile_inc): Renamed to
365         (func_fixup_Makefile): this.  Add sed scriptlet to remove
366         non-existent files from EXTRA_DIST, for either nonrecursive
367         or recursive mode.
368         (main): call it to mangle also in recursive mode.
369         * tests/libtoolize.at (expout): Adjusted.
370         * tests/testsuite.at (tst_dist): Default to `dist'.
371
372 2006-06-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
373
374         Fix libltdl to always have all generated files up to date.
375
376         * Makefile.am (all-local): Depend on all generated files in
377         libltdl, namely...
378         (libltdl/aclocal.m4, libltdl/configure, libltdl/config-h.in):
379         ...these.  List explicitly, including dependencies and
380         rebuilding rules, using...
381         (sub_aclocal_m4_deps, sub_configure_deps): ...these new
382         variables.
383         Report by Dan Lacher <Dan.Lacher@Sun.Com>.
384
385 2006-06-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
386
387         * Makefile.am (install-data-local): Do not use $(INSTALL_DATA)
388         from another directory: it may use a relative path to
389         `install-sh'.
390         Bug report by Dan Lacher <Daniel.Lacher@Sun.COM>.
391
392 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
393
394         * libltdl/config/ltmain.m4sh (func_mode_link): Honor `-threads',
395         similar to `-mt'.
396         Report by Eric Paire <eric.paire@st.com>.
397
398 2006-06-01  Charles Wilson  <libtool@cwilson.fastmail.fm>
399
400         * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ cygwin ]:
401         define DLL_EXPORT for PIC objects on cygwin.
402
403 2006-05-24  Albert Chin  <china@thewrittenword.com>
404
405         * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG)
406         [ aix4*, aix5*, hpux10*, hpux11* ]: Set hardcode_direct_absolute
407         for CXX tag too!
408
409 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
410
411         * libltdl/config/ltmain.m4sh (func_mode_link, shell wrapper):
412         Do not put `"$@"' in argument to $ECHO.
413
414 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
415
416         * libltdl/m4/libtool.m4: Bump serial, necessary because of
417         _LT_CHECK_SHELL_FEATURES changes.
418
419 2006-05-18  Albert Chin-A-Young <china@thewrittenword.com>
420
421         * tests/early-libtool.at: Pass $CPPFLAGS and $CFLAGS to
422         compiler when compiling for extra flags that might be
423         needed for ANSI-compliance, 64-bit, etc. The environment
424         we compile with should match the environment libtool was
425         compiled with.
426
427 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
428
429         Fix mode=compile time regression of CVS HEAD over branch-1-5.
430
431         * libltdl/m4/libtool.m4 (_LT_CHECK_XSI_SHELL): Rename to...
432         (_LT_CHECK_SHELL_FEATURES): ...this.
433         (_LT_SETUP): Adjust caller.
434         (_LT_CHECK_XSI_SHELL): New libtool variables `lt_unset',
435         `SP2NL', `NL2SP', to contain results from tests for unset,
436         taken from AS_BOURNE_COMPATIBLE, and ASCII vs EBCDIC, taken...
437         * libltdl/config/general.m4sh: ...from here, and used...
438         * libltdl/config/ltmain.m4sh: ...here everywhere now.
439         * (AS_SHELL_SANITIZE): Replace by faster, actually necessary
440         part of its expansion, taken from current Autoconf CVS.  Do not
441         save and set all locale variables any more, but only LANG,
442         LC_ALL, LC_CTYPE, LC_COLLATE, LC_MESSAGES.
443         (func_mode_execute): Adjust.
444         * libltdl/m4/libtool.m4 (_LT_CONFIG): No need to unset CDPATH
445         here any more.
446         * libtoolize.m4sh: Compute `SP2NL' and `NL2SP' here, too.
447
448 2006-05-17  Gary V. Vaughan  <gary@gnu.org>
449
450         * libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4
451         (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG,
452         _LT_LANG_FC_CONFIG), tests/link-order.at
453         [ aix4*, aix5*, hpux10*, hpux11* ]: rename
454         hardcode_direct_static to hardcode_direct_absolute.
455         * doc/libtool.texi (libtool script contents): Adjust.
456
457         * libltdl/ltdl.c (lt_dlhandle_fetch): Arguments to
458         lt_dlhandle_iterate were in the wrong order.
459
460 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
461
462         * libltdl/m4/libtool.m4 (_LT_LINKER_OPTION): Require
463         _LT_DECL_SED.
464         (_LT_CMD_GLOBAL_SYMBOLS, _LT_LINKER_SHLIBS): Likewise.
465         * libltdl/m4/ltdl.m4 (LTDL_INIT): Likewise.
466         (_LT_DECL_SED): Set $Xsed here, using $SED.  Moved from...
467         (_LT_SETUP): ...here.
468         Report by Eric Blake.
469
470 2006-05-17  Gary V. Vaughan  <gary@gnu.org>
471
472         * doc/libtool.texi (libtool script contents): Document new
473         hardcode_direct_static variable.
474
475         * tests/link-order.at: Be careful about usage of shrext_cmds.
476
477         * libltdl/m4/libtool.m4 (LT_AC_PROG_SED):  Declarations for
478         compatibility with old versions of libtool, and old versions
479         of aclocal.
480
481 2006-05-17  Albert Chin-A-Young  <china@thewrittenword.com>
482
483         * libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4
484         (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG,
485         _LT_LANG_FC_CONFIG) [ aix4*, aix5*, hpux10*, hpux11* ]:
486         Introduce a new variable, hardcode_direct_static, which
487         would ignore hardcode_direct=yes if the result would create a
488         static library dependency. Static library dependencies are
489         immune to $shlibpath_var.
490         * tests/link-order.at: Take hardcode_direct and
491         hardcode_direct_static into consideration when testing
492         link order.
493
494 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
495
496         Eliminate quadratic scaling in argument parsing loop, for
497         shells that understand `var+=value', such as Bash-3.1, or Zsh.
498
499         * libltdl/m4/libtool.m4 (_LT_CHECK_XSI_SHELL): Test whether
500         the shell understands `var+=value'.
501         (_LT_PROG_XSI_SHELLFNS): Define `func_append' based on this.
502         * config/ltmain.m4sh (func_mode_link): Use `func_append' for
503         compile_command, finalize_command, libtool_args, libobjs,
504         non_pic_objects.
505
506 2006-05-15  Bruno Haible  <bruno@clisp.org>,
507             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
508
509         * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
510         (_LT_LANG_CXX_CONFIG, _LT_SYS_HIDDEN_LIBDEPS) [ linux ]:
511         Add support for Sun C 5.9, Sun C++ 5.9, and Sun Fortran 8.3 on
512         GNU/Linux.
513         * NEWS: Update.
514
515 2006-05-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
516
517         * Makefile.am (check-local): Move `$(TESTS_ENVIRONMENT)' and
518         `$(BUILDCHECK_ENVIRONMENT)' to be arguments of `testsuite', so
519         that reruns will remember it; set enviroment variable
520         `CONFIG_SHELL' so the suite will know which shell it was started
521         with.
522         (installcheck-local): Likewise, for `$(TESTS_ENVIRONMENT)' and
523         `$(INSTALLCHECK_ENVIRONMENT)'.
524         * tests/testsuite.at (LT_AT_TAG): Do not set the compiler
525         variable here.
526
527 2006-05-14  Albert Chin-A-Young  <china@thewrittenword.com>
528
529         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
530         [ aix ]: $hardcode_direct is set twice.
531
532 2005-05-14  John Bowler  <jbowler@acm.org>
533
534         * libltdl/config/ltmain.m4sh (func_mode_link): For version_type
535         `none', we still need to set `current', `age', and `revision',
536         so that our checks don't barf.  The values won't be used later.
537         Apparently reported by several people, several times, for BeOS.
538         * NEWS, THANKS: Update.
539
540 2006-05-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
541
542         * tests/fail.at: Use "test -x" if available, for testing of
543         executables; code modified from Autoconf's AS_EXECUTABLE_P.
544         Reported by Albert Chin <china@thewrittenword.com>.
545
546 2006-04-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
547
548         * libltdl/config/ltmain.m4sh (func_write_libtool_object):
549         New function, factored out from..
550         (func_mode_compile): .. here.  Call it to generate the libtool
551         object file (the `.lo' file) in one step.
552
553 2006-04-03  Peter O'Gorman  <peter@pogma.com>
554
555         * libltdl/loaders/preopen.c: Don't allow lt_dlopen if the
556         module has no symbols.
557
558 2006-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
559
560         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]:
561         Avoid warning when "parsing" `/etc/ld.so.conf' and empty
562         `/etc/ld.so.conf.d'.
563         Reported by Orion Poplawski <orion@cora.nwra.com>.
564
565 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
566
567         * bootstrap: Actually use the correct version of the last patch.
568
569 2006-03-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
570
571         * bootstrap: Enable `WORKING_LIBOBJ_SUPPORT' if we detect
572         Autoconf-2.60+ and Automake-1.10+, or CVS versions.
573
574         * libltdl/m4/argz.m4 (gl_FUNC_ARGZ): Sync with gnulib:  If we
575         define `error_t', also define `__error_t_defined', so argp.h
576         will not typedef the former.
577
578 2006-03-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
579
580         * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS) [ freebsd ]
581         [ dragonfly ]: Set libltdl_cv_sys_dlopen_deplibs to yes.
582         Fixes excessive lt_dlopen times on these systems.
583         * NEWS, THANKS: Update.
584         Bug reported by Peter Jeremy <peterjeremy@optushome.com.au>,
585         patch by Joerg Sonnenberger <joerg@netbsd.org>.
586
587 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
588
589         * tests/static.at: New tests for comprehensive test exposure of
590         all current and proposed static linking flags for programs.
591         * Makefile.am: Updated.
592
593         * libltdl/config/ltmain.m4sh (func_mode_link)
594         < -static-libtool-libs >: New option.
595         * doc/libtool.texi (Link mode, Distributing libltdl):
596         Document it.
597         Suggested by Gary Kumfert <kumfert@llnl.gov>.
598
599 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
600
601         * tests/tagdemo/foo.cpp, tests/tagdemo/main.cpp [ hpux ] <aCC>:
602         The HPPA C++ compiler has namespace support but provides no
603         `std' namespace; just provide it with a dummy.
604
605         * libltdl/m4/libtool.m4 (AC_PROG_SED): Do not forget to reset
606         IFS even in case of empty `$PATH'.
607
608 2006-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
609
610         * libltdl/config/ltmain.m4sh (func_mode_link): Comment out the
611         code to remove uninstalled paths, as it is wrong here.  Change
612         the wrong shell quoting that kept it from "working" before.
613         * THANKS: Updated.
614
615         * libltdl/m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER)
616         [ freebsd, dragonfly ]: Fix 1.5.22 regression caused by too
617         strict $host_os match that stopped DragonFly from working.
618         * THANKS: Updated.
619         Reported by Jeremy C. Reed <reed@reedmedia.net>,
620         patch by Todd Vierling <tv@duh.org>.
621
622 2006-02-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
623
624         * libltdl/config/ltmain.m4sh (startup): save all locale specific
625         environment, variables:, LANG, LANGUAGE, LC_ADDRESS, LC_ALL
626         LC_COLLATE, LC_CTYPE, LC_IDENTIFICATION, LC_MEASUREMENT,
627         LC_MESSAGES LC_MONETARY, LC_NAME, LC_NUMERIC, LC_PAPER,
628         LC_TELEPHONE, LC_TIME.
629         (func_mode_execute): Restore them.
630
631 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
632
633         * doc/libtool.texi (Tags): Mention `FC'.
634         (libtool script contents) <CC>: Specify more precisely as the
635         compiler of the current tag.
636         <LTCC, LTCFLAGS, build, build_alias, build_os, host_alias,
637         host_os, macro_version, macro_revision, max_cmd_len>:
638         Document these variables.
639
640 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
641
642         * doc/libtool.texi: Update copyright years.
643
644         * libltdl/config/getopt.m4sh (func_help): Substitute `$host'.
645         * libltdl/config/ltmain.m4sh (help message): Use $host not
646         @host_triplet@, as the `@..@' substitution is done at bootstrap
647         time already.
648         Reported by Julien Lecomte <julien@famille-lecomte.net>.
649
650         * doc/libtool.texi (Implementation issues):  Note that both
651         prefix and suffix of a library may differ.
652         (Using libtool, Creating object files, Linking libraries):
653         Remove last documentation traces of the age when `foo.lo' was
654         the PIC object file and not the `libtool object' text file.
655         (libtool script contents) <compiler_o_lo>: Remove description
656         of this variable.  It was removed from libtool in 1.5 times.
657
658 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
659
660         * libltdl/config/ltmain.m4sh (func_mode_link) [ linux ]:
661         PGI: for `reload_cmds', we not only need to get rid of `$wl',
662         but also turn comma into space so $LD understands
663         whole_archive_flag_spec correctly.
664
665         * libltdl/config/ltmain.m4sh (func_mode_link) <shell wrapper>:
666         Add _AS_BOURNE_COMPATIBLE code from Autoconf, to fix issues
667         with zsh and other shells.
668         Reported by David Gómez Espinosa <david@pleyades.net>.
669
670 2006-02-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
671
672         * libltdl/m4/libtool.m4 (AC_PROG_SED): m4_defun this rather
673         than AC_DEFUN, so that old aclocal does not pick this up.
674
675         * Makefile.am ($(TESTSUITE)): Also depend on `Makefile.am'.
676         Write to temporary file and rename.
677
678 2006-02-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
679
680         * Makefile.am (EXTRA_DIST): Add `$(srcdir)/' to all generated
681         files so that non-GNU make programs will use the rebuilding
682         rules.
683
684         * tests/testsuite.at: Add new keyword `libtoolize' for tests
685         that exercise the `libtoolize' script that is generated at build
686         time.
687         * HACKING: Update testsuite mention, explain keywords.
688
689         * libltdl/config/ltmain.m4sh (extracted_archives)
690         (extracted_serial): New globals.
691         (func_extract_archives): Use them to rename extraction archives
692         for linking against multiple convenience libraries with the same
693         name.
694         * tests/duplicate_conv.at: New tests.
695         * Makefile.am: Adjusted.
696         Reported by Carlo Contavalli <ccontavalli@commedia.it>.
697
698         * libltdl/config/ltmain.m4sh (func_mode_link) < test_compile >:
699         Fix a couple of instances where `test .. -ne ..' would possibly
700         compare non-numbers.  Clean up a bit.
701
702         * tests/convenience.at, tests/deplibs-ident.at: Add new keyword
703         `libtool' for tests that exercise the unmodified `libtool'
704         script that is generated at build time.
705         * tests/duplicate_members.at, tests/fail.at: Likewise.
706         * tests/inherited_flags.at, tests/link-order.at: Likewise.
707         * tests/stresstest.at, tests/template.at: Likewise.
708
709 2006-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
710
711         * tests/fail.at: Also pass a bogus object file to the linker so
712         it fails more reliably; AIX and IRIX linkers ignore duplicate
713         symbol definitions.
714
715         * libltdl/m4/libtool.m4 [ solaris ] (_LT_LINKER_SHLIBS)
716         (_LT_LANG_CXX_CONFIG) < whole_archive_flag_spec >:
717         Fix this once and for all, for both the SUN compiler suite
718         (cc/CC/f77/f90/f95) and GCC.
719         Reported by Yuri Pukhalsky <pooh@cryptopro.ru>.
720
721         * tests/cdemo/Makefile.am: Remove broken use of undocumented
722         Automake variable `$(OBJECTS)'.
723         * tests/demo/Makefile.am, tests/depdemo/Makefile.am: Likewise.
724         * tests/f77demo/Makefile.am, tests/fcdemo/Makefile.am: Likewise.
725         * tests/mdemo/Makefile.am, tests/mdemo2/Makefile.am: Likewise.
726         * tests/pdemo/Makefile.am, tests/tagdemo/Makefile.am: Likewise.
727
728         * libltdl/config/ltmain.m4sh (func_mode_link): Fix logic for
729         adding run paths to also add paths for installed libtool
730         libraries in case `-static' is used.
731
732 2006-02-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
733
734         * Makefile.am (TESTSUITE_AT): List testsuite files in the order
735         in which they are to be expanded in the suite.
736         (tests/TESTSUITE): Rebuild by passing all $(TESTSUITE_AT) files,
737         with their path suitably adjusted.  This enables us to..
738         * tests/testsuite.at: ..get rid of their redundant mention here.
739
740 2006-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
741
742         * doc/libtool.texi (titlepage): Remove superfluous word.
743
744         * libltdl/config/ltmain.m4sh (func_mode_link): Fix matching
745         duplicate run path entries with the correct separator.
746
747         * tests/testsuite.at (PREPARE_TESTS): Escape `^' for some older
748         shells.
749
750         * ChangeLog, HACKING, README, README.alpha,
751         libltdl/config/ltmain.m4sh:  Add vi(m) modelines, to match emacs
752         formatting variables.
753
754 2006-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
755
756         * Makefile.am (libltdl/Makefile.am): Fixup sed script.
757         Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>.
758
759 2006-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
760
761         * Makefile.am, bootstrap, clcommit.m4sh,
762         libltdl/config/getopt.m4sh, libltdl/config/mailnotify.m4sh,
763         tests/sh.test, tests/testsuite.at: Bump copyright years.
764
765 2006-01-21  Eric Blake  <ebb9@byu.net>
766
767         * THANKS: Move myself to contributor.
768
769 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
770
771         * bootstrap: Don't use semicolons inside { } in sed scripts, as
772         Posix says it's not portable.
773         * Makefile.am (libltdl/Makefile.am): Likewise.
774         * libtoolize.m4sh (all over the map): Likewise.
775         * libltdl/config/getopt.m4sh (func_version, func_usage)
776         (func_help): Likewise.
777         * libltdl/config/ltmain.m4sh (func_win32_libid): Likewise.
778         * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Likewise.
779         * clcommit.m4sh, libltdl/config/mailnotify.m4sh: Likewise.
780         * tests/sh.test, tests/testsuite.at (LT_AT_TAG): Likewise.
781         Noted by Paul Eggert <eggert@cs.ucla.edu>.
782
783         * libltdl/config/ltmain.m4sh (func_mode_compile): Also transform
784         `.obj' correctly.
785         Reported by George Bosilca <bosilca@cs.utk.edu>.
786
787 2006-01-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
788
789         * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC): Fix my forward port
790         error of last commit.
791
792 2006-01-12  Leif Ekblad  <leif@rdos.net>
793
794         * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
795         (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC): Added support for
796         RDOS.
797         * NEWS: Updated.
798
799 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
800
801         * libtoolize.m4sh, libltdl/config/general.m4sh,
802         libltdl/config/getopt.m4sh, libltdl/config/ltmain.m4sh,
803         libltdl/m4/libtool.m4: Bump copyright years.
804
805 2006-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
806
807         * Makefile.am (EXTRA_DIST): Add ChangeLog.2005.
808
809         * README, README.alpha: Adjust copyright years.
810         * ChangeLog.2005: New, rotated, from..
811         * ChangeLog: ..here.
812
813 Continued in ChangeLog.2005
814 -- 
815   Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
816   2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
817
818   This file is part of GNU Libtool.
819
820 Copying and distribution of this file, with or without modification,
821 are permitted in any medium without royalty provided the copyright
822 notice and this notice are preserved.  This file is offered as-is,
823 without warranty of any kind.