1 2005-12-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * Makefile.am (libtoolize): Also depend on `config.status'.
4 (tests/atconfig): Normalize path, for non-GNU make.
5 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>.
7 * libltdl/config/ltmain.m4sh (func_mode_link) <temp_rpath>:
8 Fix position of separator for shlibpath_var setting in shell
11 * libltdl/lt_error.c (error_strings): Remove parentheses around
12 string literal initializers, uncovered by `tcc'.
13 Reported by Edward Chernenko <edwardspec@yahoo.com>.
15 2005-12-21 Gary V. Vaughan <gary@gnu.org>
17 * .cvsignore, libltdl/.cvsignore, tests/.cvsignore: Ignore
18 +build, +dest, +inst, .cvslog-tlasync, .gdb_history, .pc,
19 libltdl/INSTALL, libltdl/stamp-mk and tests/testsuite.log.
21 2005-12-20 Eric Blake <ebb9@byu.net>
23 * README.alpha: Really commit.
25 2005-12-19 Eric Blake <ebb9@byu.net>
27 * HACKING (release note templates): Update anon cvs location.
28 * README.alpha (Reporting Bugs): Likewise.
30 2005-12-18 Jacob Meuser <jakemsr@jakemsr.com>,
31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
33 * libltdl/config/ltmain.m4sh (func_mode_link): Move library
34 search paths that coincide with paths to not yet installed
35 libraries to the beginning of the library search list.
37 2005-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
41 * HACKING: `./libtool --config' is more helpful than `--help'.
43 * libltdl/config/ltmain.m4sh <preserve_args, linknames>:
46 2005-12-18 Kean Johnston <jkj@sco.com>,
47 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
49 * libltdl/m4/libtool.m4 (LT_PATH_NM): Also look in
50 /usr/ccs/bin/elf, for SCO. If we are not cross-compiling, but
51 $ac_tool_prefix is set, also try an un-prefixed `nm'.
53 2005-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
55 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG)
56 <hardcode_shlibpath_var>: Initialize, to `unsupported'.
58 2005-12-18 Marc Espie <espie@nerim.net>
60 * libltdl/m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER)
61 [ openbsd ] <sys_lib_dlsearch_path_spec>: Set to `/usr/lib'
64 2005-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
66 * tests/old-m4-iface.at: Require Autoconf-2.50, so that
67 Debian's autoconf wrapper will not cause 2.13 to barf over
69 Reported by Kurt Roeckx <kurt@roeckx.be>.
71 * README.alpha (Reporting bugs): Suggest to also bootstrap the
72 libltdl subdirectory -- the Makefile will enforce it anyway.
73 (The Test Suite): Renamed to..
74 (The Test Suites): ..this. Introduce the new Autotest test
75 suite, how to run each one individually, and what to report.
76 * README (The Test Suite): Likewise.
78 2005-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
80 In the subpackage case, we do not install Makefile.inc. Since
81 we have to be correct for this case, remove `Makefile.inc' from
82 EXTRA_DIST. Recursive mode does not use it either. Since
83 nonrecursive mode requires an Automake >= 1.7 anyway, and those
84 versions automatically distribute included makefile fragments,
85 we don't need to cater for that one either.
87 * libltdl/Makefile.inc (EXTRA_DIST): Remove Makefile.inc.
88 Reorder other entries.
90 2005-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
92 * Makefile.am (libltdl/Makefile.in): also depend on
93 libltdl/aclocal.m4, so that we guarantee timestamp consistency.
94 (libltdl/stamp-mk): New target, to fix `libltdl/Makefile.in'.
95 (EXTRA_DIST): Distribute `libltdl/stamp-mk' and
96 `libltdl/m4/lt~obsolete.m4'.
97 (all-local): Ensure the stamp files is up to date.
98 (libltdl/aclocal.m4): New target, to ensure timestamp
99 consistency. Depend on all m4 files.
102 * tests/testsuite.at (PREPARE_TESTS): New variable `tst_dist',
104 * tests/nonrecursive.at, tests/recursive.at,
105 tests/standalone.at, tests/subproject.at: Use it in
106 LT_AT_BOOTSTRAP or LT_AT_MAKE, so that you can optionally test
107 redistribution within the tests.
109 * libltdl/m4/lt~obsolete.m4: Update documentation for aclocal
110 versions before 1.7. Change all macros to use AC_DEFUN instead
112 * (_AC_PROG_LIBTOOL, AC_LIBTOOL_SETUP, _LT_AC_CHECK_DLFCN)
113 (AC_LIBTOOL_SYS_DYNAMIC_LINKER, _LT_AC_TAGCONFIG)
114 (AC_DISABLE_FAST_INSTALL, _LT_AC_LANG_CXX, _LT_AC_LANG_F77)
115 (_LT_AC_LANG_GCJ, AC_LIBTOOL_RC, AC_LIBTOOL_LANG_C_CONFIG)
116 (_LT_AC_LANG_C_CONFIG, AC_LIBTOOL_LANG_CXX_CONFIG)
117 (_LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_LANG_F77_CONFIG)
118 (_LT_AC_LANG_F77_CONFIG, AC_LIBTOOL_LANG_GCJ_CONFIG)
119 (_LT_AC_LANG_GCJ_CONFIG, AC_LIBTOOL_LANG_RC_CONFIG)
120 (_LT_AC_LANG_RC_CONFIG, AC_LIBTOOL_CONFIG)
121 (_LT_AC_FILE_LTDLL_C): Add new fake macros for these, they
122 were used at one time in libtool.m4.
124 * tests/am-subdir.at (Makefile.am): Put automake options here,
125 in AUTOMAKE_OPTIONS. Require 1.6 because of the newer
126 `AC_INIT(pkgname,version) AM_INIT_AUTOMAKE' scheme.
127 * tests/nonrecursive.at, tests/recursive.at: Require 1.7,
128 because libltdl rules use `+=' in conditionals.
129 * tests/testsuite.at (LT_AT_AUTOMAKE): Fix indenting.
130 (LT_AT_AUTORECONF): also detect too old Automake.
132 2005-12-08 Eric Blake <ebb9@byu.net>
134 * libltdl/libltdl/lt__alloc.h (FREE): Cast away constness of
135 argument to `free' to avoid compiler warning.
137 2005-12-08 Peter O'Gorman <peter@pogma.com>
139 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_LINKER_SHLIBS)
140 [darwin]: Use $LTCC $LTCFLAGS to check for -single_module.
141 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
143 2005-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
145 * bootstrap: always remove Makefile, to avoid triggering the
146 autotools rebuild rules before autoreconf builds these.
147 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>.
149 2005-12-07 Peter O'Gorman <peter@pogma.com>
151 * libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4 [darwin]:
152 Use -single_module by default when linking shared libraries. Can
153 be overridden by specifying -multi-module or by setting the env
154 var LT_MULTI_MODULE before configure.
155 * libltdl/m4/libtool.m4 (archive_expsyms_cmds) [darwin]:
157 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
159 2005-12-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
161 * doc/libtool.texi (References): Do not use `@/' for the benefit
162 of older `makeinfo', break lines instead.
164 * Makefile.am (install-data-local): No continuation here.
165 (dist-hook): Fix copying of README.alpha to README.
166 * tests/early-libtool.at (configure.ac): Remove
167 `AM_INIT_AUTOMAKE', we do not use automake in these tests.
169 * README, README.alpha, libtoolize.m4sh: Typos.
170 * tests/am-subdir.at, tests/duplicate_members.at: Make all
171 banners end with a dot, for symmetry.
173 * libtoolize.m4sh (func_copy_all_files)
174 (glob_exclude_pkgaux_files): Removed, since unused.
176 * libtoolize.m4sh (func_copy_cb, func_copy_some_files)
177 (func_serial_update, func_keyword_update): Fail immediately
178 if some file we may install does not exist.
179 Reported by Troy Benjegerdes <hozer@hozed.org>.
181 2005-12-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
183 * TODO: A bunch of items fixed. :)
185 * tests/convenience.at: Updated to expose more corner cases.
187 * doc/libtool.texi (Invoking libtoolize): Remove mention of
188 the nonrecursive restriction to name the directory `libltdl'.
190 * libtoolize.m4sh (func_fixup_Makefile_inc): New function.
191 (main): Call it in nonrecursive mode to mangle Makefile.inc.
192 * tests/nonrecursive.at: adjusted to test this.
194 2005-12-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
196 Basic support for PIE (position-independent executables).
198 * libltdl/config/ltmain.m4sh (func_generate_dlsyms):
199 Don't pass PIE flag for compilation of the symbol file object.
200 (func_mode_compile): Pass PIE flag only for non-PIC objects.
203 2005-12-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
205 * libltdl/config/general.m4sh (func_show_eval): Rewrite use of
206 the failure expression, because the exit status of the previous
207 command may not be preserved in the next `eval' by some shells,
209 * libltdl/config/ltmain.m4sh (func_extract_an_archive):
210 Use func_show_eval correctly.
211 (func_mode_link): Likewise. Also, do not use `$status'.
212 * tests/fail.at: New set of tests to ensure libtool fails.
213 * Makefile.am, tests/testsuite.at: Adjusted.
215 2005-11-26 Peter O'Gorman <peter@pogma.com>
217 * libltdl/m4/libtool.m4 [darwin]: Use $LTCC $LTCFLAGS to create
220 2005-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
222 * libltdl/Makefile.inc (libltdl/argz.h): Create libltdl
223 directory if it does not exist yet. Take care that munging
224 of the file will not mess up the build rule.
225 Reported by Peter O'Gorman <peter@pogma.com>.
227 2005-11-25 Eric Blake <ebb9@byu.net>,
228 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
230 * libltdl/loaders/loadlibrary.c (iface_id): New variable.
231 (get_vtable): Get an `iface_id' from `lt_dlinterface_register'.
232 (get_vtable): Rewrite to catch up with lt_dlhandle_iterate
233 interface change. Append dot only after w32 path conversion
234 so it works on cygwin managed mounts.
236 * libltdl/ltdl.h, libltdl/ltdl.c (lt_dlinterface_free): New
238 * doc/libtool.texi (User defined module data): Document it.
240 2005-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
242 * libltdl/m4/libtool.m4 [aix] <archive_expsym_cmds>
243 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Always move -bnoentry
244 before $compiler_flags, so it can be overridden.
246 * libltdl/config/ltmain.m4sh (func_mode_link): Allow GCC
247 response files through.
249 2005-11-25 Peter O'Gorman <peter@pogma.com>
251 * libltdl/config/ltmain.m4sh (func_mode_link): Pass through
252 -isysroot for cross architecture builds on darwin.
254 2005-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
256 * libltdl/config/ltmain.m4sh (func_mode_uninstall): In clean
257 mode, don't remove non-existent libfoo.lai.
259 2005-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
261 * Makefile.am (aclocalfiles): Also install lt~obsolete.m4.
262 * libtoolize.m4sh (func_check_macros): Updated.
263 * tests/libtoolize.at: Adjusted.
265 2005-11-20 Eric Blake <ebb9@byu.net>,
266 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
268 * bootstrap (--help): Provide some help.
270 2005-11-20 Todd Vierling <tv@netbsd.org>,
271 Thorsten Glaser <tg@mirbsd.org>
273 * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN, _LT_SYS_DYNAMIC_LINKER)
274 (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
275 (_LT_LANG_CXX_CONFIG) [ interix3 ]: Support for Interix/Microsoft
277 * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
280 2005-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
282 * tests/link-order.at [ interix ]: Skip command line grep.
283 * tests/deplibs-ident.at [ interix ]: Not broken here.
284 Reported by Thorsten Glaser <tg@66h.42h.de>.
286 2005-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
288 * libtoolize.m4sh (func_copy_all_files)
289 (func_massage_aclocal_DATA, func_massage_pkgltdl_files)
290 (func_massage_pkgconfig_files): Work around ksh limitation.
291 Reported by Thorsten Glaser <tg@66h.42h.de>.
293 2005-11-14 Albert Chin <china@thewrittenword.com>
295 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
296 [ hpux11 ]: Pass +nodefaultrpath when linking on ia64*.
298 2005-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
300 Testsuite portability update round.
302 * tests/inherited_flags: skip when shared libs are disabled.
303 * tests/deplibs-ident.at [ aix ]: No unexpected failure here.
304 * tests/libtoolize.at: Fix for distcheck (readonly sources).
305 * tests/nonrecursive.at, tests/recursive.at, tests/subproject.at
306 (foo.c): Actually export a symbol, for AIX.
307 * tests/old-m4-iface.at: Use AC_LIBTOOL_DLOPEN, for AIX.
308 * tests/nonrecursive.at: Set foo_la_SOURCES, for automake-1.7.
309 * tests/subproject.at: Require automake-1.9, we use indirect
311 * tests/am-subdir.at: Move AT_KEYWORDS settings..
312 * tests/testsuite.at: ..here, in respective macros.
313 (LT_AT_AUTOMAKE): Skip if we detect failure due to old version.
314 (PREPARE_TESTS): Set autotool variables to `no' if not present.
315 (LT_AT_ACLOCAL, LT_AT_AUTOCONF, LT_AT_AUTOMAKE)
316 (LT_AT_AUTOHEADER, LT_AT_AUTORECONF): Use to XFAIL tests.
317 Reported by Tim Rice <tim@multitalents.net>.
318 (LT_AT_MAKE): Do not use `make -e'.
319 (_LTDL_PROJECT_FILES): Adjust sub-make call. Work around `make'
320 which does not set `MAKE' or `SHELL'. Fix for user-set
322 Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
324 * libltdl/m4/lt~obsolete.m4 (_LT_CC_BASENAME)
325 (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE):
326 Added because they were added to branch-1-5 AC_DEFUNed.
327 * HACKING: Add note about lt~obsolete.m4.
329 * Makefile.am, libltdl/Makefile.inc (INSTALL_LTDL):
330 For nonrecursive mode, add to include_HEADERS as well.
331 * doc/libtool.texi (Invoking libtoolize, Distributing libltdl),
332 tests/nonrecursive.at: Adjusted, and removed TABS from .texi.
334 * libtoolize.m4sh: Revert use of `$tst_aclocaldir'.
336 2005-11-13 Eric Blake <ebb9@byu.net>
338 * libltdl/ltdl.c (lt_dlhandle_iterate): Fix endless loop.
339 (lt_dlinterface_register): Fail if lt__strdup did.
341 2005-11-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
343 * libltdl/m4/libtool.m4 (_LT_LANG_C_CONFIG):
344 Removed `lt_prog_cc_shlib' cruft, not needed any more.
346 2005-11-13 Kean Johnston <jkj@sco.com>,
347 Tim Rice <tim@multitalents.net>
349 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
350 (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
351 (_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG)
352 [ sco3.2v5, sysv4, sysv4.3, sysv5, sco3.2v5, sco5v6, unixware,
353 OpenUNIX, sysv4*uw2 ]: Complete overhaul of SCO support.
356 2005-11-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
358 * tests/quote.test: Do not fail on harmless shell bug present
359 in some ksh versions.
360 Reported by Tim Rice <tim@multitalents.net> and others.
362 2005-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
364 * libltdl/m4/ltoptions.m4 (_LT_SET_OPTION): Use m4_warning
367 * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC): `wl' is tagged here.
369 * libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF, _LT_COMPILER_PIC):
370 Make sure `$wl' is properly expanded for tests involving
371 `export_dynamic_flag_spec', `lt_prog_compiler_static'.
373 * tests/defs.m4sh (func_configure): Actually pass
374 options (like --disable-shared) to func_configure_nofail.
376 2005-11-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
378 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ freebsd ]:
379 Fix shlibpath_overrides_runpath settings.
380 Reported by Dave Benson <daveb@idealab.com>.
382 2005-09-10 Charles Wilson <cygwin@cwilson.fastmail.fm>
384 * libltdl/config/ltmain.m4sh (func_win32_libid): use $SED not
387 2005-11-10 Albert Chin-A-Young <china@thewrittenword.com>
389 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [ hpux10, hpux11 ]
390 <hppa*64,ia64, aCC,g++>:
391 Use C++ compiler for linking rather than ld.
393 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
395 * libltdl/m4/ltsugar.m4 (lt_join, lt_combine, lt_dict_filter):
396 Rewrite to eliminate tail recursion; use ..
397 (lt_unquote): New trivial helper macro.
398 * libltdl/m4/libtool.m4 (_lt_decl_filter): Document.
400 2005-11-10 Gary V. Vaughan <gary@gnu.org>
402 * tests/testsuite.ac (macrodir): Don't set it here...
403 * Makefile.am (BUILDCHECK_ENVIRONMENT, INSTALLCHECK_ENVIRONMENT):
404 ...set it here to pick up files from the right place in context.
405 * tests/libtoolize.at, tests/old-m4-iface.at: Adjust.
406 * libtoolize.m4sh: Take tst_aclocaldir into account when running
407 inside the test harness.
409 2005-11-10 Gary V. Vaughan <gary@gnu.org>
411 * tests/am-subdir.at: Now that we don't run autoreconf, we have to
412 explicitly tell aclocal what flags to use.
414 * tests/testsuite.at (LT_AT_BOOTSTRAP): Allow passing arguments to
416 * tests/am-subdir.at, tests/nonrecursive.at, tests/old-m4-iface.at,
417 tests/subproject.at: Use LT_AT_BOOTSTRAP.
419 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
421 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Also set pic_flag.
422 (_LT_LANG_CXX_CONFIG): Use $as_unset, not unset.
423 (_LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG): Remove bogus
426 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Move setting of
427 `variables_saved_for_relink'..
428 (_LT_SYS_DYNAMIC_LINKER): here, when both `shlibpath_var'
429 and `runpath_var' have been set.
430 Reported by Mike Frysinger <vapier@gentoo.org>.
432 * libltdl/Makefile.inc (AM_CPPFLAGS): Do not define
434 * libltdl/m4/ltdl.m4 (LTDL_INIT): Do not invoke
435 AC_CONFIG_HEADERS ourselves, we can build with or without now.
437 2005-11-07 Kean Johnston <jkj@sco.com>
439 * libltdl/config/ltmain.m4sh (func_mode_link) [ sysv4*uw2*,
440 unixware7* ]: Work around linker bug on older SCO systems.
442 2005-11-07 Albert Chin-A-Young <china@thewrittenword.com>
444 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
445 (_LT_LANG_CXX_CONFIG) [ hpux10, hpux11 ]:
446 hardcode_libdir_flag_spec and hardcode_minus_L are the same for
447 hppa*64 and ia64*. Don't set
448 hardcode_libdir_flag_spec='-L$libdir' on ia64* because if you
449 specify +b and -L, +b overrides what is set into DT_RPATH.
451 2005-11-07 Gary V. Vaughan <gary@gnu.org>
453 * tests/testsuite.at (_LTDL_PROJECT_FILES): Factored out from
454 common code to build a basic libltdl using project.
455 * tests/old-m4-iface.at, tests/standalone.at, tests/subproject.at:
458 * doc/libtool.texi (Distributing libltdl): Document correct use of
459 LT_CONFIG_LTDL_DIR mode argument with Autoconf and Automake.
461 2005-11-07 Gary V. Vaughan <gary@gnu.org>
463 Support 'recursive' mode for building libltdl: Automake will
464 recursively descend into the libltdl directory, and use libltdl's
465 Makefile.am code to build libltdl:
467 * ltdl.m4 (LT_CONFIG_LTDL_DIR): Don't barf on 'recursive' mode
469 (_LTDL_MODE_DISPATCH): Handle recursive mode.
471 2005-11-07 Gary V. Vaughan <gary@gnu.org>
473 * tests/recursive.at: New tests for libltdl as a subdirectory,
474 configured and compiled from the toplevel project using a
476 * tests/testsuite.at: Use it.
477 * Makefile.am (TESTSUITE_AT): Depend on it.
479 * libltdl/m4/ltdl.m4 (LTDL_INIT): Don't force running
480 AC_CONFIG_HEADERS for subproject ltdl.
481 * tests/old-m4-iface.at, tests/subproject.at: Remove workaround.
483 * libltdl/m4/ltdl.m4 (LT_CONFIG_LTDL_DIR): Add LTDL-MODE
485 * configure.ac: Use it.
487 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
489 * libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): lt_unknown is
492 * libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Revert
494 (_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_GCJ_CONFIG):
495 Do not require LT_SYS_DLOPEN_SELF.
496 (_LT_LANG_C_CONFIG): Instead call it at the right time.
497 (_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
498 (_LT_LANG_GCJ_CONFIG): Do not call _LT_CMD_STRIPLIB.
500 * Makefile.am: `2>&1' as suggested by Albert Chin.
501 * libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4:
502 Two newlines before each macro, fix underlines.
504 2005-11-05 Kean Johnston <jkj@sco.com>,
505 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
507 * libltdl/config/ltmain.m4sh (func_mode_link) [*-*-sco3.2v5*]:
508 Don't pass through -lc, nor add it to deplibs.
510 [*-*-openbsd*, *-*-freebsd*, *-*-dragonfly*]: Remove bogus
513 2005-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
517 2005-11-02 Gary V. Vaughan <gary@gnu.org>
519 * tests/nonrecursive.at: New tests for libltdl as a subdirectory,
520 configured and compiled from the toplevel project.
521 * tests/testsuite.at: Use it.
522 (LT_AT_AUTOHEADER): New macro.
523 * Makefile.am (TESTSUITE_AT): Depend on nonrecursive.at.
525 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
527 * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [ solaris ]: Add `-64'
528 to $LD if necessary, to permit combining of several convenience
529 libs without any further objects added.
530 Reported by Brian Barrett <brbarret@open-mpi.org>.
532 2005-11-01 Kean Johnston <jkj@sco.com>,
533 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
535 * libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Use
536 `lt_prog_compile_static', not `link_static_flag'. Expand `$wl'
537 so expansion of `export_dynamic_flag_spec' works.
538 (_LT_TRY_DLOPEN_SELF): Show dlerror() in case of failure.
539 (_LT_LINKER_SHLIBS) [ aix3 ]: Likewise.
540 (_LT_COMPILER_PIC) [ hpux* ]: Use `${wl}'.
542 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
546 2005-11-01 Gary V. Vaughan <gary@gnu.org>
548 * libltdl/m4/ltdl.m4 (LTDL_INIT): Call _LT_ENABLE_INSTALL directly
549 instead of m4_requiring it, as it relies on enable_ltdl_install
550 and enable_ltdl_convenience to have been initialised first.
552 * libtoolize.m4sh: Use serial tags to locate the correct serial
553 numbers when deciding whether to update.
554 (func_serial): Allow for macro_regex argument to be originating
556 (func_serial_update): Use NL2SP to flatten list of extracted
558 * tests/libtoolize.at: More tests for old-style verbatim copying
559 of macros into aclocal.m4.
561 * libltdl/m4/argz.m4, libltdl/m4/ltoptions.m4, libltdl/ltsugar.m4,
562 libltdl/m4/ltversion.in: Add serial number tags, and bump serial
565 2005-10-31 Kean Johnston <jkj@sco.com>
567 [ sysv5*, sco3.2v5*, sco5v6*, unixware*, OpenUNIX*, sysv4*uw2* ]
568 Patches for various bug fixes, small improvements and updating
569 the SCO platform support.
571 * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Set correctly for SCO.
573 * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Set correct
574 symcode values for the native nm on SCO platforms.
576 * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): All SCO platforms
577 open dependency libraries when you dlopen a module.
579 2005-10-31 Albert Chin-A-Young <china@thewrittenword.com>
581 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
582 [ aix ]: Remove duplicate always_export_symbols=yes for AIX.
584 2005-10-29 Howard Chu <hyc@highlandsun.com>
586 * libltdl/config/ltmain.m4sh (func_mode_link):
587 With `-static', only link statically against uninstalled
588 libtool libraries. Fixes 1.5.x regression to match documented
592 2005-10-27 Stepan Kasal <kasal@ucw.cz>
594 * HACKING: Update note about use of `$#' in m4 macros.
596 2005-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
598 * tests/tagtrace.test: Allow `$AUTOCONF' to contain arguments.
599 Skip if the running `autoconf' version is older than the one
600 used to bootstrap Libtool.
602 2005-10-26 Eric Blake <ebb9@byu.net>,
603 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
605 * Makefile.am (vcl-tmp): Avoid warnings from diff.
606 * bootstrap: Avoid warnings from find.
607 (lt_tab): Use to prevent editor whitespace "cleanup".
609 2005-10-26 Gary V. Vaughan <gary@gnu.org>
611 * libtoolize.m4sh: Put back the func_serial_update callback for
612 func_copy_some_files so that the testsuite passes again. We'll
613 have to find a better way of handling serial numbers in libtool
616 * libltdl/Makefile.inc: New file, factored out of Makefile.am for
617 use in non-recursive libltdl installations.
619 * Makefile.am: include it.
620 (libltdl/Makefile.am): Adjust to build from the new
621 libltdl/Makefile.inc.
622 (SUBDIR_LIBOBJS): Renamed from this...
623 (LTDL_SUBDIR_LIBOBJS): ...to this.
624 * configure.ac: Adjust.
625 * doc/libtool.texi (Invoking libtoolize): Document the new modes
626 and libtoolize option to select them.
627 * libtoolize.m4sh: Parse new options, --nonrecursive, --recursive
628 and --subproject. Install the appropriate files with --ltdl
629 according to the selected mode.
630 (func_scan_files): If --subproject, --recursive or --nonrecursive
631 options were not given, use the value from LT_CONFIG_LTDL_DIR; if
632 a mode was given, and there is also an argument to
633 LT_CONFIG_LTDL_DIR, ensure they are the same.
636 * libtoolize.m4sh: Don't use func_serial_update as a copy
637 function for libtool m4 files with no macro_regex. If the
638 files are copied directly into aclocal.m4, because
639 AC_CONFIG_MACRO_DIR isn't set for example, there is no way
640 to tell what serial number goes with what source file.
641 (func_serial_update): For future-proofing, only make the second
642 serial number check if the destination file wasn't m4_included
643 into aclocal.m4 (and hence updated automatically by the cat of
644 copying a new version to the dest directory).
646 * libtoolize.m4sh: Move the consistency checks...
647 (func_check_macros): ...into here. Also suggest LT_WITH_LTDL if
650 * libtoolize.m4sh: Copying just libtool.m4 for hand maintained
651 aclocal.m4 doesn't work. List all required files in that case,
652 using the files from installed libltdl if available. Also, list
653 the additional files required when using libltdl.
654 Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
656 * libltdl/ltdl.h, libltdl/ltdl.c (lt_dlhandle_first): Removed.
657 * libltdl/ltdl.h, libltdl/ltdl.c (lt_dlhandle_next)
658 (lt_dlhandle_find, lt_dlforeach): Removed...
659 (lt_dlhandle_iterate, lt_dlhandle_fetch, lt_dlhandle_map): Similar
660 functions that are multi-loader safe, and require a registered
661 interface validator argument.
662 * doc/libtool.texi: Updated.
665 * libtoolize.m4sh: Always copy pkgconfig_files for --ltdl, incase
666 ltdl needs additional things not found by automake when looking at
667 the parent project configury.
668 * tests/libtoolize.at: Adjust.
670 2005-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
672 * libltdl/config/ltmain.m4sh [darwin]: Don't check for "bundle"
674 Reported by Christoph Egger <Christoph_Egger@gmx.de>.
676 2005-10-14 Gary V. Vaughan <gary@gnu.org>
678 * libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Don't nest AC_MSG_CHECKING/
681 2005-10-14 Gary V. Vaughan <gary@gnu.org>
683 * tests/subproject.at: Move 'touch config.h.in' invocation.
685 * tests/subproject.at (_LTDL_SETUP): Use pushdef/popdef to
686 simulate file-local scope. Empty source file compilation is not
687 portable, so add minimal code to generated foo.c file.
689 2005-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
691 * libltdl/m4/libtool.m4 (LT_PATH_NM): End test source with
693 Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
695 2005-10-13 Peter O'Gorman <peter@pogma.com>
697 * libltdl/ltdl.c (find_module): Check that dir is set.
698 (load_deplibs): Don't free the user search paths too early.
700 2005-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
702 * tests/testsuite.at (LT_AT_AUTOMAKE): New macro.
703 * tests/subproject.at: Use it. Do not call `autoreconf' in
704 tests, since it will try to reconfigure `sub/ltdl', which
705 breaks `make check' during `distcheck' because of a readonly
708 * libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Also set INCLTDL.
710 * libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE, LTDL_INSTALLABLE)
711 (LT_WITH_LTDL): Revert Gary's 2005-10-10 patch.
713 * tests/stresstest.at: Use `allow_undefined_flag' instead of
716 2005-10-10 Gary V. Vaughan <gary@gnu.org>
718 * libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Remove bogus extra
721 2005-10-10 Gary V. Vaughan <gary@gnu.org>
723 * libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE, LTDL_INSTALLABLE): Remove
724 AC_SUBST of LIBLTDL, LTDLINCL, and all mention of INCLTDL.
725 (LT_WITH_LTDL): Due to order constraints between LTDL_CONVENIENCE,
726 LTDL_INSTALLABLE, LT_WITH_LTDL & LTDL_INIT, we can safely AC_SUBST
727 LIBLTDL and LTDLINCL here. Also, remember to synch INCLTDL.
729 2005-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
731 * tests/stresstest.at [ aix3, beos, os2 ]: Always use
734 2005-10-09 Christian Biesinger <cbiesinger@web.de>
736 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [ beos ]:
737 Initial shared library support for C++.
739 2005-10-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
741 * configure.ac (abs_top_builddir, abs_top_srcdir): always
743 * Makefile.am (BUILDCHECK_ENVIRONMENT)
744 (INSTALLCHECK_ENVIRONMENT): New macros. Set _lt_pkgdatadir,
745 LIBTOOL, LIBTOOLIZE accordingly, by using above, and
746 program_transform_name.
747 * tests/testsuite.at (TESTS_PREPARE): Do not set them anymore.
749 (LT_AT_MAKE): Use to unset LIBTOOL and LIBTOOLIZE.
751 2005-10-05 Gary V. Vaughan <gary@gnu.org>
753 * tests/subproject.at: Commit the right file this time.
755 2005-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
757 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Fix m4 quoting
758 for lt_simple_link_test_code.
759 Reported by Nicolas Joly <njoly@pasteur.fr>.
761 2005-10-05 Gary V. Vaughan <gary@gnu.org>
763 * tests/subproject.at: New tests for libltdl as a subproject with
764 its own configuration.
765 * tests/testsuite.at: Use it.
766 * Makefile.am (TESTSUITE_AT): Depend on it.
768 2005-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
770 * Makefile.am: Simplify. Do not use abs_top_srcdir.
771 Reported by Gary V. Vaughan <gary@gnu.org>.
773 2005-10-05 Gary V. Vaughan <gary@gnu.org>
775 * libltdl/m4/ltdl.m4 (_LT_CONFIG_LTDL_DIR): Spurious './' prefixes
776 upset BSD pmake, don't set lt_ltdl_dir in this case.
777 (LTDL_CONVENIENCE, LTDL_INSTALLABLE): Adjust.
779 2005-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
781 * Makefile.am (BUILDCHECK_ENVIRONMENT)
782 (INSTALLCHECK_ENVIRONMENT): New macros.
783 (check-local, installcheck-local): Use them.
784 * tests/testsuite.at (PREPARE_TESTS): Extract host_alias, ECHO.
785 Set configure_options appropriately.
786 (LT_AT_CONFIGURE, LT_AT_AUTORECONF, LT_AT_MAKE): New macros.
787 (LT_AT_BOOTSTRAP): Use them.
788 * tests/am-subdir.at, tests/early-libtool.at,
789 tests/old-m4-iface.at, tests/standalone.at: Likewise.
790 * tests/link-order.test: Do not extract ECHO any more.
792 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Require
793 AC_CANONICAL_HOST and _LT_DECL_SED.
795 2005-10-03 Gary V. Vaughan <gary@gnu.org>
797 * libltdl/m4/ltdl.m4: Bump serial as we are changing the
799 (LT_CONFIG_LTDL_DIR): New macro to centralise setting the
800 subdirectory used for libltdl.
801 (LTDL_CONVENIENCE): Continue backwards compatibility support for
802 declaring the libltdl source subdirectory with an argument, but
803 defer to LT_CONFIG_LTDL_DIR.
804 (AC_LIBLTDL_CONVENIENCE): Adjust to upgrade to the new style.
805 (LTDL_INSTALLABLE, AC_LIBLTDL_INSTALLABLE): Ditto.
806 (LTDL_INIT): lt_ltdl_dir is set by LT_CONFIG_LTDL_DIR now, and
807 even `./' needs trailing slashes trimming! If the user didn't
808 upgrade their configure.ac yet, call LT_CONFIG_LTDL_DIR for them.
809 * libtoolize.m4sh (func_scan_files): If --ltdl option is given
810 without a directory argument, use the value from
811 LT_CONFIG_LTDL_DIR; if the argument is given, and there is also a
812 value in LT_CONFIG_LTDL_DIR, ensure they are the same.
813 * libltdl/configure.ac: Use it.
816 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
818 * tests/old-m4-iface.at (Makefile.in): Do not reconfigure
821 2005-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
823 * tests/deplibs-ident.at: New file with XFAIL test to expose
824 wrong multiple listing of a deplib on the command line.
825 * Makefile.am, tests/testsuite.at: Updated.
826 Reported by Brian Barrett <brbarret@open-mpi.org>.
828 * tests/old-m4-iface.at: Define top_srcdir, work around current
831 * libltdl/config/ltmain.m4sh (func_mode_link):
832 Fix wrong logic introduced in last commit.
834 2005-09-30 Gary V. Vaughan <gary@gnu.org>
836 * tests/libtoolize.at: Add a new test to catch a regression I
837 almost introduced with respect to copying macro files when
838 AC_CONFIG_MACRO_DIR is shared with libltdl subproject.
840 2005-09-30 Gary V. Vaughan <gary@gnu.org>
842 * tests/old-m4-iface.at: Start of a new test series for m4
843 interface backwards compatibility.
844 * tests/testsuite.at: Use it.
845 (macrodir): Declare the location of uninstalled libtool m4 macros.
846 * Makefile.am (TESTSUITE_AT): Depend on it.
848 2005-09-29 Tim Rice <tim@multitalents.net> (tiny change)
850 * tests/early-libtool.at (Makefile.in): Set $(SHELL).
852 2005-09-29 Peter Ekberg <peda@lysator.liu.se>
854 * libltdl/config/ltmain.m4sh (func_mode_link): Don't modify
855 user provided symbols file. Adjust removal of temporary files
856 and also remove temporary files used during symbols file
859 2005-09-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
861 * libtoolize.m4sh (func_included_files): Do not recurse
864 2005-09-27 Gary V. Vaughan <gary@gnu.org>
866 * libtoolize.m4sh (func_scan_files): Support projects that have
867 upgraded libtool, but still use an old autoconf. When the libtool
868 macros are not copied (because of missing ACLOCAL_AMFLAGS and
869 AC_CONFIG_MACRO_DIR ), point them at the libtoolize master tree
870 for files to manually copy into acinclude.m4 or aclocal.m4.
872 * libltdl/lt_error.c (lt__last_error, lt__error_strings): The lt__
873 prefix is used to indicate internal symbols that are only exported
874 for use by other parts of libltdl. These are now static, so...
875 (last_error, error_strings): ...renamed to this. Changed all
878 * libltdl/ltdl.h (lt_dlmutex_register, lt_dlmutex_lock)
879 (lt_dlmutex_unlock, lt_dlmutex_seterror, lt_dlmutex_geterror)
880 (lt_dlmalloc, lt_dlrealloc, lt_dlfree): Remove deprecated APIs.
881 * doc/libtool.tex: Updated.
884 * libltdl/ltdl.c (lt_dlcaller_register): Renamed to avoid problems
885 with module visibilty when linked with programs written for the
887 (lt_dlinterface_register): New name.
888 * Makefile.am (VERSION_INFO): Bumped.
889 * doc/libtool.texi (User defined module data): Updated.
891 2005-09-27 Tim Rice <tim@multitalents.net>
893 * tests/defs.m4sh, tests/testsuite.at (PREPARE_TESTS)
894 <AUTORECONF>: Allow variable override.
896 2005-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
898 * HACKING: Only update libltdl version info before release.
900 2005-09-26 Tim Rice <tim@multitalents.net>
902 * configure.ac <AUTOM4TE>: Allow variable override.
904 2005-09-25 Alan W. Irwin <irwin@beluga.phys.uvic.ca>,
905 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
907 * libltdl/config/ltmain.m4sh (func_win32_libid)
908 [ cygwin, mingw ]: Robustify sed script to determine
910 (func_mode_link) [ mingw ]: Ignore `-lm'.
912 2005-09-25 Peter Ekberg <peda@lysator.liu.se>
914 * libltdl/libltdl/lt__private.h, libltdl/lt_error.c:
915 Don't export the lt__last_error and lt__error_strings
916 variables. Define lt__error_strings so that no relocations
918 * libltdl/libltdl/lt__private.h (LT__STRERROR, LT__GETERROR)
919 (LT__SETERRORSTR): Adjust to not use the above variables,
920 instead use the following functions...
921 * libltdl/lt_error.c: (lt__error_string, lt__get_last_error)
922 (lt__set_last_error): Reimplement the functionality in
923 these functions instead.
924 * libltdl/libltdl/lt_error.h: Add LT_ERROR_LEN_MAX define for
925 max error string length.
926 (lt_dlerror_table): Append explicit nul terminators so that
927 compilers warn more reliably if the above define is too small.
929 2005-09-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
931 * tests/link-order.at [ aix* ]: skip path syntax grep.
933 2005-09-23 Peter Ekberg <peda@lysator.liu.se>
935 * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Fix awk
936 script to be a single line so that the cache variable isn't
939 2005-09-23 Eric Blake <ebb9@byu.net> (tiny change)
941 * libltdl/loaders/loadlibrary.c (vm_open): Silence gcc warnings.
942 [__CYGWIN__]: Include <sys/cygwin.h> for prototype.
944 2005-09-22 Gary V. Vaughan <gary@gnu.org>
946 * bootstrap: Don't clobber the working copy metadata in
947 ./{arch}/libtool during bootstrap.
949 2005-09-22 Peter Ekberg <peda@lysator.liu.se>,
950 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
952 * libltdl/config/ltmain.m4sh (func_mode_link): Filter
953 user supplied symfile to tag relevant symbols as data
954 symbols. Fixes segfault in stresstest.at on Cygwin and
957 2005-09-22 Peter Ekberg <peda@lysator.liu.se>
959 * tests/link-order.test: Clean up the uninstalled libraries
960 before linking the test executables so that they don't pick
961 up the dlls from the current dir on Cygwin and MinGW.
963 2005-09-22 Tim Rice <tim@multitalents.net>
965 * libltdl/m4/libtool.m4 (LT_PATH_NM, _LT_LINKER_SHLIBS)
966 (_LT_LANG_CXX_CONFIG, _LT_SYS_HIDDEN_LIBDEPS):
967 Add missing `;;' after case list.
969 2005-09-22 Peter Ekberg <peda@lysator.liu.se>,
970 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
972 * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS, _LT_COMPILER_PIC)
973 (_LT_LINKER_SHLIBS): Require _LT_TAG_COMPILER to make sure that
974 $compiler is assigned. Fixes crippled configure output.
976 2005-09-21 Peter Ekberg <peda@lysator.liu.se>
978 * libltdl/m4/libtool.m4 (LT_PATH_NM): Fix autodetection of
979 dumpbin and also check for "link -dump -symbols" as a synonym
980 for "dumpbin -symbols".
982 * libltdl/config/ltmain.m4sh (func_mode_uninstall): Clean
983 up $dlname as well when cleaning a uninstalled libtool
984 library. Fixes -mode=clean on Cygwin and MinGW to actually
985 remove the dll when cleaning up an uninstalled library.
987 2005-09-20 Peter Ekberg <peda@lysator.liu.se>
989 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
990 Split up --out-implib option for linker in separate args so that
991 the MSYS path translation can do its magic on the provided path
992 to the import library. Fixes problem in stresstest.at on MinGW.
994 2005-09-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
996 * Makefile.am (ltdldatafiles): Fix installation order to match
998 (libltdl/Makefile.in): Use $(srcdir) for non-GNU make.
1000 2005-09-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1002 * libltdl/config/ltmain.m4sh (func_mode_link): Allow some
1003 ARM gcc ABI flags through.
1004 Reported by Andrés Moré <more.andres@gmail.com>.
1006 * Makefile.am (all-local): Rebuild libltdl/Makefile.in.
1008 * libltdl/m4/ltdl.m4 (LTDL_INIT) <CONFIG_H>: Rename to..
1009 <LT_CONFIG_H>: this, to contain the name of the config
1011 * Makefile.am <DEFS>: Use it to define LT_CONFIG_H.
1012 * HACKING, libltdl/argz.c, libltdl/lt__alloc.c,
1013 libltdl/libltdl/lt__dirent.h, libltdl/libltdl/lt__glibc.h,
1014 libltdl/libltdl/lt__private.h, libltdl/libltdl/lt__strl.h:
1017 2005-09-16 Peter Ekberg <peda@lysator.liu.se>
1019 * tests/testsuite.at (LT_AT_EXEC_CHECK): Make sure
1020 that the exit status of the tested program is
1021 propagated as the exit status of the expression
1024 2005-09-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1026 * libltdl/argz.c <HAVE_CONFIG_H>: Avoid redefinition warning.
1028 * libltdl/ltdl.c (lt_argz_insert): Work around newlib
1030 * Makefile.am (VERSION_INFO): Bumped revision.
1031 Reported by Eric Blake <ebb9@byu.net>.
1033 2005-09-13 Peter Ekberg <peda@lysator.liu.se>,
1034 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1036 * libltdl/config/ltmain.m4sh (func_generate_dlsyms):
1037 Fix escape expression to actually escape relevant
1038 characters from the following grep. Fix Cygwin and
1039 MinGW to use the filtered symbol list when exporting
1040 from self, and not the symbol filter.
1041 * tests/stresstest.at: Export w8, not w8$
1043 2005-09-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1045 Make tagdemo work smoothly with both pre- and ISO C++ compilers,
1046 and remove all use of libstdc from other tests.
1048 * tests/tagdemo/configure.ac (HAVE_NAMESPACES, HAVE_IOSTREAM):
1049 New tests for ISO C++ features. Reimplementation of similar
1050 macros from the autoconf archive.
1051 * tests/tagdemo/foo.cpp, tests/tagdemo/main.cpp: Adjusted.
1052 * tests/am-subdir.at, tests/template.at: Do not use iostream.
1054 2005-09-12 Peter Ekberg <peda@axentia.se>,
1055 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1057 * tests/testsuite.at (host_os): Pull from `libtool --config'.
1058 * tests/stresstest.at [ cygwin, mingw, pw32 ]: Use it to fix
1059 setting of `-no-undefined'.
1061 2005-09-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1063 * libltdl/m4/ltdl.m4 (LT_WITH_LTDL, LTDL_CONVENIENCE)
1064 (LTDL_INSTALLABLE): Use less quoting for expanded LIBLTDL,
1065 LTDLINCL. Use m4_default instead of m4_if, to work
1066 around AU_ALIAS bug with empty macro arguments.
1067 (LTDL_INIT): Likewise.
1068 * libltdl/m4/ltoptions.m4 (_LT_WITH_PIC): Likewise.
1069 * TODO, HACKING: Updated.
1071 2005-09-10 Gary V. Vaughan <gary@gnu.org>
1073 * libtoolize.m4sh (TAR): Allow the user to override the tar
1076 2005-09-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1078 * libltdl/m4/libtool.m4 (_LT_COMPILER_BOILERPLATE)
1079 (_LT_LINKER_BOILERPLATE, _LT_COMPILER_OPTION, _LT_LINKER_OPTION)
1080 (_LT_COMPILER_C_O): When comparing expected and actual compiler/
1081 linker output for warnings, weed out both empty lines as well as
1082 lines starting with possibly indented `+', to allow for shell
1083 debugging with `set -x'.
1084 Check the weeded instead of unweeded contents for emptiness.
1086 * libltdl/config/ltmain.m4sh (func_mode_link): Actually provide
1087 a useful error message. Fixes long-standing shameful user
1089 Reported by Martin Paljak <martin.paljak@gmail.com>.
1091 2005-09-08 Peter Ekberg <peda@axentia.se>
1093 * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS) [dumpbin]:
1094 Symbols in "pick any" sections are not global. Use
1095 awk, not sed, in the global_symbol_pipe so that keeping
1096 track of sections is easier.
1097 * doc/libtool.texi (libtool script contents): Update to hint
1098 at new findings concerning "pick any" sections.
1100 2005-09-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1102 * tests/early-libtool.at (config.status): Use EXEEXT
1104 Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
1106 2005-09-08 Charles Wilson <cygwin@cwilson.fastmail.fm>
1108 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
1109 [ cygwin, mingw, pw32 ]: Use --enable-auto-image-base instead of
1110 a fixed image base address.
1112 2005-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1114 * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD) [ sysv4*uw2*,
1115 sysv4.2uw2* ]: Fix my last checkin to really match the more special
1116 case before the general case.
1117 Reported by Stepan Kasal <kasal@ucw.cz>.
1119 2005-09-06 Roger Cornelius <rac@tenzing.org>
1121 * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD)
1122 [ sysv5OpenUNIX8, sysv5UnixWare7, sysv5uw[78], unixware7,
1123 sysv4*uw2* ]: Match special cases before general case.
1125 2005-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1127 * bootstrap: another AIX sed fix.
1129 * Makefile.am (TESTS_ENVIRONMENT): Export SHELL.
1130 * bootstrap (SHELL): Set to $CONFIG_SHELL or /bin/sh.
1131 Name `make' targets in portable fashion. Work around `rm'
1132 warnings. Unconditionally create fake `libtoolize'.
1133 Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
1135 * Makefile.am (doc/notes.txt): Use --no-headers instead of
1136 --plaintext for makeinfo.
1137 Reported by Peter O'Gorman <peter@pogma.com>.
1139 2005-09-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1141 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ aix ]
1142 <export_symbols_cmds>: Work around shell expansion issue in
1143 func_show_eval by separating `$' and field number; drop then
1144 unnecessary m4 quoting.
1146 2005-09-02 Gary V. Vaughan <gary@gnu.org>
1148 AC_BEFORE only works if declarations are made inside the macro
1149 cited as the first argument:
1151 * libltdl/m4/libtool.m4 (LT_OUTPUT): Move AC_BEFORE decls...
1152 (LT_INIT, LT_LANG): ...to the macro that has to come first.
1154 2005-09-01 Peter O'Gorman <peter@pogma.com>
1156 * libltdl/m4/libtool.m4 (old_postintall_cmds): chmod 644 before
1158 Reported by Gerald Pfeifer <gerald@pfeifer.com>
1160 2005-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1162 * libltdl/m4/libtool.m4 (_LT_PROG_CXX, _LT_PROG_F77)
1163 (_LT_PROG_FC): aclocal-1.4 compatibility workaround.
1165 * bootstrap: Do not use nonportable -path.
1166 Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.
1168 2005-09-01 Gary V. Vaughan <gary@gnu.org>
1170 * doc/libtool.texi (LT_INIT): Fix a logical error with
1171 documentation of --with-pic vs --without-pic.
1173 2005-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1175 * libltdl/m4/ltoptions.m4 (_LT_SET_OPTIONS): m4_defun this..
1176 * libltdl/m4/libtool.m4 (LT_INIT): so it can be m4_require'd
1177 from here with user-supplied options. Fixes output macro
1180 2005-09-01 Gary V. Vaughan <gary@gnu.org>
1182 * libtoolize.m4sh (func_scan_files): When searching for evidence
1183 of Autotools in aclocal.m4, be careful not to trip over requires
1186 2005-08-31 Gary V. Vaughan <gary@gnu.org>,
1187 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1189 * libltdl/m4/ltoptions.m4 (_LT_SET_OPTIONS): Move option macro
1191 (_LT_SET_OPTION): here. Do not fail but warn on unknown
1193 (_LT_UNLESS_OPTIONS(win32-dll), LT_OPTION_DEFINE(dlopen)):
1195 Reported by Robert Ögren <lists@roboros.com> and
1196 Akim Demaille <akim@lrde.epita.fr>.
1198 2005-08-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1200 * libltdl/m4/libtool.m4 [ solaris CC ]: Document issue with C++
1203 2005-08-30 Gary V. Vaughan <gary@gnu.org>
1205 * libltdl/m4/ltoptions.m4 (AC_LIBTOOL_PIC_MODE): Renamed...
1206 (AC_LIBTOOL_PICMODE): ...this in the backwards compatibility
1207 code. There never was an AC_LIBTOOL_PIC_MODE macro.
1209 * libltdl/m4/libtool.m4 (_LT_SETUP): Remove duplicate
1210 --enable-libtool-lock declaration.
1212 2005-08-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1214 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
1215 (_LT_PATH_TOOL_PREFIX, _LT_SYS_HIDDEN_LIBDEPS, _LT_DECL_EGREP):
1218 * Makefile.am: Install libltdl data files in correct order.
1219 Use pre-defined programs for installation; use NORMAL_INSTALL
1220 and NORMAL_UNINSTALL. Really fix ownership and timestamp
1221 problems. Fix typo in uninstallation of aclocal files.
1222 Reported by Peter Breitenlohner <peb@mppmu.mpg.de> and
1223 Charles Wilson <cygwin@cwilson.fastmail.fm>.
1225 2005-08-29 Gary V. Vaughan <gary@gnu.org>,
1226 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1228 Allow for portability with Autoconf 2.59, Automake 1.9.6,
1229 which lack AC_CONFIG_LIBOBJ_DIR support.
1231 * bootstrap: Unless environment variable WORKING_LIBOBJS_SUPPORT
1232 is set to true aka `:', symlink ..
1233 * argz.c lt__dirent.c lt__strl.c: .. these from the copies in
1235 * configure.ac (SUBDIR_LIBOBJS): Automake conditional, set if
1236 bootstrap didn't make the extra copies of libobj sources in
1238 * Makefile.am: Add these to EXTRA_DIST if SUBDIR_OBJS is not set,
1239 as well as the originals in libltdl/, in order to work when
1240 bootstrapped both with old and newer Automake/Autoconf.
1242 2005-08-29 Gary V. Vaughan <gary@gnu.org>
1244 * libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE): Fix the comment to not
1245 pretend that LIBLTDL and LTDLINCL are not AC_SUBSTed here.
1247 2005-08-29 Gary V. Vaughan <gary@gnu.org>
1249 Some macros had relied on accidentally correct ordering in order
1250 for $MV to be defined before use. Factor out setting of some
1251 common file commands and m4_require it before use:
1253 * libltdl/m4/libtool.m4 (_LT_FILEUTILS_DEFAULTS): Allow user to
1254 override some common file commands at configure time.
1255 (_LT_SETUP, _LT_CONFIG, _LT_COMPILER_OPTION, _LT_LINKER_OPTION)
1256 (_LT_COMPILER_C_O, _LT_COMPILER_FILE_LOCKS)
1257 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
1258 (_LT_SYS_HIDDEN_DEPLIBS): m4_require it to ensure the commands are
1259 defined before they are called.
1261 2005-08-28 Gary V. Vaughan <gary@gnu.org>
1263 * libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4: AU_DEFUN doesn't pass
1264 arguments. Use AU_ALIAS instead!
1266 2005-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
1267 Gary V. Vaughan <gary@gnu.org>
1269 * libltdl/config/ltmain.m4sh (func_lalib_unsafe_p) [osf]:
1270 Save file descriptor to original STDIN, and restore after
1271 redirection. Fixes memory corruption with Tru64 and OSF sh.
1272 Reported by Nicolas Joly <njoly@pasteur.fr>.
1274 2005-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
1275 Peter Ekberg <peda@lysator.liu.se>
1277 * tests/early-libtool.at: Fix goofed up make rules in
1280 * tests/inherited_flags.at: Weaken for MSVC.
1281 * tests/early-libtool.at, tests/template.at: Fix for compiler
1282 that do not understand '-c -o'.
1284 2005-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1286 * tests/standalone.at, tests/template.at: Do not compare
1287 output because of EOL issues. Resolve warnings, make cross-
1289 Reported by Peter Ekberg <peda@axentia.se>.
1291 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
1292 (_LT_LINKER_SHLIBS): Double-quote unsafe tag variable
1293 descriptions: they are literals.
1295 2005-08-25 Peter Ekberg <peda@lysator.liu.se>,
1296 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1298 * tests/standalone.at: (without autotools): Add
1299 $(CFLAGS) to LTCOMPILE and LTLINK. Separate compiling
1300 and linking. Remove compiling flags from link. Add
1301 --tag. Add -no-undefined flag.
1303 2005-08-24 Bruno Haible <bruno@clisp.org>
1305 * libltdl/config/ltmain.sh (func_mode_install): Try "ln -s -f"
1306 and "rm -f && ln -s" to make a symlink for a shared library: the
1307 former is needed for libraries `ln' depends on, the latter for
1309 Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
1311 * libltdl/config/ltmain.sh (cwrappersource): return 127 if exec
1314 2005-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1316 * libltdl/m4/libtool.m4 (_LT_COMPILER_C_O): Send chmod warning to log.
1318 * tests/defs.m4sh (m4dir, auxdir, scripts): Fix for source tree
1320 * tests/sh.test: Adjust. Also barf on sed diagnostics so this
1321 test will not fail again silently.
1323 * libltdl/m4/ltdl.m4 (LT_SYS_SYMBOL_USCORE): Use _LT_EOF, not
1326 * tests/fcdemo/Makefile.am (suffix rules): Explicitly add
1327 $(FCFLAGS_f90) so the tests can pass on AIX.
1329 2005-08-24 Peter O'Gorman <peter@pogma.com>
1331 * libltdl/config/ltmain.m4sh (inherited_linker_flags): Work when
1332 output is an application too.
1333 Reported by Christopher Egger <Christoph_Egger@gmx.de>
1335 2005-08-23 Stepan Kasal <kasal@ucw.cz>,
1336 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1338 * libltdl/m4/ltdl.m4 (LTDL_INIT): Use AH_HEADER if defined.
1339 Compute CONFIG_H only before creating config.status.
1340 Reported by Peter Ekberg <peda@axentia.se>.
1342 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1344 * Makefile.maint (web-manual): Fix $(LN_S) to use absolute path.
1345 Fix creating the manual for VPATH build.
1347 * bootstrap: Fix missing replace config -> $auxdir. ltmain.m4sh
1348 is prerequisite to ltmain.sh. Improve warning message.
1350 2005-08-22 Gary V. Vaughan <gary@gnu.org>
1352 Reorganise the libtool tree to create a bootstrapped libltdl for
1353 installation to the libtoolize master tree, so that libltdl is
1354 useable even in the extreme case of when automake and autoconf are
1355 not installed on the developers machine. Part of this change
1356 requires some duplication of rules between Makefile.am (which
1357 builds libltdl for this distribution) and libltdl/Makefile.am
1358 (which is used by projects that libltoolize --ltdl --copy), so
1359 libtool now really does use a single toplevel Makefile.am, and we
1360 generate libltdl/Makefile.am from that:
1362 * m4, config: Moved from here...
1363 * libltdl/m4, libltdl/config: ...to here, to reduce the amount of
1364 kludging needed in bootstrap for autoreconf to run.
1365 * tests/cdemo/Makefile.am, tests/demo/Makefile.am,
1366 tests/depdemo/Makefile.am, tests/f77demo/Makefile.am,
1367 tests/fcdemo/Makefile.am, tests/mdemo/Makefile.am,
1368 tests/mdemo2/Makefile.am, tests/pdemo/Makefile.am,
1369 tests/tagdemo/Makefile.am (ACLOCAL_AMFLAGS): Adjust to
1371 * tests/cdemo/configure.ac, tests/demo/configure.ac,
1372 tests/depdemo/configure.ac, tests/f77demo/configure.ac,
1373 tests/fcdemo/configure.ac, tests/mdemo/configure.ac,
1374 tests/mdemo2/configure.ac, tests/pdemo/configure.ac,
1375 tests/tagdemo/configure.ac (AC_CONFIG_AUX_DIR): Ditto.
1376 * libltdl/m4/ltdl.m4: Increment serial number.
1377 (LTDL_INIT): Accept an optional directory argument to prefix each
1378 of the LD_DLLOADERS locations. Default to empty for backwards
1380 * Makefile.maint: Adjust to compensate.
1381 * configure.ac (AC_CONFIG_AUX_DIR, AC_CONFIG_MACRO_DIR): Adjust.
1382 (AC_CONFIG_LIBOBJ_DIR): Set here so that we can build LTLIBOBJS
1383 from in a subdirectory from the amalgamated Makefile.am.
1384 (AM_PROG_CC_C_O, AM_INIT_AUTOMAKE): Use subdir-objects.
1385 (AC_CONFIG_FILES): Remove libltdl/Makefile.am.
1386 * libltdl/Makefile.am: Removed from repository, and merged into
1387 Makefile.am as we now generate it...
1388 * Makefile.am (libltdl/Makefile.am): ...from here, by extracting
1389 the merged rules, and tweaking paths to accomodate the difference
1390 in directory from Makefile.am to libltdl/Makefile.am.
1391 (nobase_dist_pkgdata_DATA): Automake generated installation rules
1392 change timestamps of installed files, so renamed this...
1393 (configauxfiles): ...to this...
1394 (libtoolize): ...substitute it...
1395 (install-data-local): ...install manually, preserving
1397 (install-data-hook): ...and set execute bit as appropriate.
1398 (uninstall-hook): Not forgetting to remove them at uninstall.
1399 (libltdl/Makefile.in): New rule. Called from...
1400 * bootstrap: ...here to avoid relying on config.status at
1402 (auxdir, m4dir): Extract from configure.ac for ease of future
1403 maintenance. Adjust all references.
1404 (reconfdirs): Call autoreconf for libltdl too -- even
1405 though we don't use it for the build, libltdl/configure and
1406 friends are installed with `libtoolize --ltdl --copy'.
1407 * libtoolize.m4sh: Add files from the installed config master tree
1408 to libtoolize --ltdl project subdirectory.
1409 Diagnose duplicated files when --ltdl is used in an autotooled
1411 It's perfectly fine to run `libtoolize --ltdl --copy' in a tree
1412 that has no configure.ac or configure.in; we want libltdl to be
1413 useful even to projects that don't use autotools themselves.
1414 (libtoolize_flags): Removed. Changed all callers.
1415 (func_massage_pkgconfig_files): New function.
1416 * tests/standalone.at: New tests for using libltdl without
1417 supporting configury in the parent project.
1418 * tests/testsuite.at: Run them!
1421 2005-08-22 Peter Ekberg <peda@lysator.liu.se>
1423 * m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS) [dumpbin]: Add
1424 forgotten end bracket.
1426 * doc/libtool.texi: Shorten the lines describing the
1427 output from MS dumpbin, and align the columns.
1429 * m4/libtool.m4: Bump serial number.
1430 (LT_PATH_NM): If nm is not found on the path, look for
1431 dumpbin. Then check if $NM responds as dumpbin would
1432 and if not, assume the name lister is BSD nm compatible.
1433 (_LT_CMD_GLOBAL_SYMBOLS): If the name lister uses the
1434 dumpbin interface, adjust the test to find a working
1436 * doc/libtool.texi: Document $NM to possibly be MS
1437 dumpbin compatible, and also document the format of the
1438 relevant output from MS dumpbin.
1440 2005-08-21 Gary V. Vaughan <gary@gnu.org>
1442 * libltdl/Makefile.am: revert mistaken commit.
1444 * tests/template.at [darwin]: Some of these tests result in
1445 unresolved symbols on darwin, so don't run those test on that
1448 2005-08-18 Gary V. Vaughan <gary@gnu.org>,
1449 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1451 * m4/libtool.m4 (LT_OUTPUT): New macro to generate
1452 libtool before config.status.
1453 (_LT_CONFIG_COMMANDS): If LT_OUTPUT has been invoked, then
1454 generate code in config.status to call config.lt instead of
1455 generating libtool directly.
1456 * doc/libtool.texi (LT_INIT): Document LT_OUTPUT.
1457 * tests/early-libtool.at: New test.
1458 * Makefile.am (TESTSUITE_AT): Updated.
1459 * tests/testsuite.at: Updated. Define defaults for $ACLOCAL,
1462 2005-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1464 * TODO: Actually updated now.
1466 * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ freebsd ]: Do not
1467 assume `aout' for modern FreeBSD by absence of deprecated
1470 * m4/libtool.m4 [sun, CC] (_LT_LANG_CXX_CONFIG): Move postdeps
1472 (_LT_SYS_HIDDEN_LIBDEPS): ..here.
1475 2005-08-18 Stepan Kasal <kasal@ucw.cz>
1477 * config/general.m4sh (SP2NL, NL2SP): Simplify.
1479 2005-08-17 Gary V. Vaughan <gary@gnu.org>
1481 * m4/ltdl.m4 (LTDL_INIT): Fix mismatched parens.
1483 2005-08-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1485 * tests/inherited_flags.at: Store intermediate libtool output
1486 for better debugging.
1488 * tests/link-order.at: Add -no-undefined to LDFLAGS.
1490 * tests/convenience.at, tests/template.at: Change suffix of C++
1491 files to .cpp, for compatibility with MSVC.
1492 Reported by Peter Ekberg <peda@axentia.se>.
1494 2005-08-12 Jeremie LE HEN <tataz@sitadelle.com>,
1495 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1497 * doc/libtool.texi (Creating object files, Linking libraries):
1498 Update description of library object (.lo) and libtoo library
1500 (all over): Replace MODE with --mode=MODE in examples.
1502 2005-08-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1504 * config/ltmain.m4sh (func_source): New function.
1505 (func_mode_execute, func_mode_install, func_mode_link): Use it.
1506 Do not append a dot to a file name to source, it breaks on
1507 cygwin managed mounts and is not necessary anywhere.
1508 Reported by Eric Blake <ebb9@byu.net>.
1510 * config/ltmain.m4sh (func_execute_cmds): New function.
1511 (func_mode_finish, func_mode_install, func_mode_link)
1512 (func_mode_uninstall): Use it.
1514 * tests/defs.m4sh (func_configure): Rename to ..
1515 (func_configure_nofail): this, call from old.
1516 * tests/fcdemo-conf.test, tests/fcdemo-shared.test,
1517 tests/fcdemo-static.test: Use. Do not fail gratuitously but
1518 SKIP on compilers that look like they could be Fortran 77-only.
1519 Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
1521 * config/ltmain.m4sh (mode): Do not initialize, for nicer error
1524 2005-08-10 Peter Ekberg <peda@lysator.liu.se>
1526 * m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Set ac_ext to cpp, not cc.
1528 2005-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1530 * config/ltmain.m4sh (inherited_linker_flags): Backed out broken
1533 2005-08-08 Peter O'Gorman <peter@pogma.com>
1535 * config/ltmain.m4sh (inherited_linker_flags): Work when output
1536 is an application too.
1537 Reported by Christopher Egger <Christoph_Egger@gmx.de>
1539 2005-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1541 * m4/libtool.m4 (_LT_PROG_FC, _LT_LANG_FC_CONFIG): New macros
1543 (LT_LANG, _LT_LANG_DEFAULT_CONFIG, _LT_SYS_DYNAMIC_LINKER,
1544 _LT_SYS_HIDDEN_LIBDEPS): Adjusted.
1545 * tests/fcdemo-conf.test, tests/fcdemo-exec.test,
1546 tests/fcdemo-make.test, tests/fcdemo-shared.test,
1547 tests/fcdemo-static.test, tests/fcdemo/Makefile.am,
1548 tests/fcdemo/README, tests/fcdemo/configure.ac,
1549 tests/fcdemo/cprogram.c, tests/fcdemo/foo.h, tests/fcdemo/fooc.c,
1550 tests/fcdemo/foof.f90, tests/fcdemo/foof2.f90,
1551 tests/fcdemo/foof3.f90, tests/fcdemo/fprogram.f90: New tests for
1553 * tests/convenience.at: Extended.
1554 * Makefile.am, configure.ac: Adjusted.
1557 * AUTHORS, HACKING: Updated.
1559 2005-08-05 Albert Chin-A-Young <china@thewrittenword.com>
1561 * config/ltmain.m4sh (func_mode_link): Ignore errors from expr
1562 when determining if piece-wise linking should be done.
1564 2005-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1566 * config/ltmain.m4sh (func_mode_link) <cwrappersource>: Add
1567 missing bit from Christoph's patch.
1569 * m4/libtool.m4 (_LT_LINKER_HARDCODE_LIBPATH, _LT_LINKER_SHLIBS)
1570 (_LT_LANG_CXX_CONFIG): Comment typos.
1572 2005-08-04 Christoph Egger <Christoph_Egger@gmx.de>
1574 * config/ltmain.m4sh (func_mode_link) <cwrappersource>: Change
1575 basename() to base_name() and have it return a pointer to const,
1576 fix compilation warnings.
1578 2005-07-30 Peter Ekberg <peda@lysator.liu.se>
1580 * m4/libtool.m4 (_LT_PROG_F77): Set it up so that saying F77=no
1581 to configure disables the fortran tests in the testsuite.
1583 2005-07-29 Richard Moseley <dickie.moseley@virgin.net>
1585 * m4/ltdl.m4 (LTDL_INIT): Handle in addition the new name for
1586 AC_LIST_HEADERS which is _AC_LIST_TAGS.
1588 2005-07-28 Peter Ekberg <peda@lysator.liu.se>
1590 * libltdl/Makefile.am: Make the LTDLOPEN define controllable
1591 from the configure script.
1592 * m4/ltdl.m4 (LTDL_INIT): Set the LTDLOPEN define according
1595 * tests/mdemo-dryrun.test: ls -l in MSYS sometimes shows year,
1596 not time, for really fresh files. Add sleep 1 calls at
1597 strategic places. Makes the test pass for MinGW.
1599 * m4/libtool.m4 (_LT_LINKER_OPTION): Fix copy-paste bug, it is
1600 the linker that is tested.
1602 * tests/demo-noinst-link.test: $make is empty on MSYS, replace
1603 with $MAKE. Makes the test pass for MinGW.
1605 * config/ltmain.m4sh (func_generate_dlsyms): Properly remove
1606 the fake symbol line ": @PROGRAM@ " from the list of exported
1609 * libltdl/loaders/loadlibrary.c (vm_open): Set the error mode so
1610 that no dialog is popped up in case the file given to
1611 LoadLibrary is not a dll.
1613 * config/ltmain.m4sh (func_mode_link) <lib>: Make sure
1614 skipped_export is set to colon if _some_ cmd of
1615 export_symbols_cmds is too long.
1617 * libltdl/ltdl.c: The linker is confused by having one
1618 definition of lt_libltdlc_LTX_preloaded_symbols tagged with
1619 __declspec(dllexport) in ltdl.c and one definition with an
1620 initial value in libltdlcS.c. So, just say extern in ltdl.c.
1621 Fixes the mdemo-exec.test for MinGW.
1623 * config/ltmain.m4sh (func_mode_link) <lib>: Zap duplicate
1624 message "creating reloadable object files..."
1626 2005-07-23 Peter O'Gorman <peter@pogma.com>
1628 * m4/libtool.m4 (CXX, archive_cmds) [sun]: Add -lCstd, -lCrun
1629 and -lc for c++ builds with Sun C++ and Centerline C++..
1630 Reported by Albert Chin-A-Young <china@hewrittenword.com>
1632 2005-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1634 * m4/libtool.m4 (_LT_CHECK_XSI_SHELL): Fix bogus merge.
1635 Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
1637 2005-07-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1639 * libltdl/Makefile.am (libltdl_la_DEPENDENCIES): Depend on
1640 $(BUILT_SOURCES) as well, so that argz.h gets created through
1642 Reported by Sven Verdoolaege <skimo@liacs.nl>.
1644 2005-07-08 Peter Breitenlohner <peb@mppmu.mpg.de>
1646 * Makefile.am (install-data-local): Have root own of installed
1647 files (but do not fail, for user installs).
1649 2005-07-08 Bruno Haible <bruno@clisp.org>
1651 * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <postinstall_cmds>
1652 [cygwin,mingw,pw32]: Make DLL executable after installing it.
1654 2005-07-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1656 * config/ltmain.m4sh (func_mode_install): Do not assume `-f'
1657 needs an argument if the install program is `cp'. Cleanup
1658 install mode somewhat.
1659 Reported by Juergen Leising <juergen.leising@gmx.de>.
1661 2005-07-03 Thorsten Glaser <tg@66h.42h.de>
1663 * m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Quieten configure
1664 output for corner cases on some BSDs.
1665 (LT_CMD_MAX_LEN): Another comment cleanup.
1667 * config/ltmain.m4sh (func_extract_archives, func_mode_install),
1668 m4/libtool.m4 (_LT_SETUP, _LT_SYS_DYNAMIC_LINKER, LT_PATH_LD)
1669 (_LT_PATH_LD_GNU, _LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
1670 Comment language, indentation, and backquote cleanup.
1673 2005-07-02 Peter O'Gorman <peter@pogma.com>
1675 * tests/inherited_flags.at: Use -no-undefined.
1676 Reported by Chris Oxenreider <oxenreid@state.net>
1678 2005-07-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1680 * config/ltmain.m4sh (func_mode_compile, func_mode_link),
1681 m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH, _LT_ENABLE_LOCK):
1682 Remove some unnecessary quotes.
1684 * tests/convenience.at <GCJ>: Fix java test.
1685 Reported by Eric Blake <ericblake@comcast.net>.
1687 2005-07-01 Derek R. Price <derek@ximbiot.com>
1689 * config/ltmain.m4sh (func_mode_link) <shell wrapper>: Handle
1690 spaces in paths to executed programs. Quote path in error message.
1692 2005-06-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1696 2005-06-28 Stepan Kasal <kasal@ucw.cz>
1698 * clcommit.m4sh: "grep|sed" can be replaced by mere "sed".
1699 * m4/libtool.m4 (_LT_LIBTOOL_TAGS): Remove unnnecessary "[]".
1700 * m4/lt~obsolete.m4: Use m4_ifndef.
1702 2005-06-27 Stepan Kasal <kasal@ucw.cz>
1704 * m4/ltsugar.m4 (lt_combine, _lt_combine): Fix default separator.
1706 * m4/ltoptions.m4 (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Replace
1707 AC_FOREACH by a combination of m4_foreach/m4_split/m4_normalize.
1709 2005-06-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1711 * m4/ltoptions.m4 (_LT_SET_OPTIONS): Remove unnecessary workaround
1712 for CVS Automake bug (fixed).
1713 Reported by Stepan Kasal <kasal@ucw.cz>.
1715 2005-06-21 Peter O'Gorman <peter@pogma.com>
1717 * conig/ltmain.m4sh [darwin]: Accept -arch flag.
1719 2005-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1721 * m4/libtool.m4 (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE):
1722 New macros: save warnings and boilerplate of simple compile/link
1724 (_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG)
1725 (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Call.
1726 (_LT_COMPILER_OPTION, _LT_LINKER_OPTION, _LT_COMPILER_C_O, ):
1727 Fail only if nonempty warnings different from default
1730 2005-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1732 * m4/ltsugar.m4 (lt_car, lt_cdr): New macros, clones of
1733 m4_car/m4_cdr with the fixed semantics of Autoconf-2.59c CVS, in
1734 order to work with 2.59.
1735 (lt_combine): Use it.
1736 Reported by Christoph Egger <Christoph_Egger@gmx.de>.
1738 2005-06-11 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>,
1739 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1741 * m4/ltoptions.m4 (_LT_SET_OPTIONS): Loop options only if
1743 * m4/ltsugar.m4 (lt_combine): Don't test against empty quotes,
1744 test against empty arg. Fixes infinite m4 loop with CVS
1747 2005-06-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1749 * m4/libtool.m4 (_LT_COMPILER_OPTION, _LT_LINKER_OPTION): No
1750 need for $ECHO here. Fix sed script syntax to be portable.
1751 This should now put the pic-flag right after the last $*FLAGS
1752 variable again, if any. Necessary for Fortran AC_FC_SRCEXT.
1754 2005-06-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1756 * m4/libtool.m4 (_LT_CONFIG_COMMANDS): Remove long lines.
1758 2005-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1760 * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS,
1761 _LT_LANG_CXX_CONFIG): PGI also has pgf95. PGI static flag is
1762 `-Bstatic'. Remove harmless extra comma from whole_archive
1765 2005-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1767 * config/ltmain.m4sh (func_mode_compile): In order to find out
1768 about forbidden characters in output, check with grep after
1769 checking func_quote_for_eval result. Also, warn instead of fail.
1770 * config/general.m4sh (func_quote_for_eval)
1771 (func_quote_for_expand): Revert SunOS sh bug workaround patch from
1772 2004-12-28 as it triggers bugs in the Tru64 5.1B shell.
1773 Reported by Albert Chin <libtool@mlists.thewrittenword.com> and
1774 Nicolas Joly <njoly@pasteur.fr>.
1776 2005-06-01 Olly Betts <olly@survex.com> (tiny change)
1778 * libltdl/argz.c (argz_create_sep): Fix typo.
1780 2005-05-31 Peter O'Gorman <peter@pogma.com>
1782 * config/ltmain.m4sh: Do not add installed static litool libraries
1783 to convenience, they are not convenience libraries.
1784 Reported by Chen-Mou Cheng <chenmou.cheng@gmail.com>
1786 2005-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1790 2005-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1792 * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [aix]:
1793 Fix wrong $ECHO use overlooked in 2005-04-27. Simplify slightly.
1795 * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS,
1796 _LT_LANG_CXX_CONFIG) [linux]: PGI:
1797 Add $pic_flag to archive_cmds and archive_expsyms_cmds.
1798 Bug reported against LAM by Troy Telford <ttelford@lnxi.com>.
1800 2005-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1804 2005-05-06 Gary V. Vaughan <gary@gnu.org>
1806 * libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Propogate ltdl directory.
1808 2005-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1810 * Makefile.am (stamp-vcl): Use `diff' instead of `cmp'.
1812 2005-04-30 Gary V. Vaughan <gary@gnu.org>
1814 Revert the parallel installation changes from November last year:
1816 * libtoolize.m4sh (pkgdatadir, aclocaldir): Substituted from
1818 (func_copy_all_from_path): Removed. No longer used.
1819 (func_copy_some_files): Simplify now that nothing is copied from a
1820 list of possible directories now.
1821 (func_scan_files): Remove directory readability check...
1822 (func_nonemptydir_p): ...in favour of a dedicated sanity check
1823 function called from the main body.
1824 (_lt_pkgvdatadir): Set pkgdatadir and aclocaldir appropriately if
1825 this is in the environment.
1826 * configure.ac: Tests for `ln' removed.
1827 (APIVERSION): Removed.
1828 * Makefile.am (pkgvdatadir, nobase_dist_pkgvdata_DATA)
1829 (nobase_pkgvdata_DATA): Renamed to...
1830 (pkgdatadir, nobase_dist_pkgdata_DATA, aclocalfiles): ...these
1832 (edit): Adjust for new variable names.
1833 (install-data-local): Don't bother to remove old macro files that
1834 will be overwritten by the installation, and perform a manual
1835 installation of $(aclocalfiles) to preserve timestamps.
1836 (install-exec-hook): Removed. No need to make versioned links.
1837 (uninstall-hook): No need to remove versioned links, but now we
1838 need to manually remove the manually installed $(aclocalfiles).
1839 * doc/libtool.texi: Remove bogus notes about setting
1840 ACLOCAL_AMFLAGS for versioned libtool installations.
1841 * NEWS: Remove parallel installation item.
1843 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1845 * m4/ltdl.m4 (all over): Quote all arguments to AC_DEFINE and
1846 AC_DEFINE_UNQUOTED consistently. Reported by
1847 Michael Koch <konqueror@gmx.de>, Riccardo Mottola <zuse@libero.it>,
1848 and Dalibor Topic <robilad@kaffe.org>.
1852 2005-04-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1854 * tests/convenience.at: Actually add.
1856 * tests/convenience.at: New. Test convenience archives.
1857 * Makefile.am, tests/testsuite.at: Adjust.
1858 * tests/testsuite.at: Reorder tests. Suspend AT_TESTED.
1859 (PREPARE_TESTS): Define EGREP, host, build, LIBTOOL.
1860 (LT_AT_BOOTSTRAP): Fail if autoreconf fails.
1861 (LT_AT_EXEC_CHECK): New macro for execution of $build binaries.
1862 (LT_AT_TAG): New macro to test tag availability or skip test.
1863 * tests/am-subdir.at, tests/duplicate_members.at,
1864 tests/inherited_flags.at, tests/link-order.at,
1865 tests/stresstest.at, tests/template.at: Adjust. Use LT_AT_TAG,
1866 LT_AT_EXEC_CHECK, AT_KEYWORDS. Use compiler/linker flags
1868 * tests/link-order.at: Fix use of AT_DATA, bogus redirection
1870 * tests/stresstest.at: Do not use wildcards/regex in symbol files,
1871 they are not portable. Use -no-undefined on win32. Fix to ignore
1872 compile/link warnings.
1874 * tests/f77demo/foo.h, tests/f77demo/fooc.c,
1875 tests/f77demo/cprogram.c, tests/mdemo2/main.c, tests/pdemo/foo.h:
1876 Make declarations available.
1878 * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: sed 3.02 does
1879 not understand \t in regex.
1880 Reported by Tim Van Holder <tim.vanholder@gmail.com>.
1882 * tests/defs.m4sh (func_configure): Don't run the whole configure
1885 * config/ltmain.m4sh: Audit use of echo vs $ECHO.
1886 Reported by Robert Ögren <lists@roboros.com> and others.
1890 2005-04-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
1891 Gary V. Vaughan <gary@gnu.org>
1893 * HACKING, THANKS: Updated.
1895 2005-04-25 David Edelsohn <dje@watson.ibm.com>
1897 * m4/libtool.m4 (_LT_LINKER_SHLIBS): _LT_TAGDECL(file_list_spec).
1898 * config/ltmain.m4sh (func_mode_link): Change $filelist to
1901 2005-04-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1903 * m4/libtool.m4 (_LT_CC_BASENAME): Ignore `compile'.
1905 2005-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1907 * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [solaris]:
1908 Update wl for Sun Studio f77/f90/f95. Fix whole_archive_flag_spec
1909 for cc and f77/f90/f95 to prevent reordering in case we link with
1912 * m4/libtool.m4: Audit use of echo vs $ECHO.
1914 Reported by Robert Ögren <lists@roboros.com> and others.
1916 2005-04-23 Gary Kumfert <kumfert@llnl.gov>
1918 * m4/libtool.m4 (_LT_LANG_F77_CONFIG) [aix4, aix5]:
1919 Adjust logic to match the C case: Only disable static if not
1920 on ia64 nor runtimelinking.
1922 2005-04-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1924 * Makefile.am, HACKING: Use lt__cd throughout.
1926 2005-04-22 Gary V. Vaughan <gary@gnu.org>
1928 The FSF are moving offices today. Changed their contact address
1929 in all files from `59 Temple Place, Suite 330, MA 02111-1307' to
1930 `51 Franklin Street, Fifth Floor, MA 02110-1301'.
1932 2005-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1934 * libtoolize.m4sh (func_scan_files, func_serial,
1935 func_ltmain_update, func_config_update, func_install_update):
1938 2005-04-19 David Edelsohn <dje@watson.ibm.com>
1940 * config/ltmain.m4sh (func_mode_link): If command exceeds
1941 max_cmd_len and file_list_spec exists, write list of input files
1943 * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
1944 [aix4,aix5]: Define file_list_spec.
1946 2005-04-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1948 * tests/demo-hardcode.test: Fix typo.
1950 2005-04-17 Alexandre Oliva <aoliva@redhat.com>,
1951 Peter O'Gorman <peter@pogma.com>
1953 * config/ltmain.m4sh: Don't add files with the same base name to
1954 an archive; rename duplicates instead.
1955 (func_extract_an_archive): Remove section to deal with duplicate
1956 base names in an archive.
1957 * tests/functests.at: remove.
1958 * tests/duplicate_members.at: new test.
1959 * tests/testsuite.at: Add new test, remove old.
1960 * Makefile.am: Add new test, remove old.
1962 2005-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1964 * tests/demo-hardcode.test [solaris]: Use dumpstabs if available,
1965 to avoid false failure caused by debug section which contains
1966 command line (Solaris cc).
1967 Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.
1969 2005-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1971 * libtoolize.m4sh (func_copy_cb): Fix syntax typo.
1973 2005-04-15 Maciej W. Rozycki <macro@linux-mips.org>
1975 * m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Add old_archive_cmds
1978 2005-04-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1980 * m4/libtool.m4 (_LT_CC_BASENAME): New macro to figure out
1981 $cc_basename. Skip ccache, distcc, purify, cmdline options,
1982 `$host_alias-' prefix.
1983 (_LT_SETUP, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG)
1984 (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Use.
1985 * NEWS, TODO: Update.
1987 2005-04-15 Gary V. Vaughan <gary@gnu.org>
1989 * libltdl/configure.ac (AC_OUTPUT): loaders/Makefile is no longer
1992 * Makefile.am (lt__cd, CD_TESTDIR): New make macros to work around
1993 problems with CDPATH in some shells.
1994 (check-local, installcheck-local, clean-local): Use them.
1996 2005-04-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1998 * bootstrap: Define srcdir for making `commit'.
2000 2005-04-14 Alexandre Oliva <aoliva@redhat.com>,
2001 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2003 * config/ltmain.m4sh (link mode): Add to tmp_libs paths for
2004 libtool dep libs in reverse order as well.
2005 * Makefile.am, tests/testsuite.at, tests/link-order.at: New test.
2007 2005-04-13 Gary V. Vaughan <gary@gnu.org>
2009 Since the bootstrap process requires that several of the rules for
2010 files generated in doc and tests already lived in
2011 $top_srcdir/Makefile.am, along with proxy rules in sub-Makefiles,
2012 this changeset consolidates almost everything into the top
2013 Makefile.am, simplifying things considerably:
2015 * doc/Makefile.am, tests/Makefile.am: Removed. All rules moved...
2016 * Makefile.am: ...to here and adjusted to run from $top_builddir.
2017 Some reformatting to group rules and declarations by purpose, and
2018 simplify with respect to removing much of the make recursion.
2019 Add `doc/PLATFORMS', `doc/fdl.texi' and `doc/notes.texi'.
2020 `defs.in' and `defs.m4sh' are in directory `tests'.
2021 (uninstall-hook): Don't forget to uninstall libtoolize's libltdl
2023 * bootstrap: Simplified dirty makefile management, and bootstrap
2024 file creation in light of having only a single pertinent
2026 * configure.ac (CONF_SUBDIRS): Add tests/ prefix to each subdir to
2028 (DIST_MAKEFILE_LIST): Adjust.
2029 (AC_CONFIG_FILES): Remove doc/Makefile and tests/Makefile.
2030 * tests/defs.m4sh (LIBTOOL, scripts): Adjust paths.
2031 * tests/cdemo-conf.test, tests/cdemo-exec.test,
2032 tests/cdemo-make.test, tests/cdemo-shared.test,
2033 tests/cdemo-static.test, tests/cdemo-undef.test,
2034 tests/demo-conf.test, tests/demo-deplibs.test,
2035 tests/demo-exec.test, tests/demo-hardcode.test,
2036 tests/demo-inst.test, tests/demo-make.test,
2037 tests/demo-nofast.test, tests/demo-noinst-link.test,
2038 tests/demo-nopic.test, tests/demo-pic.test,
2039 tests/demo-relink.test, tests/demo-shared.test,
2040 tests/demo-static.test, tests/demo-unst.test,
2041 tests/depdemo-conf.test, tests/depdemo-exec.test,
2042 tests/depdemo-inst.test, tests/depdemo-make.test,
2043 tests/depdemo-nofast.test, tests/depdemo-relink.test,
2044 tests/depdemo-shared.test, tests/depdemo-static.test,
2045 tests/depdemo-unst.test, tests/f77demo-conf.test,
2046 tests/f77demo-exec.test, tests/f77demo-make.test,
2047 tests/f77demo-shared.test, tests/f77demo-static.test,
2048 tests/link-2.test, tests/link.test, tests/mdemo-conf.test,
2049 tests/mdemo-dryrun.test, tests/mdemo-exec.test,
2050 tests/mdemo-inst.test, tests/mdemo-make.test,
2051 tests/mdemo-shared.test, tests/mdemo-static.test,
2052 tests/mdemo-unst.test, tests/mdemo2-conf.test,
2053 tests/mdemo2-exec.test, tests/mdemo2-make.test, tests/nomode.test,
2054 tests/objectlist.test, tests/pdemo-conf.test,
2055 tests/pdemo-exec.test, tests/pdemo-inst.test,
2056 tests/pdemo-make.test, tests/quote.test, tests/sh.test,
2057 tests/suffix.test, tests/tagdemo-conf.test,
2058 tests/tagdemo-exec.test, tests/tagdemo-make.test,
2059 tests/tagdemo-shared.test, tests/tagdemo-static.test,
2060 tests/tagdemo-undef.test, tests/tagtrace.test (func_cd,
2061 func_require): Adjust paths.
2063 2005-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2065 * config/general.m4sh, libtool.m4 (_LT_SETUP), tests/defs.m4sh,
2066 tests/functests.at: Fix definition of $Xsed.
2068 2005-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2070 Improved Portland support: prelinking of C++ templates and
2073 * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [linux]:
2074 Reinstate formatted whole_archive_flag_spec for PGI compilers.
2075 * config/ltmain.m4sh (func_mode_link), m4/libtool.m4
2076 (_LT_LINKER_SHLIBS): New tag prelink_cmds, to be executed before
2078 (_LT_LANG_CXX_CONFIG) [linux]: Use for pgCC.
2079 (_LT_COMPILER_C_O): conftest might be nonempty, clean up more
2082 * tests/testsuite.at (LT_AT_BOOTSTRAP): Temporary fix for testing
2085 * m4/libtool.m4 (_LT_CONFIG_COMMANDS): Only call sed if
2086 necessary while quoting all libtool variables.
2087 Reported by Robert Ögren <lists@roboros.com>.
2089 2005-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2091 * tests/Makefile.am: Typo.
2093 2005-04-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2095 * notes.texi: Platform-specific configuration notes.
2096 * doc/libtool.texi: Include as section.
2097 * bootstrap, doc/Makefile.am: build also as notes.txt and
2100 2005-04-04 Gary V. Vaughan <gary@gnu.org>
2102 Under certain circumstances, not all of the macro files were
2103 copied into the destination directory. This changeset fixes
2106 * libtoolize.m4sh (func_serial_update): Renamed local variable
2107 `my_update_p' to `my_serial_update_p', and initialise it correctly
2108 even when the destination file is not yet there.
2109 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2111 2005-04-04 Gary V. Vaughan <gary@gnu.org>
2113 * tests/libtoolize.at: New tests for basic libtoolize
2114 functionality and reporting.
2115 * tests/testsuite.at: Call them.
2116 * tests/Makefile.am: Distribute them.
2118 * libtoolize.m4sh (pkgvdatadir): Renamed from this...
2119 (_lt_pkgvdatadir): ...to this.
2120 * tests/testsuite.at (LT_AT_LIBTOOLIZE): The `-I' option is no
2121 longer supported by libtoolize. Set _lt_pkgvdatadir in the
2122 environment of the invocation instead.
2124 2005-04-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2126 * tests/template.at: New Autotest tests for C++ with templates.
2127 First test provided by
2128 Markus Christen <markus@igc.phys.chem.ethz.ch>.
2129 * tests/Makefile.am, tests/testsuite.at: Use and distribute.
2131 2005-04-04 Gary V. Vaughan <gary@gnu.org>
2133 * libtoolize.m4sh (func_serial_update): Replace missing
2134 destination serial calculation line, presumably lost due to a bad
2137 * libltdl/loaders/Makefile.am: Removed actually.
2139 2005-04-04 Gary V. Vaughan <gary@gnu.org>
2141 Getting the value of ltdldatafiles from a submake was not
2142 portable, and had problems with GNU make-3.80 at least. This
2143 changeset pulls the installation rules for libtoolize's copy of
2144 the libltdl sources out of libltdl/Makefile.am so that
2145 ltdldatafiles is defined in the same Makefile that uses it. Also,
2146 this makes a start at cleaning up libltdl/Makefile.am so that it
2147 is useful in a package that uses `libtoolize --ltdl':
2149 * libltdl/loaders/Makefile.am: Removed entirely.
2150 * libltdl/Makefile.am (dlopen.la, dld_link.la, dyld.la)
2151 (load_add_on.la, loadlibrary.la, shl_load.la): All built from here
2152 now that the loaders submake has gone.
2153 (show-ltdldatafiles): Removed. No longer required.
2154 (ltdldatadir, ltdldatafiles, install-local): Moved from here...
2155 * Makefile.am (ltdldatadir, ltdldatafiles, install-local): ..to
2157 (libtoolize): Substitute $(ltdldatafiles) directly without calling
2158 make to get the value from libltdl/Makefile.
2160 2005-04-01 Gary V. Vaughan <gary@gnu.org>
2162 * Makefile.am (libtoolize): Substitute $(nobase_pkgvdata_DATA).
2163 pkgvmacro_DATA is no longer set in the makefile.
2164 * libtoolize.m4sh (func_massage_pkgvmacro_DATA): Use it and, for
2165 consistency, renamed from this...
2166 (func_massage_nobase_pkgvdata_DATA): ...to this. Adjust all
2169 2005-04-01 Gary V. Vaughan <gary@gnu.org>
2171 Fix problems with serial comparison sed scripts, and factor out
2172 common code from similar serial comparison functions:
2174 * libtoolize.m4sh (func_keyword_update): Common code factored out
2175 of func_ltmain_update and func_config_update.
2176 (func_ltmain_update, func_config_update): Adjust, and fix sed
2177 expressions to not use unportable ? modifier.
2178 (func_install_update): New serial number based file updater keyed
2179 off 'scriptversion' variable in install-sh. Adjust all callers.
2181 2005-04-01 Gary V. Vaughan <gary@gnu.org>
2183 Most of the hair introduced ostensibly to enable testing of
2184 uninstalled libtoolize isn't necessary if we allow overriding of
2185 the libtool master copy directory:
2187 * configure.ac (pkvmacrodir): No need to substitute this.
2188 * Makefile.am (edit): No need to substitute pkgvmacrodir.
2189 (dist_pkgvdata_DATA): Use nobase_ prefix so that these files are
2190 installed to $(pkgvdatadir)/config.
2191 (pkgvmacro_DATA): Renamed to...
2192 (nobase_pkgvdata_DATA): ...this, so that files are installed to
2194 (install-data-hook): Adjust.
2195 * libtoolize.m4sh: Remove -I processing.
2196 (func_filename_path_search): No longer required without -I.
2198 (pkgvltdldirs, pkgvmacrodirs): Deleted.
2199 (pkgvdatadir): Allow overriding from the environment so that we
2200 can write tests for uninstalled libtoolize.
2201 (func_serial_update, func_ltmain_update, func_config_update):
2202 Rename srcdirs parameter to srcdir, and don't call the path_search
2203 function anymore. Adjust all callers.
2204 (--install): Don't blindly copy all config files.
2206 2005-04-01 Mike Stump <mrs@apple.com>
2208 * m4/libtool.m4 (LT_CMD_MAX_LEN) [netbsd, freebsd, openbsd
2209 darwin, dragonfly]: Use 3/4 of argmax, instead of 1/4.
2211 2005-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2213 * m4/libtool.m4 (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG):
2216 * HACKING: echo vs $ECHO.
2218 2005-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
2220 * doc/libtool.texi: Minor formatting cleanups.
2222 2005-03-24 Gary V. Vaughan <gary@gnu.org>
2224 * libtoolize.m4sh: Propogate --debug flag to sub-libtoolizes.
2226 * libtoolize.m4sh: Fix a typo, s/pkgvltdldirs/pkgvdatadirs/.
2227 When using -I to test an uninstalled libtoolize, we need to add
2228 the config subdirectory to the search path so that ltmain.sh can
2229 be found in the source tree.
2231 * libtoolize.m4sh (func_copy_some_files): IFS needs to be set to
2232 path delimiter for all inner loop iterations.
2233 Once a matching file has been copied, no need to keep searching
2234 the path for another -- move on to the next file!
2236 * libtoolize.m4sh: For verbose mode, explain why macro files are
2237 not installed without an AC_CONFIG_MACRO_DIR declaration.
2239 2005-03-24 Gary V. Vaughan <gary@gnu.org>
2241 As a prerequisite for being able to test an uninstalled libtoolize
2242 for copying files correctly from the source tree, we must know
2243 exactly which files should be copied by the --ltdl option to avoid
2244 accidentally picking up compilation objects and other noise when
2245 $builddir == $srcdir:
2247 * libltdl/loaders/Makefile.am (ltdldatadir, ltdldatafiles)
2248 (install-data-local): Removed...
2249 * libltdl/Makefile.am (ltdldatafiles): ...and consolidated here.
2250 (show-ltdldatafiles): New rule...
2251 * Makefile.am (ltdldatafiles, libtoolize): ...used to substitute
2252 exactly which files are installed by libtoolize --ltdl.
2253 (edit): Move pkgvmacro_DATA substitution expression...
2254 (libtoolize): ...to here.
2255 * libtoolize.m4sh: Use func_copy_some_files() instead of
2256 func_copy_all_from_path() to copy the --ltdl option installed
2258 (pkgvltdldirs): New path variable to search for files installed by
2260 (func_massage_pkgvltdl_files): New function to calculate the list
2261 of ltdl installation files.
2263 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
2265 * m4/libtool.m4, m4/ltdl.m4: Indentation and quoting cleanup.
2267 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2269 * m4/libtool.m4 (_LT_LINKER_SHLIBS) [solaris]: Use ${wlarc}
2270 and set to empty when using $LD for linking. Fixes regression
2271 introduced in 2004-11-17.
2272 Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> and
2273 Пухальский Юрий Андреевич <pooh@cryptopro.ru>.
2275 2005-03-21 Gary V. Vaughan <gary@gnu.org>,
2276 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2278 * m4/libtool.m4 (_LT_SETUP, _LT_LANG_CXX_CONFIG)
2279 (_LT_LANG_F77_CONFIG): For matching compiler names -- Pick only
2280 first word, allow leading white space.
2281 * tests/sh.test: ..and test for missing `*' at end of patterns.
2283 2005-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2287 2005-03-20 Peter Ekberg <peda@lysator.liu.se>
2289 * m4/libtool.m4 (_LT_LINKER_SHLIBS) [irix5, irix6, nonstopux]:
2290 Test if it is possible to use the -exports_file linker option on
2291 irix with gcc, as the gcc specs file may include a -hidden_symbol
2292 option that is clashing with the -exports_file option.
2293 See this gcc bugzilla entry for further details:
2294 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15288
2297 2005-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2299 * tests/demo-nopic.test: Enhance status output
2300 noted by Tom Burger <tvburger@few.vu.nl>.
2302 2005-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2304 * config/ltmain.m4sh, tests/defs.m4sh: Typos.
2306 2005-03-18 Peter O'Gorman <peter@pogma.com>,
2307 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2309 * m4/libtool.m4: The compiler can be a program name with args, so
2310 always check cc_basename against compiler name and a wildcard.
2311 Also, drop unnecessary quotes in `case' argument.
2313 2005-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2315 * Makefile.am: tests/defs.in depends on config/general.m4sh.
2317 * config/general.m4sh: unconditionally set IFS, and set it
2318 to the one true right sequence: space, tab, newline.
2319 * m4/libtool.m4: remove IFS setting and as_* namespace
2322 * m4/libtool.m4 (_LT_CONFIG): Reset IFS to fix failure with ash.
2324 * configure.ac, libltdl/configure.ac: s/##/dnl/ for comments
2325 that are meaningless in configure.
2326 Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.
2328 2005-03-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2330 * libltdl/configure.ac: Update version; require Autoconf >= 2.59.
2332 * bootstrap: Allow to override tools.
2334 2005-03-15 Gary V. Vaughan <gary@gnu.org>
2336 * libtoolize.m4sh (func_massage_pkgvmacro_DATA): New function
2337 to calculate the macro filenames to be copied by libtoolize.
2338 * Makefile.am (edit): Substitute pkgvmacro_DATA.
2340 * bootstrap: Need to generate tests/package.m4 from Makefile.am
2341 before generating tests/testsuite from tests/Makefile.am, or
2342 else bootstrap of a fresh checkout fails.
2344 2005-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2346 * m4/libtool.m4 (_LT_COPYING): Update Copyright year.
2348 * m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]: Remove MAIN_
2349 dependency when creating shared libraries with Portland pgf77.
2351 2005-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2353 * configure.ac: stamp-vcl is in $top_srcdir, not $top_builddir.
2355 2005-03-12 Per Bothner <per@bothner.com>,
2356 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2358 Allow special characters in source file names. Will break unless
2359 `-o target' is also given, which must not contain special
2360 characters. En passant, fix source file quoting broken for
2363 * config/ltmain.m4sh (func_mode_compile): Use new variable
2364 qsrcfile for quoted source file name for compile $command. Fix
2365 missing quotes for _c_o lockfile.
2368 2005-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2370 * config/ltmain.m4sh (func_mode_link): Reword double negation in
2372 Reported by Jesper Louis Andersen <jlouis@mongers.org>.
2374 * bootstrap: really remove bogus files Makefile tests/Makefile.
2376 * doc/libtool.texi: Replace wicked whiches by thats or other
2377 better-sounding constructs.
2379 2005-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
2381 * tests/Makefile (clean-local): Ignore testsuite cleanup
2384 2005-03-11 Per Bothner <per@bothner.com> (tiny change)
2386 * tests/Makefile (clean-local): Only run the testsuite cleanup
2387 if the testsuite has been generated.
2389 2005-03-10 Gary V. Vaughan <gary@gnu.org>
2391 * libltdl/Makefile.am (install-data-local): Don't force v7 tar
2392 format with the `o' flag in create mode.
2393 Set the umask to 0 when untarring to avoid copied files taking
2394 their mode from the installer's umask.
2395 * libltdl/loaders/Makefile.am (install-data-local): Ditto.
2396 * libtoolize.m4sh (func_copy_cb): Ditto.
2397 Ignore errors from failed `cd' in the tar processes, since we
2398 may be running in dryrun mode.
2399 Reported by Noah Misch <noah@cs.caltech.edu>,
2400 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
2402 2005-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2404 * libltdl/Makefile.am: $(builddir) is not defined, replace by
2407 2005-03-08 Albert Chin-A-Young <china@thewrittenword.com>
2409 * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
2410 [irix*, osf*]: Output -update_registry information to
2411 ${output_objdir} directory, not ${objdir}. ${output_objdir}
2412 will work when a project has a single Makefile and performs
2413 builds in subdirectories. ${objdir} expects the source in
2414 the current directory, breaking single-Makefile builds.
2416 2005-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2418 * tests/stresstest.at: Remove multiple variable definition.
2424 2005-03-02 Gary V. Vaughan <gary@gnu.org>
2426 * libtoolize.m4sh (func_copy_cb): Use tar chof to avoid symlink
2428 * libltdl/Makefile.am, libltdl/loaders/Makefile.am
2429 (install-data-local): Ditto.
2431 2005-02-27 Gary V. Vaughan <gary@gnu.org>
2433 In branch-2-0 (and in time, others) ltversion.m4 has a dot
2434 delimited serial number that didn't used to be processed
2435 correctly by libtoolize. This changeset fixes that, and
2436 leverages those changes to check versions of ltmain.sh and
2437 config.sub, config.guess before overwriting when --force is
2440 * libtoolize.m4sh: Don't overwrite pkgaux files with --force
2441 unless --install is given too.
2442 (func_serial): Fix underquoting in regexp.
2443 (func_serial_max): New function to compare serial numbers.
2444 (func_serial_update_check): New function factored out of
2445 func_serial_update().
2446 (func_serial_update): Bail if SRCFILE is missing.
2447 Don't display both 'already up to date' and 'use --force to
2448 update' messages for the same file.
2449 Use func_serial_max to cope with `.' delimited serial numbers.
2450 (func_ltmain_update): Use func_serial_update_check and
2451 func_serial_max to do version checking with $package_revision.
2452 (func_config_update): Ditto with $timestamp.
2454 2005-02-26 Gary V. Vaughan <gary@gnu.org>
2456 * libltdl/Makefile.am (install-data-local): cd to $(srcdir)
2457 before tarring up the files for installation to
2458 $(DESTDIR)$(ltdldatadir). Don't remove the destination directory,
2459 since that interacts badly with the multi-Makefile installation.
2460 * libltdl/loaders/Makefile.am (install-data-local): Ditto.
2462 2005-02-26 Gary V. Vaughan <gary@gnu.org>
2464 I assume that it is okay to have undefined symbols in convenience
2465 libraries that will be used as modules -- the pic objects are
2466 built normally, and are not expected to resolve all their symbols
2467 until they are linked into a library; convenience libraries are
2468 then rolled using 'ar' and 'ranlib' (or equivalent) which also do
2469 not check whether symbols are resolved. We now build each of the
2470 loaders as a convenience library module under these assumptions,
2471 and link libltdl.la with selected modules, at which time all of
2472 the symbols *are* resolved:
2474 * TODO: Remove item addressed by this changeset.
2475 * libltdl/Makefile.am (lib_LTLIBRARIES): Remove libdlloader.la.
2476 (libdlloader_la_SOURCES): Declaration removed. Changed all
2477 clients. Source files..
2478 (libltdl_la_SOURCES): ...added back in here.
2479 (libdlloader_LDFLAGS, libdlloader_la_LIBADD): Removed.
2480 (libltdl_la_LIBADD): Remove libdlloader.la; add $(LTLIBOBJS).
2481 * libltdl/loaders/Makefile.am: Removed all references to
2484 2005-02-25 Gary V. Vaughan <gary@gnu.org>
2486 * libtoolize.m4sh (func_copy): Split arguments to func_copy_cb
2487 calls across lines so that quote.test doesn't misdiagnose nested
2490 * m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_COMPILER_PIC):
2491 Fix some typos -- s/_LT_AC_TAGVAR/_LT_TAGVAR/g.
2493 2005-02-24 Peter O'Gorman <peter@pogma.com>
2495 * m4/libtool.m4 (_LT_LINKER_SHLIBS): The Portland group's
2496 compiler does not pass --whole-archive. Move gnu ld check for
2497 the flag to the top so it can be overridden.
2498 (_LT_LANG_CXX_CONFIG, _LT_COMPILER_PIC): Unset
2499 whole_archive_flag_spec for the portland group's c++ compiler
2501 Reported by Jeff Squyres <jsquyres@lam-mpi.org>
2503 2005-02-23 Gary V. Vaughan <gary@gnu.org>
2505 * libltdl/Makefile.am (install-data-local): Don't forget about
2507 * libltdl/loaders/Makefile.am (install-data-local): Ditto.
2509 2005-02-23 Gary V. Vaughan <gary@gnu.org>
2511 Preserving the installed timestamps for libltdl sources from
2512 `libtoolize --ltdl --copy' is pointless if they are not preserved
2513 from the libtool source tree at install time:
2515 * libltdl/Makefile.am, libltdl/loaders/Makefile.am
2516 (nobase_ltdldata_DATA): Renamed to...
2517 (ltdldatafiles): ...this.
2518 (install-data-local): New rule to install libltdl tree with tar to
2519 preserve timestamps.
2521 2005-02-23 Christoph Egger <Christoph_Egger@gmx.de> (tiny change)
2523 * config/ltmain.m4sh (func_mode_link): Add -pthread like flags to
2524 inherited_linker_flags.
2526 2005-02-22 Gary V. Vaughan <gary@gnu.org>
2528 * libtoolize.m4sh (func_copy_cb): self.leg->shoot_off() :-/
2529 Let's not redirect stdout to null when sending tar output to a
2532 2005-02-22 Gary V. Vaughan <gary@gnu.org>
2534 Using `libtoolize --copy --ltdl' was not preserving timestamps, so
2535 parts of the autoconf bootstrap would be rerun spuriously after
2536 the files had been copied into the source tree:
2538 * libtoolize.m4sh (TAR): New default tar command.
2539 (func_copy_cb): Move the core copying internals to here, using
2540 $TAR to transfer files if possible when --copy was specified.
2541 (func_copy): Adjust to call func_copy_cb.
2542 * TODO: Remember to refactor this fix in due course.
2543 Reported by Jeff Squyres <jsquyres@lam-mpi.org>
2545 2005-02-21 Peter O'Gorman <peter@pogma.com>
2547 * config/ltmain.m4sh (func_extract_archives) [darwin]: This didn't
2548 actually work on a real fat archive, should do now.
2549 * tests/functests.at [darwin]: remove darwin fat tests which
2550 did not actually work.
2552 2005-02-07 Peter O'Gorman <peter@pogma.com>
2554 * config/ltmain.m4sh: Add -pthread like flags when linking
2556 Reported by Andreas Schwab <schwab@suse.de>
2558 2005-02-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2560 * config/ltmain.m4sh (func_mode_link): Allow five digits in
2563 * NEWS: s/Linux/GNU &/.
2565 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2567 * tests/Makefile.am, tests/testsuite.at, tests/stresstest.at:
2568 New test. Stresses several combinations of link flags and
2569 path specifications. Uses several data types to test linkage
2570 against symbols in all kinds of (e.g., ELF) sections.
2572 2005-02-03 Reid Spencer <reid@x10sys.com>,
2573 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2575 * config/ltmain.m4sh (func_generate_dlsyms): Fix broken subdir
2576 path computation, exposed by using `-dlopen self'. Fix broken
2577 sed script exposed by additionally using `-export-symbols FILE'.
2579 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2585 2005-02-03 Peter O'Gorman <peter@pogma.com>
2587 * config/ltmain.m4sh [darwin]: Don't add installed libs to
2588 temp_rpath when building executables on darwin, or other systems
2589 which use hardcode_automatic. It may break our wrapper scripts.
2591 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2593 * config/getopt.m4sh (func_version, func_usage, func_help):
2594 Exit with nonzero status on write failures.
2595 * config/ltmain.m4sh (func_mode_help, func_config, func_features):
2598 * tests/sh.test: Check for preferred function definition layout.
2600 2005-02-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2602 * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
2603 [pw32, freebsd3.[01], freebsdelf3.[01]]: Fix [] quoting. Should
2604 fix various spurious failures.
2605 (_LT_LINKER_SHLIBS) [linux with GNU ld < 2.11, aix4.[012]*]:
2607 (_LT_LANG_CXX_CONFIG) [aix4.[012]*, freebsd[12], solaris2.[0-5]]:
2609 (_LT_LANG_GCJ_CONFIG): Ditto.
2611 * tests/Makefile.am: Add `atconfig' to DISTCLEANFILES.
2613 * clcommit.m4sh: Test whether the shell understands `read -r'.
2614 Use as `$read_r' if available, so `\' is preserved in commit
2617 * HACKING (Editing `.m4sh' Files): Document preferred function
2619 * config/ltmain.m4sh (func_win32_libid, func_infer_tag)
2620 (func_generate_dlsyms, func_extract_an_archive)
2621 (func_extract_archives): Adjust to fit.
2623 2005-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2625 * m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Unicos 9 sed rejects
2626 empty parentheses as in 's/x\(\)/\1/'.
2627 (_LT_COMPILER_PIC) [unicos*]: wl=-Wl,.
2628 * tests/sh.test: Not all sed's like '/.*\n.*/' (Unicos 9 sed
2631 * tests/quote.test: Match link quoting against `"$wl"', not
2634 * tests/quote.test: Check for `--no-reexec' in $1 to avoid one
2637 * m4/libtool.m4 (_LT_COMPILER_C_O): _LT_TAGDECL(lt_compiler_c_o),
2638 not _LT_DECL, since this is tag-dependent.
2640 * config/ltmain.m4sh, m4/libtool.m4: Change `( cmd ) 2>/dev/null'
2641 to `{ cmd; } 2>/dev/null', when cmd has no side effects and might
2642 be a builtin. Note that it is unspecified whether cmd will run
2643 within a subshell (e.g. Bourne shells) or within the current shell
2644 (most modern shells).
2646 2005-01-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2648 * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [linux]:
2649 Update for Intel Compiler icc/icpc/ifort: add -i_dynamic and
2650 -nofor_main, if necessary. Simplify logic somewhat.
2652 2005-01-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2654 * tests/Makefile.am: also re-export CPP, CXXCPP, and the value of
2655 SHELL as CONFIG_SHELL.
2656 Reported by Heinz Salzmann <heinz.salzmann@micronas.com>.
2658 2005-01-26 Craig Dooley <xlnxminusx@gmail.com>,
2659 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2661 * NEWS, m4/libtool.m4, config/ltmain.m4sh [dragonfly]:
2662 Add support for DragonFly.
2664 2005-01-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2666 * m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Work around pdksh
2667 positional parameter expansion bug.
2669 2005-01-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2671 * config/ltmain.m4sh: Fix endless loop in cmdline parsing.
2673 2005-01-25 Albert Chin-A-Young <china@thewrittenword.com>
2675 * config/ltmain.m4sh (func_mode_link) [irix]: Preserve processor
2676 option for SGI Compiler (-r[0-9][0-9]*).
2678 2005-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2680 * m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Define Bourne and XSI
2681 variants of new function func_stripname for stripping literal
2682 prefixes and suffixes.
2683 * config/ltmain.m4sh (all over): Use func_stripname.
2685 * tests/defs.m4sh: Extract $build from $LIBTOOL.
2686 (func_configure): Pass --host if $host != $build.
2687 (func_exec): Try executing cross-compiled binaries (e.g. i686 ->
2688 i386), but SKIP rather than FAIL.
2689 * tests/depdemo-relink.test: Do not try to access possibly non-
2690 existent files. SKIP rather than FAIL or PASS falsely when
2693 * m4/libtool.m4 (_LT_SETUP) [mingw, cygwin, pw32, os2]:
2694 Add _LT_DECLs for host_os, build_alias, build and build_os.
2695 host_os and build were used in a few occasions in ltmain.m4sh
2696 and affect above-mentioned systems, the others are added for
2697 symmetry and in order to be able to detect cross-compiling.
2699 2005-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2701 * libltdl/Makefile.am: Add $(AM_LDFLAGS) to all per-target
2702 variables *_LDFLAGS as per CVS Automake semantic change.
2704 2005-01-16 Peter O'Gorman <peter@pogma.com>
2706 * config/ltmain.m4sh (func_mode_link): Don't pass through
2707 compiler-like thread flags when using $LD to do the linking.
2708 Use compiler_flags instead.
2709 Reported by Mark_Andrews@isc.org.
2711 * m4/libtool.m4 (LT_CMD_MAX_LEN) [osf]: On Tru64 there could
2712 be a kernel panic when testing the maximum command line length
2713 if exec_disable_arg_limit=1. Don't do the tests to figure it
2715 Reported by Dr. Hans Ekkehard Plesser
2716 <hans.ekkehard.plesser@umb.no>
2718 2005-01-14 Guido Draheim <guidod-2003-@gmx.de> (tiny change)
2720 * m4/libtool.m4 (AC_PROG_SED): Don't break test loop early.
2722 2005-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2726 * libltdl/ltdl.c: Whitespace cleanup.
2728 * config/ltmain.m4sh: New option `--verbose'/`-v' to enable
2729 override of `--silent'. Verbose is the default behavior.
2730 * doc/libtool.texi (Invoking libtool): Document it.
2732 * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: While "parsing"
2733 /etc/ld.so.conf, skip comments.
2734 Reported by Jens Elkner <elkner@linofee.org>.
2736 2005-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2738 * libltdl/libltdl/lt__glibc.h: Move all exported slist
2739 symbols into the lt__* namespace.
2740 * libltdl/libltdl/lt__private.h, libltdl/libltdl/slist.h:
2743 2005-01-10 Peter O'Gorman <peter@pogma.com>
2745 * config/ltmain.m4sh (func_mode_link): Fix
2746 inherited_linker_flags so it puts it on the link line when
2747 linking shared libraries as well as when linking executables.
2748 * tests/inherited_flags.at: test inherited_linker_flags.
2749 * tests/Makefile.am: Add test.
2750 * tests/testsuite.at: Add test.
2751 Reported by: Albert Chin-A-Young <china@thewrittenword.com>
2753 2005-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2755 * tests/sh.test: After `set dummy [...]', check for `shift'
2756 within the same and following line.
2757 * config/ltmain.m4sh (func_enable_tag, func_mode_install)
2758 (func_mode_link): Sprinkle `shift's all over to conform to this.
2760 2005-01-09 Gary V. Vaughan <gary@gnu.org>
2762 * HACKING (Editing 'ChangeLog'): Follow the GCS with respect to
2763 attributions, and mention how to handle tiny changes.
2764 Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.
2766 * ChangeLog.2004: Trim 2005 entries.
2767 * ChangeLog: Add missing entries.
2769 2005-01-08 Gary V. Vaughan <gary@gnu.org>
2771 * ChangeLog: Move 2004 change logs from here...
2772 * ChangeLog.2004: ...to here.
2774 * m4/argz.m4, m4/libtool.m4, m4/ltdl.m4, m4/ltoptions.m4,
2775 m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: RMS says,
2776 'I think the [license of autoconf macro files] should be:
2777 # This file is free software; the Free Software Foundation
2778 # gives unlimited permission to copy and/or distribute it,
2779 # with or without modifications, as long as this notice is
2782 * ChangeLog: Reformatting.
2783 * HACKING: Fix section numbering.
2784 (Editing 'ChangeLog'): New notes on ChangeLog entry format.
2786 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2788 * tests/am-subdir.at tests/testsuite.at (AT_BOOTSTRAP,
2789 AT_LIBTOOLIZE, AT_CHECK_LIBTOOLIZE): Rename to ...
2790 (LT_AT_BOOTSTRAP, LT_AT_LIBTOOLIZE, LT_AT_CHECK_LIBTOOLIZE):
2791 ...and make use of new names.
2793 Continued in ChangeLog.2004