PHP 7.4.33
Preview: ChangeLog Size: 1.11 MB
/home/godevadmin/www/upload_images/home/000~ROOT~000/usr/share/doc/libtool/ChangeLog

2015-02-15  Gary V. Vaughan  <[email protected]>

	version 2.4.6
	* NEWS: Record release date.

2015-02-06  Gary V. Vaughan  <[email protected]>

	libtool: don't execute automake and autoconf on every invocation.
	Regression from 2.4.2 was causing noticable slow-down in builds
	that call libtool many times.
	* build-aux/ltmain.in (func_help): Override func_help() from
	gl/build-aux/options-parser to only run automake --version and
	autoconf --version when libtool --help is executed on the command
	line.
	* NO-THANKS: Add Robert Yang.
	Reported by Robert Yang

2015-01-20  Gary V. Vaughan  <[email protected]>

	maint: undo copyright years regression.
	* gl/build-aux/options-parser: Undo copyright years regression.
	* bootstrap: Regenerate.

	bootstrap: sync with upstream.
	* gl/build-aux/bootstrap.in, gl/build-aux/extract-trace,
	gl/build-aux/funclib.sh, gl/build-aux/options-parser: Sync with
	upstream.
	* bootstrap: Regenerate.

2015-01-20  Pavel Raiskup  <[email protected]>

	libtool: respect config.site LT_SYS_LIBRARY_PATH
	Libtool generator code needs to remember the configure time
	LT_SYS_LIBRARY_PATH content to allow config.status properly
	instantiate default LT_SYS_LIBRARY_PATH libtool run-time value;
	Thats because config.status has no idea what the contents of
	config.site file is (by default).
	* m4/libtool.m4 (_LT_CONFIG): Use the _LT_DECLared
	$configure_time_lt_sys_library_path variable as the default for
	LT_SYS_DLSEARCH_PATH at run-time.
	(_LT_SYS_DYNAMIC_LINKER): Don't change ac_cv_* variable if it is
	not necessary. New $configure_time_lt_sys_library_path variable.
	* NEWS: Update.

	libtool.m4: typofix, subst last '$' with quadrigraph
	* m4/libtool.m4 (_LT_LIBTOOL_TAG_VARS): Encase the
	configure/libtool shared function into parseable borders; for
	testing purposes.
	(func_munge_path_list): Typo s/$/@S|@/.
	* tests/configure-funcs.at: New testcase.
	* Makefile.am (TESTSUITE_AT): Mention new testcase.
	* NEWS: Update.

	tests: fix an ltdl dryrun race condition.
	* tests/testsuite.at (LT_AT_ACLOCAL): Inject a 1 second sleep
	after aclocal to ensure subsequently generated autotools files
	will be newer.
	* NEWS: Update.

2015-01-19  Gary V. Vaughan  <[email protected]>

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 2.4.5
	* NEWS: Record release date.

2015-01-18  Gary V. Vaughan  <[email protected]>

	maint: update copyright statements to include 2015.
	* AUTHORS, HACKING, Makefile.am, NEWS, README.md, TODO,
	bootstrap, bootstrap.conf, build-aux/edit-readme-alpha,
	build-aux/git-hooks/commit-msg, build-aux/ltmain.in, cfg.mk,
	configure.ac, doc/libtool.texi, gl/build-aux/bootstrap.in,
	gl/build-aux/extract-trace, gl/build-aux/funclib.sh,
	gl/build-aux/inline-source, gl/build-aux/options-parser,
	libltdl/README, libltdl/configure.ac,
	libltdl/libltdl/lt__alloc.h, libltdl/libltdl/lt__argz_.h,
	libltdl/libltdl/lt__dirent.h, libltdl/libltdl/lt__glibc.h,
	libltdl/libltdl/lt__private.h, libltdl/libltdl/lt__strl.h,
	libltdl/libltdl/lt_dlloader.h, libltdl/libltdl/lt_error.h,
	libltdl/libltdl/lt_system.h, libltdl/libltdl/slist.h,
	libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
	libltdl/loaders/dyld.c, libltdl/loaders/load_add_on.c,
	libltdl/loaders/loadlibrary.c, libltdl/loaders/preopen.c,
	libltdl/loaders/shl_load.c, libltdl/lt__alloc.c,
	libltdl/lt__argz.c, libltdl/lt__dirent.c, libltdl/lt__strl.c,
	libltdl/lt_dlloader.c, libltdl/lt_error.c, libltdl/ltdl.c,
	libltdl/ltdl.h, libltdl/ltdl.mk, libltdl/slist.c, libtoolize.in,
	m4/autobuild.m4, m4/libtool.m4, m4/ltargz.m4, m4/ltdl.m4,
	m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.in,
	m4/lt~obsolete.m4, m4/m4.m4, tests/am-subdir.at,
	tests/archive-in-archive.at, tests/bindir.at, tests/cdemo.at,
	tests/cmdline_wrap.at, tests/configure-iface.at,
	tests/convenience.at, tests/ctor.at, tests/cwrapper.at,
	tests/darwin.at, tests/demo.at, tests/depdemo.at,
	tests/deplib-in-subdir.at, tests/deplibs-ident.at,
	tests/deplibs-mingw.at, tests/destdir.at, tests/dlloader-api.at,
	tests/dumpbin-symbols.at, tests/duplicate_conv.at,
	tests/duplicate_deps.at, tests/duplicate_members.at,
	tests/early-libtool.at, tests/exceptions.at,
	tests/execute-mode.at, tests/exeext.at, tests/export-def.at,
	tests/export.at, tests/f77demo.at, tests/fail.at,
	tests/fcdemo.at, tests/flags.at, tests/help.at,
	tests/indirect_deps.at, tests/infer-tag.at,
	tests/inherited_flags.at, tests/install.at,
	tests/lalib-syntax.at, tests/libtool.at, tests/libtoolize.at,
	tests/link-order.at, tests/link-order2.at, tests/loadlibrary.at,
	tests/localization.at, tests/lt_dladvise.at, tests/lt_dlexit.at,
	tests/lt_dlopen.at, tests/lt_dlopen_a.at, tests/lt_dlopenext.at,
	tests/ltdl-api.at, tests/ltdl-libdir.at, tests/mdemo.at,
	tests/need_lib_prefix.at, tests/no-executables.at,
	tests/nocase.at, tests/nonrecursive.at, tests/old-ltdl-iface.at,
	tests/old-m4-iface.at, tests/pic_flag.at, tests/recursive.at,
	tests/resident.at, tests/runpath-in-lalib.at,
	tests/search-path.at, tests/shlibpath.at, tests/slist.at,
	tests/standalone.at, tests/static.at, tests/stresstest.at,
	tests/subproject.at, tests/sysroot.at, tests/tagdemo.at,
	tests/template.at, tests/testsuite.at, tests/versioning.at,
	tests/with-pic.at: Update copyright statement to include 2015.
	* cfg.mk: Adjust old_NEWS_hash accordingly.

2015-01-16  Gary V. Vaughan  <[email protected]>

	gnulib: sync with upstream.
	* gnulib: Sync with upstream.
	* doc/.gitignore: Regenerate.

2015-01-16  Pavel Raiskup  <[email protected]>

	libtoolize: fix ltdl installation order.
	Fixes regression caused by commit 99a808be.
	Makefile.in has aclocal.m4 as prerequisite, so Makefile.in
	should be installed later to avoid unnecessary rebuild by
	(versioned) aclocal.
	* Makefile.am (pkgltdl_files): Move the Makefile.in file down in
	the list after aclocal.m4.
	* tests/libtoolize.at: Adjust to match reordered output.

2014-12-12  Gary V. Vaughan  <[email protected]>

	libtool: check Sun Pro CXX ABI postdeps at libtool time.
	* m4/libtool.m4 (_LT_PREPARE_CC_BASENAME): Factor cc_basename
	calculation into a shell function...
	(_LT_CONFIG_SAVE_COMMAND): ...and expand it into generated
	libtool script.
	(_LT_CC_BASENAME): Adjust accordingly.
	(_LT_FUNC_SUNCC_CSTD_ABI): Remove from here...
	* build-aux/ltmain.in (func_suncc_cstd_abi): ...and reimplement
	here.
	* m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Remove postdeps
	augmentation from here...
	* build-aux/ltmain.in (func_mode_link): ...and reimplement here
	just before postdeps are added.
	* NEWS: Update.

	libtool: more carefully avoid automatic -Cstd -Crun on Sun Pro CXX.
	* m4/libtool.m4 (_LT_FUNC_SUNCC_CSTD_ABI): New function factored out
	of repeated code.  Take note of other known -Cstd incompatible
	compiler flags.
	(_LT_SYS_HIDDEN_LIBDEPS): Use it to determine whether -Cstd -Crun
	can be safely added to postdeps with Sun Pro CXX.
	* NEWS: Update.
	* NO-THANKS: Add Marc Glisse.
	Reported by Marc Glisse

	libtool: take care not to double-apply LT_SYS_LIBRARY_PATH.
	* m4/libtool.m4 (_LT_CONFIG_SAVE_COMMANDS): Copy configure-time
	LT_SYS_LIBRARY_PATH settings as default, but allow run-time
	override.
	(_LT_SYS_DYNAMIC_LINKER): Save the unmunged
	sys_lib_dlsearch_path_spec value, and use it for _LT_DECL,
	but then munge it with LT_SYS_LIBRARY_PATH for use in ltdl.m4
	macros, such as LT_SYS_DLSEARCH_PATH.

2014-12-11  Pavel Raiskup  <[email protected]>

	libtool: support LT_SYS_LIBRARY_PATH for adjusting bad guesses.
	Revert 8728e07 and 440fee6.
	Some GNU/Linux distributions install libraries into /lib64 (or
	/usr/lib64) on 64-bit machines, while /lib (/usr/lib
	respectively) stays for multilib variant.  Other distributions
	keep /usr/lib for 64-bit variant and reserve other directory for
	multilib. Detection of what approach a given system uses is
	difficult, however, especially because Glibc's ldconfig does not
	report the full and correct list of search paths. Allow the user
	to adjust Libtools heuristically determined search paths with
	the new LT_SYS_LIBRARY_PATH environment variable at both
	compile-time, when libtool is called, and at configure time.
	* m4/libtool.m4 (_LT_PREPARE_MUNGE_PATH_LIST): Define a new
	function to munge a libtool path list according to a user
	supplied colon-delimited path.
	(_LT_SYS_DYNAMIC_LINKER): Require _LT_PREPARE_MUNGE_PATH_LIST.
	Mark LT_SYS_LIBRARY_PATH as precious to autoconf (to survive
	automatic "autoreconf").
	Call the new func_munge_path_list function on
	sys_lib_dlsearch_path_spec - this propagates results to
	generated libtool script.
	(_LT_CONFIG): Expand _LT_PREPARE_MUNGE_PATH_LIST into generated
	libtool script.
	* build-aux/ltmain.in (func_mode_link): Call it to adjust
	sys_lib_dlsearch_path according to LT_SYS_LIBRARY_PATH.
	* doc/libtool.texi: Document new LT_SYS_LIBRARY_PATH.
	* doc/notes.texi: Likewise.
	* NEWS: Update.

	References: http://thread.gmane.org/gmane.comp.gnu.libtool.general/8339/focus=8345

2014-12-11  Gary V. Vaughan  <[email protected]>

	maint: fix syntax-check failures.
	* m4/m4.m4 (AC_PROG_GNU_M4): Reverse some test arguments for
	sc_prohibit_test_const_follows_var.
	Remove some spurious braces for
	sc_useless_braces_in_variable_drefs.

	bootstrap: sync with upstream.
	* gl/build-aux/extract-trace (func_find_tool): Quote a bare
	variable expansion in a test argument.
	* bootstrap: Regenerate.

2014-12-05  Gary V. Vaughan  <[email protected]>

	libtool: s390x is also a 64bit glibc/ELF platform.
	* m4/libtool.m4 (_LT_SYS_DYNAMIC_LIB): Add s390x to glibc/ELF
	compatible CPUs that have /lib64 and /usr/lib64 in
	sys_lib_dlsearch_path_spec.
	Reported by Pavel Raiskup

2014-12-04  Gary V. Vaughan  <[email protected]>

	libtool: for 64bit GNU arches, add /lib64 and /usr/lib64 to sys_lib_dlsearch_path.
	* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <linux*, k*bsd*-gnu>
	<kopensolaris*-gnu, gnu*>: If $host_cpu contains "64", add /lib64
	and /usr/lib64 to sys_lib_dlsearch_path_spec.
	Reported by Orion Poplawski, Christian Rössel, Olly Betts et. al.

	libltdl: fix gcc compiler warning for unused attributes.
	* libltdl/ltdl.c, libltdl/loaders/dld_link.c,
	libltdl/loaders/dlopen.c, libltdl/loaders/dyld.c,
	libltdl/loaders/load_add_on.c, libltdl/loaders/loadlibrary.c,
	libltdl/loaders/preopen.c, libltdl/loaders/shl_load.c: For at
	least gcc 4.8.3 and 4.9.1, __attribute__((__unused)) should
	follow the unused parameter declaration.
	* NO-THANKS: Add Дилян Палаузов.
	Reported by Дилян Палаузов

2014-12-04  Eric Bavier  <[email protected]>

	tests: do not assume compiler prefers shared libraries.
	Testing whether -static-libtool-libs causes a non-libtool library to be
	linked dynamically is effectively a test of the compiler's preference in
	this case.  The Cray compiler prefers static libraries if not told
	otherwise.
	* tests/static.at [static linking flags for programs]: Do not expect
	 -static-libtool-libs to fail.

2014-12-04  Norihiro Tanaka  <[email protected]>

	libtool: fix sys_lib_dlsearch_path_spec for ia64 HP-UX.
	The run-time loader does not search /usr/local or subdirectories
	by default on ia64 HP-UX.
	* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Fix
	sys_lib_dlsearch_path_spec for ia64 HP-UX.
	* NEWS: Update.

2014-12-04  Gary V. Vaughan  <[email protected]>

	libltdl: edit AM_CPPFLAGS correctly for libltdl/Makefile.am.
	* libltdl/ltdl.mk (AM_CPPFLAGS): Make sure the sed expression to
	remove the first libltdl/ on each line is not confused by misuse
	of linebreaks.
	* Makefile.am (lt_Makefile_am): Also edit out the duplicated
	include paths after libltdl/ elimination.
	* NEWS: Update.
	Reported by Michael Wobst

2014-12-04  Tijl Coosemans  <[email protected]>

	libtool: commit forgotten soname_spec for freebsd-elf in bb7cef9.
	* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <freebsd-elf>: Set
	soname_spec correctly, per original patch.
	* NEWS: Update.

2014-12-03  Gary V. Vaughan  <[email protected]>

	bootstrap: sync with upstream for runtime M4 checking functions.
	* gl/build-aux/extract-trace: Sync with upstream for runtime M4
	checking functions.
	* bootstrap: Regenerate.
	* NEWS: Update.

	configury: bail out early if GNU M4 is not on the path.
	Now that libtoolize requires an installed GNU M4 to parse
	configure.ac and aclocal.m4 sources for libltdl macros, let the
	user know at configure time when it is missing.
	* m4/m4.m4: New file for rejecting non-GNU and buggy GNU versions
	of M4. Copied from GNU Autoconf m4.m4.
	* Makefile.am (lt_aclocal_m4_deps): Add m4/m4.m4.
	* configure.ac (AC_PROG_GNU_M4): Call it.
	* NEWS: Update.
	Reported by Michael Felt

2014-11-29  Gary V. Vaughan  <[email protected]>

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 2.4.4
	* NEWS: Record release date.

	gnulib: sync with upstream.
	* gnulib: sync with upstream.

2014-11-29  Michael Haubenwallner  <[email protected]>

	libtool: optional filename-based shlib versioning on aix.
	Support filename-based shared library versioning on AIX with the
	lib.so library filename extension, which is used with runtime
	linking only. Runtime linking is enabled by the -brtl linker
	flag for executables and the -G linker flag for Shared Objects.
	The behaviour is similar to Linux/SVR4 DT_SONAME, hence the name
	"aix-soname=svr4".
	* Makefile.am (TESTS_ENVIRONMENT): Pass with_aix_soname value
	via lt_cv_with_aix_soname into testsuite.
	* configure.ac: AC_SUBST with_aix_soname for testsuite.
	* libltdl/loaders/dlopen.c (vm_open): Use RTLD_MEMBER flag for
	dlopen when the filename does specify an archive member between
	"()". Otherways, retry with appending LT_SHARED_LIB_MEMBER when
	loading fails without but archive file seems to exist.
	* m4/libtool.m4 (dynamic_linker): Describe configured shared
	library versioning variant according to with_aix_soname and
	runtime linking.
	(soname_spec, library_names_spec, shlibpath_overrides_runpath)
	(postinstall_cmds, postuninstall_cmds, hardcode_direct)
	(hardcode_direct_absolute, no_undefined_flag)
	(allow_undefined_flag): Set according to with_aix_soname and
	runtime linking configuration.
	(export_symbols_cmds): Decorate symbols with the weak keyword.
	(archive_expsym_cmds): Create both shared libraries according to
	with_aix_soname and runtime linking configuration. Filter -brtl
	linker flag from compiler_flags for shared libraries due to its
	side effects.
	(enable_static): Respect with_aix_soname for disabling as well.
	* m4/ltdl.m4 (LT_SHARED_LIB_MEMBER): Define, set based on the
	value of the shared_archive_member_spec libtool variable.
	* m4/ltoptions.m4 (_LT_WITH_AIX_SONAME): New. Provides
	commandline option --with-aix-soname=aix|svr4|both. Declares
	$shared_archive_member_spec as libtool variable.
	(_LT_SET_OPTIONS): Define LT_INIT options "aix-soname=aix",
	"aix-soname=svr4", "aix-soname=both". Default is
	"aix-soname=aix".
	* doc/libtool.texi (LT_INIT): Document new options.
	* tests/deplibs-ident.at: To define whether this test should
	XFAIL, use hardcode_action, hardcode_direct,
	hardcode_direct_absolute configuration settings instead of
	platforms aix, bitrig, hppa-hpux, interix or openbsd.
	* tests/versioning.at: When shared_archive_member_spec is defined
	and LDFLAGS contain -brtl, we can run the versioning check.
	* NEWS: Update.

2014-11-28  Tijl Coosemans  <[email protected]>

	libtoolize: no need for umask 0 now that copying does not use tar.
	The umask calls seem to be left over as a workaround for several
	releases ago when libtoolize copied libltdl sources with the help
	of tar.  Now that we use cp or ln -s exclusively, this just
	needlessly makes the files world writable; we should just respect
	the users' own umask setting.
	* libtoolize.in (func_copy): Remove umask 0 calls and simplify.

2014-11-28  Gary V. Vaughan  <[email protected]>

	maint: syntax-checks don't like ${ even in comments!
	* m4/ltdl.m4: Fix a comment to appease syntax-check rules.

2014-11-28  Tijl Coosemans  <[email protected]>

	libtool: use a modern library version scheme for freebsd-elf.
	* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Adopt downstream patch
	used by FreeBSD for versioned library filenames.
	* build-aux/ltmain.in (func_mode_link): Replace conflicting
	freebsd-elf version_type case branches with a single calculation
	setting major and versuffix to match downstream FreeBSD.

	libtool: split sco version into its own type.
	* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Set version type to
	"sco" for sco based hosts.
	* build-aux/ltmain.in (func_mode_link): Accept new "sco"
	version_type as equivalent to freebsd-elf.

2014-11-28  Gary V. Vaughan  <[email protected]>

	configury: detect dlsym underscore prefix without dlopen self.
	* m4/ltdl.m4 (LT_FUNC_DLSYM_USCORE): Compile, load and get the
	address of a symbol from a separate loadable module, rather than
	assuming dlopen self works.
	* NEWS: Update.
	Reported by KO Myung-Hun

2014-11-26  Gary V. Vaughan  <[email protected]>

	ltdl: fix a long standing duplicate `-ldl' bug in the link line.
	* m4/ltdl.m4 (LT_LIB_DLLOAD): Save contents of LIBS before
	calling AC_SEARCH_LIBS, which prepends to LIBS by default, and
	restore afterwards.  We set LIBADD_DLOPEN and LIBADD_SHL_LOAD
	so that dynamic loader libraries can be added selectively only
	where they are needed.
	* NEWS: Update.

2014-11-21  Michael Haubenwallner  <[email protected]>

	tests: do not test undef symbols across shlibs on AIX.
	On AIX, undefined symbols across shared libraries can work only
	when the main program explicitly exports those symbols. As this
	is bad practice anyway and -no-undefined should be preferred, we
	skip this.
	* tests/template.at: Skip test with undef syms across libraries
	on AIX.

	tests: question mark is extended regex for non-GNU grep.
	Accepting \? for at-most-once in basic regex is a GNU grep
	extension, not accepted by AIX grep for example.
	* tests/libtool.at: Use \{0,1\} instead of ? with GREP.

2014-11-18  Gary V. Vaughan  <[email protected]>

	maint: Fox a resent smelling mystique.
	* build-aux/git-log-fix: ChangeLog edit.
	Reported by Eric Blake

	bootstrap: make sure gnulib file droppings are removed.
	* bootstrap.conf (libtool_cleanup_empty_dirs): Recent bootstrap
	updates set source_base to null, so we need to use ${x:-y} to
	override the null.  Autoconf Shellology says that ancient BSD
	/bin/sh chokes on :- defaults, but bootstrap is a developer tool,
	and so we can reasonably expect a developer to have a working
	/bin/sh to run the bootstrap script.

	bootstrap: add missing debug preambles.
	* bootstrap.conf (libtool_prep, func_require_ltdl_dir)
	(libtool_require_package_url): Add missing $debug_cmd calls.

2014-11-18  Vincent Lefevre  <[email protected]>

	NEWS: Fix an ancient spelling mistake.
	* NEWS: s/propogate/propagate/.
	* cfg.mk (old_NEWS_hash): Update.

2014-11-17  Vincent Lefevre  <[email protected]>

	libtool: fix comment typo.
	* m4/libtool.m4: Fix -fvisbility=hidden typo in a comment.

2014-11-04  Gary V. Vaughan  <[email protected]>

	maint: fix a syntax-check failure.
	* tests/cmdline_wrap.at (fail_list): quote test arguments to
	satisfy failing syntax-checks.

	libtool: fix universal library building on darwin.
	* build-aux/ltmain.in (func_extract_archives): $basename is now
	spelled $sed_basename.
	* NO-THANKS: Update.
	Reported by Misty De Meo

	tests: update fat binary test case for modern darwin.
	* tests/darwin.at: Use "-arch x86_64", which works on modern
	Apple hardware, rather than "-arch ppc", which generally does not.

	tests: fix false positive in failed test check for cmdline_wrap.at.
	* tests/cmdline_wrap.at (fail_list): non-matching globs return as
	a plain unexpanded string, so we also need to test for file
	existence before expanding into fail_list.

	bootstrap: sync with upsteram.
	* gl/build-aux/bootstrap.in: Sync with upstream.
	* bootstrap: Regenerate.

2014-11-04  KO Myung-Hun  <[email protected]>

	libtool: support versioning on OS/2.
	* build-aux/ltmain.in (func_mode_link) <*-os2*>: Set major and
	versuffix.
	* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <*-os2*>: Set
	version_type to windows. Add a version information to soname_spec.
	* NEWS: Update.

	libtool: support -export-symbols and -export-symbols-regex on OS/2.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
	<*-os2*>: Set archive_expsym_cmds.
	* NEWS: Update.

	libtool: add -os2dllname option.
	On OS/2, if there are many DLLs whose prefix is the same and
	very long, the resulting DLLs are overwritten. Provide a new
	option to force a DLL name.
	* build-aux/ltmain.in (func_mode_help): Add a description for
	-os2dllname.
	(func_mode_link): Add -os2dllname.
	* doc/libtool.texi: Document it.
	* NEWS: Update.

	libtool: fix DLL creation/installation/uninstallation on OS/2.
	OS/2 can only load a DLL with a base name of 8 characters or
	less. Also, on OS/2 don't install or uninstall using a link.
	* build-aux/ltmain.in: Do not strip an import lib.
	* m4/libtool.m4: Set variables to fix DLL creation, installation
	and uninstallation.

	libtool: support -Zxxx options used on OS/2.
	* build-aux/ltmain.in (func_mode_link): Add -Z* case, treating
	them specially on os2 only.

	libtool: set lt_cv_deplibs_check_method to pass_all on OS/2.
	* m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Same as the title.

	libtool: there is no need to relink DLLs on OS/2.
	* build-aux/ltmain.in (func_mode_link) <*-os2*>: need_relink=no.

	ltdl: OS/2 uses other APIs to load a DLL than LoadLibrary() on Windows.
	* m4/ltdl.m4: Remove os2* from a list for loadlibrary.la.

	libtool: support to link against static libraries on OS/2.
	* m4/libtool.m4 (_LT_COMPILER_PIC): Set lt_prog_compiler_static to
	$wl-static.

	libtool: don't eliminate duplications in $postdeps and $predeps on OS/2
	* build-aux/ltmain.h (libtool_validate_options): Add *os2* to the list.

2014-11-03  Gary V. Vaughan  <[email protected]>

	configury: create installation dir before writing to it.
	* Makefile.am (install-scripts-local): Don't forget to make the
	installation target directory before writing to it.
	* NO-THANKS: Update.
	Reported by Allan McRae

	maint: .PHONY rules to protect gmake from pathological file names.
	* Makefile.am (.PHONY): Add install-scripts-local,
	check-interactive, check-noninteractive-old,
	check-noninteractive-new and check-noninteractive.

2014-11-02  Arkadiusz Miśkiewicz  <[email protected]>

	tests: fix typo in cmdline_wrap skip check.
	* tests/cmdline_wrap.at (fail_list): fix a typo in loop script
	text.

2014-11-02  Gary V. Vaughan  <[email protected]>

	libtoolize: don't forget to remove old non-gnulib argz files.
	* libtoolize.in (all_pkgltdl_files): Add back argz.c and argz_.h,
	as installed by previous libtool releases.

	libltdl: move libltdl argz module into LT namespace.
	To avoid clashes with gnulib argz module in ltdl client projects,
	move ours into its own namespace.
	* libltdl/argz_.h, libltdl/argz.c, m4/argz.m4: Move from here...
	* libltdl/libltdl/lt__argz_.h, libltdl/lt__argz.c, m4/ltargz.m4:
	...to here.
	* Makefile.am, libltdl/libltdl/lt__glibc.h, libltdl/ltdl.mk,
	libtoolize.in, m4/ltdl.m4: Adjust accordingly.
	* tests/libtoolize.at, tests/ltdl-api.at, tests/nonrecursive.at,
	tests/old-ltdl-iface.at: Adjust for different libtoolize output.
	* libltdl/.gitignore: Adjust accordingly.
	* NEWS: Update.
	Reported by Pavel Raiskup

	maint: whitespace cleanup.
	* Makefile.am ($(thanks)): Fix several whitespace syntax-check
	failures.

2014-11-02  Pavel Raiskup  <[email protected]>

	libtoolize: do not remove gnulib files with --force.
	* libtoolize.in (func_require_seen_libtool): Do not remove
	snippet/* files which are from Gnulib.

2014-10-30  Gary V. Vaughan  <[email protected]>

	tests: set bindir and libdir at configure time.
	In particular, openSuSE on x86_64 uses CONFIG_SITE to set libdir
	to "${exec_prefix}/lib64", which confuses testcases that check
	the contents of "${prefix}/lib".  In general, tests that expect
	to find installed files in specific directories should explicitly
	set those directories at configure time.
	* tests/testsuite.at (LT_AT_CONFIGURE): Make sure exec_prefix,
	bindir and libdir point to known subdirectories we can check the
	contents of later on in a test case.
	(prefixdir): Rename from this...
	(prefix): ...to this.  All test cases that set or use the config
	prefix directory must now refer to `prefixdir` for the helper
	macros in this file to work in hostile build environments such
	as CONFIG_SITE setting openSuSE.
	* tests/demo.at, tests/depdemo.at, tests/mdemo.at,
	tests/tagdemo.at: Adjust accordingly.
	Reported by Peter Breitenlohner.

2014-10-29  Reuben Thomas  <[email protected]>

	libtool: -rdynamic support for tcc.
	* m4/libtool.m4 (_LT_LINKER_SHLIBS) <linux*>: Set
	export_dynamic_flag_spec appropriately when using tcc.

	libtool: preliminary support for tcc on linux*.
	* m4/libtool.m4 (_LT_LINKER_SHLIBS) <linux*>: Set archive_cmds and
	ld_shlibs appropriately when using tcc.
	* NEWS: Update.

2014-10-29  Gary V. Vaughan  <[email protected]>

	maint: fix README-alpha version match.
	With simplified release version numbering (thank you, git!), be
	careful to recognize four part alpha versions, or short git
	revision suffixed alpha versions correctly.
	* Makefile.am (re_odd_version): Remove.
	(re_alpha_version): Recognize alpha version numbers.
	($(readme)): Adjust accordingly.

	maint: autogenerate THANKS.
	More automation == less time wasted on menial tasks.
	* build-aux/thanks-gen: script inspired by coreutils.
	* Makefile.am (THANKS): Based on rule from coreutils/Makefile.am.
	* NO-THANKS: New file.  Configure thanks-gen output.
	* THANKS: Remove.

	maint: fix prefix and suffix installs for libtoolize.
	* Makefile.am (install-data-local): Depend on new
	install-scripts-local, and move libtoolize install from here...
	(install-scripts-local): ...to here.
	Pass libtoolize destination through program transform expression.
	(uninstall-hook): Likewise, prior to removal.
	* NEWS: Update.
	* THANKS: Update.
	Reported by Václav Zeman

2014-10-27  Gary V. Vaughan  <[email protected]>

	maint: move Peter O'Gorman and Ralf Wildenhues to past maintainers.
	* AUTHORS: Move Peter O'Gorman and Ralf Wildenhues from current
	to past maintainers list.

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 2.4.3
	* NEWS: Record release date.

	bootstrap: sync with upstream.
	* gl/build-aux/bootstrap.in, gl/build-aux/funclib.sh: Sync with
	upstream.
	* bootstrap: Regenerate.

	testsuite: fixes required for `make distcheck CC=g++`.
	* tests/demo.at (Pdemo conf): Overide _LT_DEMO_SETUP foo.h to
	declare foo2.
	* tests/mdemo.at (_LT_SETUP): Don't wrap `sub` dectlaration in
	C++ guards, because sub.c is also compiled with g++ in this test.
	* tests/old-ltdl-iface.at (old.c): Add a return type to main
	declaration as required by C++.

	maint: fix a typo in THANKS.
	* THANKS: s/macports\.com/macports.org/

	syntax-check: use strlcpy instead of strncpy.
	* libltdl/loaders/dyld.c (vm_sym): Use strlcpy to pacify syntax
	checks.
	* libltdl/ltdl.c (try_dlopen): Likewise.

2014-10-25  Gary V. Vaughan  <[email protected]>

	libtool: fix GCC linking with -fstack-protector.
	* build-aux/ltmain.in (func_mode_link): Pass -fstack-protector*
	to the linker as it is required at link time to resolve libssp symbols.
	From Yaakov Selkowitz

	libtool: support Mac OS 10.10 and newer.
	The current template mistakenly treats a MACOSX_DEPLOYMENT_TARGET
	value of "10.10" as "10.1" followed by junk. Thinking that the
	build is targeting 10.1 Puma instead of 10.10 Yosemite, it tells
	the linker to ignore undefined symbols instead of dynamically
	resolving them. This can cause runtime crashes* and will affect
	subsequent versions of OS X.
	* libtool.mk (_LT_REQUIRED_DARWIN_CHECKS): Improve case match so
	as to reject 10.10.x on the 10.1 and 10.2 branch.
	* THANKS: Add Lawrence Velázquez.
	From Lawrence Velázquez

	bootstrap: commit latest to avoid regeneration at build time.
	* bootstrap: Regenerate.

	gnulib: sync with upstream.
	* gnulib: Sync with upstream.

2014-05-13  Peter Rosin  <[email protected]>

	libtool: delay expansion of $ECHO until the wrapper script runs
	Expanding $ECHO too early leads to unquoted \n when ECHO='printf %s\n'.

	Fixes bug#17478. Reported by Egmont Koblinger.

	* build-aux/ltmain.in (func_emit_wrapper) [fast_install]: Quote the
	$ECHO, and delay the expansion.

2014-05-06  Peter Rosin  <[email protected]>

	libtool: fix nm test for MSYS/MinGW
	The check for the -B option of nm does not work as intended on MSYS/MinGW.
	MSYS converts /dev/null to the DOW/Windows "equivanent" special file NUL,
	but the MinGW nm treats this file as any empty file. This means that
	you might end up with some fallback nm instead of the desired nm. This
	is not normally a problem, but if one nm is built without lto support, it
	starts to matter.

	Fixes sr #108558, reported by LRN.

	* m4/libtool.m4 (LT_PATH_NM) [MSYS]: Use a non-existant file instead of
	/dev/null when checking if nm supports -B.

2014-05-05  Peter Rosin  <[email protected]>

	libtool: speed up ltwrapper_script detection in execute mode
	Execute mode is slow and might even DOS the computer in extreme
	cases when a parameter is a big binary file without newlines.
	Work around this with different truncation if a suitable dd
	utility is found.

	Fixes bug#13472 and bug#16662.

	Reported by Pavel Raiskup and Nick Bowler.

	* m4/libtool.m4 (_LT_PATH_DD): New macro, for finding a dd utility
	that works for the below purpose.
	(_LT_CMD_TRUNCATE): New macro, for finding out how to truncate binary
	pipes (fallback to the old sed truncation if no suitable dd is found
	in _LT_PATH_DD).
	(_LT_SETUP): Require _LT_CMD_TRUNCATE.
	(LT_INIT): Require Autoconf 2.62, as needed by _LT_PATH_DD.
	* build_aux/ltmain.in (func_lalib_p): Factor out the actual "generated
	by libtool" test into...
	(func_generated_by_libtool_p): ...this new function...
	(func_ltwrapper_script_p): ...so that it can be reused here, when
	truncating the pipe according to _LT_CMD_TRUNCATE.
	* THANKS: Update.

2014-05-02  Peter Rosin  <[email protected]>

	libtool: prevent lto from stripping the magic cookie from the cwrapper
	Whole program optimization may remove unused symbols unless told they
	are really needed. Fixes sr #108559 reported by LRN.

	* build-aux/ltmain.in (func_emit_cwrapperexe_src:MAGIC_EXE): Try to ensure
	that the magic cookie is preserved.

2014-02-12  Peter Rosin  <[email protected]>

	tests: sprinkle -no-undefined when linking libraries
	* tests/duplicate_conv.at, tests/f77demo.at, tests/fcdemo.at: Here.

2014-02-12  Peter Rosin  <[email protected]>

	libtool: actually strip -Wl when relinking with $LD
	Fixes the regression from commit v2.4.2.444 which is causing a
	testsuite failure in duplicate_conv.at (seen on Cygwin).

	* build-aux/ltmain.in (func_mode_link): $reload_cmds typically
	starts with "$LD$reload_flag ..." when $LD is used to relink.
	Make the case expression match that when checking if $LD is in
	fact used to relink.

2014-02-10  Peter Rosin  <[email protected]>

	bootstrap: fix description of func_sort_ver to match recent sort change
	gl/build-aux/funclib.sh: Update comment to match reality.
	bootstrap: Regenerate.

2014-02-05  Gary V. Vaughan  <[email protected]>

	doc: remove redundant "in order to" phrase where possible.
	* doc/libtool.texi: Remove many occurrences of the redundant
	phrase "in order to", where ever "to" is as clear or clearer.
	* THANKS: Add attribution.
	Reported by Dave Yost

2014-02-03  Bruce Korb  <[email protected]>  (tiny change)

	bootstrap: check for git tree with .git/. in case of soft links.
	* gl/build-aux/bootstrap.in (func_require_git): Use
	`test -d .git/.` to defeat soft-links versus non-GNU test.
	* bootstrap: Regenerate.
	* THANKS: Remove duplicate Bruce Korb entry.

2014-01-27  Gary V. Vaughan  <[email protected]>  (tiny change)

	bootstrap: use `-d .git` to check whether we are in a git tree.
	* gl/build-aux/bootstrap.in (func_require_git): .git is not a
	regular file, use -d to check its existence.
	* bootstrap: Regenerate.
	* THANKS: Add Bruce Korb.
	Reported by Bruce Korb

2014-01-17  Rainer Orth  <[email protected]>

	libtool: opt_duplicate_compiler_generated_deps is harmful on Solaris
	Fix for http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452.
	* build-aux/ltmain.in (libtool_validate_options): disable the
	opt_duplicate_compiler_generated_deps optimization for Solaris2 so
	that gcc-4.9+ compiled C++ code with -Wl,-Bdirect on 64-bit Solaris
	x86 can avoid unwinding failures caused by accidental mixing of the
	libc and libgcc_s unwinders in a single executable.

2014-01-15  Gary V. Vaughan  <[email protected]>

	bootstrap: check for git checkout correctly.
	* gl/bulid-aux/bootstrap.in (func_require_git): Use .git instead
	of .gitignore to recognise a git checkout.
	* bootstrap: Regenerate.

2014-01-11  Todd C. Miller  <[email protected]>  (tiny change)

	libtoolize: don't remove install-sh.
	If you are not using automake, libtoolize would remove install-sh.
	It needs the same treatment as config.guess and config.sub.
	* libtoolize.in (func_require_seen_libtool): Remove install-sh
	from $all_pkgaux_files, the list of files removed by
	`libtoolize --force`.
	* THANKS: Add Todd C. Miller.
	* NEWS: Update.

2014-01-07  Gary V. Vaughan  <[email protected]>

	options-parser: --version works with 'DO NOT EDIT' preamble again.
	* gl/build-aux/options-parser (func_version): Don't quit on first
	leading '##' line, otherwise DO NOT edit warnings prevent version
	information from being extracted correctly.
	* bootstrap: Regenerate.

	bootstrap: specify particular version in buildreq with =x.y.
	* gl/build-aux/bootstrap.in (func_check_versions): If the version
	number begins with '=' then it must match the installed version of
	the named tool exactly.
	* gl/doc/bootstrap.texi (buildreq): Document the '=vernum' feature.
	* bootstrap: Regenerate.

2014-01-05  Gary V. Vaughan  <[email protected]>

	bootstrap: remove conftest.sed file droppings.
	* gl/build-aux/funclib.sh: Remove conftest.sed when no longer
	needed.
	* bootstrap: Regenerate.

2014-01-04  Gary V. Vaughan  <[email protected]>

	bootstrap: replace spurious hyphen in some section comments.
	* gl/build-aux/bootstrap.in: replace spurious hypen in same
	section header comments with a space.
	* gl/build-aux/extract-trace, gl/build-aux/options-parser:
	Likewise.
	* bootstrap: Regenerate.

2014-01-03  Gary V. Vaughan  <[email protected]>

	inline-source: DO NOT EDIT warning only for top-level file.
	* gl/build-aux/inline-source (func_include): When recursing, pass
	through the value of `magic` so that only the very first #! magic
	number has a DO NOT EDIT warning injected.
	* bootstrap: Regenerate.

	inline-source: gawk doesn't have boolean constants.
	I've been writing a lot of Lua lately, but still a silly mistake:(
	* gl/build-aux/inline-source (func_include): Use `magic` variable
	to count #! lines found, and only output the DO NOT EDIT warning
	after the first one.

	edit-readme-alpha: adjust for recent README edits.
	* build-aux/edit-readme-alpha: Adjust regexps for recent README
	improvements.
	* README.md: Fix a SPACE-TAB sanity check failure.

	bootstrap: fix test-dollar sanity check failure.
	* gl/build-aux/bootstrap.in (func_ensure_README): quote argument.
	* bootstrap: Regenerate.

	libtool: rearrange header comments for correct version/help extraction.
	* m4/libtool.m4 (_LT_COPYING): Rearrange the comments output to
	the generated libtool script so that --version and --help behave
	the same as pre-funclib.sh revisions.
	(_LT_CONFIG_SAVE_COMMANDS): Likewise.

	README: Tweak into markdown format and fix some bitrot.
	* README: Moved from here...
	* README.md: ...to here.  Make some changes to be valid markdown
	format, and fix some inaccuracies in text that is out of date.
	* .gitignore: Add README.

	bootstrap: support automake README requirement.
	* gl/build-aux/bootstrap.in (func_ensure_README): New function.
	Link missing README to existing alternative naming.
	(require_automake_options): New functions. Fetch AM_INIT_AUTOMAKE
	options from configure.ac.
	(func_reconfigure): If we're using automake, and it's not in
	foreign mode, link a README file if possible.
	* bootstrap: Regenerate.

	configury: use bootstrap ChangeLog management feature.
	* gl/build-aux/bootstrap.in (func_autoreconf): Accept an optional
	directory argument to pass to $AUTORECONF.
	Update doc-comment.
	* bootstrap.conf (func_reconfigure): Remove. Don't completely
	overwrite bootstrap's func_reconfigure, shadowing auto-ChangeLog
	management.
	(func_autopoint, func_libtoolize): Overwrite these un-needed
	calls instead.
	(libtool_autoreconf_libltdl): New hook function to run second
	autoreconf in libltdl directory.
	(libtool_force_changelog): Remove.  This is all handled by
	bootstrap's func_reconfigure again.
	* bootstrap: Regenerate.

	bootstrap: force remove file droppings from previous run.
	Now that we generate bootstrap.new with no write permission,
	we have to force remove it before writing now content to the file.
	* bootstrap.in (require_bootstrap_uptodate): Remove old
	bootstrap.new output.
	* bootstrap: Regenerate.

	inline-source: add a DO NOT EDIT notice to generated files.
	* gl/build-aux/inline-source (func_include): Add a DO NOT EDIT
	notice below the #! magic number of generated files.
	* gl/build-aux/bootstrap.in (func_require_bootstrap_uptodate):
	Remove write bit from regenerated bootstrap.new if it differs
	from incumbent bootstrap.
	Change the update instructions to recommend `mv -f` to cope with
	no write permission on old bootstrap script.

	bootstrap: move included files below DO NOT EDIT comment.
	* gl/build-aux/bootstrap.in: Reorder sections to load external
	libraries as late as possible, leaving DO NOT EDIT comment
	visible near the top of the generated bootstrap script.

	maint: use before-save-hook in Emacs footers.
	Updating to Emacs 24 now gives me warnings about write-file-hooks
	being obsolete.
	* gl/build-aux/bootstrap.in, gl/build-aux/extract-trace,
	gl/build-aux/funclib.sh, gl/build-aux/inline-source,
	gl/build-aux/options-parser: Set before-save-hook in Emacs file
	footers instead of obsolete write-file-hooks.

	libtoolize: use printf '%s\n' unconditionally.
	It's been a year since the as_echo probes were removed in Autoconf,
	so we can follow suit and remove our equivalent bs_echo probing
	now.  Retain $ECHO in case users need to override default printf
	calls in museum piece environments.
	* gl/build-aux/funclib.sh (ECHO): Default to 'printf %s\n'.
	(bs_echo): Remove.
	Adjust all bs_echo callers to use $ECHO instead.
	* bootstrap: Regenerate.
	* NEWS: Update.

2014-01-02  Gary V. Vaughan  <[email protected]>

	bootstrap: push Peter's version sort fix back into funclib.sh.
	Peter's a7462c5 fix was applied to the generated bootstrap script
	instead of the funclib.sh source, and had have been overwritten
	the next time bootstrap was regenerated.
	* gl/build-aux/funclib.sh (func_sort_ver): Sort numerically on the
	non-primary keys as well.
	* bootstrap: Regenerate, with the change applied.

2014-01-01  Gary V. Vaughan  <[email protected]>

	maint: change history.
	* NEWS: Remove alpha release header.
	* cfg.mk (old_NEWS_hash): Update.

	libtool: only strip -Wl when linking with $LD.
	* build-aux/ltmain.in (func_mode_link): Don't strip -Wl from the
	linker flags, except when linking with $LD, otherwise compiler
	drivers that don't recognize and pass linker flags through will
	choke on unrecognized options.

	bootstrap: fix gitlog-to-changelog detection.
	* gl/build-aux/bootstrap.in (func_ifcontains): Use a for loop
	that relies on $IFS for element splitting instead of a one-shot
	case glob that is not tolerant to \n in $gnulib_modules.
	* THANKS: Add Reuben Thomas.
	Reported by Reuben Thomas

	maint: update copyright notices to include 2014.
	* .x-update-copyright: New file. Exclude files not owned by this
	project from update-copyright rules.
	* doc/libtool.texi: Replace m-dash with n-dash in texinfo
	copyright notice so that update-copyright matches correctly.
	Undo bogus copyright updates to example output from gdb session.
	Bump copyright year.
	* Changelog.old: Revert bogus updates from previous years
	without .x-update-copyright.
	AUTHORS, HACKING, Makefile.am, NEWS, README, THANKS, TODO,
	bootstrap, bootstrap.conf, build-aux/edit-readme-alpha,
	build-aux/git-hooks/commit-msg, build-aux/ltmain.in, cfg.mk,
	configure.ac, gl/build-aux/bootstrap.in,
	gl/build-aux/extract-trace, gl/build-aux/funclib.sh,
	gl/build-aux/inline-source, gl/build-aux/options-parser,
	libltdl/README, libltdl/argz.c, libltdl/argz_.h,
	libltdl/configure.ac, libltdl/libltdl/lt__alloc.h,
	libltdl/libltdl/lt__dirent.h, libltdl/libltdl/lt__glibc.h,
	libltdl/libltdl/lt__private.h, libltdl/libltdl/lt__strl.h,
	libltdl/libltdl/lt_dlloader.h, libltdl/libltdl/lt_error.h,
	libltdl/libltdl/lt_system.h, libltdl/libltdl/slist.h,
	libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
	libltdl/loaders/dyld.c, libltdl/loaders/load_add_on.c,
	libltdl/loaders/loadlibrary.c, libltdl/loaders/preopen.c,
	libltdl/loaders/shl_load.c, libltdl/lt__alloc.c,
	libltdl/lt__dirent.c, libltdl/lt__strl.c, libltdl/lt_dlloader.c,
	libltdl/lt_error.c, libltdl/ltdl.c, libltdl/ltdl.h,
	libltdl/ltdl.mk, libltdl/slist.c, libtoolize.in, m4/argz.m4,
	m4/autobuild.m4, m4/libtool.m4, m4/ltdl.m4, m4/ltoptions.m4,
	m4/ltsugar.m4, m4/ltversion.in, m4/lt~obsolete.m4,
	tests/am-subdir.at, tests/archive-in-archive.at,
	tests/bindir.at, tests/cdemo.at, tests/cmdline_wrap.at,
	tests/configure-iface.at, tests/convenience.at, tests/ctor.at,
	tests/cwrapper.at, tests/darwin.at, tests/demo.at,
	tests/depdemo.at, tests/deplib-in-subdir.at,
	tests/deplibs-ident.at, tests/deplibs-mingw.at,
	tests/destdir.at, tests/dlloader-api.at,
	tests/dumpbin-symbols.at, tests/duplicate_conv.at,
	tests/duplicate_deps.at, tests/duplicate_members.at,
	tests/early-libtool.at, tests/exceptions.at,
	tests/execute-mode.at, tests/exeext.at, tests/export-def.at,
	tests/export.at, tests/f77demo.at, tests/fail.at,
	tests/fcdemo.at, tests/flags.at, tests/help.at,
	tests/indirect_deps.at, tests/infer-tag.at,
	tests/inherited_flags.at, tests/install.at,
	tests/lalib-syntax.at, tests/libtool.at, tests/libtoolize.at,
	tests/link-order.at, tests/link-order2.at, tests/loadlibrary.at,
	tests/localization.at, tests/lt_dladvise.at, tests/lt_dlexit.at,
	tests/lt_dlopen.at, tests/lt_dlopen_a.at, tests/lt_dlopenext.at,
	tests/ltdl-api.at, tests/ltdl-libdir.at, tests/mdemo.at,
	tests/need_lib_prefix.at, tests/no-executables.at,
	tests/nocase.at, tests/nonrecursive.at, tests/old-ltdl-iface.at,
	tests/old-m4-iface.at, tests/pic_flag.at, tests/recursive.at,
	tests/resident.at, tests/runpath-in-lalib.at,
	tests/search-path.at, tests/shlibpath.at, tests/slist.at,
	tests/standalone.at, tests/static.at, tests/stresstest.at,
	tests/subproject.at, tests/sysroot.at, tests/tagdemo.at,
	tests/template.at, tests/testsuite.at, tests/versioning.at,
	tests/with-pic.at: Bump copyright year.

	gnulib: update to latest upstream revision.
	* gnulib: Update.

	tests: gcj cannot reliably compile directly to .o from .java
	Some 4.3.x and 4.4.x releases of gcj insert a spurious 'dummy'
	symbol into every object file when compiling directly from .java
	to .o:
	* tests/convenience.at (GCJ): make .class files from .java
	sources first, and then compile those to native objects. This
	works around http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42143

2014-01-01  Gary V. Vaughan  <[email protected]>

	testsuite: with SunStudio12.x f77, don't fail on system symbols
	Modern SunStudio f77 is just a wrapper for f90, which
	explains why current master fails these test groups with:

	 Undefined	first referenced
	  symbol  	    in file
	 __f90_slw_ch      .libs/foof2.o
	 __f90_sslw        .libs/foof2.o
	 __f90_eslw        .libs/foof2.o
	 ld: fatal: symbol referencing errors. No output written to
	.libs/libfoo2.so.0.0.0

	So we allow some undefined symbols in the libraries, which are
	resolved by the $(FLIBS) added to the final binaries in the tests.
	This seems like the simpler, and less error inducing solution to
	me (compared to adding $(FLIBS) to every library LDFLAGS line).
	* tests/f77demo.at (libfoo_la_LDFLAGS, libfoo2_la_LDFLAGS)
	(libfoo3_la_LDFLAGS, libmix_la_LDFLAGS): Remove -no-undefined
	flag.
	* tests/fcdemo.at: Likewise.

2014-01-01  Gary V. Vaughan  <[email protected]>

	maint: use $SED and $GREP, not sed and grep in all scripts.
	Choosing between hardcoding a tool's name, or using the shell
	variable with a path to the user's prefered implementation or
	configure's idea of the best available is a premature
	optimisation.
	* build-aux/ltmain.in, gl/build-aux/bootstrap.in,
	gl/build-aux/extract-trace, gl/build-aux/funclib.sh,
	libtoolize.in: Use $SED and $GREP consistently throughout,
	instead of hardcoding sed and grep.
	* bootstrap: Regenerate.

	tests: use TESTS_ENVIRONMENT for EGREP and FGREP.
	Be consistent about passing commands to the testsuite, and use
	TESTS_ENVIRONMENT consistent.
	* Makefile.am (TESTS_ENVIRONMENT): Add EGREP and FGREP.
	* tests/testsuite.at: Remove EGREP and FGREP extractions from
	generated libtool script.

	tests: use $GREP throughout.
	Trust the user, and use $GREP from TESTS_EVVIRONMENT uniformly.
	* Makefile.am (TESTS_ENVIRONMENT): Add GREP setting.
	* tests/am-subdir.at, tests/archive-in-archive.at, tests/bindir.at,
	tests/configure-iface.at, tests/cwrapper.at, tests/darwin.at,
	tests/demo.at, tests/destdir.at, tests/dumpbin-symbols.at,
	tests/early-libtool.at, tests/execute-mode.at, tests/export-def.at,
	tests/export.at, tests/f77demo.at, tests/fcdemo.at, tests/flags.at,
	tests/help.at, tests/inherited_flags.at, tests/install.at,
	tests/lalib-syntax.at, tests/libtool.at, tests/libtoolize.at,
	tests/localization.at, tests/lt_dladvise.at, tests/lt_dlopen.at,
	tests/lt_dlopenext.at, tests/ltdl-api.at, tests/ltdl-libdir.at,
	tests/mdemo.at, tests/old-m4-iface.at, tests/pic_flag.at,
	tests/resident.at, tests/runpath-in-lalib.at, tests/search-path.at,
	tests/static.at, tests/sysroot.at, tests/template.at,
	tests/testsuite.at, tests/versioning.at: Replace all hardcoded grep
	invocations with $GREP.

	tests: use $SED throughout.
	Trust the user, and use $SED from TESTS_ENVIRONMENT uniformly.
	Hardcoding 'sed' for "simple" edits is a premature optimisation.
	* tests/cdemo.at, tests/cmdline_wrap.at, tests/cwrapper.at,
	tests/darwin.at, tests/demo.at, tests/duplicate_conv.at,
	tests/duplicate_members.at, tests/execute-mode.at, tests/export.at,
	tests/inherited_flags.at, tests/install.at, tests/libtoolize.at,
	tests/mdemo.at, tests/need_lib_prefix.at, tests/old-m4-iface.at,
	tests/sysroot.at, tests/tagdemo.at, tests/testsuite.at: Replace all
	hardcoded sed invocations with $SED.

	tests: run cmdline_wrap last, or not at all if anything else failed.
	* Makefile.am (TESTSUITE_AT): Move stresstest.at and cmdline_wrap.at
	to the end of the list.
	* tests/cmdline_wrap.at: If previous tests have failed, then we
	already know that rerunning them will fail too, so save time by
	skipping in that case.

	configury: remove spurious g modifier in sed expression.
	* Makefile.am (rebuild): Remove useless g modifier from sed
	expression.

	configury: use $(SED) where input does not end in newline.
	On Solaris machines the system sed does not process the last
	line of input unless it ends with a newline, which means it
	cannot be used to massage the output of git-version-gen, because
	it deliberately omits the terminating newline.
	* Makefile.am (rebuild): Use the sed command found by configure,
	which has a better chance of working properly than the first sed
	on PATH.

	tests: skip fcdemo checks when $FC cannot compile fortran90.
	Avoid spurious fcdemo failures when Autoconf picks f77 or
	similar for a fortran90 compiler.
	* tests/testsuite.at (LT_AT_TAG): Using FC and FCFLAGS from make
	TESTS_ENVIRONMENT, check that we really can compile fortran90
	or else skip.

	funclib.sh: improve comments.
	* gl/build-aux/funclib.sh: Add a comment explaining the need for
	extra SED and GREP searches.

2013-12-09  Peter Rosin  <[email protected]>

	maint: fix out-of-tree autoreconf w/o manual rebootstrap
	build-aux/ltmain.in: Look for funclib.sh and options-parser in
	the same location ltmain.in is found.

2013-11-19  Peter Rosin  <[email protected]>

	bootstrap: fix version sort
	Reported by Ozkan Sezer who suffered from makeinfo 4.13 being detected
	as lesser than the required makeinfo 4.8.

	* bootstrap (func_sort_ver): Sort numerically on the non-primary keys
	as well.

2013-11-08  Peter Rosin  <[email protected]>

	tests: Use a basic grep that matches the basic regexp style.
	Fixes a testsuite failure on Cygwin.

	* tests/tagdemo.at: Use grep instead of egrep.

2013-10-29  Gary V. Vaughan  <[email protected]>

	bootstrap: fix a quoting error.
	* gl/build-aux/bootstrap.in (func_require_buildreq_autoconf): Quote
	the extracted version number correctly so that it is displayed in
	verbose mode.

2013-10-28  Gary V. Vaughan  <[email protected]>

	funclib.sh: simplify version comparison functions.
	* gl/build-aux/funclib.sh (func_sort_ver): Much simplified.
	(func_lt_ver): New function, return true if arguments are in
	ascending order.
	* gl/build-aux/bootstrap.in: Simplify with func_lt_ver.
	* gl/build-aux/do-release-commit-and-tag.diff: Likewise.
	* bootstrap: Regenerate.

	Co-Authored-by: Paul Eggert <[email protected]>

2013-10-28  Gary V. Vaughan  <[email protected]>

	bootstrap: show found GREP and SED in verbose mode.
	* gl/build-aux/bootstrap.in (EGREP, FGREP, GREP, SED): Remove.
	These are already set by funclib.sh.
	(func_prep): After --verbose has been processed, show the paths
	to GREP and SED found by funclib.sh.
	* bootstrap: Regenerate.

	refactor: simplify program path searching in funclib.sh.
	* gl/build-aux/funclib.sh (func_path_progs): New function. Factor
	out common code from GREP and SED searches.
	(func_check_prog_sed, func_check_prog_grep): New functions, for
	non-common code.
	(scriptversion): Update.
	* bootstrap: Regenerate.

	bootstrap: search for a non-truncating grep binary.
	On at least Unixware 7.1.4, the first grep binary on PATH is
	unable to process the extract-trace scripts.
	* gl/build-aux/funclib.sh (GRUP): Search PATH for a grep binary
	that doesn't truncate its own output if available, and set GREP
	accordingly.
	* Makefile.am (SCRIPT_ENV): Add setting for GREP.
	* bootstrap: Regenerate.
	Reported by Tim Rice.

	bootstrap: search for a non-truncating sed binary.
	On at least Unixware 7.1.4, the first sed binary on PATH is
	unable to process the extract-trace scripts.
	* gl/build-aux/funclib.sh (PATH_SEPARATOR): Set to : or ;
	according to a feature test.
	(func_executable_p): New function.
	(SED): Search PATH for a sed binary that doesn't truncate its
	own output if available, and set SED accordingly.
	(scriptversion): Update.
	* Makefile.am (SCRIPT_ENV): New macro, for propagating configured
	variables.
	(ltdl_ac_aux_dir, $(ltmain_sh), install-data-local): Use it.
	* bootstrap: Regenerate.
	Reported by Tim Rice.

2013-10-27  Gary V. Vaughan  <[email protected]>

	tests: use autotest as_unset rather than rerolling $unset locally.
	On at least Unixware 7.1.4, the shell variable 'unset' gets set
	to 'no' during the testsuite run, breaking several test cases.
	We should have been using Autotest $as_unset anyway.
	* tests/testsuite.at (unset): Remove test and variable setting.
	(LT_AT_MAKE): Use $as_unset as provided by autotest boilerplate
	instead of our own $unset.
	* tests/demo.at (uninstalled libraries ave priority): Likewise.
	Reported by Tim Rice.

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

2013-10-26  Gary V. Vaughan  <[email protected]>

	version 2.4.2.418
	* NEWS: Record release date.

	gnulib: update to latest upstream revision.
	* gnulib: Update.

	gnulib: use func_sort_ver instead of GNU sort -V in do-release-commit-and-tag.
	* gl/build-aux/do-release-commit-and-tag: Source funclib.sh and
	then use portable func_sort_ver rather than force installation of
	all GNU coreutils just for sort -V support.

	refactor: move func_sort_ver from bootstrap.in to funclib.sh.
	* gl/build-aux/bootstrap.in (func_sort_ver): Move from here...
	* gl/build-aux/funclib.sh (func_sort_ver): ...to here.
	* bootstrap: Regenerate.

	tests: use K&R main() syntax for old-ltdl-iface.at.
	At least Mac OS 10.8.5 clang chokes on the previous
	'const void *argv[]' parameter, but since we don't use it
	anyway, keep to the theme of old api support and use K&R
	syntax.
	* tests/old-ltdl-iface.at (old.c): Use 'main ()' instead of
	unportable 'int main (int argc, const void *argv[])'.

	libltdl: bump -version-info revision by 1.
	The only changes to libltdl sources since v2.4.2 have been
	cosmetic and stylistic.
	* libltdl/ltdl.mk (LTDL_VERSION_INFO): For a release with no
	interface changes C:R:A becomes C:R+1:A.

	maint: Update README-release for Makefile.inc -> ltdl.mk rename.
	* gl/top/README-release.diff: s/Makefile.inc/ltdl.mk/g

	maint: bump serials on m4 sources changed since v2.4.2.
	* m4/argz.m4: Bump serial to 6.
	* m4/libtool.m4: Bump serial to 58.
	* m4/ltdl.m4: Bump serial to 19.
	* m4/ltoptions.m4: Bump serial to 8.

	maint: fix a syntax-check violation from commit 12641bd.
	* build-aux/ltmain.in (func_mode_link): Reverse test operands to
	forestall misinterpretation of contests of shell variable as
	operand 1.

2013-10-10  Vadim Zeitlin  <[email protected]>  (tiny change)

	libtool: Don't fall back to static libraries if building them was disabled
	If -no-undefined was not specified but the platform didn't
	support shared libraries with undefined symbols (e.g. Cygwin/
	MinGW), static libraries were built instead of shared ones,
	even if building them was explicitly disabled with --disable-
	static configure option.

	Fix this by stopping with a fatal error if a shared library
	can't be built in this case instead of unexpectedly building a
	static library instead.

	* libltdl/config/ltmain.m4sh (func_mode_link()): Stop with
	fatal error when trying to build a shared library without -no-
	undefined on a platform not supporting undefined symbols in
	shared libraries.

2013-10-10  Brooks Moses  <[email protected]>

	libtool: Remove unneeded quotes in assignment.
	The quotes in this assignment cause "make syntax-check" to
	fail.  Thus, this patch removes them.

2013-10-09  Fabian Groffen  <[email protected]>  (tiny change)

	libtool: Fix x86_64-pc-solaris2.* GNU ld breakage
	Since commit [1] libtool tries to set a 64-bits target for GNU
	ld.  However, it does so wrongly for x86_64-pc-solaris2.*
	targets, causing libtool to believe the linker is called
	ld_sol2.  There is no such thing, and it obviously breaks
	things further down.  Some people wrongly assume there is
	supposed to be an ld_sol2 on their systems, e.g. [2].

	I think the original change is fragile, because it assumes it
	has all CHOSTs matched, then appends _sol2.  In the wild,
	people have used amd64-pc-solaris2* too, so perhaps it would
	be safer if the code only appended _sol2 if there is actually
	an explicit target set.

	Anyhow, since the 64-bits sparc target is called sparc64-* or
	sparcv9-*, the sparc case is already correctly handled, so in
	the attached patch, I just added an x86_64-* case, although I
	could imagine relaxing the i?86 case to *86*-pc-solaris2* too.

	In any case, defaulting to a linker called ld_sol2 is wrong.

	[1] http://lists.gnu.org/archive/html/libtool-commit/2011-02/
	msg00000.html
	[2] http://osdyson.org/issues/8

2013-10-09  Olivier Blin  <[email protected]>  (tiny change)

	libtool: Fix detection of ld version with parentheses.
	ld from crosstool-NG reports a version string with an extra
	version number in a parenthetical note:
	GNU ld (crosstool-NG 1.13.0) 2.21.1

	This made libtool assume that the ld version was the
	crosstool-NG version (1.13.0) instead of the real ld version
	(2.21.1).

	To fix the ld version string, this patch filters out any string
	between parentheses that is followed by a space.

	Because of this bug, filtering of exported symbols was not
	taking place with crosstool-NG toolchains.

	This issue has bee noticed when building pango, which exported
	harfbuzz symbols that should have remained hidden.

2013-10-09  Brooks Moses  <[email protected]>

	libtool: Fix comment indentation
	This trivial patch fixes indentation on a comment to match
	the style used elsewhere in m4/libtool.m4.

2013-10-09  DJ Delorie  <[email protected]>

	libtool: Add TPF settings for LT_SYS_DLOPEN_SELF
	* m4/libtool.m4: Since we know that all TPF builds are cross-
	builds, do not attempt to run linker tests during config. Use
	known constants instead, since we know how dlopen() is
	implemented.

2013-10-09  Vincent Lefevre  <[email protected]>  (tiny change)

	libtool: Fix $wl setting for tcc on GNU systems
	(This addresses http://bugs.debian.org/663945.  See there for
	more-detailed discussion.)

	tcc gained support for "-Wl,-rpath -Wl,<directory>" in its
	commit 7fb0482a ("Support linker options passed in several -Wl
	param", 2012-03-14) but libtool doesn't know to use it.  Teach
	it.

	Without this change, running "make check" on MPFR when it has
	been built with tcc and shared libraries doesn't work because
	libtool generates a -rpath option, which tcc doesn't support.

2013-10-09  Peter Johansson  <[email protected]>

	libtool: use AS_HELP_STRING in LT_WITH_SYSROOT help message.
	This patch fixes so help output is formatted similar with
	other macros using AS_HELP_STRING. Also it outputs '[=DIR]'
	as I suspect intended rather than '=DIR'.

2013-10-09  Joseph Prostko  <[email protected]>  (tiny change)

	libtool: Haiku change for shlibpath_overrides_runpath
	Pretty much all changes to Haiku for Libtool have been
	upstreamed, however we currently have an incorrect value for
	shlibpath_overrides_runpath.  It should be "no" instead of
	"yes".

	Previously Scott McCreary had submitted patches for us, but I
	told him I would work to get this committed, as he is quite
	busy lately.

	Here is a commit he made to our Haiku Ports site though, that
	shows the exact change I am proposing done against Libtool
	2.4.2.

	http://ports.haiku-files.org/browser/haikuports/sys-devel/
	libtool/patches/libtool-2.4.2.patch

2013-10-09  Brooks Moses  <[email protected]>  (tiny change)
	    Johannes Obermayr  <[email protected]>

	libtool: Discard "-mllvm $arg" options when linking.
	Clang accepts options of the form "-mllvm $arg", and passes the
	argument as an option to LLVM.  These options caused problems
	for Libtool when linking; in some cases, the -mllvm option is
	passed through but the corresponding argument is dropped.  (See
	for example http://llvm.org/bugs/show_bug.cgi?id=14716.)

	This patch resolves the issue by explicitly matching -mllvm and
	taking an argument.  Since Clang never uses LLVM for linking,
	the matched "-mllvm $arg" option is irrelevant for the link
	step, and we can simply discard it once we've recognized it.

2013-10-09  Ondřej Bílka  <[email protected]>

	maint: Fix various comment and documentation typos.
	Ondřej writes: "Hi, this is upstream version of patch that I
	sent to gcc.  I generated this patch with tool that I am
	writing: https://github.com/neleai/stylepp"

	(Note: The generated patch was adjusted to retain the non-US
	but correct spelling of 'rigourous' before commit.  --Brooks)

2013-10-08  David 'Digit' Turner  <[email protected]>

	libtool: Add Android/Linux support.
	This patch adds proper Android support to libtool. The main
	issues are the following:

	  - Versioned libraries are not supported by the platform and
	    its build/packaging tools.

	  - The dynamic linker is not GNU ld, there is no support for
	    DT_RUNPATH.

	  - Similarly, there is no ldconfig.

2013-09-17  Peter Rosin  <[email protected]>

	libtool: trust -print-search-dirs from recent GCC
	Alan Modra hints in [1] that -print-search-dirs was fixed in
	GCC 4.2(?), so that it nowadays automatically appends
	-print-multi-os-directory for the applicable directories. I.e.
	it should no longer be necessary for libtool to append a second
	../lib64 when GCC has already done so. Also, the multi-os
	appending loop seems to have been added specifically for early
	(arguably broken) bi-arch enabled GCCs that printed -m32
	directories even though -m64 was the default [2]. So, my
	conclusion is that we want any libtool magic to affect
	-print-search-dirs output from contemporary GCCs as little as
	possible, while continuing to append the
	-print-multi-os-directory for the legacy case.

	Fixes bug#15321 reported by Ozkan Sezer.

	[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425
	[2] http://lists.gnu.org/archive/html/bug-libtool/2006-09/msg00019.html

	* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): If any of the
	directories printed by -print-search-dirs ends with the
	content of -print-multi-os-directory, then assume that
	GCC adds the multi-os-directory where appropriate all by
	itself and hence don't try to second guess when to add
	it manually.
	* THANKS: Update.

2013-09-16  Gary V. Vaughan  <[email protected]>

	bootstrap: clean up spurious 'gnulib-cache.m4 missing' error.
	* gl/build-aux/bootstrap.in (func_reconfigure): Don't show an
	error when running without gnulib-cache.m4.
	* bootstrap: Regenerate.

2013-09-15  Gary V. Vaughan  <[email protected]>

	bootstrap: make ensure_changelog work for update mode projects.
	* gl/build-aux/bootstrap.in (func_bootstrap): Move
	func_changelog_ensure invocation from here...
	(func_reconfigure): ...to here. If gnulib_modules is empty, then
	grep gnulib-cache.m4 for gitlog-to-changelog before invoking
	func_changelog_ensure.
	* bootstrap: Regenerate.

	bootstrap: fetch defaults from gnulib-cache.m4 for non-imported projects.
	Recent changes uncovered some bugs in handling of gnulib-tool
	options for projects that check in gnulib-cache.m4 rather than
	keep a separate list of modules and options in bootstrap.conf.
	* gl/build-aux/bootstrap.in (func_require_doc_base)
	(func_require_gnulib_name, func_require_local_gl_dir): New
	functions to set defaults from gnulib-cache.m4 in projects that
	use gnulib-tool in --update mode.
	(func_require_gnulib_tool_base_options): Use them to fetch
	defaults.
	(func_require_gnulib_copy_cmd): New function to calculate the
	options required for gnlib-tool copy command.
	(func_gnulib_tool_copy_file): Simplify accordingly.
	(scriptversion): Bump.

2013-09-05  Gary V. Vaughan  <[email protected]>

	maint: normalise formatting of recent commit log entry.
	* build-aux/git-log-fix: Add a summary line to ChangeLog entry of
	most recent commit.

2013-09-05  Brooks Moses  <[email protected]>

	maint: add Brooks Moses to AUTHORS file.
	* AUTHORS: Add myself to committers list.

2013-08-29  Gary V. Vaughan  <[email protected]>

	bootstrap: gnulib_tool=true means no gnulib submodule.
	* gl/build-aux/bootstrap.in (func_require_gnulib_tool): No
	sneaking off and cloning gnulib when the user already specified
	gnulib_tool=true in their bootstrap.conf!
	* bootstrap: Regenerate.

2013-08-23  Alan Modra  <[email protected]>

	bootstrap: make first char of IFS a space.
	Putting tab first in IFS breaks func_echo_all usage of $*,
	resulting in failure of func_infer_tag to match a command line
	using a $CC with trailing spaces. The trailing spaces were
	stripped out of CC_expanded but words in $CC were separated by
	tabs. This didn't match the makefile expansion of $CC using the
	standard IFS with a first char of space.
	* gl/build-aux/funclib.sh (IFS): Make first char a space.
	* bootstrap: Regenerate.

2013-08-23  Gary V. Vaughan  <[email protected]>

	bootstrap: support --no-git and --no-po options.
	* gl/build-aux/bootstrap.in (bootstrap_parse_options): Accept
	--no-git as an alias for --skip-git for compatibility with gnulib
	bootstrap, and --no-po for symmetry.
	Reported by Mike Miller.

	bootstrap: support gnulib gnulib_tool_option_extras settings.
	* gl/build-aux/bootstrap.in (func_gnulib_tool): Even though we
	don't need it, support gnulib_tool_option_extras for bootstrap.conf
	ported from gnulib bootstrap.
	* bootstrap: Regenerate.
	Reported by Mike Miller.

	bootstrap: support sha1 binary on OpenBSD.
	* gl/build-aux/bootstrap.in (func_update_po_files): Remove the
	use of --status in a way that will suppress all error messages,
	but since this is only used to minimize updates, it shouldn't
	cause an issue.
	Look for a sha1 binary if the other SHA1SUM settings are not
	found.
	Also exit early if there is a problem updating the po file
	checksums.
	* bootstrap: Regenerate.
	Ported from a gnulib patch by Padraig Brady.

	bootstrap: support tools that don't accept '--version' in buildreq.
	* gl/build-aux/bootstrap.in (func_check_tool): Check whether there
	is an executable as given or on the command PATH.
	(func_check_version): Use func_check_tool to avoid invoking --version
	when buildreq specifies '-' for the version number.
	* bootstrap: Regenerate.
	Reported by Mike Miller.

	bootstrap: diagnose bad $buildreq formatting.
	Particularly when porting from gnulib bootstrap to libtool
	bootstrap, it's easy to forget the extra URL column used for
	error reporting.
	* gl/build-aux/bootstrap.in (func_check_versions): A non-URL
	pattern in the 3rd column of buildreq triggers a fatal error.
	* bootstrap: Regenerate.
	Reported by Mike Miller.

2013-08-23  Gary V. Vaughan  <[email protected]>  (tiny change)

	bootstrap: support OpenBSD sed.
	* gl/build-aux/bootstrap.in (func_insert_if_absent): Work around
	the problem of OpenBSD sed not supporting '-' as a notation for
	standard input.
	* bootstrap: Regenerate.
	* THANKS: Add Mike Miller.
	Reported by Mike Miller.

2013-08-23  Steve Ellcey  <[email protected]>
	    Gary V. Vaughan  <[email protected]>

	libtool: set correct linker ABI flags on mips64 linux.
	m4/libtool.m4 (_LT_ENABLE_LOCK): Select the n32 or n64 ABI when
	linking to match the ABI produced with the user's compiler flags.

2013-08-23  Gary V. Vaughan  <[email protected]>

	maint: correct many abuses of the word "which".
	* HACKING, NEWS, TODO, bootstrap, bootstrap.conf,
	build-aux/ltmain.in, cfg.mk, configure.ac, doc/libtool.texi,
	doc/notes.texi, gl/build-aux/bootstrap.in,
	gl/build-aux/extract-trace, gl/build-aux/funclib.sh,
	gl/doc/bootstrap.texi, libltdl/libltdl/lt_system.h,
	libltdl/loaders/loadlibrary.c, libltdl/lt__strl.c,
	libltdl/lt_dlloader.c, libltdl/ltdl.c, libtoolize.in,
	m4/libtool.m4, m4/ltdl.m4, m4/ltsugar.m4, m4/lt~obsolete.m4,
	tests/exceptions.at, tests/need_lib_prefix.at, tests/static.at:
	Use "which" correctly, or replace with "that", "where" or "what"
	as appropriate.

2013-08-23  Brook Moses  <[email protected]>

	libtool: improve comments for _LT_ENABLE_LOCK implementation.
	* m4/libtool.m4 (_LT_ENABLE_LOCK): enhance comments to explain
	why the code looks odd with 32bit flags in the 64bit section and
	vice versa.

2013-08-22  Alan Modra  <[email protected]>

	libtool: fix refixed unmangled powerpc*le-linux support patch
	* m4/libtool.m4: fix refixed badly unmangled hunks from earlier
	powerpc*le changeset.
	Reported by Peter Rosin.

	libtool: refix unmangled powerpc*le-linux support patch
	* m4/libtool.m4: refix badly unmangled hunks from earlier
	powerpc*le changeset.
	Reported by Peter Rosin.

2013-08-22  Gary V. Vaughan  <[email protected]>

	libltdl: don't trip subdir-objects warning from Automake >= 1.14.
	Latest Automake releases now warn when subdir-objects is not
	specified in preparation for Automake 2.0.  The option has been
	in Automake for more than a decade, so there's minimal risk of
	someone using the next release of Libtool alongside an ancient
	release of Automake when bootstrapping libltdl client projects.
	* libltdl/configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.

	libtool: refactor powerpc*le-linux case branch expressions.
	libtool (_LT_ENABLE_LOCK): make inner case branch expressions
	consistent with outer case expression.
	Reported by Peter Rosin.

2013-08-22  Alan Modra  <[email protected]>

	libtool: fix mangled powerpc*le-linux support patch
	* m4/libtool.m4: unmangled badly pasted hunks from previous
	changeset.

	libtool: initial powerpc*le-linux support
	* m4/libtool.m4 (ld -m flags): Remove non-canonical ppc host match.
	Support little-endian powerpc linux host.

2013-06-17  Yaakov Selkowitz  <[email protected]>

	libtool: fix conversion warnings in cwrapper
	build-aux/ltmain.in (func_emit_cwrapperexe_src:main): XMALLOC wants a
	size_t. Also use int instead of intptr_t for the return value (which
	is fine since the _spawnv call is synchronous).
	(func_emit_cwrapper_src) [MSVC]: Remove the intptr_t helper define.
	(func_emit_cwrapperexe_src:find_executable): Use size_t for variables
	involved in strlen computations.
	(func_emit_cwrapperexe_src:lt_setenv): Likewise.
	(func_emit_cwrapperexe_src:lt_extend_str): Likewise.
	(func_emit_cwrapperexe_src:lt_update_exe_path): Likewise.
	THANKS: Update.

2013-04-28  Peter Rosin  <[email protected]>

	libtool: break all the way out when a good nm is found
	The current code tries to locate a compatible nm tool.  It starts with
	a prefixed nm tool (great!) and includes a plain nm too (that's fine).
	The problem is that the code searches for the prefixed nm before the
	plain nm (normally fine), but doesn't break once it has found a valid
	match, and the plain nm ends up the winner.

	Report and analysis by Mike Frysinger.

	* m4/libtool.m4 (LT_PATH_NM): Break all the way out on a good match.

2013-01-28  Peter Rosin  <[email protected]>

	maint: update email address...
	* THANKS: ...of Jan Engelhardt.

2013-01-28  Jan Engelhardt  <[email protected]>

	doc: fix an orthographic error
	* doc/libtool.texi (Install mode): Ensure, not insure.

2013-01-27  Gary V. Vaughan  <[email protected]>

	bootstrap: fix func_insert_if_absent bugs.
	* gl/build-aux/bootstrap.in (func_insert_if_absent): Print verbose
	message when there is a new entry to add.
	Also, make sure to update the .gitignore file when changed.
	* bootstrap: Regenerate.
	* THANKS: Add Pádraig Brady.
	Reported by Pádraig Brady.

	bootstrap: factor out gnulib-tool option calculations.
	* gl/build-aux/bootstrap.in (func_gnulib_tool): Factor base option
	settings out...
	(require_gnulib_tool_base_options): ...to here.
	* bootstrap: Regenerate.

	syntax-check: fix a quoted_test_operand violation.
	* gl/build-aux/bootstrap.in (func_insert_if_absent): Make sure
	test operands are quoted correctly.
	* bootstrap: Regenerate.

	syntax-check: fix new SPACE-TAB violations.
	* build-aux/ltmain.in (func_dll_def_p): Replace SPACE-TAB by
	TAB-SPACE.
	* m4/libtool.m4 (_LT_DLL_DEF_P): Likewise.

2013-01-26  Bernhard Voelker  <[email protected]>
	    Gary V. Vaughan  <[email protected]>

	bootstrap: always auto-add .gitignore files at the top.
	* gl/build-aux/bootstrap.in (func_gitignore_entries): New function.
	Strip comments and blank lines.
	(func_insert_sorted_if_absent): Renamed...
	(func_insert_if_absent): ...to this. Adjust all callers.
	Instead of comparing the sorted new file with the original,
	compare the line count, being careful to diagnose duplicate
	entries which would otherwise skew the count.

2013-01-26  Gary V. Vaughan  <[email protected]>

	maint: patch gitlog-to-changelog to reduce bogus warnings.
	Rather than trying to find a new useful warning among the 55
	expected warnings from vanilla gitlog-to-changelog, patch it to
	elide the bogus warnings from duplicate log entries.
	* gl/bulid-aux/gitlog-to-changelog.diff: Omit-from-ChangeLog is
	a new log entry tag to skip legitimate log duplicates.
	* build-aux/git-log-fix: Instead of deleting all content of
	duplicates and generating a warning, append the new
	Omit-from-ChangeLog tag to elide silently.
	* Makefile.am *($(changelog)): Remove the 'expect 55 warnings'
	echo.

2013-01-22  Peter Rosin  <[email protected]>

	libtool: factor out the dll .def file test and improve it
	Resolves bug#13414. Problem reported by Erik van Pienbroek
	and Martin Doucha.

	build-aux/ltmain.in (func_mode_link): Factor out the test if a
	given symbol file is a module-definition (.def) file into...
	(func_dll_def_p): ...this function, which also improves the check.
	m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
	<cygwin, mingw, pw32, cegcc>: Similarly, factor out the test if
	a given symbol file is a module-definition (.def) file into...
	(_LT_DLL_DEF_P): ...this macro, which also improves the check.
	tests/export-def.at: New test.
	Makefile.am (TESTSUITE_AT): Add above test.
	NEWS: Update.
	THANKS: Update.

2013-01-21  Peter Rosin  <[email protected]>

	libtool: allow tabs in *_cmds variables
	This is in preparation for the next patch, which needs to have literal
	tab characters survive the evaluation of the *_cmds variables.

	build-aux/ltmain.in (func_execute_cmds, func_mode_link): Don't collapse
	tabs and surrounding whitespace into a single space when executing a
	tilde-separated cmds construct, instead keep any tabs intact.

2013-01-19  Peter Rosin  <[email protected]>

	libtool: avoid tabs in all *_cmds variables.
	This is in preparation for the next change, which will preserve
	tabs when the *_cmds variables are evaluated. Removing tabs first
	ensures that the libtool output stays the same when tabs are not
	collapsed with surrounding whitespace.

	m4/libtool.m4: Convert indenting tabs to spaces for all *_cmds
	variables.

2013-01-16  Peter Rosin  <[email protected]>

	libtool: align archive_cmds with archive_expsym_cmds for MSVC
	m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [MSVC]
	<archive_cmds>: Specify the import library name, aligning with
	archive_expsym_cmds.

	libtool: feed .def files verbatim to the MSVC linker
	m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [MSVC]
	<archive_expsym_cmds>: When the symbol list isn't really a symbol list,
	but instead a .def file, copy it to a file with .def extension so that
	MSVC recognizes it as a module-definition file and feed it verbatim.
	NEWS: Update

2013-01-15  Peter Rosin  <[email protected]>

	Revert "libtool: use false or : for $always_export_symbols, and simplify"
	This reverts commit 5ed7430fcb48c862c9d76ef497b73485d580338e, which is
	totally bogus as the variable is also set in libtool.m4. Sorry for the
	noise.

	libtool: use false or : for $always_export_symbols, and simplify
	* build-aux/ltmain.in (func_mode_link): Save a string comparison
	by setting $lways_export_symbols to false or : and using it directly
	as the first argument to if. Make sure that it is always initialized
	while at it.

2013-01-09  Peter Rosin  <[email protected]>

	tests: fix nits in path handling
	tests/bindir.at: func_save_and_prepend_path is already checking
	$bindirneeded internally, so remove checks from call sites. Add
	proper quoting while at it.
	(func_save_and_prepend_path): Use $PATH_SEPARATOR instead of a literal
	colon (in both instances).

2013-01-08  Peter Rosin  <[email protected]>

	libtool: simplify quoting and code for symbols exporting sed programs
	* m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [MSVC]
	<archive_expsym_cmds>: Make the sed programs easier to read (and
	recover some backslashes for later in the process).

2013-01-03  Peter Rosin  <[email protected]>

	tests: don't feed -no-undefined to the linker during configure.
	* tests/deplibs-mingw.at: Restore LDFLAGS for the configure run so that
	the linker does not see -no-undefined. Makes the test pass instead of
	skip on MinGW.

2013-01-03  Gary V. Vaughan  <[email protected]>

	maint: note warnings during ChangeLog generation are normal.
	* Makefile.am ($(changelog)): Output a note that 55 empty commit
	log warning messages during ChangeLog generation are expected.

	git: ignore .serial file.
	* .gitignore: ignore .serial file.

	maint: fix recent badly formatted ChangeLog entry.
	* build-aux/git-log-fix: No empty lines in a single commit.

	syntax-check: fix a useless_quotes_in_assignment violation.
	* gl/build-aux/inline-source (func_require_AWK): Remove useless
	quotes.

	syntax-check: fix prohibit_strcmp syntax-check violation.
	* build-aux/ltmain.in (func_generate_dlsyms): Add a definition for
	STREQ, and then use it in place of !strcmp.

	docs: update copyright dates in libtool.texi.
	It seems `make update-copyright' missed the texinfo copyright
	notice.
	* doc/libtool.texi: Update copyright dates for 2013.

2013-01-03  Brad Smith  <[email protected]>

	libtool: add bitrig support.
	* build-aux/ltmain.in (func_mode_link): Add bitrig support.
	* m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE, LT_CMD_MAX_LEN)
	(_LT_SYS_DYNAMIC_LINKER, _LT_CHECK_MAGIC_METHOD)
	(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Ditto.
	* m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Ditto.
	* tests/deplibs-ident.at(build tree relpaths): Ditto.
	* NEWS: Updated.

2013-01-01  Peter Rosin  <[email protected]>

	maint: check if git works before relying on it
	Makefile.am (m4/ltversion.m4): Take the opportunity to regenerate
	$(srcdir)/.serial whenever git is actually working.
	(git_version_gen): Provide a fallback version for the git-version-gen
	script to use when .tarball-version does not exist and git is not
	working.

	maint: really do update to latest upstream gnulib
	Commit 9a7071e668d044c1c47c855d2f0bc7cadb235071 "maint: update
	copyright notices to include 2013." states that this was done, but
	it actually was not.
	gnulib/: Update to latest upstream.

2013-01-01  Gary V. Vaughan  <[email protected]>

	maint: remove unsupported Tested-by: tag.
	* build-aux/git-log-fix: Tested-by: line should not appear in the
	ChangeLog.

2013-01-01  Peter Rosin  <[email protected]>

	bootstrap: update README-release patch
	gl/top/README-release.diff: Update to match latest gnulib changes.

2013-01-01  Gary V. Vaughan  <[email protected]>

	maint: update copyright notices to include 2013.
	* gnulib/: Update to latest upstream.
	* AUTHORS, ChangeLog.old, HACKING, Makefile.am, NEWS, README,
	THANKS, TODO, bootstrap, bootstrap.conf,
	build-aux/edit-readme-alpha, build-aux/ltmain.in, cfg.mk,
	configure.ac, doc/libtool.texi, gl/build-aux/bootstrap.in,
	gl/build-aux/extract-trace, gl/build-aux/funclib.sh,
	gl/build-aux/inline-source, gl/build-aux/options-parser,
	libltdl/README, libltdl/argz.c, libltdl/argz_.h,
	libltdl/configure.ac, libltdl/libltdl/lt__alloc.h,
	libltdl/libltdl/lt__dirent.h, libltdl/libltdl/lt__glibc.h,
	libltdl/libltdl/lt__private.h, libltdl/libltdl/lt__strl.h,
	libltdl/libltdl/lt_dlloader.h, libltdl/libltdl/lt_error.h,
	libltdl/libltdl/lt_system.h, libltdl/libltdl/slist.h,
	libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
	libltdl/loaders/dyld.c, libltdl/loaders/load_add_on.c,
	libltdl/loaders/loadlibrary.c, libltdl/loaders/preopen.c,
	libltdl/loaders/shl_load.c, libltdl/lt__alloc.c,
	libltdl/lt__dirent.c, libltdl/lt__strl.c, libltdl/lt_dlloader.c,
	libltdl/lt_error.c, libltdl/ltdl.c, libltdl/ltdl.h,
	libltdl/ltdl.mk, libltdl/slist.c, libtoolize.in, m4/argz.m4,
	m4/autobuild.m4, m4/libtool.m4, m4/ltdl.m4, m4/ltoptions.m4,
	m4/ltsugar.m4, m4/ltversion.in, m4/lt~obsolete.m4,
	tests/am-subdir.at, tests/archive-in-archive.at,
	tests/bindir.at, tests/cdemo.at, tests/cmdline_wrap.at,
	tests/configure-iface.at, tests/convenience.at, tests/ctor.at,
	tests/cwrapper.at, tests/darwin.at, tests/demo.at,
	tests/depdemo.at, tests/deplib-in-subdir.at,
	tests/deplibs-ident.at, tests/deplibs-mingw.at,
	tests/destdir.at, tests/dlloader-api.at,
	tests/dumpbin-symbols.at, tests/duplicate_conv.at,
	tests/duplicate_deps.at, tests/duplicate_members.at,
	tests/early-libtool.at, tests/exceptions.at,
	tests/execute-mode.at, tests/exeext.at, tests/export.at,
	tests/f77demo.at, tests/fail.at, tests/fcdemo.at,
	tests/flags.at, tests/help.at, tests/indirect_deps.at,
	tests/infer-tag.at, tests/inherited_flags.at, tests/install.at,
	tests/lalib-syntax.at, tests/libtool.at, tests/libtoolize.at,
	tests/link-order.at, tests/link-order2.at, tests/loadlibrary.at,
	tests/localization.at, tests/lt_dladvise.at, tests/lt_dlexit.at,
	tests/lt_dlopen.at, tests/lt_dlopen_a.at, tests/lt_dlopenext.at,
	tests/ltdl-api.at, tests/ltdl-libdir.at, tests/mdemo.at,
	tests/need_lib_prefix.at, tests/no-executables.at,
	tests/nocase.at, tests/nonrecursive.at, tests/old-ltdl-iface.at,
	tests/old-m4-iface.at, tests/pic_flag.at, tests/recursive.at,
	tests/resident.at, tests/runpath-in-lalib.at,
	tests/search-path.at, tests/shlibpath.at, tests/slist.at,
	tests/standalone.at, tests/static.at, tests/stresstest.at,
	tests/subproject.at, tests/sysroot.at, tests/tagdemo.at,
	tests/template.at, tests/testsuite.at, tests/versioning.at,
	tests/with-pic.at: Bump copyright year.

2012-12-19  Peter Rosin  <[email protected]>

	libtool: Drop $LDFLAGS when invoking the toolchain
	m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [Solaris] <archive_cmds>: Drop
	$LDFLAGS as it is a user variable that is usually used when invoking
	libtool. As such, it should not be used by libtool when it invokes the
	toolchain as it contains options intended for libtool, not the
	toolchain. Fixes export.at and other tests that add -no-undefined to
	LDFLAGS.

2012-12-19  Richard Palo  <[email protected]>  (tiny change)

	libtool: Add SONAME to the so when exporting explicit symbols on Solaris
	m4/libtool.m (_LT_LANG_CXX_CONFIG) [Solaris] <archive_expsym_cmds>: Feed
	-h $soname to the linker just as is done in archive_cmds.
	THANKS: Update.

2012-11-02  Peter Rosin  <[email protected]>

	libtool: add @INIT@ to the preloader, for data imports on Windows
	* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS) [dumpbin]: Adjust
	lt_cv_sys_global_symbol_to_cdecl so that it declares imported
	data symbols as __declspec(dllimport). Adjust
	lt_cv_sys_global_symbol_to_c_name_address and
	lt_cv_sys_global_symbol_to_c_name_address_lib_prefix so that they
	fill in "(void*) 0" for imported data symbols. Add new
	lt_cv_sys_global_symbol_to_import which finds imported data
	symbols if non-empty and export this variable to the libtool script
	in the global_symbol_to_import variable. Adjust
	lt_cv_sys_global_symbol_pipe so that data imports can be located.
	* build-aux/ltmain.in (func_generate_dlsyms): When data imports
	are present, as indicated by global_symbol_to_import, generate
	a relocation function lt_syminit that fills in the addresses
	of data imports at runtime and point to the new function with a
	new virtual @INIT@ entry in the symbol list.
	* libltdl/loaders/preopen.c (add_symlist): Look for the virtual
	@INIT@ symbol (i.e. lt_syminit) and call it.
	(vm_sym): Step past the @INIT@ symbol, if present.
	* tests/demo.at (dlmain.c): Call the @INIT@ symbol, if present.
	* NEWS: Update.

2012-11-02  Peter Rosin  <[email protected]>

	libtool: unify the global symbol transformations
	Since it is safe for $lt_cv_sys_global_symbol_to_cdecl to match
	with a simple /^T .* .*$/ type expression, it is ok for the other
	transformations as well.  At least if you require at least one
	$symcode at the start of the line, so that the just generated output
	doesn't match the next sed expression.

	* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Unify the matching expressions
	in the sed programs that transform the extracted symbol lines.

2012-11-02  Peter Rosin  <[email protected]>

	libtool: break up long lines
	* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Break up long lines when
	assigning the sed scripts that transform the extracted symbol lines.

2012-10-25  Gary V. Vaughan  <[email protected]>

	bootstrap: use a decent awk if /bin/awk is hopeless.
	Bootstrap used to fail without an explicit AWK environment
	setting on machines with both nawk and awk, but where awk is a
	museum piece.
	* gl/build-aux/inline-source (AWK): Remove initial setting.
	(require_awk): Search PATH for a gawk, mawk or nawk before
	settling on awk, just like configure does.
	(func_include): Use it.

	bootstrap: be sure to register gnulib submodule.
	* gl/build-aux/bootstrap.in (require_gnulib_submodule): Register
	the gnulib submodule before updating it, even with a shallow
	clone of gnulib.
	* bootstrap: Regenerate.
	Reported by Robert Boehne.

	bootstrap: fix a typo in a find invocation.
	* gl/build-aux/bootstrap.in (require_buildreq_patch): Fix a typo.
	* bootstrap: Regenerate.

	bootstrap: bash versions 3.00.x do not have += functionality.
	* gl/build-aux/funclib.sh: Fix a typo in fork minimisation for
	bash versions 3.00.x.
	* bootstrap: Regenerate.

	maint: fix missing command error in make dist.
	* Makefile.am ($(readme)): Don't forget the 'test'!

	tests: fixup experr for addition whitespace in error prefix.
	Fix spurious test failures due to unmatched experr output.
	* tests/libtoolize.at, tests/old-ltdl-iface.at: Add the addition
	2 spaces now used to justify error prefixes.

	bootstrap: use of ';' in sed scripts is not portable.
	* gl/build-aux/bootstrap.in (require_buildreq_automake)
	(require_dotgitmodules_parameters, require_package)
	(func_update_po_files): Use '\n' or -e to separate sed commands,
	instead of ';'.
	* gl/build-aux/extract-trace (func_autoconf_configure)
	(func_extract_trace_first): Likewise.
	* gl/funclib.sh: Likewise.
	(func_tr_sh): Likewise.
	* gl/build-aux/options-parser (func_usage_message): Likewise.
	* bootstrap: Regenerate.
	Reported by Robert Boehne.

	bootstrap: don't $tc_standout spaces, it's ugly!
	* gl/build-aux/funclib.sh (func_error): Move the prefix indent
	before $tc_standout to avoid bright red inverse spaces.
	* bootstrap: Regenerate.

	bootstrap: fix rectangle select induced trailing spaces.
	* gl/build-aux/funclib.sh (require_term_colors): Delete trailing
	whitespace.
	* bootstrap: Regenerate.

	bootstrap: display prerequisite program environment vars.
	Be more helpful when a prerequisite program from $buildreq
	cannot be located, by showing what variable to export if it
	is already installed but not in PATH.
	* gl/build-aux/bootstrap.in (func_check_versions): Display
	associated environment variables for not found prerequisite
	programs.
	* bootstrap: Regenerate.

	bootstrap: honor COLORTERM and USE_ANSI_COLORS.
	Plenty of machines use a terminfo database that doesn't have
	entries for color escape sequences, even though the terminal
	itself most likely supports ANSI color escapes.
	* gl/build-aux/funclib.sh (require_term_colors): If COLORTERM
	or USE_ANSI_COLORS are set, then ignore what terminfo says,
	and use standard ANSI color escape sequences.
	* bootstrap: Regenerate.

	bootstrap: make error messages prettier.
	* gl/build-aux/funclib.sh (func_error): Indent 'error' prefix by
	two additional spaces to line up nicely with 'warning' and
	'running'.
	* bootstrap: Regenerate.

2012-10-24  Gary V. Vaughan  <[email protected]>

	bootstrap: emphasize command executions with terminal bold.
	* bootstrap.in (func_show_eval): Use $require_term_colors to
	embolden the command about to be executed in output.
	* bootstrap: Regenerate.
	* bootstrap.conf (libtool_build_prerequisites): Use the standard
	(colorful!) bootstrap func_show_eval here too.

	bootstrap: show output from 'make bootstrap-deps'.
	* bootstrap.conf (libtool_build_prerequisites): Add support for
	AM_V_GEN and AM_V_at to the temporary pre-configure Makefile.
	Instead of eliding non-error output from bootstrap-deps, show
	the results, with verbosity set according to $opt_verbose.
	* Makefile.am (m4/ltversion.m4, build-aux/ltmain.sh, libtool)
	(README): Fix the display rules to correctly fall-back to
	AM_DEFAULT_VERBOSITY when V=1 is not passed to make invocation.

2012-10-22  Gary V. Vaughan  <[email protected]>

	maint: fixup badly formatted ChangeLog entries.
	* build-aux/git-log-fix: Mostly missing category tags and refilling
	to 64 columns, but also deleting duplicate entries from merging the
	gary/reredo-test-operand-order branch.
	* g/build-aux/gitlog-to-changelog.diff: Local patch to prevent
	printing unqualified header lines for deleted duplicate patches.
	* THANKS: Put email address for Paul Seidler here...
	* build-aux/git-log-fix: ...and remove from ChangeLog here.

	bootstrap: regenerate to propagate Bob's func_split_equals fix.
	* bootstrap: regenerate.

2012-10-22  Mikhail Zabaluev  <[email protected]>  (tiny change)

	configury: make LT_INIT options pic-only and no-pic work.
	* m4/ltoptions.m4 (_LT_WITH_PIC): Set pic_mode at m4 time.

2012-10-22  Bob Friesenhahn  <[email protected]>

	options-parser: fix regexp quoting error.
	* gl/build-aux/options-parser (func_split_equals): Fixed expr
	regexp quoting syntax error encountered with non-XSI shells.
	Problem was noticed under Solaris 10.

2012-10-21  Gary V. Vaughan  <[email protected]>

	syntax-check: fix violations and implement sc_old_style_quoting.
	Modern GNU ASCII quoting in output and comments is done
	'like this'.
	* cfg.mk (sc_old_style_quoting): Try to catch most instances
	of `old style quoting' so that it is not accidentally re-
	introduced to the code.
	* HACKING, Makefile.am, NEWS, PORTING, README, TODO, bootstrap,
	bootstrap.conf, build-aux/edit-readme-alpha,
	build-aux/git-hooks/commit-msg, build-aux/ltmain.in,
	doc/libtool.texi, gl/build-aux/bootstrap.in,
	gl/build-aux/extract-trace, gl/build-aux/funclib.sh,
	gl/build-aux/inline-source, gl/build-aux/options-parser,
	libltdl/libltdl/slist.h, libltdl/loaders/loadlibrary.c,
	libltdl/ltdl.c, libltdl/slist.c, libtoolize.in, m4/argz.m4,
	m4/libtool.m4, m4/ltdl.m4, m4/ltoptions.m4, m4/ltsugar.m4,
	tests/cmdline_wrap.at, tests/configure-iface.at, tests/demo.at,
	tests/depdemo.at, tests/deplib-in-subdir.at,
	tests/deplibs-mingw.at, tests/destdir.at, tests/execute-mode.at,
	tests/f77demo.at, tests/fail.at, tests/inherited_flags.at,
	tests/libtool.at, tests/libtoolize.at, tests/lt_dladvise.at,
	tests/lt_dlexit.at, tests/mdemo.at, tests/need_lib_prefix.at,
	tests/old-ltdl-iface.at, tests/old-m4-iface.at, tests/static.at,
	tests/stresstest.at, tests/testsuite.at, tests/versioning.at:
	Convert to upright quotes.

	tests: remove spurious shell variable braces.
	* tests/testsuite.at: Allow the shell braces syntax check to pass
	again.

	bootstrap: add missing bootstrap override module file.
	* gl/modules/bootstrap: Forgot to add this file in a previous
	commit.

	bootstrap: allow bootstrap.texi to pass syntax-check.
	* cfg.mk (sc_require_function_nl_brace): Skip texi files.
	* gl/doc/bootstrap.texi: Fix assorted syntax-check violations.

	bootstrap: move into local gl overrides directory.
	In order to work as if it were already adopted by upstream
	gnulib, put bootstrap and supporting scripts into the local
	gnulib overrides directory.
	* bootstrap, build-aux/extract-trace, build-aux/funclib.sh,
	build-aux/inline-source, build-aux/options-parser: Move from
	here...
	* gl/build-aux/bootstrap.in, gl/build-aux/extract-trace,
	gl/build-aux/funclib.sh, gl/build-aux/inline-source,
	gl/build-aux/options-parser: ...to here.
	* gl/build-aux/options-parser (func_version): Show only the
	first copyright notice on files generated with inline-source.
	* gl/doc/bootstrap.texi: Developer documentation for bootstrap.
	* gl/modules/extract-trace, gl/modules/funclib.sh,
	gl/modules/inline-source, gl/modules/options-parser: Describe
	dependencies for gnulib-tool.
	* bootstrap.conf (gnulib_modules): Add extract-trace,
	inline-source and options-parser modules.
	* bootstrap: Regenerated from gnulib overrides as a mono-
	lithic script file using gl/build-aux/inline-source.

2012-10-20  Gary V. Vaughan  <[email protected]>

	tests: make sure AC_CONFIG_MACRO_DIR is still supported.
	* tests/old-m4-iface.at (AC_CONFIG_MACRO_DIR support): New test.
	Make sure we continue to support AC_CONFIG_MACRO_DIR using
	projects.

	libtoolize: select the first directory from AC_CONFIG_MACRO_DIRS.
	* tests/libtoolize.at (multiple AC_CONFIG_MACRO_DIRS directories):
	New test to ensure multiple directory arguments mork correctly.
	* libtoolize.in (func_require_ac_macro_dir): Use expr to discard
	any additional space delimited entries in the first
	AC_CONFIG_MACRO_DIRS argument.
	* bootstrap (func_require_macro_dir): Likewise.

	libtoolize: migrate to new AC_CONFIG_MACRO_DIRS api.
	* libtoolize.in (func_install_pkgmacro_files): Uee
	AC_CONFIG_MACRO_DIRS.
	(func_check_macros): Advise using AC_CONFIG_MACRO_DIRS.
	(require_ac_macro_dir): Give priority to AC_CONFIG_MACRO_DIRS.
	(require_macro_dir): Likewise.
	* bootstrap: Give priority to AC_CONFIG_MACRO_DIRS.
	* configure.ac: Define dummy AC_CONFIG_MACRO_DIRS for older
	Autotools, that is allow bootstrap with current release versions.
	Use AC_CONFIG_MACRO_DIRS instead of AC_CONFIG_MACRO_DIR.
	* tests/testsuite.at: Source build-aux/extract-trace for access
	to func_extract_trace.
	(LT_AT_ACLOCAL): Use it to get the AC_CONFIG_MACRO_DIRS argument
	to pass manually to aclocal for compatibility with old Automake.
	Add a fallback AC_CONFIG_MACRO_DIRS definition to acinclude.m4
	in the test directory.
	(LT_AT_AUTORECONF): Likewise.
	* tests/cdemo.at, tests/configure-iface.at, tests/darwin.at,
	tests/demo.at, tests/depdemo.at, tests/early-libtool.at,
	tests/libtoolize.at, tests/mdemo.at, tests/no-executables.at,
	tests/nonrecursive.at, tests/old-ltdl-iface.at,
	tests/recursive.at, tests/subproject.at, tests/tagdemo.at,
	tests/template.at: Likewise.
	* doc/libtool.texi: Update.
	* NEWS: Update.

2012-10-19  Peter Rosin  <[email protected]>

	libtool: parse "dumpbin -headers" to get symbols exported from implibs
	* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS) [MSVC]: Extract symbols
	imported from DLLs by import libraries in the Microsoft dumpbin
	wrapper.
	(LT_PATH_NM): Add -headers option if dumpbin is the located name
	lister to feed the above new code.
	* NEWS: Update.

	libtool: make func_win32_libid work when the name lister is MS dumpbin
	* m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD) [MSVC]: Use
	func_win32_libid as file_magic_cmd when the name lister
	is MS dumpbin.
	(_LT_CMD_GLOBAL_SYMBOLS): Export the new veriable nm_interface
	to the libtool script.
	* build-aux/ltmain.in (func_cygming_gnu_implib_p)
	(func_cygming_ms_implib_p): Move up to before...
	(func_win32_libid): ...which now uses them to determine if
	the object is an import library when the nm_interface is
	"MS dumpbin".
	* NEWS: Update.

2012-10-19  Gary V. Vaughan  <[email protected]>

	bootstrap: always extract only the first AC_CONFIG_MACRO_DIR arg.
	Previous versions of bootstrap concatenated all the arguments to
	multiple invocations of AC_CONFIG_MACRO_DIR when extracting the
	macro_dir directory name.  This change enforces correct and
	consistent behaviour.
	* libtoolize.in (func_require_macro_dir): Use the new
	func_extract_trace_first function to make sure the first argument
	is always used.
	(func_require_aux_dir, func_require_gnulib_mk)
	(func_require_source_base): Future proof these functions against
	multiple invocations or additional arguments to the macros they
	trace.

	bootstrap: extract *first* ACLOCAL_AMFLAGS -I argument.
	* bootstrap (func_require_macro_dir): .* is greedy, so _G_sed_scan
	as it was will always return the last -I argument, which is wrong.
	Move to a shell loop to ensure we always get the first -I argument
	if any.  (code from libtoolize.in).

	bootstrap: use short gnu.org urls consistently.
	* bootstrap.conf (buildreq): Use gnu.org/s/ style urls to match
	the ones added automatically by the main bootstrap script.

	libtoolize: fix a misspelled variable name.
	* libtoolize.in (func_require_am_macro_dir): The loop uses _G_arg
	not _G_opt.  Now spelled correctly.

	tests: always extract only the first AC_CONFIG_MACRO_DIR arg.
	Previous releases of libtoolize used the final invocation when
	there were several, and after the rewrite over extract-trace,
	all the invocation directories were concatenated.  This change
	enforces correct and consistent behaviour.
	* tests/libtoolize.at (multiple AC_CONFIG_MACRO_DIR invocation):
	New test.
	* build-aux/extract-trace (func_extract_trace_first): New function
	for clients that source this file, which returns only the first
	argument to the first invocation of the named macros.
	* libtoolize.in (func_require_ac_macro_dir): Use it to make sure
	the first argument is always used.
	(func_require_ac_aux_dir, func_require_ac_ltdl_dir)
	(func_require_ac_ltdl_options): Future proof these functions against
	multiple invocations or additional arguments to the macros they
	trace.
	* News (Important incompatible changes): Note change in semantics.
	Reported by Eric Blake.

	tests: always extract only the first ACLOCAL_AMFLAGS include arg.
	* tests/libtoolize.at (libtoolize ACLOCAL_AMFLAGS extraction):
	New test.
	* libtoolize.in (func_check_macros): Display the correct advice
	when ACLOCAL_AMFLAGS specifies a macrodir, but AC_CONFIG_MACRO_DIR
	does not.

	doc: add a missing period following @xref.
	* doc/libtool.texi: Silence a warning by adding back a missing
	period.

2012-10-19  Peter Rosin  <[email protected]>

	libtool: avoid non-underscore symbols in the "dumpbin -symbols" wrapper
	If an object has a symbol lacking an expected leading underscore,
	the symbol name is not printed, but the symbol type is, leading
	to output such as:
	    T _normal _normal
	    T T _another _another
	when the expected output would have been something like:
	    T _normal _normal
	    T no_underscore no_underscore
	    T _another _another
	However, symbols lacking an expected leading underscore are
	not "real" symbols, they are internal symbols which we don't
	care about, therefore drop them instead.
	* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS) [MSVC]: Output the whole
	symbol line in one go.
	* NEWS: Update.

2012-10-18  Peter Rosin  <[email protected]>

	libtool: unbreak Windows path quoting
	The lt_sed_naive_backslashify variable lost its lt_ prefix
	when m4sh was dropped. But not everywhere.
	* build-aux/ltmain.in (func_convert_core_file_wine_to_w32)
	(func_convert_core_msys_to_w32): Drop the lt_ prefix from
	the lt_sed_naive_backslashify variable.

	libtool: kill leftover m4 quoting
	* build-aux/ltmain.in (func_mode_compile): Use literal ] and [.

2012-10-18  Gary V. Vaughan  <[email protected]>

	syntax-check: exclude false positive nested quote test.
	* build-aux/funclib.sh (func_echo_infix_1): These quotes are not
	actually nested, so add an exclude marker for the syntax-check.

	libtool: don't set auxscriptsdir at bootstrap time.
	* build-aux/ltmain.in: Declare relative paths to aux scripts from
	source commands, for early inlining during bootstrap.
	* Makefile.am (bootstrap_edit): Move auxscriptsdir
	substitution from here....
	(configure_edit): ...to here.
	($(ltmain_sh)): Feed ltmain.in through inline-source as ltmain.sh
	is generated to remove relative paths to aux scripts.
	(install-data-local): Simplify. No need for special treatment for
	ltmain.sh during installation, since aux scripts have already
	been inlined.
	Reported by Peter Rosin.

	extract-trace: only source funclib.sh when $progname is extract-trace.
	* build-aux/extract-trace: $usage is too generic, and can cause
	sourced extract-trace to re-source options-parser.  We already
	require that funclib.sh be sourced before sourcing options-parser,
	so it's safer to check that $progname is correct before sourcing
	options-parser again from here.

2012-10-18  Peter Rosin  <[email protected]>

	libtool: fix spelling nit
	* build-aux/ltmain.in (func_generate_dlsyms): Fix spelling nit.
	* libltdl/libltdl/lt_system.h: Likewise.
	* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Likewise.

2012-10-12  Gary V. Vaughan  <[email protected]>

	maint: remove m4sh support.
	Now that the code base has coalesced around a single option
	parser, there's no need for the unused getopt.m4sh and support.
	* build-aux/getopt.m4sh, build-aux/general.m4sh,
	tests/getopt-m4sh.at: Remove.
	* Makefile.am (m4sh_dir, LT_M4SH, general_m4sh, getopt_m4sh)
	(sh_files): Remove.
	(TESTSUITE_AT): Remove tests/getopt-m4sh.at.
	(TESTS_ENVIRONMENT): Remove M4SH.
	* bootstrap.conf (libtool_build_prerequisites): Remove M4SH.
	* configure.ac (M4SH): Remove.
	* HACKING (Editing `.m4sh' Files): Remove and renumber following
	sections.

	libtool: rewritten over funclib.sh instead of general.m4sh.
	* Makefile.am (ltmain_m4sh, ltmain_sh_edit): Remove.
	(ltmain_in): Path to ltmain.in.
	(ltmain_sh): Generate ltmain.sh from ltmain.in using
	$(bootstrap_edit).
	* build-aux/ltmain.m4sh: Remove.
	* build-aux/ltmain.in: Rewritten as a client of funclib.sh.

	libtoolize: inline sourced helper scripts during install.
	* build-aux/inline-source: New file.
	* Makefile.am (inline_source): Path to inline-source script.
	(EXTRA_DIST): Distribute inline-source too.
	(helper_scripts): Remove.
	(install-data-local): Inline sourced helper scripts during
	installation.
	Don't install helper_scripts.
	(uninstall-hook): Don't uninstall helper_scripts.

	libtoolize: rewritten over funclib.sh instead of general.m4sh.
	* Makefile.am (libtoolize_m4sh): Remove.
	(EXTRA_DIST): Delete libtoolize_m4sh.
	(libtoolize_in): Remove rule.
	(libtoolize): Apply bootstrap_edit to libtoolize.in too.
	* configure.ac (AC_CONFIG_SRCDIR): Refer to libtoolize.in.
	* libtoolize.m4sh: Remove.
	* libtoolize.in: Rewrite as a client of options-parser and the
	new funclib.sh, avoiding the m4sh expansion step.
	* tests/libtoolize.at, tests/old-ltdl-iface.at (experr): adjust
	to match funclib.sh error output.

	options-parser: correctly quote shell meta-characters in arguments.
	When any argument contains a shell meta-character, it needs to be
	quoted when passed around.  We already pass parameter lists as
	space delimited strings of arguments, and pass the string through
	eval to turn it back into a list before re-assigning using `set'.
	To prevent the shell from interpreting any meta-characters during
	an `eval set dummy $argumentlist', they must be quoted again
	inside the quoted argument list.
	* build-aux/funclib.sh (func_quote_for_eval): Be careful to keep
	a separate tally of quoted and unquoted argument lists, to
	conform to the API of the single argument func_quote_for_eval
	implementation in build-aux/general.m4sh.
	* bulid-aux/options-parser (func_run_hooks): To account for the
	doubly quoted meta-character argument lists, we must eval the
	parameter reassignment `set' call separately from evaluating the
	dynamically named hook results variable.

	maint: factor common shell code into build-aux/funclib.sh.
	Moving potentially reusable code into a common file that can
	be sourced by clients, and adjusting for impedance mismatch
	or necessary renames during integration.
	* build-aux/funclib.sh: New file.
	* build-aux/options-parser (Shell normalisation)
	(User overrideable command paths, Global variables, func_append)
	(require_term_colors, func_echo, func_echo_infix_1, func_warn)
	(func_error, func_fatal_error, func_quote_for_eval, func_verbose):
	Move from here...
	* build-aux/funclib.sh (Shell normalisation, User overrideable
	command paths, Global variables, func_append)
	(require_term_colors, func_echo, func_echo_infix_1)
	(func_warn_and_continue, func_error, func_fatal_error)
	(func_quote_for_eval, func_verbose): ...to here.
	* build-aux/general.m4sh (func_arith, func_basename)
	(func_dirname, func_dirname_and_basename, func_echo_all)
	(func_grep, func_len, func_mkdir_p, func_mktempdir)
	(func_normal_abspath, func_relative_path, func_quote_for_expand)
	(func_stripname, func_show_eval, func_tr_sh): Move from here...
	* build-aux/funclib.sh(func_arith, func_basename)
	(func_dirname, func_dirname_and_basename, func_echo_all)
	(func_grep, func_len, func_mkdir_p, func_mktempdir)
	(func_normal_abspath, func_relative_path, func_quote_for_expand)
	(func_stripname, func_show_eval, func_tr_sh): ...to here.
	* bootstrap (usage message): Document `-no-warn' option.
	(func_append_u, func_warning): Move from here...
	* build-aux/funclib.sh (func_append_uniq, func_warning): ...to
	here.
	* bootstrap, build-aux/extract-trace: Source build-aux/funclib.sh
	before build-aux/options-parser.
	* build-aux/options-parser (usage, long_help_message): Set
	default values to match what is parsed by the unmodified parser.
	* build-aux/extract-trace (usage, long_help_message): Only set
	from func_main, so that clients sourcing this file can still use
	the correct defaults from build-aux/options-parser.
	* bootstrap (bootstrap_options_prep, bootstrap_parse_options):
	Move warning option parsing from here...
	* build-aux/option-parser (func_options_prep)
	(func_parse_options): ...to here, where all clients can benefit.
	* Makefile.am (funclib_sh): New macro; path to funclib.sh.
	(EXTRA_DIST): Add $(funclib_sh).

	libtoolize: source extract-trace rather than fork and execute each call.
	Rather than forking and executing a full $SHELL for each macro
	extraction, source the script and its dependencies into our
	execution space and use the provided func_extract_trace API.
	* libtoolize.m4sh: Source extract-trace from an appropriate
	directory determined presently by make.
	(func_extract_trace): Remove this wrapper.
	* Makefile.am (abs_aux_dir): Absolute path to extract-trace
	directory.
	(configure_edit): Inject abs_aux_dir into uninstalled libtoolize.
	(bin_SCRIPTS): Remove libtoolize.
	(uninstall-hook): Manually uninstall libtoolize.
	(install-data-local): Inject pkgauxdir into installed libtoolize
	during installation.

	options-parser: employ fork minimisation.
	* build-aux/options-parser (_G_HAVE_XSI_OPS): Environment
	overrideable defaults for bash and zsh, which are known to
	support XSI extensions.
	(_G_HAVE_PLUSEQ_OP): Similarly for new enough versions of bash,
	which are known to have += support.
	(func_append): Only perform the shell += probe when state of
	support is unknown.
	(func_split_equals, func_split_short_opt): Similarly for XSI
	probe to select fastest working implementation.

	options-parser: keep non-option arguments separate!
	* build-aux/options-parser (func_parse_options): When there is
	more than one non-option argument, "$*" forces all of them into
	a single string.  Use ${1+"$@"} to set arguments correctly.

	options-parser: prefix usage message with "Usage: ".
	* build-aux/options-parser (func_usage_message): Prefix usage
	message with "Usage: ".

	bootstrap: work when using fallback shallow gnulib clone.
	Bootstrapping without --gnulib-srcdir creates a shallow gnulib
	clone to run gnulib-tool out of, except that the parent package
	is almost certainly using a revision of gnulib before just tha
	most recent 2 gnulib revisions.
	* bootstrap (func_require_gnulib_submodule): Pull the most
	recent 365 revisions, which ought to be enough for a well-
	maintained parent package.
	Don't forget to run 'git submodule update' to select the correct
	gnulib revision.

	bootstrap: require GNU make to bootstrap.
	Make is not installed by default in some environments, such as
	cygwin... which is slow enough already without having to wait
	for gnulib-tool, bootstrap and half of configure to complete
	before getting an error.
	* bootstrap.conf (buildreq): Add recent GNU make to bootstrap
	requirements.  Now missing make is diagnosed in the earliest
	part of bootstrap.

	maint: simplify "Local variables:" footer with time-stamp-pattern.
	* bootstrap, build-aux/extract-trace, build-aux/options-parser
	(Local variables): Use time-stamp-pattern to set number of
	searched lines to 10, and to replace time-stamp-start,
	time-stamp-end and time-stamp-format.

2012-10-08  Peter Rosin  <[email protected]>

	tests: skip the with-pic test only if DLL_EXPORT is defined
	For some systems with PIC as default, the test was inadvertently
	skipped. Issue introduced in commit 4440d65.
	* tests/with-pic.at: Skip the test for systems that define
	DLL_EXPORT.
	Reported by Roumen Petrov.

	tests: rerefix line ending problems on MinGW.
	The previous commit broke Linux->MinGW cross-compiling.
	* tests/mdemo.at: Normalize line endings after $EGREP.
	Reported by Roumen Petrov.

2012-10-06  Peter Rosin  <[email protected]>

	tests: refix line ending problems on MinGW.
	In commit 22f5750, one of the hunks actually introduced
	line ending problems. Revert that hunk.
	* tests/mdemo.at: Use AT_DATA for expected output when the
	output from compiled programs is fed through $EGREP.

	tests: use dry runs in both parts of 'check link mode operation'
	MSVC exits with status 2 instead of the expected 1 when a
	real link is attempted.
	* tests/libtool.at (check link mode operation): Use a dry run and
	expect a clean exit status instead of expecting a fail.

2012-10-06  Gary V. Vaughan  <[email protected]>

	tests: sanitise the libtool quote checking Autotests.
	Carefully comment the maze of quoting and escaping needed to
	pass through M4, $SHELL, and grep before regexp matching.
	* tests/libtool.at (quote shell meta-characters in filenames):
	Split backslash into a separate test group, because it needs
	additional escaping.
	Use grep consistently for the entire test group.
	Use AT_CHECK rather than LT_AT_CHECK to avoid problems with
	escaping literal $ correctly with LT_ESCAPE.
	Use the correct number of backslashes for each sub-group.
	Escape double-quote literals portably.
	Reported by Peter Rosin.

	tests: ensure mdemo.at doesn't rely on installed libltdl.
	* tests/mdemo.at (configuer.ac): Build an included convenience
	libltdl.
	(Makefile.am): Add subdir-objects.
	Remove override rules from legacy mdemo tests to reuse parent
	libltdlc.la.
	(LT_AT_CHECK_CONFIG): Add --with-included-ltdl to configure
	arguments so that test cases always use the subproject libltdl
	in preference to any installed libltdl.
	Reported by Peter Rosin.

	tests: allow for unstable fortran output ordering.
	Due to differences in line-endings between C stdout and Fortran
	stdout, as well as unpredictable output ordering between
	platforms and runtimes, weaken success criteria to not require
	the entire output of fortran programs to match a test case.
	* itests/fcdemo.at, tests/f77demo.at (_LT_CHECK_EXECUTE):
	Improve comments, and weaken test case to grep for a known line
	in the f77 runtime output.

2012-10-05  Peter Rosin  <[email protected]>

	tests: make LT_AT_HOST_DATA retain whitespace on MinGW
	Fixes issues with depdemo.at, f77demo.at and fcdemo.at.
	* tests/testsuite.at (LT_AT_HOST_DATA) [MinGW]: Keep leading
	and trailing spaces and tabs when converting line endings.

	tests: fix line ending problems on MinGW
	* tests/cdemo.at: Use LT_AT_HOST_DATA for expected output from
	compiled programs.
	* tests/demo.at: Likewise.
	* tests/depdemo.at: Likewise.
	* tests/f77demo.at: Likewise.
	* tests/fcdemo.at: Likewise.
	* tests/mdemo.at: Likewise.
	* tests/tagdemo.at: Likewise.

2012-10-05  Gary V. Vaughan  <[email protected]>

	tests: remove last vestiges of the legacy test harness.
	All legacy tests have been fully migrated to Autotest, so
	no need to cling to the legacy scaffolding any more.
	* tests/defs.m4sh: Delete file.
	* configure.ac (AM_INIT_AUTOMAKE): Remove unused color-tests and
	parallel-tests options.
	* Makefile.am (defs_m4sh, defs_in, defs, TESTS): Remove.
	Adjust all dependencies.

	tests: migrate legacy tagtrace.test to Autotest.
	* tests/tagtrace.test: Delete file.
	* tests/libtool.at (test LT_SUPPORTED_TAG interface): Add
	Autotest equivalent.
	* Makefile.am (TESTS): Remove tests/tagtrace.test.

	tests: migrate legacy objectlist.test to Autotest.
	* tests/objectlist.test: Delete file.
	* tests/libtool.at (check objectlist file operation): Add
	Autotest equivalent.
	* Makefile.am (TESTS): Remove tests/objectlist.test.

	tests: migrate legacy link.test and link-2.test to Autotest.
	* tests/link.test, tests/link-2.test: Delete files.
	* tests/libtool.at (Check link operation): Add Autotest
	equivalent.
	* Makefile.am (TESTS): Remove tests/link.test and
	tests/link-2.test.

	tests: migrate legacy nomode.test to Autotest.
	* tests/nomode.test: Delete file.
	* test/libtool.at (Check help output, No mode diagnostic): Add
	equivalent tests in Autotest.
	* Makefile.am (TESTS): Remove tests/nomode.test.

	tests: migrate legacy suffix.test to Autotest.
	* tests/suffix.test: Delete file.
	* tests/libtool.at (Transform source suffices): Add Autotest
	equivalent.
	* Makefile.am (TESTS): Remove tests/suffix.test.

	tests: migrate legacy quote.test to Autotest.
	* tests/quote.test: Moved from here...
	* tests/libtool.at: ...to here, and updated to Autotest.
	* Makefile.am (TESTS): Remove tests/quote.test.
	(TESTSUITE_AT): Add tests/libtool.at.

2012-10-04  Gary V. Vaughan  <[email protected]>

	maint: add missing 2012 copyright to newly pushed old files.
	* tests/cdemo.at, tests/demo.at, tests/depdemo.at,
	tests/f77demo.at, tests/fcdemo.at, tests/mdemo.at,
	tests/tagdemo.at (Copyright): Update with missing 2012.

	syntax-check: remove test/demo directories from exemption regexps.
	* cfg.mk (exclude_file_name_regex--sc_bindtextdomain)
	(exclude_file_name_regexp--sc_program_name): Remove. The excluded
	directories no longer exist.
	(exclude_file_name_regexp--sc_prohibit_strcmp): Remove subexpression
	for matching removed demo directories.

	configure: remove unused conditionals and support for order only rules.
	Clean up some more unused cruft.
	* configure.ac (HAVE_CXX, HAVE_F77, HAVE_FC, HAVE_GCJ, HAVE_RC):
	Remove.  These were only used by the recently removed legacy
	tests.
	[order-only prerequisites]: Ditto.

	bootstrap: remove support for `-r' and `reconf_dirs'.
	With all those extra demo directories out of the way, we can
	revert to a more canonical bootstrap process, and jettison the
	cruft that was only there to work around the pain of
	needing to autoreconf 11 directories.  Bootstrap is now an order
	of magnitude faster.
	* bootstrap.conf (require_ltdl_dir): New function. Factored out
	of `libtool_build_prerequisites'.
	(libtool_build_prerequisites): Adjust.
	(func_reconfigure): Use `require_ltdl_dir' to determine the name
	of the other directory we need to autoreconf during bootstrap.
	(libtool_options_prep, libtool_parse_options)
	(libtool_validate_options): Remove.

	tests: let pic_flag and with-pic Autotests work on non-VPATH builds.
	* tests/pic_flag.at: Use _LT_DEMO_SETUP to generate a demo style
	project, rather than relying on $abs_top_srcdir/configure.
	* tests/with-pic.at: Likewise.
	* Makefile.am (TESTSUITE_AT): Move tests/pic_flag.at and
	tests/with-pic.at so that they run immediately following
	tests/demo.at.

	tests: migrate legacy tests/fcdemo tests to Autotest.
	Along with the demise of the last demo directory, so all the
	cruft for re-autotooling and distributing the additional
	directories is no longer necessary.
	* tests/fcdemo.at: New autotest groups, based on...
	* tests/fcdemo-conf.test, tests/fcdemo-exec.test,
	tests/fcdemo-make.test, tests/fcdemo-shared-exec.test,
	tests/fcdemo-shared-make.test, tests/fcdemo-shared.test,
	tests/fcdemo-static-exec.test, tests/fcdemo-static-make.test,
	tests/fcdemo-static.test: ...these legacy tests, now removed.
	* tests/fcdemo/Makefile.am, tests/fcdemo/README,
	tests/fcdemo/configure.ac, tests/fcdemo/cprogram.c,
	tests/fcdemo/foo.h, tests/fcdemo/fooc.c, tests/fcdemo/foof.f90,
	tests/fcdemo/foof2.f90, tests/fcdemo/foof3.f90,
	tests/fcdemo/fprogram.f90: Remove.
	* configure.ac (CONF_SUBDIRS, DIST_MAKEFILE_LIST): Remove.
	* Makefile.am (DIST_SUBDIRS, FC_TESTS, clean-local-legacy)
	(configure-subdirs, distclean-recursive, distdir)
	(fake-distclean-legacy, $(DIST_MAKEFILE_LIST)): Remove.
	(COMMON_TESTS): Rename from this...
	(TESTS): ...to this.

	tests: migrate legacy tests/f77demo tests to Autotest.
	* tests/f77demo.at: New autotest groups, based on...
	* tests/f77demo-conf.test, tests/f77demo-exec.test,
	tests/f77demo-make.test, tests/f77demo-shared-exec.test,
	tests/f77demo-shared-make.test, tests/f77demo-shared.test,
	tests/f77demo-static-exec.test, tests/f77demo-static-make.test,
	tests/f77demo-static.test: ...these legacy tests, now removed.
	* tests/f77demo/Makefile.am, tests/f77demo/README,
	tests/f77demo/configure.ac, tests/f77demo/cprogram.c,
	tests/f77demo/foo.h, tests/f77demo/fooc.c, tests/f77demo/foof.f,
	tests/f77demo/foof2.f, tests/f77demo/foof3.f,
	tests/f77demo/fprogram.f: Remove.
	* configure.ac (CONF_SUBDIRS): Remove tests/f77demo.

	tests: migrate legacy tests/mdemo2 tests to Autotest.
	This test was just a small non-ltdl aware library to load a
	library from the legacy mdemo test, which in turn used ltdl to
	call functions from modules. No need to create a whole other
	test group with copies of everything from mdemo setup - just
	tack the additional test on the end of the mdemo group.
	* tests/mdemo.at (link with library that loads ltdl modules):
	New test, based on...
	* tests/mdemo2-conf.test, tests/mdemo-exec.test,
	tests/mdemo-make.test: ...these legacy tests, now removed.
	* tests/mdemo2/Makefile.am, tests/mdemo2/README,
	tests/mdemo2/configure.ac, tests/mdemo2/main.c: Remove.
	* configure.ac (CONF_SUBDIRS): Remove tests/mdemo2.
	* Makefile.am: Adjust.

	tests: migrate legacy tests/mdemo tests to Autotest.
	* tests/mdemo.at: New autotest groups, based on...
	* tests/mdemo-conf.test, tests/mdemo-dryrun.test,
	tests/mdemo-exec.test, tests/mdemo-inst.test,
	tests/mdemo-make.test, tests/mdemo-shared-exec.test,
	tests/mdemo-shared-inst.test, tests/mdemo-shared-make.test,
	tests/mdemo-shared-unst.test, tests/mdemo-shared.test,
	tests/mdemo-static-exec.test, tests/mdemo-static-inst.test,
	tests/mdemo-static-make.test, tests/mdemo-static-unst.test,
	tests/mdemo-static.test, tests/mdemo-unst.test: ...these legacy
	tests, now removed.
	* tests/mdemo/Makefile.am, tests/mdemo/README,
	tests/mdemo/configure.ac, tests/mdemo/foo.h, tests/mdemo/foo1.c,
	tests/mdemo/foo2.c, tests/mdemo/main.c, tests/mdemo/mlib.c,
	tests/mdemo/sub.c: Remove.
	* configure.ac (CONF_SUBDIRS): Remove tests/mdemo.
	* Makefile.am: Adjust.

	tests: migrate legacy tests/pdemo tests to Autotest.
	This test was a thinly veiled copy of the basic legacy
	demo-conf.test series, with the addition of long file names that
	are not unique in the first 17 characters of their name, mashed
	up with the cmdline_wrap.at max_cmd_len limits.  Migrating to
	Autotest means that this test will be automatically rerun with
	max_cmd_len=24 as cmdline_wrap.at recurses through the whole
	testsuite, so the migrated pdemo test is now simply another test
	case in demo.at with longer file names.
	* test/demo.at (linking with long file names): New test, based
	on...
	* tests/pdemo-conf.test, tests/pdemo-exec.test,
	tests/pdemo-inst.test, tests/pdemo-make.test: ...these legacy
	tests, now removed.
	* tests/pdemo/Makefile.am, tests/pdemo/configure.ac,
	tests/pdemo/foo.h, tests/pdemo/longer_file_name_dlmain.c,
	tests/pdemo/longer_file_name_foo.c,
	tests/pdemo/longer_file_name_foo2.c,
	tests/pdemo/longer_file_name_hell1.c,
	tests/pdemo/longer_file_name_hell2.c,
	tests/pdemo/longer_file_name_hello.c,
	tests/pdemo/longer_file_name_main.c: Remove.
	* configure.ac (CONF_SUBDIRS): Remove tests/pdemo.
	* Makefile.am: Adjust.

	tests: migrate legacy tests/tagdemo tests to Autotest.
	* tests/tagdemo.at: New autotest groups, based on...
	tests/tagdemo-conf.test, tests/tagdemo-exec.test,
	tests/tagdemo-make.test, tests/tagdemo-shared-exec.test,
	tests/tagdemo-shared-make.test, tests/tagdemo-shared.test,
	tests/tagdemo-static-exec.test, tests/tagdemo-static-make.test,
	tests/tagdemo-static.test, tests/tagdemo-undef-exec.test,
	tests/tagdemo-undef-make.test, tests/tagdemo-undef.test:
	...these legacy tests, now removed.
	* tests/tagdemo/.gitignore, tests/tagdemo/Makefile.am,
	tests/tagdemo/README, tests/tagdemo/baz.cpp,
	tests/tagdemo/baz.h, tests/tagdemo/configure.ac,
	tests/tagdemo/conv.cpp, tests/tagdemo/conv.h,
	tests/tagdemo/foo.cpp, tests/tagdemo/foo.h,
	tests/tagdemo/main.cpp: Remove.
	* configure.ac (CONF_SUBDIRS): Remove tests/tagdemo.
	* Makefile.am: Adjust.

	tests: migrate legacy tests/depdemo tests to Autotest.
	* tests/depdemo.at: New autotest groups, based on...
	* tests/depdemo-conf.test, tests/depdemo-exec.test,
	tests/depdemo-inst.test, tests/depdemo-make.test,
	tests/depdemo-nofast-exec.test, tests/depdemo-nofast-inst.test,
	tests/depdemo-nofast-make.test, tests/depdemo-nofast-unst.test,
	tests/depdemo-nofast.test, tests/depdemo-relink.test,
	tests/depdemo-shared-exec.test, tests/depdemo-shared-inst.test,
	tests/depdemo-shared-make.test, tests/depdemo-shared-unst.test,
	tests/depdemo-shared.test, tests/depdemo-static-exec.test,
	tests/depdemo-static-inst.test, tests/depdemo-static-make.test,
	tests/depdemo-static-unst.test, tests/depdemo-static.test,
	tests/depdemo-unst.test: ...these legacy test cases, now
	removed.
	* tests/depdemo/Makefile.am, tests/depdemo/README,
	tests/depdemo/configure.ac, tests/depdemo/l1/Makefile.am,
	tests/depdemo/l1/l1.c, tests/depdemo/l1/l1.h,
	tests/depdemo/l2/Makefile.am, tests/depdemo/l2/l2.c,
	tests/depdemo/l2/l2.h, tests/depdemo/l3/Makefile.am,
	tests/depdemo/l3/l3.c, tests/depdemo/l3/l3.h,
	tests/depdemo/l4/Makefile.am, tests/depdemo/l4/l4.c,
	tests/depdemo/l4/l4.h, tests/depdemo/main.c,
	tests/depdemo/sysdep.h: Remove.
	* configure.ac (CONF_SUBDIRS): Remove tests/depdemo.
	* Makefile.am: Adjust.

	tests: migrate legacy tests/demo tests to Autotest.
	* tests/demo.at: New autotest groups, based on...
	* tests/demo-conf.test, tests/demo-deplibs.test,
	tests/demo-exec.test, tests/demo-hardcode.test,
	tests/demo-inst.test, tests/demo-make.test,
	tests/demo-nofast-exec.test, tests/demo-nofast-inst.test,
	tests/demo-nofast-make.test, tests/demo-nofast-unst.test,
	tests/demo-nofast.test, tests/demo-noinst-link.test,
	tests/demo-nopic-exec.test, tests/demo-nopic-make.test,
	tests/demo-nopic.test, tests/demo-pic-exec.test,
	tests/demo-pic-make.test, tests/demo-pic.test,
	tests/demo-relink.test, tests/demo-shared-exec.test,
	tests/demo-shared-inst.test, tests/demo-shared-make.test,
	tests/demo-shared-unst.test, tests/demo-shared.test,
	tests/demo-static-exec.test, tests/demo-static-inst.test,
	tests/demo-static-make.test, tests/demo-static-unst.test,
	tests/demo-static.test, tests/demo-unst.test: ...these legacy
	test cases, now removed.
	* tests/demo/Makefile.am, tests/demo/README,
	tests/demo/configure.ac, tests/demo/dlmain.c, tests/demo/foo.c,
	tests/demo/foo.h, tests/demo/hell1.c, tests/demo/hell2.c,
	tests/demo/hello.c, tests/demo/main.c: Remove.
	* configure.ac (CONF_SUBDIRS): Remove tests/demo.
	* Makefile.am: Adjust.

	tests: migrate legacy tests/cdemo tests to Autotest.
	* tests/cdemo.at: New Autotest groups, based on...
	* tests/cdemo-conf.test, tests/cdemo-exec.test,
	tests/cdemo-make.test, tests/cdemo-shared-exec.test,
	tests/cdemo-shared-make.test, tests/cdemo-shared.test,
	tests/cdemo-static-exec.test, tests/cdemo-static-make.test,
	tests/cdemo-static.test, tests/cdemo-undef-exec.test,
	tests/cdemo-undef-make.test, tests/cdemo-undef.test: ...these
	legacy test cases, now removed.
	tests/cdemo/Makefile.am, tests/cdemo/README,
	tests/cdemo/configure.ac, tests/cdemo/foo.c, tests/cdemo/foo.h,
	tests/cdemo/main.c: Remove.
	* configure.ac (CONF_SUBDIRS): Remove tests/cdemo.
	* Makefile.am: Adjust.

	maint: distribute a single ChangeLog file.
	* ChangeLog.1996, ChangeLog.1997, ChangeLog.1998, ChangeLog.1999,
	ChangeLog.2000, ChangeLog.2001, ChangeLog.2002, ChangeLog.2003,
	ChangeLog.2004, ChangeLog.2005, ChangeLog.2006, ChangeLog.2007,
	ChangeLog.2008, ChangeLog.2009, ChangeLog.2010: Remove.  Content
	moved from here...
	* ChangeLog.old: ...to here.
	* Makefile.am (EXTRA_DIST): Update list of ChangeLog files.
	(changelog_old): New variable to hold path to ChangeLog.old file.
	($(changelog)): Update to concatenate non-distributed
	ChangeLog.old file to distributed ChangeLog after git log entries.

	syntax-check: fix violations and implement sc_prohibit_space_semicolon.
	No need for a spurious space before a command ending semi-colon.
	* cfg.mk (sc_prohibit_space_semicolon): New test to catch
	accidental reintroduction of spurious spaces removed by this
	changeset.
	* bootstrap, build-aux/general.m4sh, build-aux/ltmain.m4sh,
	libltdl/lt__strl.c, m4/libtool.m4, m4/ltdl.m4, tests/bindir.at:
	Remove spurious spaces.

2012-10-03  Gary V. Vaughan  <[email protected]>

	Merge branch 'gary/reredo-test-operand-order'
	The original manually applied changeset 962aa91 contained several
	errors (some corrected by subsequent patches on master, others not)
	and many unrelated (although in this case, correct) changes were also
	committed in the same changeset.
	The merged branch gary/reredo-test-operand-order factors the
	unrelated changes out into separate commits, and performs the work
	that should have been in 962aa91 with a script, the results of which
	were then painstakingly inspected for errors.
	This merge moves the corrections for errors made in the original
	manual patch from the branch onto master.  Please inspect the many
	separate changesets on the branch rather than the original patch
	when you bisect or otherwise find your way to an error caused by
	962aa91.

2012-10-02  Gary V. Vaughan  <[email protected]>

	tests: simplify some shell code.
	* tests/fail.at: Simplify.
	* tests/static.at: Likewise.

	libtool: unroll complex nested compound statements
	* build-aux/ltmain.m4sh: Use an if statement instead of ugified
	compound statements.

	libtool: unroll nested if into a single case statement.
	* build-aux/ltmain.m4sh (func_mode_link): Unroll a hard to
	understad nested if statement into a more readable single case
	statement.

	libtool: simplify $skipped_export blocks
	* build-aux/ltmain.m4sh (func_mode_link): Save an if statement
	with '$skipped_export && { block; }' instead of 'if $skipped_export;
	then block; fi'.

	libtool: simplify an if statement
	* build-aux/ltmain.m4sh (func_mode_link): Reverse the branch
	order for an if statement for readability.
	* m4/libtool.m4: Likewise.

	libtool: save an if statement, with a compound statement.
	* build-aux/ltmain.m4sh (func_mode_link): Simplify.

	libtool: simplify multiple string tests
	* build-aux/ltmain.m4sh (func_mode_link): Save test invocations
	by using 'test x,y = "$a,$b"' instead of 'test x = "$a" && test y
	= "$b"'.
	* m4/libtool.m4: Likewise.

	libtool: fold if into a compound OR statement when more readable
	* build-aux/ltmain.m4sh (func_mode_link): For readability, use
	'test string = "$var" || { stuff; }' in preference to
	'if test string != "$var"; then stuff; fi'.

	libtool: use false or : for $rmforce, and simplify
	* build-aux/ltmain.m4sh (func_mode_uninstall): Save a string
	comparison by setting $rmforce to false or : and using it
	directly as the first argument to if.

	libtool: use false or : for $wrappers_required, and simplify
	* build-aux/ltmain.m4sh (func_mode_link): Save a string
	comparison by setting $wrappers_required to false or : and using
	it directly with a ored block rather than an if statement.

	libtool: use false or : for $linkalldeplibs, and simplify
	* build-aux/ltmain.m4sh (func_mode_link): Save a string
	comparison by setting $linkalldeplibs to false or : and using it
	directly as the first argument to if.

	libtool: use false or : for $valid_a_lib, and simplify
	* build-aux/ltmain.m4sh (func_mode_link): Save a string
	comparison by setting $valid_a_lib to false or : and using it
	directly as the first argument to if.

	libtool: use false or : for $found, and simplify
	* build-aux/ltmain.m4sh (func_mode_link): Save a string
	comparison by setting $found to false or : and using it directly
	as the first argument to if.

	libtool: use false or : for $alldeplibs, and simplify
	* build-aux/ltmain.m4sh (func_mode_link): Save a string
	comparison by setting $alldeplibs to false or : and using it
	directly as the first argument to if.

	libtool: use false or : for $preload, and simplify
	* build-aux/ltmain.m4sh (func_mode_link): Save a string
	comparison by setting $preload to false or : and using it directly
	instead of if statements.

	libtool: use false or : for $my_pic_p, and simplify
	* build-aux/ltmain.m4sh (func_generate_dlsyms): Save a string
	comparison by setting $my_pic_p to false or : and using it directly
	instead of calling if.
	Adjust all callers.

	libtool: use false or : for $finalize, and simplify
	* build-aux/ltmain.m4sh (func_mode_install): Save a string
	comparison by setting $finalize to false or : and using it
	directly as the first argument to if.

	libtool: use false or : for $isdir, and simplify
	* build-aux/ltmain.m4sh (func_mode_install): Save a string
	comparison by setting $isdir to false or : and using it directly
	as the first argument to if.

	syntax-check: [REDO] fix violations and implement
	 sc_prohibit_test_const_follows_var.
	To safely use a non-literal fist argument to 'test', you must
	always prepend a literal non-'-' character, but often the second
	operand is a constant that doesn't begin with a '-' already, so
	always use 'test a = "$b"' instead of the noisy 'test "X$b" = Xa'.
	* cf.mk (sc_prohibit_test_const_follws_var): New syntax-check
	rule to ensure we don't reintroduce noisy test operands.
	bootstrap, build-aux/extract-trace, build-aux/general.m4sh,
	build-aux/ltmain.m4sh, configure.ac, doc/libtool.texi, libtoolize.m4sh,
	m4/argz.m4, m4/libtool.m4, m4/ltdl.m4, tests/bindir.at, tests/defs.m4sh,
	tests/demo-relink.test, tests/demo/configure.ac,
	tests/depdemo-relink.test, tests/destdir.at, tests/duplicate_conv.at,
	tests/fail.at, tests/getopt-m4sh.at, tests/help.at, tests/libtoolize.at,
	tests/link-2.test, tests/link-order2.at, tests/lt_dlopenext.at,
	tests/mdemo/configure.ac, tests/mdemo2/configure.ac,
	tests/need_lib_prefix.at, tests/nocase.at, tests/pdemo/configure.ac,
	tests/pic_flag.at, tests/search-path.at, tests/shlibpath.at,
	tests/static.at, tests/sysroot.at, tests/tagtrace.test,
	tests/testsuite.at, tests/with-pic.at: Swap operands to avoid useless
	noise.

2012-09-19  Peter Rosin  <[email protected]>

	tests: skip with-pic test when no "real" pic flag is used.
	* tests/with-pic.at: Windows uses "-DDLL_EXPORT -DPIC" as the pic
	"flag", but never applies it to static libraries. Cater for this
	and skip if no "real" pic flag is in use.

2012-09-16  Gary V. Vaughan  <[email protected]>

	syntax-check: fix texinfo formatting flagged by
	 prohibit_undesirable_word_seq.
	* doc/libtool.text: Fix several misuses of @xref and @pxref so that
	the prohibit_undesirable_word_seq syntax check passes again.

	syntax-check: remove useless_braces_in_variable_derefs.
	* build-aux/general.m4sh: Remove spurious braces around
	${ZSH_VERSION} dereference.
	* build-aux/ltmain.m4sh (func_mode_link): Likewise for ${wl}.

	syntax-check: skip prohibit_strncpy.
	* cfg.mk (local-checks-to-skip): sc_prohibit_strncpy.

	syntax-check: skip prohibit_always_true_header_tests rule.
	* cfg.mk (local-checks-to-skip): Add
	sc_prohibit_always_true_header_tests.

	maint: Revert "bootstrap: delete unneeded README-release patch"
	This reverts commit 11cd425e7d47111956381dba28f8c1b34e14653f.
	These instructions are hard to find for new maintainers, so it's
	good to keep them to hand with the release notes.
	And the additional distchecks are important prior to a release.

	maint: remove unused cvsu script.
	* build-aux/cvsu: Remove. This script is not useful now that
	Libtool's repository is hosted in git.
	* Makefile.am (build_scripts): Remove cvsu reference.

	maint: run update-copyright for missing 2011 and 2012 years.
	See maintain.texi (Copyright Notices) for rules for maintaining
	the years in copyright notices.
	* All Files (Copyright): Updated with missing 2011 and 2012.

	bootstrap: use gnulib update-copyright script.
	See maintain.texi (Copyright Notices) for rules for maintaining
	the years in copyright notices.
	* bootstrap.conf (gnulib_modules): Add update-copyright.
	* cfg.mk (update-copyright-env): Set environment variables for
	update-copyright script.

	bootstrap: update bootstrap script to latest upstream.
	* bootstrap, build-aux/options-parser: apply upstream fixes and
	enhancements.

	git: don't complain about new parallel tests driver and file droppings.
	* build-aux/.gitignore: Ignore parallel `test-driver' script.
	* tests/.gitignore: Ignore `test-driver' .trs file droppings.

	gnulib: update local gnulib patches.
	* gl/build-aux/announce-gen.diff: Remove hunks adopted upstream.
	* gl/build-aux/do-release-commit-and-tag.diff: Refresh this patch
	to match current gnulib.

	gnulib: update gnulib submodule.

	bootstrap: ensure there is a ChangeLog before running automake.
	Automake refuses to run in GNU-mode unless there is a ChangeLog file
	in the top-level directory.
	* bootstrap.conf (libtool_force_changelog): Create a dummy ChangeLog.

	libtoolize: improve verbose mode output.
	* libtoolize (func_require_seen_ltdl)
	(func_require_seen_libtool): Output success message in verbose
	mode.

2012-08-22  Peter O'Gorman  <[email protected]>

	libtool: Add the 'n' to then.
	* m4/libtool.m4: fix typo.
	Reported by Brad Smith.

2012-08-22  Andreas Schwab  <[email protected]>

	libtool: Pass through -g* so that debugging information is not dropped
	* ltmain.m4sh (func_mode_link): Pass through -g*.

2012-08-22  David Edelsohn  <[email protected]>

	libtool: AIX PIC shared library support
	* m4/libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX.

2012-08-22  Brad Smith  <[email protected]>

	libtool: Update/simplify OpenBSD support
	* m4/libtool.m4: Forget about 11 year old releases.

2012-08-19  Peter Rosin  <[email protected]>

	libtool: quote progpath properly
	Attempt to handle spaces in paths better.
	* build-aux/ltmain.m4sh (func_mode_install, func_mode_link): Quote
	$progpath.
	* THANKS: Update.

2012-04-19  Mike Frysinger  <[email protected]>

	libtool: Handle getconf returning "undefined".
	* m4/libtool.m4: Check for "undefined" from `getconf`.

2012-03-17  Peter Rosin  <[email protected]>

	bootstrap: delete unneeded README-release patch
	* gl/top/README-release.diff: Delete.

2012-03-16  Peter O'Gorman  <[email protected]>

	libtool: Fix typo that caused sys_lib_search_path_spec to be wrong.
	* m4/libtool.m4: s/lt_fooi/lt_foo/.
	Reported by Paul Seidler.

2012-02-21  Samuel Thibault  <[email protected]>

	libtool: Improve GNU/Hurd support.
	* m4/libtool.m4: Add gnu* match where it was missing.

2012-02-19  Titus von Boxberg  <[email protected]>

	libtool: Accept clang's -stdlib linker flag.
	build-aux/ltmain.m4sh: Don't drop the -stdlib= flag.

2012-02-19  Juergen Reuter  <[email protected]>

	libtool: Enable nagfor fortran compiler support
	* build-aux/ltmain.m4sh: nagfor compatible version string.
	* m4/libtool.m4: nagfor support.

2012-02-19  Juergen Reuter  <[email protected]>

	libtool: Fixing -shared error message for nagfor compiler.
	* m4/libtool.m4: Fix -shared.

2012-02-19  Pavel (Pasha) Shamis  <[email protected]>

	ltdl: Improve debug error reporting in ltdl.
	* libltdl/ltdl.c: Print the error message if loading fails.

2012-02-19  Peter O'Gorman  <[email protected]>

	maint: Deleted unneeded gitlog-to-changelog patch
	* gl/build-aux/gitlog-to-changelog.diff: Delete.

2012-02-02  Roumen Petrov  <[email protected]>  (tiny change)

	fixup: restore EXPORTS test
	Commit v2.4.2-120-g962aa91
	syntax-check: fix violations and implement sc_prohibit_test_const_follows_var
	inadvertedly reversed the meaning of the comparison.

	* build-aux/ltmain.m4sh (func_mode_link) [cygwin|mingw|cegcc]: Restore
	the EXPORTS test.  We need to look at the symbols when it's _not_
	already a .def file (in which case we trust the user input blindly).

2012-01-30  Peter Rosin  <[email protected]>

	cwrapper: avoid surplus strlen calculations.
	* build-aux/ltmain.m4sh (func_emit_cwrapperexe_src:lt_update_exe_path):
	Avoid surplus strlen calculations.

2011-12-24  Gary V. Vaughan  <[email protected]>

	bootstrap: fix Autoconf version typo.
	* build-aux/options-parser: s/2\.62/2.68/

	gnulib: update gnulib submodule.
	Among others, this fixes the reference to a local commit.
	* gnulib: Updated to todays master HEAD revision.
	* gl/top/README-release.diff: Update to account for changes to
	gnulib/top/README-release since the last gnulib update.

2011-12-18  Gary V. Vaughan  <[email protected]>

	libtool: make fork minimisation compatible with dash and zsh.
	* build-aub/general.m4sh (lt_HAVE_PLUSEQ_OP): Instead of using
	$((..)) arithmetic, which causes an error on dash, use a case
	based bash version check.
	(lt_HAVE_ARITH_OP, lt_HAVE_XSI_OPS): Also short circuit the
	feature probing forks and set these automatically when zsh is
	detected.
	Reported by Stefano Lattarini.

	bootstrap: adopt autoconf echo normalization code.
	Dash shipped with Ubutu-11.10 as /bin/sh, among others, still
	has a crippled echo builtin that mis-handles backslashes.
	* build-aux/options-parser (bs_echo): Adopt the autoconf echo
	normalization code to find a suitable replacement for buggy echo
	commands.
	Adjust all uses of echo to $bs_echo.
	* build-aux/extract-trace (func_extract_trace, func_main):
	Likewise.
	* bootstrap: To retain some execution speed on platforms with
	buggy builtin echo, replace most occurrences of `echo' with
	`$bs_echo' - except where its arguments will obviously never
	contain backslashes or be overly long.
	Reported by Reuben Thomas.

	libtool: minimise forks per invocation under bash.
	* build-aux/general.m4sh (lt_HAVE_PLUSEQ_OP, lt_HAVE_ARITH_OP)
	(lt_HAVE_XSI_OPS): Set these without forking a test script when
	running under bash, to avoid a few unnecessary forks.

2011-12-13  H.J. Lu  <[email protected]>

	libtool: Support x32.
	* m4/libtool.m4 (_LT_ENABLE_LOCK): Support x32.

2011-12-08  Gary V. Vaughan  <[email protected]>

	maint: disable prohibit_always-defined_macros syntax check.
	Aside from Apple grep silently failing to run this test and
	report violations, libtool still uses non-gnulib versions of
	dirent.h and argz.h which use the same macros, but are not
	always-defined.
	* cfg.mk (local-checks-to-fix): Move
	sc_prohibit_always-defined_macros from here...
	(local-checks-to-skip): ...to here.
	Reported by Peter O'Gorman.

	tests: s/snippit/snippet/.
	* tests/demo/foo.h, tests/pdemo/foo.h: Spell `snippet' correctly.
	Reported by Stefano Lattarini.

	tests: make sure file restore traps are called correctly on AIX.
	* tests/demo-noinst-link.test (func_save_files): set the restore
	trap outside a function, otherwise AIX 5.3 /bin/sh will run the
	trap at the end of the function, instead of when the script
	exits.
	* tests/demo-relink.test (func_save_files): Ditto.
	* tests/depdemo-relink.test (func_save_files): Ditto.
	Reported by Stefano Lattarini.

	maint: eliminate some more spurious leading Xs.
	* m4/libtool.m4: Reverse argument order to eliminate spurious
	leading X's.

	bootstrap: put back missing spaces before parens.
	* bootstrap (func_require_buildreq_autobuild)
	(func_require_buildreq_automake): Vi's delete word command is
	too greedy and also eats trailing whitespace before following
	non-word-chars. Put back the spaces it ate so that
	syntax-checks pass once again.

	libtoolize: refactor copying filter creation.
	Prevent the various require_filter functions from becoming too
	long by factoring common code into new functions.
	* libtoolize (func_make_relative_dir_filter)
	(func_make_relative_ltdl_filter): New functions. Generalize and
	consolidate the various similar snippets for concatenating
	together the sed scripts for func_copy filtering.
	(require_filter_Makefile_am, require_filter_aclocal_m4)
	(require_filter_configure_ac): Simplify.
	(require_ltdl_relative_aux_dir): Remove.
	(require_ltdl_relative_macro_dir): Ditto.

	maint: pick XSI funcs at runtime, not configure time.
	Determine, on a function by function basis, what XSI features
	are available in the shell that is actually running the script,
	rather than the one that was picked at configure time by the
	re-execution engine.
	* m4/libtool.m4 (_LT_PROG_FUNCTION_REPLACE)
	(_LT_PROG_REPLACE_SHELLFNS): Remove.
	(_LT_CHECK_SHELL_FEATURES): Remove tests for XSI and += support.
	* build-aux/general.m4sh (func_append, func_append_quoted)
	(func_arith, func_len, func_basename, func_dirname)
	(func_dirname_and_basename, func_stripname): List both enhanced
	and fallback implementations, and choose one based on whether
	the enhanced features required by the fastest version are
	available.
	* build-aux/getopt.m4sh (func_split_short_opt)
	(func_split_long_opt): Ditto.
	* build-aux/ltmain.m4sh (func_lo2o, func_xform): Ditto.
	* tests/getopt-m4sh.at: Add tests for enhanced and fallback
	implementations of func_arith, func_len, func_stripname and
	func_dirname_and_basename.
	* NEWS: Updated.

	maint: share useful functions from general.m4sh.
	* build-aux/ltmain.m4sh (func_append, func_append_quoted)
	(func_arith, func_len): Removed from here...
	* build-aux/general.m4sh (func_append, func_append_quoted)
	(func_arith, func_len): ...and added to here.
	(func_dirname, func_dirname_and_basename, func_normal_abspath)
	(func_relative_path): Use func_append.
	* tests/getopt-m4sh.at (_LT_AT_FALLBACK_FUNC_EXTRACT): Removed.
	Fallback functions are now in any m4sh generated file
	automatically.

	libtoolize: reorder function definitions to keep func_filter_* together.
	* libtoolize: Restore asciibetical order, so that all the
	filter function definitions are together.

	libtoolize: use _filter as a prefix for better ordering.
	* libtoolize.m4sh (require_Makefile_am_filter)
	(require_ltdl_mk_filter, require_aclocal_m4_filter)
	(require_configure_ac_filter): Rename these functions from this...
	(require_filter_Makefile_am, require_filter_ltdl_mk)
	(require_filter_aclocal_m4, require_filter_configure_ac): ...to
	this, respectively.  Adjust all callers.
	(Makefile_am_filter, ltdl_mk_filter, aclocal_m4_filter)
	(configure_ac_filter): Rename these global variables from this...
	(filter_Makefile_am, filter_ltdl_mk, filter_aclocal_m4)
	(filter_configure_ac): ...to this, respectively.

	libtoolize: rename ltdl.mk filter function.
	* libtoolize.m4sh (require_Makefile_inc_filter): Rename from
	this...
	(require_ltdl_mk_filter): ...to this. Adjust all callers.

	bootstrap: escape quotes properly in generated functions.
	* bootstrap: Although not a real bug, for consistency, be sure
	to correctly escape single quotes inside a single quoted
	function generator.

	bootstrap: reorder function definitions to keep func_buildreq_* together.
	* bootstrap: Restore asciibetical order, so that all the
	buildreq function definitions are together.

	bootstrap: use _buildreq as a prefix for better ordering.
	* bootstrap (require_autobuild_buildreq)
	(require_autoconf_buildreq, require_automake_buildreq)
	(require_autopoint_buildreq, require_libtoolize_buildreq)
	(require_patch_buildreq): Rename from these...
	(require_buildreq_autobuild, require_buildreq_autoconf)
	(require_buildreq_automake, require_buildreq_autopoint)
	(require_buildreq_libtoolize, require_buildreq_patch): ...to
	these, respectively.  Adjust all callers.

	bootstrap: ensure consistent function header comments.
	* bootstrap (require_bootstrap_uptodate)
	(require_buildtools_uptodate): Use `require_...' in header
	comment for these functions to be consistent with the rest,
	rather than `func_require_...'.

	bootstrap: make sure patch is available to bootstrap if necessary.
	Make sure we're not lacking any functionality provided by the
	incumbent gnulib bootstrap script, and where it's easy to do so
	(like it is here), provide better functionality!
	* bootstrap (require_patch): Make sure that PATCH expands to the
	best `patch' command available on the system, honouring
	overrides in the users environment.
	(require_patch_buildreq): Automatically add a requirement for a
	patch command to buildreq when there are diff files in
	$local_gl_dir.
	(func_require_buildtools_uptodate): Call require_patch_buildreq
	before testing build tool versions.
	(func_gnulib_tool_copy_file): Make sure PATCH is set before using
	gnulib-tool to copy files.

2011-11-26  Gary V. Vaughan  <[email protected]>

	m4: fix logic error leading to -fno-rtti being added wrongly.
	* m4/libtool.m4 (_LT_COMPILER_OPTION): Negate comparison so that
	compiler flags are added correctly.

	maint: Fix generated ChangeLog typos.
	* build-aux/git-log-fix: Spell Stefano Lattarini's name
	correctly.
	Don't use my home email address for GNU commits.

2011-11-25  Gary V. Vaughan  <[email protected]>

	syntax-check: fix violations and implement sc_useless_braces_in_variable_derefs.
	Until now, libtool sources have used braced variable names
	seemingly at random! Almost always the braces are just noise, so
	remove all the unnecessary ones.
	* cfg.mk (sc_useless_braces_in_variable_derefs): New syntax
	check rule to ensure we only reintroduce braced variable
	dereferences if they are followed by a valid variable name
	character.
	build-aux/general.m4sh, build-aux/git-hooks/commit-msg,
	build-aux/ltmain.m4sh, build-aux/options-parser, configure.ac,
	libltdl/configure.ac, m4/libtool.m4, m4/ltdl.m4,
	m4/ltoptions.m4, tests/defs.m4sh, tests/demo-nopic.test,
	tests/depdemo/configure.ac, tests/flags.at, tests/link.test,
	tests/objectlist.test, tests/quote.test, tests/static.at: Remove
	spurious braces.

	syntax-check: fix violations and implement sc_prohibit_sed_s_comma.
	I like to name temporary directories that I will remove shortly
	with two leading commas so that they sort lexicographically at
	the top of `ls' output.  Now, `./configure
	--prefix=`pwd`/,,inst' works again, for the first time in
	several years.
	* cfg.mk (sc_prohibit_sed_s_comma): Comma is too common a
	character to use routinely as the separator for sed
	substitutions on file paths and other variables determined by
	the user, causing bugs like the one I describe above.  Make sure
	we don't accidentally reintroduce any comma separators in
	future.
	* Makefile.am, bootstrap, bootstrap.conf, build-aux/extract-trace,
	build-aux/general.m4sh, build-aux/git-hooks/commit-msg,
	build-aux/git-log-fix, build-aux/ltmain.m4sh, libtoolize.m4sh,
	m4/libtool.m4, m4/ltdl.m4, tests/cdemo-undef.test,
	tests/cmdline_wrap.at, tests/darwin.at, tests/defs.m4sh,
	tests/getopt-m4sh.at, tests/install.at, tests/libtoolize.at,
	tests/mdemo/Makefile.am, tests/need_lib_prefix.at,
	tests/sysroot.at, tests/tagdemo-undef.test, tests/testsuite.at:
	Try to use `|' as the default separator wherever possible,
	otherwise something else that doesn't occur in the substitution
	expression.
	* NEWS: Updated.

	syntax-check: fix violations and implement sc_prohibit_bare_basename.
	* cfg.mk (sc_prohibit_bare_basename, sc_prohibit_basename_with_sed):
	Make sure not to go back to using occasional `|$basename' or
	`|$dirname' syntax.
	* build-aux/git-hooks/commit-msg, build-aux/ltmain.m4sh,
	* build-aux/options-parser, tests/fcdemo-conf.test,
	* tests/fcdemo-shared.test, tests/fcdemo-static.test,
	* tests/libtoolize.at: Fix violations.

	tests: migrate tests/sh.test checks to syntax-checks.
	Some modernization of the legacy testsuite.
	* tests/sh.test: Remove.
	* Makefile.am (COMMON_TESTS): Adjust.
	* cfg.mk (sc_libtool_m4_cc_basename, sc_prohibit_bracket_as_test)
	(sc_prohibit_nested_quotes, sc_prohibit_set_dummy_without_shift)
	(sc_prohibit_set_minus_minus, sc_prohibit_test_binary_operators)
	(sc_prohibit_test_dollar, sc_prohibit_test_minus_e)
	(sc_prohibit_test_unary_operators, sc_prohibit_test_X)
	(sc_prohibit_Xsed_withou_X, sc_require_function_nl_brace):
	Functionally identical tests to what used to be performed by
	sh.test, only with coverage of all files.
	* bootstrap, build-aux/edit-readme-alpha,
	build-aux/extract-trace, build-aux/getopt.m4sh,
	build-aux/ltmain.m4sh, configure.ac, m4/libtool.m4, m4/ltdl.m4,
	tests/bindir.at, tests/configure-iface.at, tests/cwrapper.at,
	tests/darwin.at, tests/defs.m4sh, tests/demo-hardcode.test,
	tests/dlloader-api.at, tests/exceptions.at,
	tests/getopt-m4sh.at, tests/lalib-syntax.at, tests/link-2.test,
	tests/link-order2.at, tests/loadlibrary.at,
	tests/lt_dladvise.at, tests/lt_dlexit.at, tests/lt_dlopen_a.at,
	tests/lt_dlopenext.at, tests/need_lib_prefix.at,
	tests/nonrecursive.at, tests/recursive.at, tests/resident.at,
	tests/standalone.at, tests/static.at, tests/stresstest.at,
	tests/subproject.at, tests/sysroot.at, tests/tagtrace.test,
	tests/testsuite.at: Fix violations of the new syntax checks.

	syntax-check: fix violations and implement sc_useless_quotes_in_assignment.
	Contrary to popular belief, Bourne shell does not resplit RHS of
	assignments after expansion, so if there are no unquoted shell
	metacharacters or whitespace, the quotes are useless.
	* cfg.mk (_sc_search_regexp_or_exclude): A variation of gnulib's
	_sc_search_regexp that also allows individual exclusions at the
	site of what would otherwise match by adding a comment.
	(sc_useless_quotes_in_assignment): New syntax-check rule to
	ensure we don't reintroduce useless quoted assignments.
	* bootstrap, bootstrap.conf, build-aux/edit-readme-alpha,
	build-aux/general.m4sh, build-aux/getopt.m4sh,
	build-aux/ltmain.m4sh, build-aux/options-parser, configure.ac,
	doc/libtool.texi, libtoolize.m4sh, m4/libtool.m4, m4/ltdl.m4,
	m4/ltoptions.m4, tests/cwrapper.at, tests/defs.m4sh,
	tests/lalib-syntax.at, tests/libtoolize.at,
	tests/lt_dlopenext.at, tests/mdemo/configure.ac,
	tests/mdemo2/configure.ac, tests/need_lib_prefix.at,
	tests/no-executables.at, tests/quote.test, tests/suffix.test:
	Remove spurious quotes.

	syntax-check: fix violations and implement sc_useless_quotes_in_case.
	Contrary to popular belief, Bourne shell does not resplit case
	expressions after expansion, so if there are no unquoted shell
	metacharacters or whitespace, the quotes are useless.
	* cfg.mk (sc_useless_quotes_in_case): New syntax-check rule to
	ensure we don't reintroduce useless quoted case expressions.
	* build-aux/ltmain.m4sh, m4/libtool.m4, tests/bindir.at,
	tests/darwin.at, tests/defs.m4sh, tests/demo-hardcode.test,
	tests/demo-nopic.test, tests/link-2.test, tests/quote.test,
	tests/sysroot.at: Remove spurious quotes.

	maint: quote $file correctly in bootstrap.
	* bootstrap (func_insert_sorted_if_absent): Don't forget the
	double quotes, since we can't control the content of $file.
	Reported by Stefano Lattarini.

	build: fix a quoting bug when regenerating with bootstrap_edit.
	* Makefile.am (m4/ltversion.m4, build-aux/ltmain.sh): The
	bootstrap_edit make macro already contains double quotes, so
	when echoing it, don't surround it with more double quotes since
	it is not escaped.

2011-11-17  Gary V. Vaughan  <[email protected]>

	dist: hook syntax-check into `make distcheck'.
	To make sure we don't accidentally release anything with
	failing syntax-checks, have `make distcheck' run the
	syntax-checks automatically.
	* Makefile.am (distcheck-hook): New rule depending on
	syntax-check.

	syntax-check: enable sc_prohibit_always_true_header_tests.
	* cfg.mk (local-checks-to-fix): Remove
	sc_prohibit_always_true_header_tests from list of disabled
	checks, because it no longer flags any violations.

	syntax-check: enable sc_program_name.
	* cfg.mk (local-checks-to-skip): Remove sc_program_name
	list of disabled checks.
	(exclude_file_name_regexp--sc_program_name): Don't check demo
	programs for use of set_program_name.

	syntax-check: enable sc_bindtextdomain.
	* cfg.mk (local-checks-to-skip): Remove sc_bindtextdomain
	list of disabled checks.
	(exclude_file_name_regexp--sc_bindtextdomain): Don't check demo
	programs for use of bindtextdomain.

	syntax-check: fix violations and implement sc_trailing_blank-non-rfc3676.
	* cfg.mk (local-checks-to-fix): Move sc_trailing_blank from
	here...
	(local-checks-to-skip): ...to here, because otherwise it flags
	valid RFC3676 signature blocks.
	(sc_trailing_blank-non-rfc3676): An improved sc_trailing_blank
	implementation that doesn't flag signature blocks as violations.
	* Makefile.am, bootstrap.conf, doc/PLATFORMS,
	libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4,
	libltdl/m4/lt~obsolete.m4, tests/archive-in-archive.at,
	tests/convenience.at, tests/darwin.at, tests/depdemo/l1/l1.c,
	tests/depdemo/l2/l2.c, tests/depdemo/l3/l3.c,
	tests/depdemo/l4/l4.c, tests/f77demo/README,
	tests/f77demo/cprogram.c, tests/f77demo/foof.f,
	tests/f77demo/foof2.f, tests/f77demo/foof3.f,
	tests/f77demo/fprogram.f, tests/fcdemo/README,
	tests/fcdemo/cprogram.c, tests/fcdemo/foof.f90,
	tests/fcdemo/foof2.f90, tests/fcdemo/foof3.f90,
	tests/fcdemo/fprogram.f90, tests/mdemo/README,
	tests/mdemo/main.c, tests/mdemo/mlib.c, tests/objectlist.test,
	tests/static.at, tests/template.at, tests/testsuite.at: Remove
	trailing blanks.

	syntax-check: fix violations and re-enable sc_useless_cpp_parens.
	* cfg.mk (local-checks-to-fix): Remove sc_useless_cpp_parens
	from list of disabled checks.
	* doc/libtool.texi, libltdl/argz.c, libltdl/argz_.h,
	build-aux/ltmain.m4sh, libltdl/libltdl/lt__alloc.h,
	libltdl/libltdl/lt__dirent.h, libltdl/libltdl/lt__glibc.h,
	libltdl/libltdl/lt__private.h, libltdl/libltdl/lt__strl.h,
	libltdl/libltdl/lt_dlloader.h, libltdl/libltdl/lt_error.h,
	libltdl/libltdl/lt_system.h, libltdl/libltdl/slist.h,
	libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
	libltdl/loaders/dyld.c, libltdl/loaders/loadlibrary.c,
	libltdl/loaders/shl_load.c, libltdl/lt__dirent.c, libltdl/lt__strl.c,
	libltdl/ltdl.c, libltdl/ltdl.h, libltdl/m4/libtool.m4, tests/demo/foo.h,
	tests/depdemo/sysdep.h, tests/exceptions.at, tests/export.at,
	tests/pdemo/foo.h, tests/stresstest.at: Remove useless parens in cpp
	`#if defined(foo)' statements.

	syntax-check: fix violations and re-enable sc_space_tab.
	* cfg.mk (local-checks-to-fix): Remove sc_space_tab from list of
	disabled checks.
	(exclude_file_name_regexp--sc_space_tab): Don't flag space-tab
	sequences in diff files as an error.
	* Makefile.am, build-aux/general.m4sh, build-aux/git-hooks/commit-msg,
	build-aux/ltmain.m4sh, libltdl/loaders/dyld.c,
	libltdl/loaders/shl_load.c, libltdl/ltdl.h, libltdl/ltdl.mk,
	libltdl/slist.c, libtoolize.m4sh, m4/ltoptions.m4, tests/demo/dlmain.c,
	tests/depdemo/main.c, tests/libtoolize.at, tests/lt_dladvise.at,
	tests/pdemo/longer_file_name_dlmain.c, tests/sh.test, tests/static.at,
	tests/stresstest.at, tests/template.at: Fix space-tab sequences by
	reversing them in regexps, and deleting leading spaces in indentation.

	syntax-check: fix violations and re-enable sc_prohibit_undesirable_word_seq.
	* cfg.mk (local-checks-to-fix): Remove
	sc_prohibit_undesirable_word_seq from list of disabled checks.
	* doc/libtool.texi, build-aux/ltmain.m4sh,
	libltdl/m4/libtool.m4, libtoolize.m4sh: Replace all uses of "can
	not" with "cannot".

	syntax-check: fix violations and re-enable sc_probibit_test_minus_ao.
	* cfg.mk (local-checks-to-fix): Remove
	sc_probhibit_test_minus_ao from list of disabled checks.
	(exclude_file_name_regexp--sc_prohibit_tests_minus_ao): The
	matches from this syntax-check in libtool.m4 are all bogus.

	syntax-check: fix violations and re-enable sc_prohibit_strcmp.
	* cfg.mk (local-checks-to-fix): Remove sc_prohibit_strcmp
	from list of disabled checks.
	(exclude_file_name_regexp--sc_prohibit_strcmp): Ignore
	violations in libtool.texi and any demo C files.
	* libltdl/libltdl/lt__private.h (strneq, streq): Renamed from
	this...
	(STRNEQ, STREQ): ..to this.  Adjust all callers.
	* tests/slist.at: Add STREQ definition. Change all !strcmp calls
	to STREQ.
	* build-aux/ltmain.m4sh (func_emit_cwrapperexe_src): Add and use
	STREQ definition.

	syntax-check: fix violations and re-enable sc_prohibit_stddef_without_use.
	* cfg.mk (local-checks-to-fix): Remove
	sc_prohibit_stddef_without_use from list of disabled checks.
	* libltdl/argz.c, libltdl/lt__dirent.c, libltdl/slist.c: Remove
	spurious stddef.h #include lines.

	syntax-check: fix violations and re-enable sc_prohibit_magic_number_exit.
	* cfg.mk (local-checks-to-fix): Remove sc_prohibit_magic_number_exit
	from list of disabled checks.
	* ltmain.c: Removed unused file.

	syntax-check: fix violations and re-enable sc_prohibit_have_config_h.
	* cfg.mk (local-checks-to-fix): Remove sc_prohibit_have_config_h
	from list of disabled checks.
	* tests/f77demo/foo.h, tests/fcdemo/foo.h: Remove spurious
	HAVE_CONFIG_H guards for #include <config.h>.

	syntax-check: fix violations and re-enable sc_prohibit_empty_lines_at_EOF.
	* cfg.mk (local-checks-to-fix): Remove
	sc_prohibit_empty_lines_at_EOF from list of disabled checks.
	* THANKS, libltdl/argz.c, libltdl/config/getopt.m4sh,
	tests/f77demo/README, tests/f77demo/cprogram.c,
	tests/f77demo/fprogram.f, tests/fcdemo/README,
	tests/fcdemo/cprogram.c, tests/libtoolize.at,
	tests/mdemo/README, tests/mdemo2/README, tests/pdemo-inst.test:
	Remove spurious empty lines from the end of these files.

	syntax-check: fix violations and re-enable sc_prohibit_doubled_word.
	* cfg.mk (local-checks-to-fix): Remove sc_prohibit_doubled_word
	from list of disabled checks.
	* build-aux/general.m4sh (func_quote_for_eval): Remove one of a
	 pair of "and"s in a comment.
	* tests/lt_dladvise.at (hint_global): Remove one of a pair of
	consecutive "to"s split across lines in a comment.

	syntax-check: fix violations and re-enable sc_prohibit_cvs_keyword.
	* cfg.mk (local-checks-to-fix): Remove sc_prohibit_cvs_keyword
	from list of disabled checks.
	* tests/tagdemo/README: Remove spurious CVS keyword.

	syntax-check: fix violations and re-enable sc_makefile_at_at_check.
	At some point we were supporting some undetermined `broken
	make', as evidenced by having carried the following code since
	2003:
	  ## use @LIBLTDL@ because some broken makes do not accept
	  ## macros in targets, we can only do this because our LIBLTDL
	  ## does not contain $(top_builddir).
	  @LIBLTDL@: $(top_distdir)/libtool \
	  ...
	However, we've also had *many* cases of macros in targets for
	just as long, so most likely we never fully supported makes
	allegedly broken in this way.  As of this release, we explicitly
	no longer support make implementations that do not accept macros
	in targets.
	* cfg.mk (local-checks-to-fix): Remove sc_makefile_at_at_check
	from list of disabled checks.
	* configure.ac (order-only prerequisites): Test with the
	order-only pipe symbol in a macro.
	* Makefile.am, tests/mdemo/Makefile.am: Convert all @FOO@ to
	$(FOO).

	syntax-check: fix violations and re-enable sc_makefile_TAB_only_indentation.
	* cfg.mk (local-checks-to-fix): Remove
	sc_makefile_TAB_only_indentation from list of disabled checks.
	* Makefile.am (libltdl/Makefile.am): Replace leading spaces with
	TABs.
	* libltdl/Makefile.am (libltdl_libltdl_la_SOURCES): Ditto.

	syntax-check: fix violations and re-enable sc_m4_quote_check.
	* cfg.mk (local-checks-to-fix): Remove sc_m4_quote_check from
	list of disabled checks.
	* libltdl/m4/libtool.m4 (_LT_CHECK_OBJDIR): Quote LT_OBJDIR
	correctly.

	syntax-check: fix violations and re-enable sc_file_system.
	* cfg.mk (local-checks-to-fix): Remove sc_file_system from list
	of disabled checks.
	(VC_LIST_ALWAYS_EXCLUDE_REGEX): Match mail directory correctly
	to avoid running its contents through syntax-check.
	* build-aux/ltmain.m4sh (func_mode_link): Use correct spelling
	for "file system".
	* libltdl/ltdl.c (try_dlopen): Ditto.
	* tests/dlloader-api.at: Ditto.

	syntax-check: fix violations and re-enable sc_error_message_uppercase.
	* cfg.mk (local-checks-to-fix): Remove
	sc_error_message_uppercase from list of disabled checks.
	(exclude_file_name_regexp--sc_error_message_uppercase): Don't
	match cvsu, which is not our file to edit.
	* doc/libtool.texi: Use lowercase error message in example.

	syntax-check: rationale for disabling sc_cast_of_x_alloc_return_value.
	* cfg.mk: Note that we support C++ compilation of libltdl, which
	in turn requires that *alloc return values be cast correctly.

	syntax-check: fix violations and re-enable sc_cast_of_argument_to_free.
	* cfg.mk (local-checks-to-fix): Remove
	sc_cast_of_argument_to_free from list of disabled checks.
	* build-aux/ltmain.m4sh, libltdl/libltdl/lt__alloc.h,
	libltdl/lt__dirent.c: Casting argument to free is never
	necessary.

	syntax-check: fix violations and re-enable sc_avoid_if_before_free.
	* cfg.mk (local-checks-to-fix): Remove sc_avoid_if_before_free
	from list of disabled checks.
	According to gnulib/doc/free.texi: "On old platforms such as
	SunOS4, @code{free (NULL)} fails.  However, since all such
	systems are so old as to no longer be considered ``reasonable
	portability targets,'' this module is no longer useful."
	* libltdl/libltdl/lt__alloc.h (FREE, MEMREASSIGN): Don't protect
	against freeing NULL bug on SunOS4.

	syntax-check: skip sc_unmarked_diagnostics.
	* cfg.mk (local-checks-to-fix): Move sc_unmarked_diagnostics
	from here...
	(local-checks-to-skip): ...to here.

	libtoolize: rename `libltdl/config' directory to standard `build-aux'.
	In addition to moving the autoconf auxiliary script directory
	into the place expected by GNU developers ($top_srcdir/build-aux)
	we also simplify libtoolize somewhat by having libltdl use
	whatever directory was specified by the parent project.  This is
	much more flexible, allows libltdl client projects to also use a
	single canonical `$top_srcdir/build-aux' auxiliary script
	directory, and maintains backward compatibility with existing
	projects that wish to continue using $ltdl_dir/config.
	* libltdl/config: Moved whole directory from here...
	* build-aux: ...to here.
	* libtoolize.m4sh (func_install_pkgaux_subproject): Remove.
	(func_install_pkgaux_parent): Remove.
	(func_install_pkgaux_files): Considerably simplified now that we
	have only a single auxiliary directory to worry about.
	(subproject_aux_dir): Remove.
	* bootstrap.conf (libtool_readme_release_package_substitutions):
	No need to substitute our old unusual aux_dir location into
	README-release any more.
	* cfg.mk (_build-aux): Now that we use the standard location for
	this directory, no need to set this variable either.
	* configure.ac (AC_INIT): git-version-gen has moved.
	(AC_CONFIG_AUX_DIR): Adjust.
	* Makefile.am (stamp-mk, auxexefiles, auxfiles)
	(install-data-local): Use build-aux instead of config.
	(libltdl/stamp-mk): Ditto.
	* libltdl/configure.ac, tests/cdemo/configure.ac,
	tests/demo/configure.ac, tests/depdemo/configure.ac,
	tests/f77demo/configure.ac, tests/fcdemo/configure.ac,
	tests/mdemo/configure.ac, tests/mdemo2/configure.ac,
	tests/pdemo/configure.ac, tests/tagdemo/configure.ac
	(AC_CONFIG_AUX_DIR): Ditto.
	* tests/defs.m4sh (aux_dir): Ditto.
	* tests/configure-iface.at, tests/getopt-m4sh.at,
	tests/libtoolize.at, tests/subproject.at, tests/testsuite.at:
	Ditto.
	* Makefile.am (ltdl_ac_aux_dir): Extract at build-time...
	* libtoolize.m4sh (require_ltdl_ac_aux_dir): ...so that
	libtoolize can access it at runtime without requiring GNU M4 via
	the extract-trace script.
	(require_Makefile_am_filter): Use it to determine whether the
	aux_dir declared in the current (parent) project configure is
	compatible with the declarations in installed ltdl autotools
	source files.
	(require_configure_ac_filter): New function to perform similar
	checks and rewrite configure.ac during installation if necessary.
	* NEWS: Updated.

	libtoolize: aux scripts go in ltdl dir when parent has no configure.
	When using libtoolize to install subproject libltdl into a
	parent project that does not use autotools, set the default
	directory for auxiliary scripts inside libltdl rather than
	littering the parent project with files it doesn't use.
	* libtoolize.m4sh (func_require_ac_aux_dir): In verbose mode,
	report results like other require_ funcs.
	(func_require_aux_dir): Put subproject auxiliary files into ltdl
	directory where libltdl/configure will be able to find
	`install-sh' and others.

	libtoolize: simplify runtime by substituting pkgauxdir.
	* Makefile.am (configure_edit): Substitute pkgauxdir.
	* libtoolize.m4sh (func_install_pkgaux_subproject)
	(func_install_pkgaux_parent, extract_trace): Use it.

	libtoolize: generate require_ltdl_relative_aux_dir definition.
	* libtoolize.m4sh (require_ltdl_relative_macro_dir): Change to
	be generated function...
	(require_ltdl_relative_aux_dir): ...so that we can easily
	generate this very similar function from the same code.

	libtoolize: rename `libltdl/m4' directory to standard `m4'.
	In addition to moving the autoconf macro directory into the
	place expected by GNU developers ($top_srcdir/m4), we also
	simplify libtoolize somewhat by having libltdl use whatever
	directory was specified by the parent project.  This is much
	more flexible, allows libltdl client projects to also use a
	single canonical `$top_srcdir/m4' macro directory, and maintains
	backward compatibility with existing projects that wish to
	continue using $ltdl_dir/m4.
	* libltdl/m4: Moved to it's parent directory.
	* Makefile.am (ACLOCAL_AMFLAGS, BUILDCHECK_ENVIRONMENT)
	(libltdl/Makefile.am, libltdl/aclocal.m4): Adjust.
	* configure.ac (AC_CONFIG_MACRO_DIR): Adjust.
	* libltdl/configure.ac (AC_CONFIG_MACRO_DIR): Remove. The
	libtoolize script can pick up the project macro directory from
	ACLOCAL_AMFLAGS in libltdl/Makefile.am, saving us from needing
	to regenerate configure for the sake of a different macro
	directory declared in the libltdl using client project.
	* libtoolize.m4sh (func_install_pkgmacro_subproject): Remove.
	(func_install_pkgmacro_parent): Remove.
	(subproject_macro_dir): Remove.
	(require_libltdl_Makefile_am, require_ltdl_aclocal_amflags)
	(require_ltdl_am_macro_dir): New functions, generated at runtime
	by adding libltdl/Makefile.am to the generation loop.
	(func_install_pkgmacro_files): Considerably simplified now that
	we have only a single macro directory to worry about.
	(require_ltdl_relative_macro_dir): New function. Calculate the
	relative path from $ltdl_dir to the parent project macro_dir.
	(require_Makefile_am_filter): Depending on $ltdl_mode, edit
	Makefile.am ACLOCAL_AMFLAGS to use the parent project macro
	directory if necessary.
	(require_aclocal_m4_filter): Make sure m4_includes point to the
	correct macro directory by editing the file as it is copied
	into the parent project.
	(func_install_pkgltdl_files): Use the filters.
	(func_check_macros): Remove various advice that no longer
	applies with an always shared macro directory.
	(func_require_ltdl_dir): Don't default ltdl_dir to subproject
	when `--ltdl' was not given.
	(func_require_ltdl_mode): Leave ltdl_mode empty when ltdl_dir is
	not set.
	(func_require_macro_dir): Default to $ltdl_dir/m4 in subproject
	mode with no other directory implied by AC_CONFIG_MACRO_DIR or
	ACLOCAL_AMFLAGS, otherwise m4 as before.
	* tests/libtoolize.at: Match new "creating file `Makefile.am'"
	messages correctly.
	(subproject ltdl with non-shared directories): This test no
	longer makes sense, so repurposed...
	(subproject ltdl with non-canonical macro dir): ...this, to
	ensure subproject ltdl continues to automatically share the
	parent macro directory.
	* tests/cdemo/Makefile.am, tests/demo/Makefile.am,
	tests/depdemo/Makefile.am, tests/f77demo/Makefile.am,
	tests/fcdemo/Makefile.am, tests/mdemo/Makefile.am,
	tests/mdemo2/Makefile.am, tests/pdemo/Makefile.am,
	tests/tagdemo/Makefile.am (ACLOCAL_AMFLAGS): Use new location
	of macro_dir.
	* NEWS: Updated.

	libtoolize: rename `Makefile.inc' to standard `ltdl.mk'.
	* libltdl/Makefile.inc: Moved from here...
	* libltdl/ltdl.mk: ...to here.
	* Makefile.am, bootstrap.conf, tests/libtoolize.at,
	tests/nonrecursive.at: Adjust.
	* libtoolize.m4sh (func_install_pkgltdl_files): Set the
	destination file to `Makefile.inc' if grep finds an include for
	that name in a top-level Makefile.am.
	(func_check_macros): Print a deprecation warning if use of the
	old `Makefile.inc' convention is found.
	* tests/old-ltdl-iface.at: New test for renaming and warning
	correctly when `Makefile.inc' convention is still in use.
	* NEWS: Updated.

	libtoolize: refactor ACLOCAL_AMFLAGS extraction.
	Another simple refactor to simplify following changesets.
	* libtoolize.m4sh (require_Makefile_am, require_aclocal_amflags)
	(require_am_macro_dir): Generate these functions at runtime.

	libtoolize: rename require_makefile_am to require_Makefile_am.
	A simple refactoring to keep the next change self-contained.
	* libtoolize.m4sh (require_makefile_am): Renamed from this...
	(require_Makefile_am): ...to this.

	libtoolize: simplify copying of files that are edited during install.
	* libltdl/Makefile.inc (EXTRA_DIST): Don't list autotools files
	that Automake automatically adds to a (subproject)
	distribution...
	* Makefile.am (EXTRA_DIST): ...although, our layout is a bit odd
	because we reuse libltdl/Makefile.inc in non-recursive mode in
	our own tree, so we do need to add those very same files here...
	* libtoolize.m4sh (require_Makefile_am_filter)
	(require_Makefile_inc_filter): ...all of which means we no
	longer need to manually remove those files at libtoolize time.
	These two new functions are factored out of...
	(func_fixup_Makefile): ...this old function, now removed.
	(func_copy): Add support for an optional sed script as the last
	argument to filter the content of a file as it is copied.
	(func_install_pkgltdl_files): Much simplified by $require_<foo>
	the relevant filter scripts and passing them to func_copy.

	libtoolize: simplify file-copying and -linking call-graph.
	* libtoolize.m4sh (TAR): Remove.
	(func_copy_some_files, func_copy_cb): Remove.
	(func_copy): Refactor from all of the above, and simplify. No
	need to use $TAR to preserve timestamps when copying, since
	we've been running touch right afterwards anyway. Adjust all
	callers to use the new argument footprint.
	(func_serial_update, func_keyword_update): Delete any pre-
	existing destination file when used with `--force' before
	calling func_copy, now that the hardcoded special cases are not
	in there any more.
	(func_install_pkgmacro_subproject)
	(func_install_pkgaux_subproject): Use our own file loop -
	func_copy subsumes all the checks previously in
	func_copy_some_files, but operates on only one file at a time.
	(func_install_pkgltdl_files): Similarly, handle aclocal.m4 and
	configure special cases here, before calling func_copy.
	* tests/libtoolize.at: Make sure we match corrected "copying
	`configure.ac'" output.

	maint: generate full and correct ChangeLog.
	* gnulib: Updated to pick up gitlog-to-changelog multi-author
	support.
	* gl/build-aux/gitlog-to-changelog.diff: Use gnulib-rejected
	patch for '(tiny change)' support.
	* Makefile.am (ChangeLog): Use gitlog-to-changelog --amend=F
	option.
	* libltdl/config/git-hooks/commit-msg: New commit message hook
	for git.
	* libltdl/config/git-log-fix: New file, with ChangeLog fixes.
	* HACKING (Using git): Update.

2011-11-16  Gary V. Vaughan  <[email protected]>

	options-parser: provide a saner pluggable API.
	It's much too easy to forget that the functions you hook into
	the option parser need to return unconsumed options in the
	variable `func_run_hooks_result'; better to follow the
	convention used in the rest of bootstrap and return results in a
	variable named after the function with `_result' appended.
	* libltdl/config/options-parser (func_run_hooks): implement this
	new API.
	(Option parsing): Update the example in the header comment for
	this section to reflect the changes.
	* bootstrap (bootstrap_options_prep, bootstrap_parse_options)
	(bootstrap_validate_options): Adjust.
	* bootstrap.conf (libtool_options_prep, libtool_parse_options)
	(libtool_validate_options): Ditto.

	bootstrap: display accurate usage message.
	After splitting bootstrap up, we also lost bootstrap's usage
	message, and were incorrectly displaying a partial extract-trace
	message.
	* bootstrap (usage): Set appropriately.

	bootstrap: accept --gnulib-srcdir=/path/to/gnulib again.
	During the split of bootstrap into options-parser and
	extract-trace, the generic long-option splitting code got lost.
	* libltdl/config/options-parser (func_parse_options): Add the
	code to split any long option separated by an equals from its
	optarg back in.
	Reported by Roumen Petrov.

2011-11-15  Gary V. Vaughan  <[email protected]>

	gnulib: update gnulib submodule.
	Among others, this fixes a bug in _build-aux expansion so that
	`make syntax-check' works again.
	* gnulib: Updated to today's master HEAD revision.
	* gl/top/maint.mk.diff: Remove. This patch has been applied
	upstream already.

	libtoolize: remove NL2SP and initialisation.
	There's only a single use of NL2SP, and that is redundant.
	* libtoolize.m4sh (func_serial_update): Factor away use of
	NL2SP.
	(NL2SP, SP2NL): Remove initialisation.

	bootstrap: remove consumed options from the list to be processed.
	Fix a bug where processed bootstrap options were not removed
	from the queue, and eventually flagged as unknown in the
	pluggable option parser driver.
	* bootstrap (bootstrap_parse_options)
	(bootstrap_validate_options): Follow the pluggable option parser
	API correctly, and set func_run_hooks_result to the list of
	remaining unconsumed options.
	Reported by Roumen Petrov.

2011-11-14  Gary V. Vaughan  <[email protected]>

	libtoolize: refactor $opt_quiet, func_echo and func_echo_once.
	Instead of long sequences checking for setting of $opt_quiet,
	followed by one or more func_echo variations, add and use a new
	function func_whisper - the complement of func_verbose.
	* libtoolize.m4sh (func_whisper): New function. Adjust all
	callers previously using `$opt_quiet || func_echo ...'.
	(func_whisper_once): Ditto, for `$opt_quiet || func_echo_once
	...'.
	(func_whisper_hdr): New function, adjust all callers previously
	using `func_whisper_once ...; func_whisper ...'.
	(func_whisper_error_header): Ditto, but calling func_error.
	(func_echo_once): Remove.

	libtoolize: update a bit-rotted comment.
	* libtoolize (func_copy_cb): Since this comment was written, the
	function has been changed to timestamp files as it copies.
	Update the comment to reflect that.

	general.m4sh: relative path to the same directory is `.'.
	* general.m4sh (func_relative_path): We sometimes want to use
	the result of this function directly, rather than purely as a
	prefix, so we need to return `.' when both directories end up at
	the same location.

	ltmain.sh: append relative path trailing slashes explicitly.
	In addition to being more idiomatic, and hence minimising
	suprises, seeing the slash written explicity when appending to
	the result of a relative path calculation is a lot more
	readable.
	* libltdl/config/general.m4sh (func_relative_path): Don't append
	an implicit trailing slash...
	* libltdl/config/ltmain.m4sh (func_mode_link): ...write it
	explicitly at the time of use.

2011-11-09  Gary V. Vaughan  <[email protected]>

	build: use pkgauxdir for local install and uninstall rules.
	* Makefile.am (pkgauxdir): Set it correctly.
	(uninstall-hook): Use it for pkgaux_scripts and
	pkgaux_data_files.
	(install-data-local): Ditto.
	Remove `config/' prefix from extract-trace and option-parser
	items.

2011-11-08  Gary V. Vaughan  <[email protected]>

	install: correct a typo in pkgaux_files location.
	* Makefile.am (install-data-local): Install pkgaux_files
	directly from $(aux_dir) [./libltdl/config at the moment].

	libtoolize: order pkgltdl_files to avoid reconfiguration.
	* Makefile.am (pkgltdl_files): aclocal.m4 depends on
	configure.ac, and will cause spurious reconfiguration of freshly
	`libtoolize --ltdl' tree if we don't ensure configure.ac is the
	older of these two files.
	* tests/libtoolize.at: Adjust expout order to match.

	build: remove an over-exuberant $(srcdir) prefix.
	* Makefile.am (git_version_gen): No need for an extra $(srcdir)
	in the path when we always use after `cd $(srcdir).

	libtoolize: massage installed auxiliary script list at make time.
	* Makefile.am (configure_edit): Rename pkgconfig_files
	substitution to pkgaux_files, and add pkgaux_install_files and
	pkgaux_parent_files substitutions for atlocal.
	(pkgauxdir): Where to install pkgaux_files.
	(auxfiles): Removed, and replaced by...
	(pkgaux_parent_files, pkgaux_install_files, pkgaux_data_files):
	...these, which separate the files lists more logically for
	easier installation, and use by libtoolize.m4sh.
	(uninstall-hook): Adjust.
	(tests/atlocal): Adjust.
	* bootstrap.conf (libtool_link_libltdl_subdirs): Adjust.
	* libtoolize.m4sh (func_install_pkgconfig_files)
	(func_install_pkgconfig_subproject)
	(func_install_pkgconfig_parent, func_install_pkgconfig_files)
	(all_pkgconfig_files): Renamed to...
	(func_install_pkgaux_files, unc_install_pkgaux_subproject)
	(func_install_pkgaux_parent, func_install_pkgaux_files)
	(all_pkgaux_files): ...these, resp. Adjust all callers.
	(func_massage_pkgconfig_files): Removed.
	(pkgaux_files): List of all auxiliary scripts substituted from
	Makefile.

	libtoolize: massage installed libltdl file list at make time.
	* libtoolize.m4sh (pkgltdldir, pkgdatadir): Put installable
	libltdl files in pkgdatadir. When testing, and _lt_pkgdatadir
	is set, adjust to look in libltdl subdirectory.
	(func_massage_pkgltdl_files): Removed function and only caller,
	because...
	(pkgltdl_files): ...we substitute the pre-massaged files
	directly...
	(func_install_pkgltdl_files): ...from here.
	Adjust installation of specially handled additional files.
	* Makefile.am (ltdldir): Location of libltdl files in source
	tree.
	(ltdldest, ltdldatafiles): Removed.
	(pkgltdl_files): New pre-massaged list of libltdl sources.
	(install-data-local, uninstall-hook): Use it.
	* tests/libtoolize.at: Reorder expected output to match actual
	libtoolize output.

	libtoolize: massage installed macro list at make time.
	* libtoolize.m4sh (func_massage_aclocal_DATA): Removed function
	and only caller, because...
	(pkgmacro_files): ...we substitute the pre-massaged files
	directly...
	(func_install_pkgmacro_files): ...from here.
	* Makefile.am (pkgmacro_files): New pre-massaged list of aclocal
	macros used by func_install_pkgmacro_files.
	(configure_edit): Substitute pkgmacro_files instead of
	aclocalfiles.

	libtoolize: use only space delimited file lists.
	We don't install any files with whitespace in their file name,
	so using colon delimited lists to make that possible was a
	premature optimisation and an unneeded complication.
	* libtoolize.m4sh (func_copy_some_files): Remove IFS twiddling,
	and just pull space delimited files in a for loop idiomatically.
	(func_massage_aclocal_DATA, func_install_pkgmacro_subproject)
	(func_install_pkgmacro_parent, func_install_pkgmacro_files)
	(func_massage_pkgltdl_files, func_massage_pkgconfig_files):
	Append to file lists with space delimiter.

	libtoolize: remove sed based configure scanning.
	* libtoolize (func_scan_files): Removed function and callers.
	(require_seen_ltdl, require_seen_libtool): Factor out remaining
	functionality of former sed based scanning.
	(func_check_macros): Adjust.
	* NEWS: Updated.

	libtoolize: refactor ltdl_mode discovery.
	* libtoolize.m4sh (require_ac_ltdl_mode)
	(require_ac_ltdl_options, require_ltdl_mode): New functions
	factored out of func_scan_files for scanning and setting
	ltdl_mode and friends.
	(func_scan_files): Remove the factored out code.
	(func_install_pkgmacro_files, func_install_pkgltdl_files)
	(func_install_pkgconfig_files, func_check_macros): Adjust.

	libtoolize: refactor ltdl_dir discovery.
	* libtoolize.m4sh (require_ac_ltdl_dir, require_ltdl_dir):
	New functions factored out of func_scan_files for scanning and
	setting ac_ltdl_dir and ltdl_dir resp.
	(func_scan_files): Remove the factored out code.
	(func_fixup_Makefile, func_serial_update_check)
	(func_install_pkgltdl_files, func_install_pkgconfig_subproject)
	(func_check_macros): Adjust.

	libtoolize: refactor aux_dir discovery.
	* libtoolize.m4sh (require_ac_aux_dir, require_aux_dir): New
	functions factored out of func_scan_files for scanning and
	setting aux_dir and friends.
	(func_scan_files): Remove the factored out code to scan
	configure.ac with sed, and then set macro_dir appropriately.
	(func_install_pkgconfig_subproject, func_install_pkgconfig_parent)
	(func_install_pkgmacro_files, func_check_macros): Adjust.

	libtoolize: install autoconf macros only if there is a $configure_ac.
	* libtoolize.m4sh (func_install_pkgmacro_files): If there is no
	$configure_ac in the parent project directory, and libtoolize is
	in subproject mode, then the parent project has no use for
	autoconf macros, so don't install them.
	* NEWS: Updated.

	libtoolize: display aux files output header for non-autoconf parents.
	* libtoolize.m4sh (func_install_pkgconfig_subproject): When the
	parent project does not use Autoconf, be sure to display an
	output header before copying auxiliary files despite not being
	able to scan for AC_CONFIG_AUX_DIR arguments.
	* NEWS: Updated.

	libtoolize: refactor macro_dir discovery around extract-trace script.
	* libtoolize.m4sh (func_extract_trace): Function to call
	$aux_dir/extract-trace.  The name and footprint are the same as
	the core function in the extract-trace script file so that we
	can choose to source that file when the option processing
	becomes compatible with ours.
	(require_ac_macro_dir, require_aclocal_amflags)
	(require_am_macro_dir, require_macro_dir, require_makefile_am):
	New functions factored out of func_scan_files for scanning and
	setting macro_dir and friends.
	(func_scan_files): Remove the factored out code to scan
	configure.ac with sed, and then set macro_dir appropriately.
	(func_serial_update_check, func_install_pkgmacro_subproject)
	(func_install_pkgmacro_parent, func_install_pkgmacro_files)
	(func_check_macros): Adjust.
	* tests/libtoolize.at (Subproject ltdl without GNU M4): New test
	to ensure `libtoolize --subproject' continues to work without a
	GNU M4 dependency.
	* NEWS: Updated.

	libtoolize: refactor configure_ac discovery.
	Make a start on decomposing some of the giant functions at the
	heart of libtoolize into the much more flexible and manageable
	(albeit somewhat more verbose) model of self-organising
	$require_<foo> function pointers.
	* libtoolize.m4sh (require_configure_ac): New function factored
	out of func_scan_files for setting $configure_ac appropriately,
	implementation taken from extract-trace script.
	(func_autoconf_configure): And similarly for ensuring that a
	filename which matches something Autoconf would read also has
	content that appears to be destined for Autoconf processing.
	(func_scan_files): Simplified the factored out code to a single
	require_configure_ac call.
	(func_install_pkgconfig_files, func_check_macros): Ditto.
	(seen_autoconf): Removed.

	bootstrap: split into reusable parts.
	* bootstrap: Bourne shell has no scoping, so be extremely
	careful with namespaces, functions in `^func_' and `^require_';
	private variables in `^_G_', and public variables all well
	documented by comments.
	* libltdl/config/extract-trace: New file, containing the minimum
	of code previously in bootstrap plus a little glue to make the
	GNU M4 based autotools tracing function (as opposed to the
	kludgy sed extraction currently used everywhere else) a
	standalone script that can be executed or sourced.
	* libltdl/config/options-parser: New file, containing the
	pluggable options parser code shared between the other two.
	* bootstrap.conf: Adjust.
	* Makefile.am (EXTRA_DIST): Be sure to distribute the new
	extract-trace and options-parser scripts.
	(install-data-local): And install them where libtoolize can find
	them.

	tests: prefix absolute directory variables with 'abs_'.
	Avoid any possible confusion about the contests of thes
	variables compared to $aux_dir, $macro_dir and $src_dir in
	configure.ac, Makefile.am, libtoolize.m4sh and others.
	* tests/defs.m4sh (aux_dir, macro_dir, srcdir): Rename these...
	(abs_aux_dir, abs_macro_dir, abs_srcdir): ...to these resp.
	* tests/cdemo-shared-exec.test, tests/cdemo-shared-make.test,
	tests/cdemo-static-exec.test, tests/cdemo-static-make.test,
	tests/cdemo-undef-exec.test, tests/cdemo-undef-make.test,
	tests/demo-nofast-exec.test, tests/demo-nofast-inst.test,
	tests/demo-nofast-make.test, tests/demo-nofast-unst.test,
	tests/demo-nopic-exec.test, tests/demo-nopic-make.test,
	tests/demo-pic-exec.test, tests/demo-pic-make.test,
	tests/demo-shared-exec.test, tests/demo-shared-inst.test,
	tests/demo-shared-make.test, tests/demo-shared-unst.test,
	tests/demo-static-exec.test, tests/demo-static-inst.test,
	tests/demo-static-make.test, tests/demo-static-unst.test,
	tests/depdemo-nofast-exec.test, tests/depdemo-nofast-inst.test,
	tests/depdemo-nofast-make.test, tests/depdemo-nofast-unst.test,
	tests/depdemo-shared-exec.test, tests/depdemo-shared-inst.test,
	tests/depdemo-shared-make.test, tests/depdemo-shared-unst.test,
	tests/depdemo-static-exec.test, tests/depdemo-static-inst.test,
	tests/depdemo-static-make.test, tests/depdemo-static-unst.test,
	tests/f77demo-shared-exec.test, tests/f77demo-shared-make.test,
	tests/f77demo-static-exec.test, tests/f77demo-static-make.test,
	tests/fcdemo-shared-exec.test, tests/fcdemo-shared-make.test,
	tests/fcdemo-static-exec.test, tests/fcdemo-static-make.test,
	tests/mdemo-shared-exec.test, tests/mdemo-shared-inst.test,
	tests/mdemo-shared-make.test, tests/mdemo-shared-unst.test,
	tests/mdemo-static-exec.test, tests/mdemo-static-inst.test,
	tests/mdemo-static-make.test, tests/mdemo-static-unst.test,
	tests/sh.test, tests/tagdemo-shared-exec.test,
	tests/tagdemo-shared-make.test, tests/tagdemo-static-exec.test,
	tests/tagdemo-static-make.test, tests/tagdemo-undef-exec.test,
	tests/tagdemo-undef-make.test, tests/tagtrace.test: Adjust.

	maint: calculate required mkinstalldirs calls during `make install'.
	* Makefile.am (install-data-local): Make sure all destination
	directories are in place before copying files there, without
	hardcoding them.

	maint: substitute static directory names.
	By substituting just the directory name as passed to the macro,
	aux_dir can be used with or without $srcdir prefix, which is
	more flexible, and always means the same thing in each file,
	rather than sometimes being a directory name, sometimes relative
	to $top_srcdir.
	* configure.ac (AC_CONFIG_AUX_DIR, AC_CONFIG_MACRO_DIR)
	(LT_CONFIG_LTDL_DIR): Don't force config.status substitutions
	with unexpanded shell variables.
	* Makefile.am, tests/defs.m4sh: Adjust.

2011-11-07  Peter Rosin  <[email protected]>

	libtoolize: fix spelling nit.
	* libtoolize (M4SH_GETOPTS): Fix spelling nit.

2011-11-07  Gary V. Vaughan  <[email protected]>

	tests: fix parsing of configure output by pic_flag.at.
	Close http://debbugs.gnu.org/9962.
	* tests/pic_flag.at (LT_AT_CONFIGURE): Make sure to configure
	with --disable-silent-rules so that the full output parsed by
	the rest of the test is available.
	Reported by Roumen Petrov.

	libtoolize: rename `--subproject' option, and make it work.
	* libtoolize (M4SH_GETOPTS): Remove `--standalone', which never
	worked, and add `--subproject' which sets ltdl_mode correctly.

2011-11-05  Gary V. Vaughan  <[email protected]>

	libtoolize: fix a scoping bug in func_aclocal_update_check.
	libtoolize.m4sh (func_aclocal_update_check): This body of this
	function used a global variable set by the outer loop of the
	caller. Fix to Use the function argument correctly.

	maint: rename the debug shell command variable to `debug_cmd'.
	Not only does it make more sense, it also matches bootstrap and
	others.
	* libtoolize.m4sh, libltdl/config/ltmain.m4sh,
	libltdl/config/getopt.m4sh, tests/defs.m4sh (opt_debug): Rename
	to debug_cmd.

	maint: dynamically strip unused scripts from libltdl Makefile.
	* configure.ac (pkgaux_scripts): Centrally maintain the complete
	list of aux scripts required to build libltdl, and which need to
	be installed by libtoolize --ltdl, and consequently need to be
	placed in $pkgdatadir by make install.
	* Makefile.am (libltdl/stamp.mk): Improved to strip the unused
	scripts not listed in pkgaux_scripts without the need for manual
	synchronisation.
	(auxexefiles): Removed. Replaced by new pkgaux_scripts
	substitution.
	(install-data-local): Adjust.

	build: substitute paths into defs.m4sh instead of recalculating.
	* Makefile.am (configure_edit): Add substitutions for aux_dir,
	macro_dir and srcdir.
	* tests/defs.m4sh: Don't recalculate srcdir.
	(aux_dir, macro_dir, srcdir): Convert to absolute paths.

	build: support AM_SILENT_RULES
	* configure.ac: Add AM_SILENT_RULES.
	* libltdl/configure.ac: Ditto, but only if defined.
	* Makefile.am (.version, ChangeLog, README, doc/notes.txt)
	(libtool, libtoolize, libtoolize.in, libltdl/Makefile.am)
	(libltdl/stamp-mk, m4/ltversion.m4, tests/atconfig, tests/defs)
	(tests/defs.in, tests/package.m4): Output an AM_SILENT_RULES-like
	GEN when V==0.
	* libltdl/Makfile.inc (libltdl/argz.h): Ditto.

2011-10-31  Gary V. Vaughan  <[email protected]>

	maint: add autobuild prerequisite only if autobuild.m4 is absent.
	* bootstrap (func_require_autobuild_buildreq): Skip if autobuild.m4
	is already present.
	* bootstrap.conf (require_autobuild_bulidreq): No need to set this
	specially any more.

	maint: ensure bootstrap runs from dist tarball.
	* bootstrap (func_gnulib_tool_copy_file): When gnulib-tool is
	not available, check that there is a copy of the file from a
	previous run available before bailing out with a diagnostic.
	(func_install_gnulib_non_module_files): Don't diagnose missing
	files explicitly - func_gnulib_tool_copy_file takes care of it
	now.
	(func_require_checkout_only_file): In the diagnostic for
	not being in a source-controlled tree, note that `--force' must
	be used to rebootstrap.
	(func_require_gnulib_files_already_present): Removed.  All the
	necessary checks are correctly performed in
	func_gnulib_tool_copy_file withot resorting to heuristics.
	(func_require_gnulib_mk): Don't continue to try to access
	gnulib-cache.m4 after discovering we're running from a dist
	tarball.
	(func_require_dotgitmodules_parameters): Skip if .gitmodules
	file is missing and git binary is not available.
	* bootstrap.conf (checkout_only_file): Set to HACKING, which is
	a non-distributed file.
	(libtool_cleanup_empty_dirs): Don't print spurious errors when
	trying to delete gnulib-tool droppings, in case gnulib-tool is
	not available on this run.

	tests: add a keyword `expensive' to very long running tests.
	* tests/cmdline_wrap.at, tests/stresstest.at (AT_KEYWORDS): Add
	`expensive'.
	* NEWS: Updated.

	libtoolize: fix some long-standing sed substitution bugs
	* libtoolize.m4sh (func_fixup_Makefile): `\\\\\$' in a " quoted
	script that is evaluated twice before execution becomes a `\$',
	which sed interprets as a literal $.  The script will then delete
	any lines with a first non-whitespace character of `$'. Instead
	use `\\\\$' in single quotes, which sed eventually receives as
	`\\$' and correctly interprets as part of an instruction to
	delete otherwise empty lines ending with a `\'.
	Additionally the rest of the same sed script is no longer
	applied to comment lines to avoid munging the copyright header
	among others.
	* NEWS: Updated.

2011-10-27  Gary V. Vaughan  <[email protected]>

	maint: use gnulib's gitlog-to-changelog instead of a ChangeLog file.
	* ChangeLog: Removed.
	* HACKING (Editing 'ChangeLog'): Removed. Renumbered other sections to
	compensate.
	* bootstrap.conf (gnulib_modules): Add gitlog-to-changelog.
	* Makefile.am (ChangeLog): Generate the ChangeLog for 2011...
	(dist-hook): ...from the output of `git log' before rolling a
	distribution tarball.

	maint: use gnulib's git-version-gen instead of mkstamp.
	* libltdl/config/mkstamp: File removed.
	* bootstrap.conf (gnulib_modules): Add git-version-gen.
	* configure.ac (AC_INIT, package_revision): Use git-version-gen to
	calculate version number.
	(TIMESTAMP): Removed.
	* libtoolize.m4sh, libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4
	(TIMESTAMP): Ditto.
	* Makefile.am (TIMESTAMP): Ditto.
	(MKSTAMP): Renamed from this...
	(git_version_gen): ...to this. Set revision here.  An alpha is now a
	release with an odd micro relase number.
	(rebuild): Don't reset revision here.
	(build_scripts): Remove mkstamp, add git-version-gen.
	(EXTRA_DIST, BUILT_SOURCES): Add .version.
	(libltdl/config/ltmain.sh, libltdl/m4/ltversion.m4, tests/package.m4):
	Don't depend on configure.ac or ChangeLog to determine when the
	version number has reved, use .version directly.
	(.version): Flush most recent configure calculated VERSION to disk.
	(dist-hook): Flush current VERSION to disk at dist time.
	(dotserial): Distributed file to cache the serial number for
	when git is not available to recalculate it when building from a
	release tarball.
	(dist-hook): Make sure .serial is created.
	(libltdl/config/ltversion.m4): Use .serial when it is present
	(in a dist tarball) or calculate with git otherwise (in a git
	working directory).
	(EXTRA_DIST): Add .serial file.

	maint: use gnulib's maint.mk and support scripts release procedure.
	* Makefile.maint: Removed.
	* configure.ac (LASTRELEASE, lt_major, lt_minor, lt_micro, lt_alpha):
	All removed. Makefile.maint was the only client.
	* HACKING (Release Procedure): Removed.
	* bootstrap.conf (gnulib_modules): Add announce-gen,
	do-release-commit-and-tag, gendocs, gnu-web-doc-update, gnupload and
	readme-release.
	* cfg.mk (manual_title): Set it for web-manual rule.
	(announcement_Cc_): Release announcement email addresses.
	* Makefile.am (build_scripts): Add to EXTRA_DIST additional files
	imported from gnulib for maint.mk release procedure.
	* NEWS: Updated.

2011-10-24  Gary V. Vaughan  <[email protected]>

	tests: ensure VPATH autom4te search path can find autotests.
	* Makefile.am (tests/testsuite): Passing only $(srcdir) include path
	to autom4te is unable to find tests/package.m4, and passing only
	$(srcdir)/tests breaks VPATH build searches for TESTSUITE_AT files,
	which are relative to $(srcdir)... so we pass both!
	* NEWS: Updated.
	Reported by Bob Friesenhahn.

2011-10-24  Karl Berry  <[email protected]>

	doc: modernize libtool.texi.
	* libtool.texi (@copying): Use this instead of @ifnottex; format for
	Texinfo; eliminate obsolete paragraph about TeX; use @insertcopying
	instead of duplicating text.
	(@syncodeindex): Move all to the Texinfo header, where they belong.
	(@dircategory): Use "Software development" instead of "GNU programming
	tools", for consistency; and align individual entries to avoid
	multiple lines; and move to after the copyright message.

2011-10-24  Gary V. Vaughan  <[email protected]>

	maint: don't make autobuild a hard bootstrap requirement.
	* bootstrap.conf (require_autobuild_buildreq): Reset this to ':' so
	that bootstrap doesn't auto-add autobuild to $buildreq.

2011-10-23  Gary V. Vaughan  <[email protected]>

	maint: use gnulib's maintainer-makefile module.
	* bootstrap.conf (gnulib_modules): Add maintainer-makefile.
	(gnulib_tool_options): Add --avoid=dummy now that we have a real
	module to import.
	* cfg.mk: New file. Customize maint.mk for Libtool.
	* Makefile.am (EXTRA_DIST): Add GNUmakefile, cfg.mk and maint.mk.

	maint: use gnulib's canonical fdl.texi.
	* doc/fdl.texi: Removed.
	* bootstrap.conf (gnulib_non_module_files): Add fdl.texi.

	maint: use gnulib's canonical COPYING files.
	* COPYING, libltdl/COPYING.LIB: Removed.
	* bootstrap.conf (gnulib_non_module_files): Add COPYING.
	(libtool_add_libltdl_copying): New func_gnulib_tool hook
	function to copy the canonical LGPL2 COPYING file from gnulib at
	bootstrap.

	maint: use gnulib's (pending saner) bootstrap script.
	* bootstrap: Replaced with gnulib script.
	* bootstrap.conf: New file with Libtool specific bootstrap
	configuration.
	* Makefile.am (EXTRA_DIST): Add bootstrap.conf.

	maint: add gnulib submodule.
	* configure.ac (GL_INIT, GL_EARLY): Initialise gnulib, and expand
	its configure time checks.
	* .gitmodules (gnulib): New file with configuration for our
	gnulib git submodule.

2011-10-22  Gary V. Vaughan  <[email protected]>

	maint: tidy, sort and consolidate .gitignore files.
	The `gnulib-tool' and gnulib `bootstrap' scripts  maintain
	`.gitignore' files in asciibetical order, so reorder them now
	to avoid spurious patches later.

	Take advantage of putting recursive file ignore matches into
	`$top_srcdir/.gitignore' and remove repetitions from other
	`.gitignore' files.

2011-10-22  Gary V. Vaughan  <[email protected]>

	maint: don't run help2man on programs not-yet-built.
	* Makefile.am (doc/libtool.1, doc/libtoolize.1): Added a
	comment about why the dependencies here have to be a mite
	bizarre.

	tests: remove unused `aux_dir' variable from `getopt-m4sh.test'.
	* tests/getopt-m4sh.at (aux_dir): Remove unused variable.

	tests: DRYing out `tests/sh.test'.
	* Makefile.am (libtool_m4): Canonical location of libtool.m4 file.
	(lt_aclocal_m4_deps): Use it.

	maint: pass directory declarations in configure.ac into Makefile.
	* configure.ac (AC_CONFIG_AUX_DIR, LT_CONFIG_LTDL_DIR)
	(AC_CONFIG_MACRO_DIR): Append code to these functions to
	capture and propagate their directory arguments to Makefile.
	* Makefile.am (aux_dir, ltdl_dir, macro_dir): Remove declarations.
	* bootstrap (my_sed_trace): Also capture LT_CONFIG_LTDL_DIR into
	`$ltdl_dir'.
	<Makefile>: Output the extracted values of `aux_dir', `ltdl_dir'
	and `macro_dir' at the top of the quick'n'dirty bootstrap
	Makefile.

	maint: factor out ltmain.sh variable deletion.
	* Makefile.am (ltmain_sh_edit): Expand upon bootstrap edit by
	adding the extra line to delete boilerplate variable settings
	from libltdl/config/general.m4sh that don't apply here.
	(libltdl/config/ltmain.sh): Use it.

	maint: DRYing out `Makefile.am' file paths.
	* Makefile.am (aux_dir, macro_dir): Include `$(srcdir)' in
	declaration. Adjust all references.
	(doc_dir, ltdl_dir, m4sh_dir, tests_dir): New single location
	to hold directory paths, all including `$(srcdir)', to reduce
	typing.
	(LT_M4SH): Use `$m4sh_dir' as include directory.
	(defs): This one is for a file in the build-tree, so no
	leading `$(srcdir)'.

	CLEANUP: fix error from pushing too far up the branch.
	* Makefile.am (install-data-local): Undo character transposition
	from too early push of untested v2.4-17-gaf74d58.
	* ChangeLog (2010-09-16): Remove spurious entry.

	maint: use macro_dir consistently in all files.
	* Makefile.am: Replace all uses of m4dir with macrodir to
	match AC_CONFIG_MACRO_DIR.
	* libltdl/config/libtoolize.m4sh: Replace all uses of macrodir
	with macro_dir.
	* tests/defs.m4sh, tests/sh.test: Likewise.

	maint: use aux_dir consistently in all files.
	* Makefile.am, Makefile.maint: Replace all uses of auxdir
	with aux_dir to match AC_CONFIG_AUX_DIR.
	* libltdl/config/libtoolize.m4sh: Likewise.
	* tests/defs.m4sh, tests/getopt-m4sh.at: Likewise.

	Makefile: try to be robust against shell meta-chars in filenames.
	* Makefile.am: In each rule body, unless a make variable needs
	to be seen as multiple words by the shell (for word-splitting
	loops, or because it contains several commands), quote it. Use
	single quotes unless the shell needs to perform variable inter-
	polation, in which case use double quotes.

2011-10-20  Gary V. Vaughan  <[email protected]>

	maint: let make employ user's `SED' setting.
	* Makefile.am: Replace hard-coded `sed' with `$(SED)' through-
	out.

	maint: simplify and improve safety of bootstrap process.
	* Makefile.am (bootstrap_files): List files that need to be
	generated at bootstrap time before `./configure && make' can
	work.  It turns out that this is considerably fewer files than we
	had thought necessary previously.
	(bootstrap-deps-prep): Ensure minimum set of required substitution
	variables are non-empty.
	(bootstrap-deps): Depend on `bootstrap' files.
	* bootstrap (Generate bootstrap dependencies): Now that
	`Makefile.am' is entirely responsible for rebuilding files at
	bootstrap time, we need only specify the new `bootstrap-deps'
	target, and supply values for the substitutions checked by
	`bootstrap-deps-prep'.
	* configure.ac (AC_CONFIG_SRCDIR): `libtoolize.in' is not here yet
	right after running `bootstrap'.  So rely on the presence of
	`libltdl/config/libtoolize.m4sh', which is always there.

	build: eliminate superfluous temporary files from `Makefile.am'.
	* Makefile.am (CLEANFILES): Remove temporary file entries.
	(libtoolize.in, libltdl/config/ltmain.sh, libltdl/m4/ltversion.m4)
	(tests/defs, tests/testsuite): Factor away temporary files.

	build: eliminate `ltmain.in' and `libtoolize.in' intermediate files.
	* Makefile.am (libltdl/config/ltmain.sh, libtoolize.in): Pipe
	the output of `$(LT_M4SH)' directly into `$(bootstrap_edit)' to
	avoid use of superfluous intermediate file.

	build: don't hardcode repeated long paths in Makefile rules.
	According to the DRY principle, scattering several copies of
	something across a file or project leads to pain.  Let's not
	do that!
	* Makefile.am (Makefile_in, Makefile_inc, defs_in, defs_m4sh),
	(libtoolize_in, ltmain_m4sh, ltversion_in): New variables to
	hold the location of important files and targets.
	(EXTRA_DIST): Add the distributed ones by variable.
	(libtoolize, libltdl/Makefile.am, libltdl/m4/ltversion.m4)
	(libltdl/config/ltmain.sh, libltdl/stamp-mk, tests/defs)
	(tests/defs.in): Use the new variables to reduce noise and
	repetition.

	build: make better use of automatic variables in `Makefile.am'.
	* Makefile.am (libtoolize, libtoolize.in, libltdl/Makefile.am)
	(libltdl/config/mkstamp, libltdl/config/ltmain.m4sh)
	(libltdl/m4/ltversion.m4, tests/testsuite, tests/defs.in):
	Make better use of automatic variables.

	build: name temporary files in `Makefile.am' consistently.
	Sadly, we still have to jump through hoops for MICROS~1's very
	old, very broken 8.3 naming convention, so we have to be careful
	to be unique in the first 8 letters, and not to use two periods
	in a filename, otherwise we could use the much more elegent
	`temporary files use "$@T"' idiom:
	* Makefile.am (libltdl/m4/ltversion.m4): Rename temporary file
	to `ltversion.tmp'.
	(libltdl/config/ltmain.sh): Rename temporary file to
	`libltdl/config/ltmain.tmp'.
	(libtoolize): Rename temporary file to `libtoolize.tmp'.
	(tests/defs): Rename temporary file to `tests/defs.tmp'
	(tests/testsuite): Rename temporary file to `tests/testsuite.tmp'.
	(CLEANFILES): Append temporary files as we create rules that
	use them.

	build: factor Makefile.am `m4sh' invocations to LT_M4SH.
	* Makefile.am (LT_M4SH): Now that all directories are listed as
	fully qualified paths, the search path argument to M4SH is always
	the same, so factor it out into a variable.  Adjust all callers.

	build: avoid unnecessary directory changes in Makefile rules.
	* Makefile.am (doc/notes.txt, libltdl/m4/ltversion.m4,
	(libltdl/config/ltmain.m4sh, libtoolize.in, libltdl/Makefile.am)
	(libltdl/config/mkstamp, tests/testsuite, tests/defs.in): Avoid
	unnecessary `cd' commands by using fully qualified paths to files
	outside of current directory.

	build: compare `revision' rather than `correctver' in Makefile.am.
	* Makefile.am (rebuild): Set the shell variable `revision' rather
	than `correctver' for clarity of purpose.
	(bootstrap_edit, libltdl/config/ltmain.sh): Adjust.
	(libltdl/m4/ltversion.m4): Likewise, and alse, instead of munging
	the serial number comment line with set, extract `macro_version'
	from this file, and compare it directly with `revision'.
	(libtool): Likewise for `package_revision'.

	build: avoid spurious bootstrap_edit call.
	* Makefile.am (tests/package.m4): @FOO@ substitutions have already
	been made by the time Makefile.am has been transformed into Makefile,
	so don't try to rerun the substitutions manually with
	$(bootstrap_edit) after the fact.

2011-10-18  Gary V. Vaughan  <[email protected]>

	Post-release administrivia.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	numbers.
	* NEWS: Add header line for next release.

	Release 2.4.2.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	numbers.
	* NEWS: Update version number.

2011-10-17  Gary V. Vaughan  <[email protected]>

	Replace leading spaces with tabs.
	* libltdl/m4/libtool.m4, libltdl/config/ltmain.m4sh: Replace leading
	spaces in source code with tabs to match surrounding code.
	Reported by Peter Rosin.

	Make a note to use gnu/linux for version_type.
	* libltdl/m4/libtool.m4 (version_type): Add a comment to change
	version_type setting from 'linux' to 'gnu/linux' during the next
	destabilising code refactoring.
	* libltdl/config/ltmain.m4sh: ditto.
	Requested by Richard Stallman.

2011-10-04  Bart Van Assche  <[email protected]>

	Typo fix - change func_apped into func_append
	* libltdl/config/ltmain.m4sh: Fix typo.

2011-10-02  Xin LI  <[email protected]>

	Avoid problems when FreeBSD goes to version 10.
	* libltdl/m4/libtool.m4: Remove mentions of freebsd1. Use dots
	for FreeBSD 2 and 3 detection to avoid future problems
	* libltdl/m4/ltmain.m4sh: ditto.

2011-09-25  Cristophe Jarry  <[email protected]>

	Avoid mentioning "Linux", use "GNU/Linux", if appropriate.
	* TODO: Don't use bare "Linux".
	* doc/libtool.texi: ditto.
	* doc/notes.texi: ditto.
	* libltdl/README: ditto.
	* libltdl/m4/libtool.m4: ditto.

2011-09-02  Peter O'Gorman  <[email protected]>

	Add flag to inhibit warnings.
	* libltdl/config/ltmain.m4sh: Add --no-warn, --no-warning flags.
	Reported by John David Anglin.

2011-04-10  Kurt Roeckx  <[email protected]>

	tagdemo: do not rely on picking up symbols from indirect deps.
	* tests/tagdemo/Makefile.am: Link to all libraries that the
	demo application uses.

2011-04-10  Svante Signell  <[email protected]>  (tiny change)

	Set shlibpath_overrides_runpath for the Hurd.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [gnu]
	<shlibpath_overrides_runpath>: Set to no.
	* THANKS: Update.

2011-03-22  Justin Lecher  <[email protected]>  (tiny change)
	    Rhys Ulerich  <[email protected]>

	Don't filter OPENMP flags (-openmp & -fopenmp) from linker lines.
	If -fopenmp if passed to gcc during linking, it will take care to
	add all necessary libs to link correctly for openmp support.
	Currently libtool filters those flags, similar as it was the
	case with the threading flags. This change handles the situation
	for the openmp support similar as before the thread support
	was fixed.
	  http://lists.gnu.org/archive/html/bug-libtool/2010-12/msg00009.html
	  http://lists.gnu.org/archive/html/bug-libtool/2011-03/msg00014.html
	* libltdl/config/ltmain.m4sh (func_mode_link): Treat OpenMP
	flags like pthreads flags.

2011-03-14  Ralf Wildenhues  <[email protected]>

	libtoolize: detect -I<dir> (without space) in ACLOCAL_AMFLAGS.
	* libtoolize.m4sh (func_scan_files): Also accept -I<dir>
	(without intervening space) in ACLOCAL_AMFLAGS.
	* THANKS: Update.
	Report from Jan Engelhardt.

2011-03-05  Peter O'Gorman  <[email protected]>

	On Mac OS X try .dylib as well as .so with lt_dlopenext
	* libltdl/m4/ltdl.m4: Define extra extension if module extension
	differs from shared lib extension.
	* libltdl/ltdl.c: Use it.
	* tests/darwin.at: Test it.
	* NEWS: Announce it.
	Reported by Hans Aberg, Michael Ellis, and others.

2011-02-14  Peter O'Gorman  <[email protected]>

	Install ltmain.sh without execute bit set.
	* Makefile.am: change install rule for ltmain.sh
	Reported by Křištof Želechovski.

2011-02-07  Ralf Wildenhues  <[email protected]>

	docs: fix copyright years in PDF version of the manual.
	* doc/libtool.texi: Fix copyright years.

2011-02-01  Ralf Wildenhues  <[email protected]>

	fix typo in ChangeLog

2011-02-01  Rainer Orth  <[email protected]>

	Fix LD setting for 64-bit Solaris 2/x86.
	* libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [*-*-solaris*):
	Determine GNU ld options for 64-bit Solaris 2/x86.  Detect gld
	2.21 _sol2 emulations.

2011-01-27  Peter O'Gorman  <[email protected]>

	Don't loop through wrapper script arguments unnecessarily.
	* libltdl/m4/ltmain.m4sh: Check that argv contains " --lt-"
	before looping to remove wrapper script targetted arguments.
	Performance regression reported by Dan McGee.

2011-01-20  Gerald Pfeifer  <[email protected]>  (tiny change)

	Remove support for FreeBSD 1.x.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
	(_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
	soon would incorrectly match FreeBSD 10.0.
	* NEWS, THANKS: Update.

2011-01-19  Peter O'Gorman  <[email protected]>

	Don't let verbose linker messages influence test results.
	* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Ignore
	stderr during tests for -flag unless it contains "flag".
	* tests/darwin.at: Add test.
	Reported by Jeremy Huddleston and also by David Fang.

2011-01-09  John David Anglin  <[email protected]>  (tiny change)

	Fix relink mode to use absolute path if hardcode_minus_L.
	* libltdl/config/ltmain.m4sh (func_mode_link): Use absolute path
	when hardcoding with -L.

2011-01-09  Ralf Wildenhues  <[email protected]>

	Fix $wl setting for Solaris Studio 12.2 f90 on GNU/Linux.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]
	<lt_prog_compiler_wl>: Set to '-Qoption ld ' if we
	detect Sun Fortran version 8.4 or newer.
	Report by Terry Dontje.

2011-01-07  Peter Rosin  <[email protected]>

	Convert file name to toolchain format when blessing archives.
	* libltdl/config/ltmain.m4sh (func_mode_install): When executing
	old_postinstall_cmds and old_archive_cmds, convert $oldlib to a
	format appropriate for the tool and provide that in $tool_oldlib.
	Also use $tool_oldlib when stripping old libraries.
	* libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): Use $tool_oldlib
	as argument to $RANLIB.
	* THANKS: Update.
	Report by Dan McMahill.

2011-01-02  Ralf Wildenhues  <[email protected]>

	Bump copyright years.
	* ChangeLog.2010: New, rotated from ...
	* ChangeLog: ... here.
	* Makefile.am (EXTRA_DIST): Add ChangeLog.2010.
	* NEWS, libltdl/config/ltmain.m4sh: Bump copyright years.
	* libltdl/m4/libtool.m4 (_LT_COPYING, LT_OUTPUT): Likewise.
	* libtoolize.m4sh: Likewise.
	* doc/libtool.texi: Likewise.

2010-12-20  Ian Lance Taylor  <[email protected]>

	* libltdl/m4/libtool.m4 (LT_LANG): Add Go.
	(AC_PROG_GO): Provide.
	(_LT_SYS_HIDDEN_LIBDEPS): Add Go case.
	(_LT_LANG_GO_CONFIG): Define.
	(LT_PROG_GO): Define.
	(AC_PROG_GO): Define if not defined.
	* libltdl/config/ltmain.m4sh: Match *.go.
	* doc/libtool.texi (LT_INIT): Mention Go.
	(Tags): Mention Go.
	* configure.ac: Enable Go.
	* NEWS: Update.

2010-12-20  Brice De Bruyne  <[email protected]>  (tiny change)

	Also turn off -fuse-linker-plugin for postdep_objects computation.
	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Add
	-fno-use-linker-plugin to temporary compile flags if necessary,
	to fix C++ postdep_objects setting with -flto
	-fuse-linker-plugin.
	* NEWS, THANKS: Update.

2010-12-20  KO Myung-Hun  <[email protected]>  (tiny change)

	Set command line length limit for OS/2.
	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [os2]
	<lt_cv_sys_max_cmd_len>: Set to 8192 to avoid long test.

2010-12-20  Ralf Wildenhues  <[email protected]>

	Fix PIC flags with mpif77 using ifort on GNU/Linux.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]:
	Match Intel compiler also using $CC -V output, to avoid false
	negatives with compiler drivers like mpif77.
	Report by Christian Rössel.

2010-12-16  Ralf Wildenhues  <[email protected]>

	Fix PIC flags with MPI wrappers using Portland on GNU/Linux.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]:
	Match Portland compilers also using $CC -V output, to avoid
	false negatives with MPI compiler drivers.
	Report by Christian Rössel.

	* libltdl/m4/libtool.m4 (_LT_SETUP): Fix quoting for
	PATH_SEPARATOR.

2010-12-15  KO Myung-Hun  <[email protected]>  (tiny change)
	    Ralf Wildenhues  <[email protected]>

	Fix PATH_SEPARATOR handling for OS/2.
	* Makefile.am (update_mans): Quote $(PATH_SEPARATOR).
	* libltdl/m4/libtool.m4 (_LT_SETUP): Add _LT_DECL for
	PATH_SEPARATOR.
	* libltdl/config/general.m4sh: Use PATH_SEPARATOR when computing
	$progpath.
	* THANKS: Update.

2010-12-10  Ralf Wildenhues  <[email protected]>

	Fix nvcc PIC setting on darwin.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC)
	<lt_prog_compiler_pic>: Prepend -Xcompiler to nonempty variable
	setting rather than hard-coding -Xcompiler -fPIC, for darwin.
	* NEWS, THANKS: Update.
	Report by Paweł Daniluk.

	Honor $AUTOCONF, $AUTOMAKE in --help output.
	* libltdl/config/getopt.m4sh (func_help): Use $AUTOCONF and
	$AUTOMAKE if set, for --version outout.

	docs: Libtool configuration diagram.
	* doc/libtool.texi (Integrating libtool): Add diagrams
	explaining the dependencies between Libtool files.
	Suggestion by Ethan Mallove.

2010-11-15  Ralf Wildenhues  <[email protected]>

	Eliminate hardcode_libdir_flag_spec_ld tag variable.
	* libltdl/config/ltmain.m4sh (func_mode_link): Set $wl to empty
	if $LD is used for creating shared libraries.  Do not use
	hardcode_libdir_flag_spec_ld any more.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
	(_LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG, _LT_SYS_DYNAMIC_LINKER)
	<hardcode_libdir_flag_spec_ld>: Remove all instances of the tag
	variable.
	(_LT_LINKER_SHLIBS) [linux, xlf] <hardcode_libdir_flag_spec>:
	Set variable, including ${wl}.  Fixes hardcoding in programs
	created by XL Fortran on GNU/Linux.
	* NEWS, THANKS: Update.
	Report by Paul H. Hargrove.

	Rebuild menus in the manual.
	* doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
	Thanks to Ian Lance Taylor for the suggestion.

2010-11-07  Ollie Wild  <[email protected]>

	Modify --with-pic to support per-package configurations.
	* libltdl/m4/libtool.m4:  Modify --with-pic to accept a list of
	package names.  Modelled off --enable-shared.
	* tests/with-pic.at: New test.
	* Makefile.am (TESTSUITE_AT): Add tests/with-pic.at.
	* doc/libtool.texi (LT_INIT): Enhance documentation of
	--with-pic configure flag.
	* NEWS (New features): Mention that --with-pic now accepts a
	comma-separated list of package names.

2010-11-10  Ralf Wildenhues  <[email protected]>

	Fix cwrapper test failure with --disable-static.
	* tests/cwrapper.at (cwrapper and installed shared libraries):
	Compile program source without libtool, so we can be sure a
	non-PIC object will be created.

2010-11-01  Peter Rosin  <[email protected]>

	docs: Windows DLLs and headers.
	* doc/libtool.texi (Platform quirks): Add new subsection
	'Windows DLLs'.

	* doc/libtool.texi (Platform quirks): Fix typo.

2010-10-30  Ralf Wildenhues  <[email protected]>

	docs: mention shell requirement for libtool script.
	* doc/libtool.texi (Invoking libtool): Document that the shell
	used to invoke libtool needs to be the same used to configure
	it.
	* THANKS: Update.
	Report by Markus Duft.

2010-10-15  Gary V. Vaughan  <[email protected]>

	libtool: remove redundant unsubstituted shell var defaults.
	* Makefile.am (libltdl/config/ltmain.sh): Boilerplate code from
	libltdl/config/general.m4 sets some default shell variables
	designed to be substituted by `$(configure_edit)'.  Actually,
	`libtool' uses the language tag values for those variables, and
	`ltmain.m4sh' is not passed through `$(configure_edit)', so they
	are just noise.  Edit them out at bootstrap time.

2010-10-15  Gary V. Vaughan  <[email protected]>

	maint: don't leak developer GREP, SED etc into distribution file.
	* Makefile.am: Having rearranged the file, now apply the actual
	changes to follow-up.
	(edit): Split into two parts...
	(bootstrap_edit): ...substitutions that should happen at bootstrap
	time...
	(configure_edit): ...and substitutions that should not happen until
	configure time.
	* Makefile.am (libltdl/m4/ltversion.m4, libltdl/config/ltmain.sh)
	(libtoolize.in, tests/package.m4): Use bootstrap_edit.
	(libtoolize, tests/defs): Use configure_edit.
	* HACKING (Release Procedure): Remove the note to workaround the
	bug fixed by this changeset.
	* NEWS (Bug fixes): Mention that this bug is now fixed.
	Reported by Joerg Sonnenberger.

	maint: rearrange Makefile.am in preparation for a follow-up patch.
	* Makefile.am (Libtool scripts.): Move this section below the
	`Bootstrap.' section...
	(libtoolize.in): ...except this one which is generated at
	bootstrap time, and was added into the `Bootstrap.' section.
	(Libltdl.): Move this section below the `Libtool scripts.'
	section.

2010-10-15  Ralf Wildenhues  <[email protected]>

	Fix linking from only convenience archives with gfortran on Darwin.
	* libltdl/m4/libtool.m4 (_LT_DARWIN_LINKER_FEATURES): Update
	macro comment header.
	[darwin, F77, FC] <compiler_needs_object>: Set to yes if
	whole_archive_flag_spec is nonempty.  Fixes convenience.at test
	suite failures with gfortran 4.2 on Darwin.
	* THANKS: Update.
	Report by Paul Laight.

	Fix bindir check logic, and relax non-bindir case for AIX.
	* tests/bindir.at (bindir install tests): Rewrite checks for
	place of the installed shared library in two separate tests,
	depending on whether -bindir is supposed to have an effect or
	not.  In the positive case, make the test stricter so that we
	reject libraries in $libdir.  In the negative case, do not
	require a major version number in the $libdir file name, for AIX
	without runtimelinking.  If tmpdir creation fails, skip the
	test.  Use fewer bindir directory names for testing, to speed
	up the test.  Also mention MSVC style DLL name in comment.
	Report by Peter Rosin.

	tests: remove unneeded 'bindir compile check' test.
	* tests/bindir.at (bindir compile check): Remove.

2010-10-14  Peter Rosin  <[email protected]>

	tests: fix $EXEEXT typo.
	* tests/depdemo-relink.test (func_restore_files): Use $EXEEXT
	instead of $EXEXT.

2010-10-12  Simon Josefsson  <[email protected]>
	    Matěj Týč <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	docs: improve description of -no-undefined.
	* doc/libtool.texi (Link mode): Fix -no-undefined description.
	(Inter-library dependencies): Use Windows not AIX as example
	system.  Clarify need for symbol resolution at library creation
	time.

2010-10-09  Paolo Bonzini  <[email protected]>

	Add missing sysroot resolution.
	* libltdl/config/ltmain.m4sh (func_mode_link): Resolve sysroot
	when fetching the install directory of dependent libraries.
	Reported by Lionel Landwerlin <[email protected]>,
	patch by Khem Raj <[email protected]>.
	* THANKS: Reorder entries, add Khem and Lionel.

2010-10-07  Roumen Petrov  <[email protected]>

	Add test case for 69e77671 (cwrapper PATH manipulation order)
	* tests/cwrapper.at: Add new test 'cwrapper and installed shared
	libraries.'

2010-10-04  Peter Rosin  <[email protected]>

	cwrapper: split long lines when dumping the wrapper script.
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): If
	the wrapper script contains long lines, split them for
	readability and to conform with C standards.
	* tests/cwrapper.at (cwrapper string length): New test, making
	sure we don't regress.

	msvc: handle symbols from different files independently.
	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS)
	<dumpbin, lt_cv_sys_global_symbol_pipe>: Make all sections
	viable for symbol extraction again when the symbols from a new
	file starts.  Fixes tests/tagdemo-make.test for MSVC 10.
	* tests/dumpbin-symbols.at: New test, making sure we don't
	regress.
	* Makefile.am (TESTSUITE_AT): Update.

2010-09-27  Peter Rosin  <[email protected]>

	tests: check if sys_lib_search_path_spec works on MSVC.
	* tests/search-path.at (sys_lib_search_path on w32): New test,
	making sure v2.2.10-207-g09142ea doesn't regress.

	Skip need_lib_prefix.at on systems without lib prefix on libraries.
	* tests/need_lib_prefix.at [MSVC, OS/2]: Skip this test on
	systems that do not have libraries prefixed with lib.

	tests: clean up importing and exporting on w32.
	Makes the touched tests pass for MSVC when DLLs are built.
	* tests/demo/Makefile.am, tests/pdemo/Makefile.am: Define
	BUILDING_LIBHELLO when building libhello.la.
	* tests/demo/foo.h, tests/pdemo/foo.h (nothing) <MSVC>: Export
	variable when building the libhello dll and import when using
	libhello.  For GCC and non-w32, and when building a static
	libhello, leave as an ordinary extern.
	* tests/pdemo/foo.h [Cygwin]: Remove unneeded and "dead" export
	and import logic (LIBFOO_DLL is always undefined).
	* tests/pdemo/longer_file_name_foo.c,
	tests/pdemo/longer_file_name_foo2.c (_LIBFOO_COMPILATION_): Not
	useful before, even less so now.  Removed.
	* tests/depdemo/l1/Makefile.am: Define BUILDING_LIBL1 when
	building libl1.la.
	* tests/depdemo/l2/Makefile.am: Define BUILDING_LIBL2 when
	building libl2.la.
	* tests/depdemo/l3/Makefile.am: Define BUILDING_LIBL3 when
	building libl3.la.
	* tests/depdemo/l4/Makefile.am: Define BUILDING_LIBL4 when
	building libl4.la.
	* tests/depdemo/l1/l1.h, tests/depdemo/l2/l2.h,
	tests/depdemo/l3/l3.h, tests/depdemo/l4/l4.h <MSVC>: Export
	variables when building the associated library dll and import
	when using the library.  For GCC and non-w32, and when building
	static libraries, leave as an ordinary extern.

2010-09-26  Ralf Wildenhues  <[email protected]>

	docs: do not refer to Libtool version with dlopen functionality.
	* doc/libtool.texi (Dlopened modules): Remove broken reference
	to what should have been Libtool 0.9g.
	Report by Roumen Petrov.

2010-09-23  Peter Rosin  <[email protected]>

	msvc: don't try to export import descriptors.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin, mingw]
	[pw32, cegcc] <cl*, exclude_expsyms>: Don't export symbols in
	import libraries related to describing what dll(s) the import
	library is importing. Fixes problem in tests/demo-make.test
	and some other tests.

2010-09-22  Ralf Wildenhues  <[email protected]>

	Fix regression in command-line length computation.
	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Use `env echo' rather
	than possibly-undefined func_fallback_echo, to ensure we fork
	and exec for this test.
	* NEWS: Update.
	Regression introduced in v2.2.6-39-g9c3d4d8.

2010-09-22  Gary V. Vaughan  <[email protected]>

	Post-release administrivia.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	numbers to 2.4.1a.
	* NEWS: Add header line for next release.

	Release 2.4.
	* libltdl/Makefile.inc (LTDL_VERSION_INFO): We've added the
	static libprefix interface, so new version-info is C+1:0:R+1.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	numbers.
	* NEWS: Update version number.

	manual: web-manual index.html clashes with @node Index.
	* doc/libtool.texi (Index): Renamed to `Combined Index'.

	tests: ISO C++ forbids declaration of 'v1' with no type.
	* tests/lt_dlexit.at (lt_dlexit unloading libs): Added an
	explicit int type to declaration of 'v1' to prevent compilation
	failure with C++.

2010-09-22  Peter Rosin  <[email protected]>

	tests: reloadable objects do not work on MSVC, SKIP test.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
	[cygwin, mingw, pw32, cegcc] <cl*, reload_cmds>: Indicate that
	reloadable objects do not work.
	* tests/duplicate_conv.at: Skip last test if reloadable
	objects do not work.
	* doc/libtool.texi (libtool script contents) <reload_cmds>:
	Document how to indicate that reloadable objects do not work.

2010-09-21  Peter Rosin  <[email protected]>

	msvc: eliminate spaces in the library search path.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [mingw, cygwin]
	<cl*, sys_lib_search_path_spec>: The LIB path variable telling
	where MSVC looks for libraries is likely to contain directory
	names with spaces.  Convert those directory names to the short
	8.3 DOS form (i.e. without spaces) when storing them in
	sys_lib_search_path_spec, as that is a space separated variable.

2010-09-21  Ralf Wildenhues  <[email protected]>

	Revert to per-language libpath computation on AIX.
	* libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Accept
	tagname argument.  Use global cache variable lt_cv_aix_libpath
	to override per-language tag variables for the libpath value.
	Fix the sed script to remove trailing space.
	(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Pass tag argument to
	_LT_SYS_MODULE_PATH_AIX.
	Tracked down and reported by Rainer Tammer.

2010-09-21  Gary V. Vaughan  <[email protected]>

	maint: edit-readme-alpha shouldn't try to re-edit during dist.
	* libltdl/config/edit-readme-alpha: If README is non-writable
	assume that it is being run from distcheck, and skip the edit
	with a warning (to help diagnose cases where the heuristic is
	not correct).  However, if README has already been edited to
	the alpha text, quietly skip without an error message.

2010-09-20  Eric Blake  <[email protected]>

	maint: drop autobuild requirement
	* HACKING: Update.

	build: ship autobuild.m4, to reduce bootstrap requirement
	* libltdl/m4/.gitignore: Drop autobuild.m4.
	* libltdl/m4/autobuild.m4: New file, copied from autobuild.
	* configure.ac (AB_INIT): Unconditionally call it.

2010-09-20  Peter Rosin  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	libltdl: Make sure preloaded symbols are declared extern "C".
	* libltdl/ltdl.h (LTDL_SET_PRELOADED_SYMBOLS): Move the
	declaration of lt__PROGRAM__LTX_preloaded_symbols to global
	scope and make sure it has "C" linkage.  Makes exceptions.at
	succeed on MSVC.

2010-09-20  Peter Rosin  <[email protected]>

	tests: __declspec (dll{ex,im}port) in tests/exceptions.at
	* tests/exceptions.at (common.h, module.h, lib.h) [w32]: Use
	__declspec (dllimport) and __declspec (dllexport) instead of
	the less portable __attribute__ ((dllimport)) and
	__attribute__ ((dllexport)).  Makes the test compile on MSVC.

2010-09-19  Peter Rosin  <[email protected]>

	tests: Import items from liba1 for MSVC.
	* tests/lt_dlexit.at (b1.c) [MSVC]: Import function f1 and
	variable v1 from liba1 when using them from modb1.  Makes the
	test pass on MSVC.

2010-09-18  Ralf Wildenhues  <[email protected]>

	tests: avoid distcheck failure with --disable-ltdl-install.
	* tests/ltdl-libdir.at (libdir of installed modules): Skip if
	$LIBLTDL does not exist.

2010-09-18  Gary V. Vaughan  <[email protected]>

	maint: use sed instead of maintaining 2 README files.
	* README.alpha: Deleted.  It was mostly identical to README.
	* libltdl/config/edit-readme-alpha: New script to edit the
	contents of README in the dist tree prior to tarring up.
	* Makefile.am (dist-hook): Run it before rolling alpha release
	tarball.

	maint: improve README's `Obtaining the Latest Sources'.
	* README (Obtaining the Latest Sources): Add instructions for
	obtaining stable, alpha and nightly snapshot tarballs.
	* README.alpha (Obtaining the Latest Sources): Adjust to match.

	maint: reformat README `The Test Suites' for consistency.
	* README (The Test Suites): Reformatted for consistency.
	* README.alpha (The Test Suites): Adjust to match.

	maint: improve `Reporting Bugs' in README and README.alpha.
	* README (Reporting Bugs): Rewritten to a more complete and
	concise guide to providing a good bug report.
	* README.alpha (Reporting Bugs): Adjust to match.

	maint: consolidate Introductions of README and README.alpha.
	* README (Introduction): Rewritten to a more logical order for
	first time users, incorporating some additional text that was
	previously only in README.alpha.
	* README.alpha (Introduction): Adjust to match.

	maint: copy the Version Numbering section into README.alpha.
	* README.alpha (Version Numbering): No less useful for users
	of alpha releases.  Copied from README.

2010-09-17  Peter Rosin  <[email protected]>

	tests: actually detect missing 'test' in 'if "$foo" = ...'.
	* tests/sh.test: Remove extra backslash in regex.

	Copy over DLL_EXPORT handling from C to C++ for non-GCC on w32.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [mingw, cygwin, os2]
	[pw32, cegcc]: Copy over the DLL_EXPORT handling from C to C++.

2010-09-17  Ralf Wildenhues  <[email protected]>

	LTO: consistently accept -fwhopr* and -flto* for GCC.
	* libltdl/config/ltmain.m4sh (func_mode_link): Accept -fwhopr*.
	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Also match
	-flto*.

2010-09-17  Charles Wilson  <[email protected]>

	Fix order of PATH manipulation in cwrapper and shwrapper
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main): Call
	lt_update_exe_path before lt_update_lib_path, to ensure that the
	temporary rpath values (which include the OBJDIRs of uninstalled
	libtool libraries) precede installation and final -rpath directories.
	(func_emit_wrapper): Prepend $dllsearchpath to PATH before prepending
	$temp_rpath to $shlibpath_var; similar rationale as above.
	Reported by Jon Turney <[email protected]>

2010-09-17  Charles Wilson  <[email protected]>

	Document libtool variable to_host_file_cmd.
	* doc/libtool.texi (libtool script contents:to_host_file_cmd):
	Document variable.
	(libtool script contents:to_tool_file_cmd): Prefer `build platform'
	to `build system'; Ditto `host platform'.

2010-09-16  Charles Wilson  <[email protected]>

	Fix sh.test failure introduced in 72064249
	* libltdl/config/ltmain.m4sh (func_mode_link): Avoid poor
	syntax.

2010-09-16  Ralf Wildenhues  <[email protected]>

	tests: avoid localization failure due to unstable compiler messages.
	* tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT):
	Attempt to normalize temporary file names in error messages.
	Fixes 'localized compiler messages' test failure on Darwin when
	creating fat (multi-ABI) libraries.

2010-09-13  Peter Rosin  <[email protected]>

	Prefer $NM @file when the toolchain isn't native to $build.
	* libltdl/config/ltmain.m4sh (func_mode_link): Avoid calculating
	the command line length and take the @file branch *if* the file
	names needs to be converted for the toolchain and the @file
	branch works.  Fixes problems in stresstest.at when doing a cross
	from Cygwin to MinGW using MinGW native tools (a.k.a. a "faked"
	cross), and for the specific case of MSVC on Cygwin it makes the
	test pass.

2010-09-15  Gary V. Vaughan  <[email protected]>

	maint: improve README instructions for fetching latest version.
	* README, README-alpha (Obtaining the Latest Sources): New
	section, describing use of savannah repositories and bootstrap.
	* README.alpha (Reporting Bugs): Remove git instructions in
	favour of a reference to the new `Obtaining the Latest Sources'
	section.

2010-09-14  Eric Blake  <[email protected]>

	maint: ship .xz, not .lzma
	* configure.ac (AM_INIT_AUTOMAKE): Prefer better file format.
	* Makefile.maint (git-release, git-dist, prev-tarball)
	(new-tarball, diffs): Use correct extension.
	* HACKING: Update instructions.
	* .gitignore: Ignore .xz files.

2010-09-13  Ralf Wildenhues  <[email protected]>

	doc: avoid long lines in input and output, indexing fixes.
	* doc/libtool.texi (Linking libraries)
	(Module loaders for libltdl): Manually line-wrap examples, to
	avoid long lines.
	(Libltdl interface, User defined module data)
	(Module loaders for libltdl): Wrap long @deftypefun input lines
	using trailing '@'.  Use @deftypefun rather than @deftp where
	appropriate, and add spaces in @deftypefun lines to fix the
	index entries generated from these lines.
	(Cheap tricks): Use @smallexample rather than @example, to avoid
	long lines.

	docs: @file and @option markup fixes.
	* doc/libtool.texi (Creating object files, Linking libraries)
	(Linking executables, Link mode, Finish mode, Autoconf macros)
	(Using Automake, Inter-library dependencies, Dlpreopening)
	(Linking with dlopened modules, Finding the dlname)
	(Libltdl interface, Test descriptions, Multiple dependencies):
	Add @option where needed, replace @samp with @file as
	appropriate.

2010-09-12  Peter Rosin  <[email protected]>

	* .gitignore: Ignore *.obj files for MSVC (and w32 in general).

	Adjust to moved auxiliary files and add compile.
	* HACKING (Maintenance Notes): Adjust to moved files.  Add the
	compile script.
	* Makefile.maint (fetch): Also fetch the compile script.

2010-09-12  Ralf Wildenhues  <[email protected]>

	tests: avoid empty AT_DATA contents, for zsh.
	* tests/libtoolize.at (libtoolize macro serial update)
	(libtoolize config files serial update, LIBTOOLIZE_OPTIONS):
	Do not create empty files with AT_DATA, the latter is documented
	to require a final newline.  Fixes testsuite failures with zsh
	4.3.10.

2010-09-12  Charles Wilson  <[email protected]>

	When assigning $linklib value, honor [-all]-static[-libtool-libs]

	* libltdl/config/ltmain.m4sh (func_mode_link): When prefer_static_libs
	and static library exists, ensure old_library name is used as $linklib.
	Fixes failure on mingw when both static and shared libraries are
	present.

2010-09-12  Ralf Wildenhues  <[email protected]>

	tests: work around zsh use of $options variable.
	* tests/getopt-m4sh.at: Rename $options to $opts, the former is
	special for zsh 4.3.10.

	Fix AC_NO_EXECUTABLES test failure on IRIX 6.5.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [irix]: Cache result
	of link check for -Wl,-exported_symbol.
	* tests/no-executables.at (AC_NO_EXECUTABLES): Set
	lt_cv_irix_exported_symbol, to avoid link check.

2010-09-12  Jürgen Reuter  <[email protected]>  (tiny change)
	    Ralf Wildenhues  <[email protected]>

	Initial support for the NAG Fortran compiler on GNU/Linux.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <nagfor>:
	New set of entries, for NAG Fortran 5.1 and 5.2.
	* NEWS: Update.

2010-09-12  Ralf Wildenhues  <[email protected]>

	Fix getopt.m4sh to require Autoconf 2.62 or newer.
	* libltdl/config/getopt.m4sh (m4_version_prereq): Require 2.62,
	not 2.61.

2010-09-11  Charles Wilson  <[email protected]>

	Correct typo: $sharedlib_from_linklib_cmd missing '_cmd'

	* libltdl/config/ltmain.m4sh (func_generate_dlsyms): Fix obvious
	typo, $sharedlib_from_linklib_cmd missing '_cmd'.

2010-09-10  Peter Rosin  <[email protected]>

	Convert file name to toolchain format when invoking $NM.
	* libltdl/config/ltmain.m4sh (func_generate_dlsyms)
	(func_win32_libid, func_cygming_gnu_implib_p)
	(func_cygming_ms_implib_p): When using the name lister to find
	symbols in files, convert the file names to a format appropriate
	for the tool. Fixes testsuite issues in mdemo-static-make.test
	and mdemo-make.test when doing a cross from Cygwin/Wine to MinGW
	using MinGW native tools (a.k.a. a "faked" cross).

2010-09-09  Peter Rosin  <[email protected]>

	Fix dependency tracking for MSYS/MinGW.
	* libltdl/config/ltmain.m4sh (func_to_tool_file): Add lazy
	argument which allows the user to specify conversions that are
	not desired.
	(func_mode_compile): Don't convert source files on MSYS, as
	MSYS does it for us. This fixes a regression introduced by
	"Use func_to_tool_file instead of fix_srcfile_path".
	Reported by Charles Wilson.

2010-09-08  Peter Rosin  <[email protected]>

	Mention adjustment of naming of MSVC import libraries in NEWS.
	* NEWS: Mention the change in import library naming on MSVC.

2010-09-07  Peter Rosin  <[email protected]>

	Adjust naming of MSVC import libraries.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [mingw, cygwin]
	[pw32, cegcc] <cl*, library_names_spec>: Adjust naming of the
	import library from foo-<major-version>.lib to foo.dll.lib, to
	avoid clashes with the static library for unversioned libraries.
	(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [mingw, cygwin, pw32]
	[cegcc] <cl*, archive_expsym_cmds>: Explicitely name the import
	library to match the above.

	Fixup texi typo in previous.
	* doc/libtool.texi (libtool script content) <postlink_cmds>:
	Add missing 'code' command.

	Convert POSIX file names to toolchain format for MSVC
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
	[cygwin, mingw, pw32, cegcc] <cl*, postlink_cmds>: Make
	sure the -outputresource: file name for the manifest tool is
	in w32 format.
	<cl*, archive_expsym_cmds>: Likewise for the MSVC command file
	containing the exports and the output file name.
	* libltdl/config/ltmain.m4sh (func_mode_link): Precalculate the
	toolchain format of the output_objdir file name and store it in
	the tool_output_objdir variable. Also replace any occurrence of
	@TOOL_OUTPUT@ in postlink_cmds with the toolchain version of the
	@OUTPUT@ content.
	* doc/libtool.texi (libtool script content): Update description
	of postlink_cmds to mention @TOOL_OUTPUT@.

2010-09-06  Peter Rosin  <[email protected]>

	Use func_to_tool_file instead of fix_srcfile_path.
	* libltdl/config/ltmain.m4sh (func_mode_compile): Replace the
	fix_srcfile_path hook with a call to func_to_tool_file.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin,mingw,pw32]
	[cegcc]: Drop fix_srcfile_path.
	* doc/libtool.texi (libtool script contents): Likewise.
	* NEWS: Mention that fix_srcfile_path has been replaced.

	Convert file names to toolchain format in $NM and $AR @files.
	* libltdl/config/ltmain.m4sh (func_mode_link): When listing
	symbols and when creating archives using command files (or
	response files), make sure that both the name of the command
	file and the content are made up of file names in a format
	appropriate for the tool. Fixes stresstest.at on MSYS when
	run with low command line length.

	Convert file names to toolchain format when linking.
	* libltdl/config/ltmain.m4sh (func_mode_link): When exporting
	symbols and when linking using command files (or response
	files), make sure that both the name of the command file and
	the content are made up of file names in a format appropriate
	for the tool. Fixes problems in stresstest.at on MSYS when run
	with low command line length.

	Add file name conversion from $build to toolchain.
	* configure.ac: Ensure to_tool_file_cmd is available to Makefile.
	* libltdl/m4/libtool.m4 (_LT_PATH_CONVERSION_FUNCTIONS): Add
	cache variable lt_cv_to_tool_file_cmd that describes how to
	convert file names from $build to toolchain format.
	* libltdl/config/ltmain.m4sh (func_to_tool_file): New function
	that utilizes the above.
	* Makefile.am: Ensure to_tool_file_cmd is included in
	TEST_ENVIRONMENT so that it is passed to (old testsuite) tests.
	* testsuite.at: Ensure to_tool_file_cmd is passed as a variable
	setting on the configure line for (new testsuite) tests.
	* doc/libtool.texi (libtool script content): Update with
	to_tool_file_cmd description.
	(Cygwin to MinGW Cross): Update to mention lt_cv_to_tool_file_cmd.

2010-09-02  Ralf Wildenhues  <[email protected]>

	tests: avoid spurious test failure due to library mode on HP-UX.
	* tests/help.at (debug tracing): Use $lt_INSTALL not cp for
	install mode, the latter will not overwrite an existing library
	with mode 555.

2010-09-01  Charles Wilson  <[email protected]>

	Path conversion documentation
	* doc/libtool.texi (Platform quirks): Add new subsections
	'Cross compiling' and 'File name conversion'.

2010-09-01  Ralf Wildenhues  <[email protected]>

	tests: avoid spurious pic_flag test failure on HP-UX 10.20.
	* tests/pic_flag.at (override pic_flag at configure time):
	Match HP-UX 10.20 cc warning about unknown options, to skip
	the test.

	tests: fix localization test for GCC on HP-UX 11.00.
	* tests/localization.at (localized compiler messages): Be sure
	to switch the locale only for the actual compiler commands, so
	we don't pick up warnings from helper tools such as diff which
	may not have the locale installed.

	Avoid leaking make flags into testsuite results.
	* tests/defs.m4sh: Unset MFLAGS, MAKEFLAGS, MAKELEVEL, __MKLVL__
	and MAKE_JOBS_FIFO.
	* tests/testsuite.at: Likewise.
	Fixes warnings in test logs when the user uses 'make -jN check'
	and inner $MAKE invocations can't connect to the job server.
	Fixes spurious failures of configure-iface.at and of
	demo-noinst-link tests with BSD and Tru64 make if the user uses
	'make -k', as the exit status of the latter is not reliable.

2010-09-01  Gary V. Vaughan  <[email protected]>

	Remove announce-gen.m4sh and mailnotify.m4sh.
	* libltdl/config/announce-gen.m4sh: Removed.  This script has
	no apparent connection to libtool functionality, and mostly
	duplicates the better maintained gnulib announce-gen script.
	* libltdl/config/mailnotify.sh: Removed. This script was used
	by only clcommit.m4sh and announce-gen.m4sh, both of which are
	now removed too.
	* Makefile.maint (announce-gen, libltdl/config/mailnotify):
	Targets removed.
	* bootstrap: Remove the mailnotify regeneration warning.
	* HACKING (Release Procedure): Remove references to
	announce-gen.
	(Alpha release note template, Full release note template):
	Reinstated from before announce-gen was introduced.

	Remove clcommit.m4sh.
	* clcommit.m4sh: Removed. This script was written to help keep
	ChangeLog and commit messages in sync when committing to CVS,
	and is an anachronism now that Libtool uses git.
	* Makefile.maint (commit): Target removed.
	* bootstrap: Don't generate commit.
	* HACKING (Release Procedure): Adjusted.

2010-08-31  Peter Rosin  <[email protected]>

	archive-in-archive.at passes with Microsoft lib.
	* tests/archive-in-archive.at: Tighten test to check that the desired
	object files are indeed part of the archive. Microsoft lib still
	passes, so remove the expected failure for that case.

	Dump archiver output to the log when testing @file support.
	* libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout to config.log
	when testing for @file support.
	Suggested by Ralf Wildenhues.

	Silence archiver output when testing @file support.
	* libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout and stderr
	to the bit bucket when testing for @file support.

2010-08-31  Gary V. Vaughan  <[email protected]>

	Remove double `Generated from foo.m4sh' lines.
	We now require a modern Autoconf to bootstrap libtool, which
	will add the `Generated by ...' boiler-plate automatically,
	so we can remove the hand-rolled @configure_input@
	substitutions we had been doing:
	* clcommit.m4sh, libtoolize.m4sh, tests/defs.sh,
	libltdl/config/announce-gen.m4sh, libltdl/config/ltmain.m4sh,
	libltdl/config/mailnotify.m4sh: Remove @configure_input@.
	* Makefile.am (edit): Remove configure_input substitution.
	(libtoolize, libltdl/config/ltmain.sh, libltdl/m4/ltversion.m4)
	(tests/defs): Don't set `$input' shell variable.
	* Makefile.maint (announce_gen, libltdl/config/mailnotify)
	(commit): Likewise.

2010-08-31  Peter Rosin  <[email protected]>

	Extract the archive name from the .la file and use $AR (not ar).
	* Makefile.am: Pass AR through to the testsuite.
	* tests/archive-in-archive.at: Bump copyright year. Extract archive
	name from the .la file instead of hardcoding the name, and allow
	different archivers. Also clarify that the tested functionality is
	currently broken.

2010-08-30  Ralf Wildenhues  <[email protected]>

	tests: skip -Wall -Werror with Tru64 cc in cwrapper test.
	* tests/cwrapper.at (cwrapper for uninstalled executables):
	Use a link test rather than a compile test to flesh out unknown
	compiler flags starting with -W; Tru64/OSF1 cc will happily
	accept `-Wall -Werror' as indication to pass flags on to
	subprocesses.

	tests: avoid getopt-m4sh failures when autom4te is not available.
	* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP):
	Check $M4SH --version, skip on failure.

	tests: mark 'syntax of .la files' as XFAIL, expose failure.
	* tests/lalib-syntax.at (syntax of .la files): Assert that the
	string returned by lt_dlerror after a failure is non-NULL, so
	the failure shows up on systems other than Solaris.  Mark test
	as expected to fail.
	Suggested by Bob Friesenhahn.

2010-08-30  Eric Blake  <[email protected]>

	Simplify recent configure quoting portability workaround.
	* configure.ac: Simplify setting of timestamp_string.

2010-08-30  Charles Wilson  <[email protected]>

	Update path conversion warning messages
	* libltdl/config/ltmain.m4sh (func_convert_file_check): Update
	comments and warning message.
	(func_convert_path_check): Update warning message.

2010-08-29  Peter Rosin  <[email protected]>

	Fix typo when renaming path conversion functions.
	* tests/testsuite.at: Ensure to_host_file_cmd is passed as a
	variable setting on the configure line for (new testsuite) tests.

2010-08-29  Ralf Wildenhues  <[email protected]>

	Support GCC LTO on GNU/Linux.
	* libltdl/config/ltmain.m4sh (func_mode_link): Allow through
	flags matching -O*, -flto*, -fwhopr, -fuse-linker-plugin.
	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Drop symbols
	starting with __gnu_lto.
	(_LT_LINKER_SHLIBS) [linux] <archive_cmds, archive_expsyms_cmds>:
	Add $pic_flag for GCC.
	(_LT_LANG_CXX_CONFIG) [linux] <archive_cmds, archive_expsyms_cmds>:
	Likewise.
	(_LT_SYS_HIDDEN_LIBDEPS): Ignore files matching *.lto.o.
	* NEWS: Update.

	Disable GCC LTO for verbose library extraction.
	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Temporarily
	append -fno-lto or -fno-whopr to CFLAGS if CC or CFLAGS (which
	are substituted with the per-language variables here) contain
	-flto or match -fwhopr*, respectively.

	Save and restore CFLAGS properly inside libtool.m4 macros.
	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Use different
	temporary variables for saved and restored values of $LIBS,
	$CFLAGS, to avoid overlap with the *_CONFIG macros.
	(_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
	(_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Also save and restore
	$CFLAGS, and override it with per-language flags, so that in
	case output_verbose_link_cmd uses $CFLAGS, the right flags are
	used.

	Work around yet another shell quoting portability issue.
	* configure.ac: Avoid nonportable quoted alternate variable
	value in unquoted here document, so Solaris 10 sh and Tru64
	ksh do not print spurious extra quotes.

	Silence order-only configure test for AIX make.
	* configure.ac: Also drop standard output, for AIX 5.1 make.

2010-08-28  Charles Wilson  <[email protected]>

	Minor sysroot fixups.
	* libltdl/m4/libtool.m4 (_LT_WITH_SYSROOT): Fix typo.
	* tests/sysroot.at: Search also for crt0.o to accommodate cygwin.

2010-08-28  Charles Wilson  <[email protected]>

	[cygwin|mingw|cross-compile]: Path conversion support.
	* configure.ac: Ensure to_host_file_cmd is available to Makefile.
	* TODO: Document QoI issue with file name conversion functions.
	* libltdl/m4/libtool.m4 (_LT_PATH_CONVERSION_FUNCTIONS): New function
	sets libtool variable $to_host_file_cmd, and employs cache.
	(_LT_SETUP): Require it.
	* tests/testsuite.at: Ensure to_host_file_cmd is passed as a
	variable setting on the configure line for (new testsuite) tests.
	* Makefile.am (TESTS_ENVIRONMENT): Ensure to_host_file_cmd is
	included so that it is passed to (old testsuite) tests.
	* libltdl/config/general.m4sh: Define $lt_sed_naive_backslashify here.
	* libltdl/config/ltmain.m4sh ($to_host_file_cmd, $to_host_path_cmd):
	New variables.
	(func_cygpath): New function.
	(func_init_to_host_path_cmd): New function.
	(func_to_host_path): Renamed to...
	(func_to_host_file): Refactored to... (now uses $to_host_file_cmd).
	(func_convert_core_file_wine_to_w32): Here. New function.
	(func_convert_core_msys_to_w32): Here. New function.
	(func_convert_file_check): Here. New function.
	(func_convert_file_noop): Here. New function.
	(func_convert_file_msys_to_w32): Here. New function.
	(func_convert_file_cygwin_to_w32): Here. New function.
	(func_convert_file_nix_to_w32): Here. New function.
	(func_convert_file_msys_to_cygwin): New function.
	(func_convert_file_nix_to_cygwin): New function.
	(func_to_host_pathlist): Renamed to...
	(func_to_host_path): Refactored to... (now uses $to_host_path_cmd
	and func_init_to_host_path_cmd).
	(func_convert_path_check): Here. New function.
	(func_convert_path_front_back_pathsep): Here. New function.
	(func_convert_core_path_wine_to_w32): Here. New function.
	(func_convert_path_noop): Here. New function.
	(func_convert_path_msys_to_w32): Here. New function.
	(func_convert_path_cygwin_to_w32): Here. New function.
	(func_convert_path_nix_to_w32): Here. New function.
	(func_convert_path_msys_to_cygwin): New function.
	(func_convert_path_nix_to_cygwin): New function.

2010-08-28  Ralf Wildenhues  <[email protected]>

	Fix symlist variable path to use _WIN32 instead of __WINDOWS__.
	* libltdl/config/ltmain.m4sh, libltdl/libltdl/lt_system.h,
	libltdl/m4/libtool.m4, tests/demo/foo.h, tests/pdemo/foo.h:
	Change __WINDOWS__ to _WIN32.
	Report by Charles Wilson.

	Add $pic_flag to archive_cmds and archive_expsym_cmds.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
	<archive_cmds, archive_expsym_cmds>
	[GNU ld, netbsd]: Add $pic_flag if ELF.
	[GNU ld, solaris]: Likewise.
	[GNU ld, default case]: Likewise.
	[!GNU ld, freebsd, dragonfly]: Add $pic_flag.
	[!GNU ld, GCC, hpux9]: Add $pic_flag.
	[!GNU ld, GCC, hpux10]: Replace -fPIC with $pic_flag
	[!GNU ld, GCC, hpux11, !hppa*64]: Replace -fPIC with $pic_flag.
	[!GNU ld, GCC, irix5, irix6, nonstopux]: Add $pic_flag.
	[!GNU ld, GCC, osf4, osf5]: Likewise.
	[!GNU ld, GCC, solaris]: Likewise.
	(_LT_LANG_CXX_CONFIG) <archive_cmds, archive_expsym_cmds>
	[hpux9]: Add $pic_flag if $GXX.
	[hpux10, hpux11, !hppa*64]: Replace -fPIC with $pic_flag.
	[irix5, irix6]: Add $pic_flag if $GXX.
	[osf4, osf5]: Likewise.
	[solaris]: Add $pic_flag if $GXX and not GCC 2.7.

	Uniform const'ness of symlist variable lt_preloaded_symbols.
	On some systems, lt_preloaded_symbols may not be declared
	const due to relocation issues.  C99 requires qualification to
	match for compatible declarations, so ensure we declare
	const'ness in the same way everywhere; link-time optimization
	may otherwise rightfully complain about inconsistencies.
	Since ltdl.h may not depend upon config.h, rely on system
	defines for choosing const'ness.
	* NEWS: Update.
	* doc/libtool.texi (Dlpreopening): Document this issue.
	* libltdl/config/ltmain.m4sh (func_generate_dlsyms):
	[__WINDOWS__, __CYGWIN__, _WIN32_WCE]: Define LT_DLSYM_CONST
	according to system defines.  Remove old shell cruft.  Use
	LT_DLSYM_CONST for lt_${my_prefix}_LTX_preloaded_symbols.
	* libltdl/libltdl/lt_system.h (LT_DLSYM_CONST): Likewise,
	define LT_DLSYM_CONST according to system defines.
	* tests/demo/foo.h (LT_DLSYM_CONST): Likewise.
	* tests/pdemo/foo.h (LT_DLSYM_CONST): Likewise.
	* tests/demo/dlmain.c (lt_dlsymlist): Use LT_DLSYM_CONST.
	* tests/pdemo/longer_file_name_dlmain.c (lt_dlsymlist):
	Likewise.
	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Likewise
	for configure test code.
	* libltdl/ltdl.c (preloaded_symbols): Use LT_DLSYM_CONST.
	* libltdl/ltdl.h (LTDL_SET_PRELOADED_SYMBOLS): Likewise.

2010-08-28  Dave Korn  <[email protected]>

	Ensure cwrapper magic string is not optimized away.
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src):
	Declare MAGIC_EXE as volatile.
	Report by Charles Wilson.

2010-08-28  Ralf Wildenhues  <[email protected]>

	Fix quoting in non-XSI func_xform, for IRIX sh.
	* libltdl/config/ltmain.m4sh (func_xform): Remove spurious extra
	M4 quotes.

	Fix response file test for unreliable exit status of IRIX ar.
	* libltdl/m4/libtool.m4 (_LT_PROG_AR): IRIX ar will not fail
	over a command-line argument specifying a nonexistent file (such
	as `@FILE'), so ensure failure with a reponse file containing
	a nonexistent file.  Also, use lt_* variable prefix for
	temporary variables.

	Fix AC_LANG_PROGRAM warnings from git Autoconf.
	* libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Fix
	underquoted AC_LANG_PROGRAM call.
	(LT_PROG_AR): Use AC_LANG_PROGRAM.
	(_LT_LINKER_SHLIBS) [irix, GCC]: Use the right source for the
	given language.
	* NEWS: Update.

2010-08-22  Ralf Wildenhues  <[email protected]>

	fix AIX testsuite regression
	* libltdl/config/ltmain.m4sh (func_resolve_sysroot): Partly
	revert v2.2.10-83-gc45a288: Do not absolutize path here, only do
	sysroot replacement.
	(func_mode_link): Adjust.

2010-08-22  Charles Wilson  <[email protected]>

	fix --mode=finish
	* libltdl/config/ltmain.m4sh (func_mode_finish): Invert then/else
	blocks of the "if $opt_dry_run" conditional.

2010-08-15  Paolo Bonzini  <[email protected]>

	improve code for sysroot --mode=finish
	* libltdl/config/ltmain.m4sh (func_mode_finish): Change sysroot_regex
	and sysroot_cmd delimiter from pipe to slash.  Wrap the entire for
	loop with "if $opt_dry_run...fi" and print an explanatory message
	for the --dry-run case.

2010-08-12  Paolo Bonzini  <[email protected]>

	add libtool --mode=finish mode for sysroot
	* doc/libtool.texi (Finish mode): Document behavior when *.la files
	are passed.
	* libltdl/config/ltmain.m4sh (func_mode_finish): Eliminate sysroot
	or `=' signs representing it from files in $libs.
	* tests/sysroot.at (SYSROOT_TESTS): Test for presence of sysroot
	references before running libtool --mode=finish, and for absence
	afterwards.

	reorganize parsing of --mode=finish arguments
	* libltdl/config/ltmain.m4sh (func_mode_finish): Split arguments for
	directories and *.la files.

	fix sysroot handling for deplibs of preopened libtool libs
	* libltdl/config/ltmain.m4sh: Pass $dependency_libs of preopened libtool
	through func_resolve_sysroot.

	fix sysroot tests to pass on Fedora 13
	* tests/sysroot.at: Link $prefix/include into the sysroot as well, as
	required by newer GCC.

2010-07-29  Paolo Bonzini  <[email protected]>

	initial version of the NEWS entry
	* NEWS: Document sysroot support.

	add sysroot test
	* Makefile.am (TESTSUITE_AT): Add tests/sysroot.at.
	* tests/sysroot.at: New.

	emit sysrooted paths when installing .la files
	* libltdl/config/ltmain.m4sh (func_replace_sysroot): New.
	(func_mode_link): Prepend paths in $libdir with the sysroot.  Further,
	replace the sysroot with = (using func_replace_sysroot) whenever
	such a path is written in a .la file.

	process postdeps to include sysrooted paths
	* libltdl/m4/libtool.m4 (_LT_FUNC_STRIPNAME_CNF): New (from Charles Wilson).
	(_LT_SYS_HIDDEN_LIBDEPS): Require it.  Use func_stripname_cnf to convert
	sysroot (-L= and -R=) usage in postdeps.  Adjust the code because -L, -R
	and -l flags will now always be separated from the rest of the argument.

	handle sysrooted paths when reading dependencies to la files
	* libltdl/config/ltmain.m4sh (func_mode_execute, func_mode_install,
	func_mode_link): Whenever a .la file occurs in another .la file,
	expand the sysroot path in it.

2010-07-28  Paolo Bonzini  <[email protected]>

	teach libtool -L= and -R=
	* libltdl/config/ltmain.m4sh (func_resolve_sysroot): New.
	(func_mode_link): Always pass result of stripping -L and -R to
	func_resolve_sysroot before using it.  Remove absolute path expansion
	when func_resolve_sysroot subsumes it.  Expand sysroot in -rpath.
	When processing dependent libraries also resolve sysroot paths there.

	add --with-sysroot
	* libltdl/m4/libtool.m4 (_LT_HOST_NONCANONICAL, _LT_WITH_SYSROOT): New.
	(LT_SETUP): Require _LT_WITH_SYSROOT.

	handle sysroot flags
	* libltdl/config/ltmain.m4sh (func_mode_link): Recognize --sysroot
	option.

2010-08-27  Ralf Wildenhues  <[email protected]>

	* NEWS: Only bootstrapping needs new Automake and Autoconf.

	check-interactive and check-noninteractive for both testsuites.
	* Makefile.am (COMMON_TESTS, TESTS): Split into ...
	(NONINTERACTIVE_TESTS, INTERACTIVE_TESTS): ... these new
	variables.
	(check-interactive-new): Rename from check-interactive.
	(check-noninteractive-new): Rename from check-noninteractive.
	(check-interactive-old, check-noninteractive-old): New targets.
	(check-interactive, check-noninteractive): Depend on the
	respective targets for the old and the new test suites.
	* doc/libtool.texi (Test descriptions): Simplify description
	about check-interactive and check-noninteractive.  Add index
	entries.

	Adjust docs for renaming and for parallel-tests.
	* README: Update example TESTS setting.
	* README.alpha: Likewise.
	* doc/libtool.texi (Test descriptions): Update for test renaming,
	adjust descriptions accordingly.

	Update VERBOSE handling for parallel-tests driver.
	* tests/defs.m4sh: Default to verbose output, drop now-unneeded
	handling of 'VERBOSE=no'.
	* README: Update example usage.
	* README.alpha: Likewise.
	* doc/libtool.texi (Test descriptions, When tests fail): Remove
	unneeded VERBOSE recommendations.  Point to per-test log files
	and test-suite.log summary file.

	Enable parallel-tests test driver for the old testsuite.
	* configure.ac: New configure test to find out whether `make'
	supports order-only prerequisites; set @ORDER@ accordingly.
	(AM_INIT_AUTOMAKE): Enable parallel-tests option.
	* tests/defs.m4sh (prefix): Derive install prefix for tests
	from the test name, to avoid clashes.
	* Makefile.am (CXX_TESTS, F77_TESTS, FC_TESTS, COMMON_TESTS):
	Reformat.  Adjust for renamed tests.  Add dependencies between
	the respective log files of the tests, to ensure proper ordering.
	Use order-only dependencies if possible, between test groups that
	use the same directory.
	(clean-local-legacy): Remove `_inst-*' directories as well.
	Prompted by suggestion from Bob Friesenhahn.

	New alias scripts for old tests run more than once.
	* tests/cdemo-shared-exec.test, tests/cdemo-shared-make.test,
	tests/cdemo-static-exec.test, tests/cdemo-static-make.test,
	tests/cdemo-undef-exec.test, tests/cdemo-undef-make.test,
	tests/demo-nofast-exec.test, tests/demo-nofast-inst.test,
	tests/demo-nofast-make.test, tests/demo-nofast-unst.test,
	tests/demo-nopic-exec.test, tests/demo-nopic-make.test,
	tests/demo-pic-exec.test, tests/demo-pic-make.test,
	tests/demo-shared-exec.test, tests/demo-shared-inst.test,
	tests/demo-shared-make.test, tests/demo-shared-unst.test,
	tests/demo-static-exec.test, tests/demo-static-inst.test,
	tests/demo-static-make.test, tests/demo-static-unst.test,
	tests/depdemo-nofast-exec.test, tests/depdemo-nofast-inst.test,
	tests/depdemo-nofast-make.test, tests/depdemo-nofast-unst.test,
	tests/depdemo-shared-exec.test, tests/depdemo-shared-inst.test,
	tests/depdemo-shared-make.test, tests/depdemo-shared-unst.test,
	tests/depdemo-static-exec.test, tests/depdemo-static-inst.test,
	tests/depdemo-static-make.test, tests/depdemo-static-unst.test,
	tests/f77demo-shared-exec.test, tests/f77demo-shared-make.test,
	tests/f77demo-static-exec.test, tests/f77demo-static-make.test,
	tests/fcdemo-shared-exec.test, tests/fcdemo-shared-make.test,
	tests/fcdemo-static-exec.test, tests/fcdemo-static-make.test,
	tests/mdemo-shared-exec.test, tests/mdemo-shared-inst.test,
	tests/mdemo-shared-make.test, tests/mdemo-shared-unst.test,
	tests/mdemo-static-exec.test, tests/mdemo-static-inst.test,
	tests/mdemo-static-make.test, tests/mdemo-static-unst.test,
	tests/tagdemo-shared-exec.test, tests/tagdemo-shared-make.test,
	tests/tagdemo-static-exec.test, tests/tagdemo-static-make.test,
	tests/tagdemo-undef-exec.test, tests/tagdemo-undef-make.test:
	New files.

	Require Automake 1.11.1 for Libtool, enable color-tests.
	* configure.ac (AM_INIT_AUTOMAKE): Require 1.11.1.  Enable
	color-tests.
	(LTDL_SUBDIR_LIBOBJS): Remove now-obsolete conditional and
	feature test for Autoconf 2.59 and Automake 1.9.x workaround.
	* Makefile.am: Simplify accordingly.
	* bootstrap: Remove obsolete WORKING_LIBOBJ_SUPPORT workarounds
	for Autoconf 2.59 and Automake 1.9.6.

2010-08-23  Charles Wilson  <[email protected]>

	Fix syntax for cygwin-cross
	libltdl/m4/argz.m4: Add quotes around variable, which
	may contain the multiword value 'guessing no'.

2010-08-22  Ralf Wildenhues  <[email protected]>

	configure: use Autobuild AB_INIT if available.
	* configure.ac: Call AB_INIT if it is defined, with
	$autobuild_mode as argument, to be set at configure time.
	Set AB_VERSION to the Libtool version string.
	* HACKING: Update.

	Fix getopt tests to skip with Autoconf < 2.61.
	* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Skip the test
	if 'autom4te --language=m4sh' exits 63 because version 2.61 is
	required.  Allows the testsuite to complete successfully with
	Autoconf 2.59 and Automake 1.9.6.

	Tidy and fix clean and distclean rules for old testsuite.
	* Makefile.am (clean-local-legacy): Use $(CONF_SUBDIRS) instead
	of hard-coding the list of test directories.  Use
	$(AM_MAKEFLAGS).
	(fake-distclean-legacy): New phony rule, to create fake Makefile
	files if needed so that the automake-generated
	distclean-recursive rule can work properly.
	(distclean_recursive): New helper variable.
	(distclean-recursive): Depend on fake-distclean-legacy.

2010-08-22  Paolo Bonzini  <[email protected]>

	Fix sed_make_literal_regex.
	* libltdl/config/general.m4sh (sed_make_literal_regex): Fix
	definition.

2010-08-15  Paolo Bonzini  <[email protected]>

	Factor the sed command used to make a regex from a literal.
	* libltdl/config/general.m4sh (sed_make_literal_regex): New.
	* libltdl/config/ltmain.m4sh
	(func_cygming_dll_for_implib_fallback_core): Use it.  Suggested
	by Ralf Wildenhues.

2010-08-21  Rainer Tammer <[email protected]>  (tiny change)

	Avoid issues with AIX resident shared libraries in old testsuite.
	* tests/defs.m4sh [aix]: Remove file mode permission for others,
	so shared libraries are not kept in memory after execution.
	Fixes failures of repeated mdemo-inst.test with on AIX 5.3.

2010-08-21  Ralf Wildenhues  <[email protected]>

	Skip part of versioning test on AIX.
	* tests/versioning.at (versioning): The AIX linker always
	records the unversioned library name, even with runtimelinking,
	so skip the execution test for the incompatibly upgraded
	library.
	Report by Rainer Tammer.

	Remove dead code from versioning test.
	* tests/versioning.at (versioning): No need to build unused
	prog3.

2010-08-20  Ralf Wildenhues  <[email protected]>

	Don't hide the table of contents in the manual.
	* doc/libtool.texi: Move the table of contents to the beginning.
	Prompted by patch from Bruno Haible against Automake.

	Remove superfluous dependency in Makefile.am.
	* Makefile.am (tests/demo-conf.test): Remove dependency on
	libtool, this test is a primary source and not generated.

	Bump copyright years in manual.
	* doc/libtool.texi: Bump copyright years.

2010-08-13  Peter Rosin  <[email protected]>

	Allow the use of a listing file if the archiver supports it.
	* libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): Move detection
	of a suitable archiver...
	(_LT_PROG_AR): ...to here. New macro, also detect if the
	archiver supports a listing file with the new variable
	archiver_list_spec.
	* libltdl/config/ltmain.m4sh: If the archiver supports a listing
	file, use it when max_cmd_len is exceeded.  This is needed for
	tool chains such as MSVC which do not support piece by piece
	linking (-r -o).
	* doc/libtool.texi (libtool script contents): Update with
	archiver_list_spec description.

2010-08-10  Gary V. Vaughan  <[email protected]>  (tiny change)

	Make testsuite compatible with Autoconf 2.62 again.
	* tests/getopt-m4sh.at (AT_CHECK): Autotest 2.62 chokes on unquoted
	'#' in AT_CHECK, so replace all uses with '@%:@' quadrigraph.
	Suggested by Eric Blake <[email protected]>
	Reported by Ralf Wildenhues <[email protected]>

2010-08-09  Ralf Wildenhues  <[email protected]>

	Fix more problematic code from "Add func_append_quoted and do..."
	* libltdl/config/ltmain.m4sh (func_mode_link): Revert back
	func_append instances that as assignments relied on the shell
	not performing word splitting on the right hand side of the
	assignment.

	Fix another typo on "Add func_append_quoted and do..."
	* libltdl/config/ltmain.m4sh (func_mode_link): Fix regression in
	computation of finalize_rpath introduced in v2.2.10-40-g0da7d80,
	fixing several testsuite failures on AIX.
	Report by Rainer Tammer.

2010-08-07  Ralf Wildenhues  <[email protected]>

	Avoid unwanted error message in configure output.
	* libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Try print
	in subshell, so eventual `print: not found' is hidden reliably.

	Fix compilation of program sources on AIX.
	* tests/lt_dlopenext.at (lt_dlopenext error messages): Do not
	use $LIBTOOL when compiling plain object, AIX by default does
	not enable static archives.
	* tests/ltdl-libdir.at (libdir of installed modules): Likewise.
	Report by Rainer Tammer.

	Do not call toplevel configure in non-VPATH build.
	* tests/deplibs-mingw.at (deplibs without file command): Use
	LT_AT_CONFIGURE for consistency, update comment about why it
	might fail.
	* tests/pic_flag.at (override pic_flag at configure time): Skip
	test if we are building in-tree.
	Report by Rainer Tammer.

	Allow running pic_flag test with different shell.
	* tests/testsuite.at (LT_AT_CONFIGURE): Accept optional second
	argument specifying the configure script to run.
	* tests/pic_flag.at (override pic_flag at configure time):
	Use LT_AT_CONFIGURE.

	Ensure not to reverse preserving of --debug for relinking/finish.
	* libltdl/config/ltmain.m4sh (func_check_version_match): Only
	preserve '--debug' switch if $opt_debug is not equal to ':'.
	* tests/help.at (debug tracing): New test group.
	Report by Rainer Tammer.

2010-08-06  Ralf Wildenhues  <[email protected]>

	Fix AC_NO_EXECUTABLES test failure on AIX.
	* libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Wrap link
	test in AC_CACHE_VAL, using cache variable $lt_cv_aix_libpath.
	* tests/no-executables.at (AC_NO_EXECUTABLES): Preset it, to
	avoid link test.
	Bug report by Rainer Tammer.

	Fix ltdl-libdir test for C++ compilers.
	* tests/ltdl-libdir.at (libdir of installed modules): Declare
	module function as extern "C".

2010-08-04  Ralf Wildenhues  <[email protected]>

	Let `libtool' without arguments point to `--help' again.
	* libltdl/config/ltmain.m4sh (func_check_version_match):
	Remove duplicate and wrong error check.
	* tests/help.at (standard command line options): Extend test.
	Report by Rainer Tammer.

	Avoid syntax error due to shift of nonexistent parameter.
	* libltdl/config/ltmain.m4sh <command-line handling>: Only shift
	if there is a positional parameter to shift.  Fixes `libtool
	--help' when dash is used.
	Report by Rainer Tammer.

	Fix testsuite errors due to shell quoted parameter expansion issue.
	* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Insert space
	between double-quoted and unquoted shell parameter, as bash
	4.0.28 doesn't add one in its output if the expansion of the
	second one starts with a space.
	(short option splitting, enhanced shell short option splitting)
	(long option splitting, XSI long option splitting): Add space in
	expected output.
	Fixes testsuite failures on AIX, FreeBSD, etc.
	Report by Rainer Tammer.

2010-08-03  Ralf Wildenhues  <[email protected]>

	Fix build failure with AIX sh due to shell quoting error.
	* libltdl/config/ltmain.m4sh (func_append_quoted): Document
	that this function inserts a separator space.
	(func_mode_compile): Do not pass extra space here.
	Fixes regression introduced in v2.2.10-49-gc13532a.
	Report by Rainer Tammer.

2010-08-02  Ralf Wildenhues  <[email protected]>

	Fix pic_flag test unportabilities.
	* tests/pic_flag.at (override pic_flag at configure time): Skip
	test if the compiler produces a warning containing `fpic'.
	Do not use nonportable `grep -e', for Solaris.
	Report by Charles Wilson.

2010-08-01  Paolo Bonzini  <[email protected]>

	Fix bug in postdeps computation
	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Actually
	concatenate $prev and $p.

2010-07-26  Charles Wilson  <[email protected]>

	Don't always skip XSI tests
	* tests/getopt-m4sh.at: Use new signature as implemented by
	de8a0992b21b76a13c302cf48588ad5f6042595c, when determining
	whether to test Extended-shell functions.

2010-07-18  Peter Rosin  <[email protected]>

	* tests/stresstest.at: Link with main.lo when liba is shared
	and linking main with -no-install.

2010-07-18  Peter Rosin  <[email protected]>

	* tests/stresstest.at [MSVC]: dllimport all imported
	variables.

2010-07-17  Peter Rosin  <[email protected]>

	dllimport the variable for MSVC in link-order.at
	* tests/link-order.at [MSVC]: Makes the test pass by dllimporting
	imported variables when working with shared libraries.

2010-07-08  Peter Rosin  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	Make preloading heed libname_spec.
	Fixes testsuite failure for lt_dladvise.at on MSYS/MSVC.
	* libltdl/ltdl.c (libprefix): New static variable describing
	the prefix of static archives.
	(try_dlopen): Use libprefix.
	* libltdl/m4/ltdl.m4 (_LTDL_SETUP): Export prefix of static
	archives to config.h. Also fix assignment of LTDLOPEN to be more
	efficient and less error prone while at it.

2010-07-08  Gary V. Vaughan  <[email protected]>

	Rename _LT_PROG_XSI_REPLACE macro to _LT_PROG_FUNCTION_REPLACE.
	* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Rename to
	_LT_PROG_REPLACE_SHELLFNS.
	(_LT_PROG_XSI_REPLACE): Rename to _LT_PROG_FUNCTION_REPLACE.
	(_LT_PROG_FUNCTION_REPLACE): Change decorator comment to use
	'Extended shell' rather than 'XSI' on successful replacement.
	* libltdl/config/general.m4sh (func_dirname, func_basename)
	(func_dirname_and_basename, func_stripname): Change decorator
	comment to use 'extended shell' rather than 'XSI' on fallback
	implementations.
	* libltdl/config/getopt.m4sh (func_split_short_opt)
	(func_split_long_opt): Ditto.
	* libltdl/config/ltmain.m4sh (func_append, func_append_quoted)
	(func_arith, func_len, func_lo2o, func_xform): Ditto.
	* tests/getopt-m4sh.at (_LT_AT_XSI_FUNC_EXTRACT): Rename to
	_LT_AT_EXTENDED_SHELL_FUNC_EXTRACT.
	(_LT_AT_EXTENDED_SHELL_FUNC_EXTRACT): Change regular expression to
	match new replacable function decorator comments.

2010-07-08  Peter Rosin  <[email protected]>

	Optimize assignment of output_la.
	* libltdl/config/ltmain.m4sh (func_mode_link): Save two fork/exec
	instances.
	Report by Ralf Wildenhues.

2010-07-08  Gary V. Vaughan  <[email protected]>

	Fix a cut-n-pasto in "2010-07-07 Charles Wilson" patch.
	* libltdl/config/ltmain.m4sh (func_mode_link): Remove spurious
	variable dereference.

2010-07-07  Gary V. Vaughan  <[email protected]>

	Tidy m4 comment header underline.
	* libltdl/m4/libtool.m4 (_LT_CHECK_SHAREDLIB_FROM_LINKLIB): Make
	sure hyphens in function name comment header underline line up.

2010-07-07  Charles Wilson  <[email protected]>

	[cygwin|mingw] fix dlpreopen with --disable-static
	* libltdl/config/general.m4sh (func_tr_sh): New function.
	* libltdl/config/ltmain.m4sh (func_generate_dlsyms) [cygwin|mingw]:
	Obtain DLL name corresponding to import library by using value
	stored in unique variable libfile_$(transliterated implib name).
	If that fails, use $sharedlib_from_linklib_cmd to extract DLL
	name from import library directly. Also, properly extract dlsyms
	from the import library.
	(func_mode_link) [cygwin|mingw]: Prefer to dlpreopen DLLs
	over static libs when both are available.  When dlpreopening
	DLLs, use linklib (that is, import lib) as dlpreopen file,
	rather than DLL. Store name of associated la file in
	unique variable libfile_$(transliterated implib name)
	for later use.
	(func_win32_libid): Accomodate pei-i386 import libs
	as well as pe-i386.
	(func_cygming_dll_for_implib): New function.
	(func_cygming_dll_for_implib_fallback): New function.
	(func_cygming_dll_for_implib_fallback_core): New function.
	(func_cygming_gnu_implib_p): New function.
	(func_cygming_ms_implib_p): New function.
	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Adjust sed
	expressions for lt_cv_sys_global_symbol_to_c_name_address and
	lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
	as trailing space after module name is optional.
	(_LT_LINKER_SHLIBS) [cygwin|mingw][C++]:
	Set exclude_expsyms correctly for $host. Simplify regular
	expression in export_symbols_cmds.
	(_LT_LINKER_SHLIBS) [cygwin|mingw|pw32][C]: Set exclude_expsyms
	correctly for $host. Enable export_symbols_cmds to identify
	DATA exports by _nm_ prefix.
	(_LT_CHECK_SHAREDLIB_FROM_LINKLIB): New macro sets
	sharedlib_from_linklib_cmd variable.
	(_LT_DECL_DLLTOOL): New macro ensures DLLTOOL is always set.

2010-07-05  Peter Rosin  <[email protected]>

	* tests/export.at [MSVC]: dllimport all imported variables.

2010-07-01  Ralf Wildenhues  <[email protected]>
	    Peter Rosin  <[email protected]>

	Support for response files with $NM.
	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS)
	<nm_file_list_spec>: New tag variable. Set it to '@' if input
	files can be passed to $NM in a file named with the '@' option.
	* libltdl/config/ltmain.m4sh (func_mode_link): When
	nm_file_list_spec is nonempty, use it to avoid skipped_export.
	* doc/libtool.texi (libtool script contents): Document
	new variable.

2010-07-04  Ralf Wildenhues  <[email protected]>

	Fix ccache test for MSVC.
	* tests/static.at (ccache -all-static): Ignore compiler stderr.
	Reported by Peter Rosin.

2010-07-03  Charles Wilson  <[email protected]>

	Avoid false failures caused by filesystem interaction
	* tests/dlloader-api.at (dlloader API): Use uglified names for
	pseudo-modules.

2010-07-03  Peter Rosin  <[email protected]>

	Fix typo in "Add func_append_quoted and do..."
	* libltdl/config/ltmain.m4sh (func_mode_compile): Use
	func_append_quoted instead of func_append.

2010-07-02  Peter Rosin  <[email protected]>

	Don't trigger file name expansion when embedding manifests.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
	[ cygwin, mingw, cegcc ] <cl*>: Remove all spaces in the
	case statement of postlink_cmds to make file name expansion
	more unlikely.
	(_LT_LANG_CXX_CONFIG): Likewise, but also add the missing |.

2010-07-01  Peter Rosin  <[email protected]>

	Fix regression caused by "Add func_append_quoted and do..."
	* libltdl/config/ltmain.m4sh (func_mode_link): Remove leftover
	"_libs" trash.

2010-06-28  Peter Rosin  <[email protected]>

	For MSVC, embed the manifest as a resource in the executable.
	Fixes a lot of testsuite failures with MSVC 2003 (v8.0) and
	above (and perhaps also MSVC .Net) related to running programs
	that have been moved (e.g. installed) without their manifests
	also having been moved.
	* libltdl/m4/libtool.m4 (_LT_PATH_MANIFEST_TOOL): New macro
	that locates the Manifest Tool (mt) and verifies that it is
	indeed the manifest tool. The result is stored in the new
	variable MANIFEST_TOOL.
	(_LT_LINKER_SHLIBS) <postlink_cmds>: New tag variable.
	[ cygwin, mingw, cegcc ] <cl*>: Embed the manifest file as a
	resource. Make sure the embedding work regardless of if the
	@OUTPUT@ file name includes a trailing $EXEEXT.
	(_LT_LANG_CXX_CONFIG): Likewise.
	(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Require the above
	_LT_PATH_MANIFEST_TOOL.
	* libltdl/config/ltmain.m4sh (func_mode_link): After linking
	a program, replace @OUTPUT@ in $postlink_cmds and then execute
	the commands.
	* doc/libtool.texi (libtool script contents): Document
	new postlink_cmds variable.
	(LT_INIT): Add that the MANIFEST_TOOL environment variable can
	be used to override the manifest tool to use.
	* tests/exeext.at: New. Make sure linking with both -o prog
	and -o prog$EXEEXT works.
	* Makefile.am (TESTSUITE_AT): Update.
	(TESTS_ENVIRONMENT): Propagate $(MANIFEST_TOOL) to the
	testsuite.
	* NEWS: Add note of the new MANIFEST_TOOL environment variable.

2010-06-24  Peter Rosin  <[email protected]>

	Add MSVC support.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
	(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [mingw, cygwin]: Add
	support for the Microsoft C/C++ Compiler (cl) relying on help
	from the compile script in Automake.
	* NEWS: Add note of the above.

2010-07-01  Gary V. Vaughan  <[email protected]>

	Skip `enhanced shell option appending' test when not available.
	* tests/getopt-m4sh.at [enhanced shell option appending]:
	_LT_AT_XSI_FUNC_EXTRACT will not be able to find the enhanced
	libtool func_append function if the replacement wasn't substituted
	by configure, since the decorator comments will be different - in
	that case simply skip the test.

2010-06-30  Gary V. Vaughan  <[email protected]>

	Add func_append test cases for smart and retarded implementations.
	* tests/getopt-m4sh.at (_LT_AT_FALLBACK_FUNC_EXTRACT): New
	macro to extract a fallback function implementation from
	ltmain.m4sh.
	[option appending]: Use it for a test of the fallback
	implementation of func_append.
	[enhanced shell option appending]: And also test the enhanced
	implementation.
	* libltdl/config/ltmain.m4sh (func_append_quoted): Fix missing \\
	to escape a quoted space for eval.
	* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Fix missing $ in
	dereference of func_append inline replacement for retarded
	shells.

2010-06-29  Gary V. Vaughan  <[email protected]>

	Correct func_split_short_opt comment cut-n-pasto.
	* libtool/config/getopt.m4sh (func_split_short_opt): Fix
	the function comment.

	Use a real XSI compliant func_split_short_opt substitution.
	* libtool/m4/libtool.m4 (_LT_CHECK_SHELL_FEATURES): Remove
	test ${foo:n:m} substrings, instead adding a ${foo%??} check
	to the existing XSI tests.
	(_LT_PROG_XSI_SHELLFNS): Remove the ${foo:n:m} based
	func_split_short_opt substitution in favour of a properly
	XSI compliant substitution.
	Suggested by Paolo Bonzini.

2010-06-28  Gary V. Vaughan  <[email protected]>

	Add func_append_quoted and do inline func_append substitutions.
	* libtool/config/ltmain.m4sh: Replace all occurrences of
	`foo="$foo bar"' with func_append. No decorator comment was
	added since /func_append [a-zA-Z0-9_]* "/ is already an
	excellent match regexp, and additional comments would only
	complicate things.
	(func_append_quoted): New function that quotes a value with
	func_quote_for_eval before appending it.  To avoid quoting the
	whitespace in the passed value, a single whitespace is added
	automatically.  Changed callers where possible.
	* libtool/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Perform a
	`+=' implementation substitution for func_append_quoted.  More
	importantly, systematically replace matching func_append calls
	with inline `+=' when supported (for maximum speed), and
	longhand `foo="$foo bar"' otherwise to avoid the function
	overhead.

	Add an XSI replacement for func_split_short_opt, with test cases.
	* libltdl/config/getopt.m4sh (m4go_shortnoargs): Remove 'v' now
	that getopt.m4sh doesn't steal that letter for the --version
	short option.
	* libltdl/config/ltmain.m4sh (M4SH_GETOPTS): We can now use 'v'
	as a short option for '--verbose'.
	* libltdl/config/getopt.m4sh (m4go_printopts): Add back in the
	leading '-' for remaining non-argument short options.
	(func_split_short_opt): Use the correct sed script variable.
	* libltdl/m4/libtool.m4 (_LT_CHECK_SHELL_FEATURES): Also ensure
	that XSI substring extraction is supported.
	(_LT_PROG_XSI_SHELLFNS): Use XSI substring extraction to split
	short options to avoid unnecessary forks if the host shell
	supports that.
	* tests/getopt-m4sh.at: New tests for getopt.m4sh coverage.
	* Makefile.am (TESTSUITE_AT): Add getopt-m4sh.at.
	(TESTS_ENVIRONMENT): Pass M4SH and SED for substition into the
	m4sh expansion performed in tests/getopt-m4sh.at.

2010-06-27  Gary V. Vaughan  <[email protected]>

	Add missing case branch terminators.
	* libltdl/config/ltmain.m4sh: Fixed everal case branches with
	missing ';;' terminators.

	Use TAB-SPACE in preference to SPACE-TAB.
	* libltdl/m4/libtool.m4 (_LT_PROG_XSI_REPLACE): Some editors
	might optimise away the SPACE in SPACE-TAB sequences, so use
	TAB-SPACE just in case.
	Reported by Ralf Wildenhues <[email protected]>

	Amend a missed opt_mode rename instance in ltmain.m4sh.
	* libltdl/config/ltmain.m4sh <mode>: Rename to opt_mode.

	Fix portability regressions in today's earlier changeset.
	* libltdl/m4/libtool.m4 (_LT_PROG_XSI_REPLACE): `sed -i' is not
	portable; use `mv -f ...|| cp -f ...' instead.
	Add an initial backslash to sed `c' substitutions with leading
	whitespace, so that indentation is not removed by some non-POSIX
	compliant sed implementations.
	(_LT_PROG_XSI_SHELLFNS): Display a diagnostic warning message if
	one or more XSI function replacements failed.

	getopt.m4sh generated libtool option parser, and XSI improvements.
	* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Moved portable
	shell versions of various utility functions from here...
	* libltdl/config/getopt.m4sh (func_split_long_opt): ...to here...
	* libltdl/config/general.m4sh (func_dirname, func_basename)
	(func_dirname_and_basename, func_strip_name): ...here...
	* libltdl/config/ltmain.m4sh (func_append, func_arith, func_len)
	(func_lo2o, func_xform): ...and here.
	* libltdl/config/libtool.m4 (_LT_PROG_XSI_REPLACE): New macro that
	expands into a sed command for replacing the contents of a
	suitably decorated shell function with an alternate XSI
	implementation.
	(_LT_PROG_XSI_SHELLFNS): Use it to replace the portable shell
	versions of the functions above with equivalent XSI
	implementations that avoid unnecessary forks if the host shell
	supports that.
	* libltdl/config/ltmain.m4sh: Replace hand written shell code
	with a call to M4SH_GETOPTS. Rename some option variables in
	the client code to match the generated option parser settings.
	* libltdl/config/general.m4sh (func_echo, func_error)
	(func_warning): Use $opt_mode instead of obsoleted $mode in
	message leader.
	* libltdl/config/getopt.m4sh (m4_version_prereq): This file
	requires m4sugar.m4 from Autoconf-2.61 or newer. 

2010-06-24  Charles Wilson  <[email protected]>

	[cygwin] Refactor C++ exception handling for Win32 correctness
	* tests/exception.at (common.h): New file, refactored from
	(module.h): Move declaration of modexc to libcommon.
	Include common.h. Use explicit import/export markings for
	symbols when building on win32 or cygwin.
	(common.cpp): New file.
	(module.cpp): Ensure correct symbols markings when including
	module.h.
	(lib.h): Use explicit import/export markings for symbols
	when building on win32 or cygwin.
	(lib.cpp): Ensure correct symbol markings when including lib.h.
	(main.cpp): Include common.h.
	(commands): Ensure correct symbol markings when compiling
	main.cpp, and lib.cpp, and module.cpp. Add command to compile
	common.cpp, and to link libcommon.la.  Add libcommon.la when
	linking module.la and main.  Add command to install libcommon.la.

2010-06-21  Gary V. Vaughan  <[email protected]>

	Ensure getopts.m4sh is compatible with Autoconf-2.61 and newer.
	* libltdl/config/getopt.m4sh (m4_chomp): Ensure this macro is
	implemented even if Autoconf's m4sugar.m4 doesn't provide it.
	(m4go_expand): New macro based on Autoconf-2.64 m4_expand. Use
	it everywhere incase m4sugar.m4 doesn't have an implementation.
	(m4_ifnblank): Replace all uses with m4_ifval, which was
	available long before m4_ifnblank was introduced.

2010-06-20  Ralf Wildenhues  <[email protected]>

	Fix clean mode for HP-UX 11.31 sh.
	* libltdl/config/ltmain.m4sh (func_mode_uninstall): Do not try
	to match a null string in a case pattern, even with surrounding
	spaces.  Fixes `lt_dlopenadvise library loading' test.

	Add comment for exception handling module unloading issue.
	* tests/exceptions.at (C++ exception handling): Add comment
	for last patch.

	Fix flags test failure when ld is used as linker.
	* tests/flags.at (passing CC flags through libtool): When $LD
	is used for linking libraries, ensure flags passed with `-Wc,'
	are not passed through to $LD, but flags passed with `-Wl,' use
	$wl when linking programs.  Fixed testsuite failure on HP-UX
	10.20.

2010-06-19  Charles Wilson  <[email protected]>

	[cygwin] Fix segfault in C++ exception handling test
	* tests/exceptions.at (main.cpp:exceptions_in_module):
	Move dlclose outside catch block; otherwise __cxa_end_catch
	(part of the cygwin g++ ABI) accesses pointers to data inside
	unloaded DLL. This is a platform ABI-specific bug, but is
	likely common to many platforms' g++ and/or other C++
	compilers.

2010-06-19  Ralf Wildenhues  <[email protected]>

	Fix srcdir computation for manual runs of old tests.
	* tests/defs.m4sh: Strip trailing `/tests' from srcdir, to allow
	`$srcdir/tests/FOO.test' to be run from the top build directory.

	Clean up @var handling in the manual.
	* doc/libtool.texi: Throughout the manual, replace @var with
	@samp or @code as appropriate, ensure the argument of remaining
	@var uses are lower-case.

	Let the bootstrap script fail upon errors.
	* bootstrap: Enable errexit.

	Fix execute mode test for OSF/1 5.1.
	* tests/execute-mode.at (execute mode): Do not use grep -F
	with an empty pattern.
	* THANKS: Update.
	Report by Jay K.

	Use config.cache variable for PIC flag, to allow override.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) <lt_prog_compiler_pic>:
	Save result, and allow override, through cache variable
	lt_cv_prog_compiler_pic{,_CXX,_F77,_FC}.  The cache variable
	needs to contain an eventual -DPIC.
	* tests/pic_flag.at (override pic_flag at configure time):
	New file, new test.
	* Makefile.am (TESTSUITE_AT): Update.
	* NEWS, THANKS: Update.
	Suggestion by Joakim Tjernlund and Paolo Bonzini.

2010-06-16  Ralf Wildenhues  <[email protected]>

	Optimize func_ltwrapper_scriptname to assume a cwrapper.
	* libltdl/config/ltmain.m4sh (func_ltwrapper_scriptname): Do not
	call func_ltwrapper_executable_p again here, this function is
	documented to allow being called with wrapper executables.

	Fix bootstrap script to cope with changed AC_INIT arguments.
	* bootstrap: When extracting PACKAGE and VERSION from AC_INIT
	arguments, be sure to remove a 'GNU ' prefix and lowercase the
	package name for PACKAGE.  Also set PACKAGE_NAME and PACKAGE_URL
	appropriately for GNU software.  Pass these variables to the
	make commands creating tests/package.m4 and other files.
	* Makefile.am (edit): Fix substitution of PACKAGE_NAME and
	PACKAGE_STRING.
	* libltdl/config/announce-gen.m4sh: Use @PACKAGE@ not
	@PACKAGE_STRING@.

2010-06-15  Peter Rosin  <[email protected]>

	On Windows, find potential libs regardless of file name case.
	* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD),
	libltdl/config/ltmain.m4sh (func_mode_link): On Windows,
	find potential libs regardless of file name case.
	* tests/nocase.at: New test, to check for regressions
	of the above.
	* Makefile.am: Add above new test.
	* doc/libtool.texi (libtool script contents): Document
	new variables.
	* NEWS: Updated.

2010-06-15  Philip Allison  <[email protected]>  (tiny change)

	Avoid GCC -Wall compiler warning in dlopen self test.
	* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Fix unused
	variable warning in test program.
	* THANKS: Update.

2010-06-15  Ralf Wildenhues  <[email protected]>

	Fix cleaning of uninstalled w32 shell wrapper in subdirs.
	* libltdl/config/ltmain.m4sh (func_mode_uninstall): Do not
	override global objdir variable, instead use odir for the
	directory of to-be-removed files.  Drop unneeded origobjdir.
	Report by Charles Wilson.

2010-06-14  Ralf Wildenhues  <[email protected]>

	Enable colored Autotest testsuite output if available.
	* tests/testsuite.at: Move AT_INIT call down to late in the
	file, all prior code can go beforehand.
	Call AT_COLOR_TESTS if defined.

2010-06-14  Peter O'Gorman  <[email protected]>

	Pass resident test with --disable-shared too.
	* tests/resident.at: use LTDL_SET_PRELOADED_SYMBOLS.

2010-06-13  Peter O'Gorman  <[email protected]>

	Test with --disable-shared at release time too.
	* HACKING: Note it.

	Avoid failure for --disable-shared.
	* tests/lt_dladvise.at: Hack.

	Use LTDL_SET_PRELOADED_SYMBOLS to avoid failure.
	* tests/exceptions.at: Use it.

2010-06-13  Ralf Wildenhues  <[email protected]>

	Print Libtool project URL in program --help output.
	* configure.ac (AC_INIT): Set PACKAGE argument to `GNU Libtool',
	so Autoconf knows this is GNU software.  For Autoconf < 2.64,
	if AC_PACKAGE_URL is not defined, substitute PACKAGE_URL.
	* Makefile.am (edit): Substitute PACKAGE_URL.
	($(srcdir)/tests/package.m4): Also depend on Makefile.am.
	Define AT_PACKAGE_URL, for `tests/testsuite --help' output.
	* libltdl/config/getopt.m4sh (func_help): Also extract comment
	lines that mention a home page and general GNU help.
	* libltdl/config/ltmain.m4sh: Use @PACKAGE_BUGREPORT@ instead of
	hard-coded list address.  Also mention Libtool home page and
	general GNU help web page.
	* libtoolize.m4sh: Likewise.

2010-06-12  Peter Rosin  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	Improve libdir usage from within ltdl on MinGW.
	* libltdl/ltdl.c (parse_dotla_file) [__WINDOWS__]: Read the
	libdir entry in the .la file, but accept it only if it is not
	a unix-style absolute name.
	* tests/ltdl-libdir.at: New test that checks if ltdl finds an
	installed module via the libdir variable in the .la file.  On
	MinGW, use a Windows-style libdir name including drive spec.
	* Makefile.am: Add above.

2010-06-11  Peter O'Gorman  <[email protected]>

	Skip bindir install test if we're not building shared.
	* tests/bindir.at: Skip install test if necessary.
	* THANKS: Update.
	Report by Michael E Faenza.

2010-06-11  Gary V. Vaughan  <[email protected]>

	Use getopt.m4sh to generate libtoolize option parser.
	* libtoolize.m4sh: Replace hand written shell code with a
	call to M4SH_GETOPTS.  Move some premature initialization
	from the preamble to the main part of the script.  Exit with
	an error on spurious additional non-option arguments.
	(envopts): Integrate LIBTOOLIZE_OPTIONS pre-parsing into the
	main option parsing loop.
	(opt_copy): Use in place of and in the reverse sense of the
	old opt_link variable.

2010-06-10  Peter O'Gorman  <[email protected]>

	Create reloadable object files with non-pic objects too.
	* libltdl/config/ltmain.m4sh: When not building a shared
	library, use the non-pic objects to create a reloadable
	object, because pic objects do not exist.

2010-06-10  Ralf Wildenhues  <[email protected]>

	Ensure libltdl is up to date for check-local.
	* Makefile.am (LTDL_BOOTSTRAP_DEPS): New variable.
	(all-local): Use it to simplify dependencies.
	(testsuite_deps_uninstalled): Add $(LTDL_BOOTSTRAP_DEPS).
	Report by Peter Rosin.

2010-06-10  Gary V. Vaughan  <[email protected]>

	Support shell tracing inside functions even with ksh.
	* libltdl/config/getopt.m4sh: Set $opt_debug to be either `:'
	or `set -x' depending on whether --debug was parsed to match
	usage in libtoolize.m4sh and ltmain.m4sh.
	* clcommit.m4sh, libltdl/config/announce-gen.sh: Instead of
	`$opt_debug && ...', use `test "$opt_debug" != ":" && ...'.
	* clcommit.m4sh, libltdl/config/announce-gen.m4sh,
	libltdl/config/getopt.m4sh, libltdl/connfig/mailnotify.m4sh:
	Execute at the start of functions to cater to ksh, which
	resets `-x' inside shell functions.

	Fix a typu in HACKING.
	* HACKING (Release Procedure): s/Makeflie/Makefile/.

2010-06-09  Ralf Wildenhues  <[email protected]>

	Factorize testing gcj installation in the testsuite.
	* tests/testsuite.at (LT_AT_TAG): For the GCJ tag, actually
	try to compile a .java file when deciding whether to skip.
	(LT_AT_EXEC_TAG): New macro, to also ensure runnability.
	* tests/convenience.at (Java convenience archives): Use
	LT_AT_EXEC_TAG, simplify accordingly.
	* tests/flags.at (passing lt_tag flags through libtool): Use
	m4_defn for tag so LT_AT_TAG works.
	* tests/infer-tag.at (GCJ inferred tag): Simplify.
	* THANKS: Update.
	Report by Warren Dodge.

2010-06-09  Peter O'Gorman  <[email protected]>

	Skip demo-nopic tests if SELinux policy will cause failure.
	* tests/demo-nopic.test: Check SELinux policy and skip if
	necessary.

2010-06-09  Gary V. Vaughan  <[email protected]>

	Set SCM version number to 2.2.11a.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.2.11a.
	* NEWS: Updated.

	GNU Libtool 2.2.10 was released.

	Prepare for next release.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version number
	to 2.2.10.
	* NEWS: Update version number.

	Fix a quoting bug with ./commit -a 'A U Thor'.
	* clcommit.m4sh (func_commit): Use func_show_eval when calling
	git, so that the previously func_quote_for_eval()ed $git_flags is
	expanded properly.

2009-09-15  Peter Rosin  <[email protected]>

	Don't try the MSYS libdir path on MinGW.
	* libltdl/ltdl.c (parse_dotla_file) [mingw]: The absolute
	libdir path in the .la file is recorded as an MSYS (POSIX
	style) path. Make sure it isn't tried when locating the
	shared library.
	* NEWS: Updated.

2010-06-09  Gary V. Vaughan  <[email protected]>

	Simplify license variations, and add missing license texts.
	* ChangeLog, ChangeLog.1996, ChangeLog.1997, ChangeLog.1998,
	ChangeLog.1999, ChangeLog.2000, ChangeLog.2001, ChangeLog.2002,
	ChangeLog.2003, ChangeLog.2004, ChangeLog.2005, ChangeLog.2006,
	ChangeLog.2007, ChangeLog.2008, ChangeLog.2009, NEWS: Add
	all-permissive license.
	* HACKING, README, README.alpha, TODO: Relax license to RMS
	encouraged all-permissive terms.
	* libltdl/README: Ditto. I added the original license text in
	2007, and there's no need for it to be so long for such a trivial
	file.
	* libltdl/config/getopt.m4sh, libltdl/general.m4sh: Cvs-utils is
	dead, and I am the author of these files, so consolidated license
	terms to match regular Libtool licensing.
	* HACKING (Licensing Rules): Update wording, and list of files for
	the all permissive license.
	(GPL with CVS-Utils exception clause): Removed.  No files have these 
	license any more.
	(GPL with Libtool exception clause): Ditto, only libltdl/README
	used to be distributed with this variation.
	* AUTHORS: Add GPL license text.
	
	Fix a type in the 2.2.8 release notes.
	* NEWS: s/ romoted/ promoted/ in the 2.2.8 release notes.

	Don't warn about the blank line inserted into git commit message.
	* clcommit.m4sh: When searching for accidental commits of mutliple
	changes, ignore the second line of the message, which we inserted
	earlier to support "git log --oneline".

	Enable correct extraction of multiline copyright from --version.
	* libltdl/config/getopt.m4sh: Wrap copyright notice at 76
	columns.
	(func_version): Don't omit spaces when merging multiline copyright
	notices.
	* clcommit.m4sh, libtoolize.m4sh: Wrap copyright notice at 76
	columns.

	* NEWS (2.2.8): BlueGene compiler tests were performed on BG/P
	systems, not BG/L.
	Reported by Christian Rössel <[email protected]>

2010-06-08  Ralf Wildenhues  <[email protected]>

	Fix testsuite helper macros to not hide failure.
	* tests/testsuite.at (LT_AT_CONFIGURE, LT_AT_MAKE):
	Do not wrap AT_CHECK in a subshell, so that failures are
	properly propagated; instead, move environment changes inside
	the AT_CHECK code.
	Report and analysis by Peter Rosin.

	Avoid autom4te warning about unnamed diversion.
	* libltdl/config/getopt.m4sh: Use diversion name KILL not -1.

2010-06-07  Ralf Wildenhues  <[email protected]>

	Make versioning test stricter for w32, enable shared libs.
	* tests/versioning.at (versioning): Add -no-undefined to
	LDFLAGS.
	(test_uninstalled): Also move $bindir out of the way
	temporarily.

	Fix versioning test for LDFLAGS=-Wl,--as-needed.
	* tests/versioning.at (versioning): For the library update
	hypotheses, ensure the unchanged library libb isn't accidentally
	relinked against the new liba, by not reinstalling libb.
	Fixes testsuite failure for the incompatible update case with
	LDFLAGS=-Wl,--as-needed.
	* THANKS: Update.
	Report by Ryan Hill.

2010-06-06  Ralf Wildenhues  <[email protected]>

	Rewrite manual intro to be gender-neutral.
	* doc/libtool.texi (Introduction): Use gender-neutral
	formulation when addressing developers.

2010-06-05  Gary V. Vaughan  <[email protected]>

	Update and simplify all m4sh scripts to use latest getopt.m4sh.
	* clcommit.m4sh, libltdl/config/mailnotify.m4sh: Rewrite option
	parsing loop over M4SH_GETOPTS macro, and adjust all clients of
	option variables to use generated option names.

	Add missing quote for literal ? in a shell case statement.
	* libltdl/config/getopt.m4sh (m4go_shortnoargs): Quote initial ?
	correctly for use in a shell case statement.

	Quote command line arguments after --rcfile properly.
	* libltdl/config/announce-gen.m4sh (--rcfile): Quote remaining
	arguments shell variable expression correctly for eval.
	
	Shift correctly in numbered option argument collection.
	* libltdl/config/getopt.m4sh (_m4go_option): Argument list also
	needs to be `shift'ed in the shell option loop after processing a
	numbered argument collection.

	Fetch from new upstream host for config.guess and config.sub.
	* Makefile.maint (WGET_CGIT): Location of newest config.guess and
	config.sub upstream.
	(fetch): Fetch config.guess and config.sub from WGET_CGIT, rather
	than no-longer-updating WGET_SGO location.

	Update generated upload directive file format to v1.1.
	* Makefile.maint (git-dist, diffs): Update to generate v1.1 format
	directive files for ftp://ftp-upload.gnu.org/incoming/ftp.

	Fix web manual generation details in release instructions.
	* HACKING (Release Procedure): Move the instruction for generating
	web manuals for a new release to before the instruction that bumps
	the version numbers to the post release values.

	Set SCM version number to 2.2.9a.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.2.9a.
	* NEWS: Updated.

	GNU Libtool 2.2.8 was released.

	Prepare for next release.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.2.8.
	* NEWS: Update version number.
	* INSTALL, libltdl/config/install-sh, libltdl/config/config.guess,
	libltdl/config/config.sub, libltdl/config/texinfo.tex: Updated
	from canonical source.

	Provide an m4sh reimplementation of announce-gen.
	* libltdl/config/getopt.m4sh (M4SH_GETOPTS): New macro that takes
	a quoted m4 list of command line options to be parsed, and
	generates the shell code to parse those options and collect the
	results into appropriately named 'opt_xxx' shell variables.  Also,
	add some private supporting macros, and improve the comments
	radically.
	* libltdl/config/announce-gen.m4sh: New file, to generate and
	optionally post (an enhancement over the gnulib perl script of the
	same name) a release announcement.
	* Makefile.maint (announce-gen): Build a new announce-gen script
	in the build directory, from the contents of
	libltdl/config/announce-gen.m4sh.
	* HACKING (Release Procedure): Update the instructions to use
	announce-gen.
	(Alpha release note template, Full release note template):
	Removed.

2010-05-22  Gary V. Vaughan  <[email protected]>

	Support "git log --oneline" in generated commit messages.
	* clcommit.m4sh (func_check_commit_msg): Insert an empty line
	between the ChangeLog entry summary line and the ChangeLog entry
	body, so that "git log --oneline" works properly.
	Bump copyright and version number.
	Reported by Ralf Wildenhues <[email protected]>

2010-05-22  Ralf Wildenhues  <[email protected]>

	* HACKING: Set Reply-To: in announcement emails.

2010-05-21  Gary V. Vaughan  <[email protected]>

	Set SCM version number to 2.2.7c.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.2.7c.
	* NEWS: Updated.

	GNU Libtool 2.2.7b  was released.

	Prepare for next release candidate.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.2.7b.
	* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
	libltdl/m4/ltoptions.m4, libltdl/m4/lt~obsolete.m4: These files
	have been updated without a serial bump since the last release.
	* libltdl/Makefile.inc (LTDL_VERSION_INFO): Bump Revision, to
	account for bugfixes since the last release.
	* libltdl/config/install-sh, libltdl/config/config.guess,
	libltdl/config/config.sub, libltdl/config/texinfo.tex,
	INSTALL: Updated from canonical source.
	* NEWS: Update with missing entries from ChangeLog.
	* HACKING: Note workaround for developer tool-path leakage bug.

	Skip some tests in --disable-ltdl-install mode.
	* tests/dlloader-api.at, tests/exceptions.at,
	tests/lalib-syntax.at, tests/loadlibrary.at,
	tests/lt_dlopenext.at, tests/resident.at: Detect when these
	tests try to link against the not installed libltdl.la, and
	skip rather than FAIL.

2010-05-05  Peter Rosin  <[email protected]>

	Clarify versioning algorithm documentation.
	* doc/libtool.texi (Updating version info): Be explicit
	about setting age to zero on interface change.
	Reported by Jef Driesen <[email protected]>

2010-05-04  Peter O'Gorman  <[email protected]>

	Ranlib is required with -force_load and fat archives.
	* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Run
	ranlib.
	Reported by Jeremy Huddleston <[email protected]>

2010-04-09  Ralf Wildenhues  <[email protected]>

	Fix incompatible struct declarations.
	* doc/libtool.texi (Dlpreopening): Remove broken documentation
	of lt_dlsymbol and lt_dlsymlist.  Document typedef lt_dlsymlist
	and symbol lt_preloaded_symbols according to the implementation.
	* tests/demo/dlmain.c (lt_symlist): Make struct anonymous ...
	(lt_dlsymlist): ... and typedef to this name.
	(lt_preloaded_symbols, main): Adjust.
	* tests/pdemo/longer_file_name_dlmain.c: Likewise.

2010-04-04  Ralf Wildenhues  <[email protected]>

	Use linker_flags not compiler_flags with $LD.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]
	<archive_cmds, archive_expsym_cmds>: With xlf and bgxlf
	compilers, when linking with $LD, use $linker_flags not
	$compiler_flags.

2010-03-31  Ralf Wildenhues  <[email protected]>

	Add FAQ, and FAQ entry for flags stripped at library link time.
	* doc/libtool.texi (FAQ, Stripped link flags): New nodes.
	(Wrapper executables): Replace bug address with macro.
	(Compile mode, Link mode): Document `-Wc,' and `-Xcompiler '
	semantics better.
	* libltdl/config/ltmain.m4sh (func_mode_link): Rewrite comment
	for the flags that are passed through.
	Prompted by reports from Simon Richter <[email protected]>,
	Török Edwin <[email protected]> and
	Åke Sandgren <[email protected]>.

2010-03-28  Ralf Wildenhues  <[email protected]>

	Fix preloader symbol list declaration in libltdl.
	* libltdl/ltdl.c (preloaded_symbols): Fix declaration to include
	array brackets.
	(lt_dlinit): Do not take address of preloaded_symbols.

	Fix typo in libtool --help output.
	* libltdl/config/ltmain.m4sh (func_mode_help): Fix typo in help
	output.

	Fix a couple of documentation errors.
	* doc/libtool.texi (Autoconf macros): Improve hyphenation.
	(Using libltdl): libltdl uses the Lesser General Public License,
	not the Library General Public License.

	Do not use @sc nor @acronym in the manual.
	* doc/libtool.texi: Remove all usage of @sc.

2010-03-19  Chris Demetriou  <[email protected]>

	Sort output of 'find' to enable deterministic builds.
	* libltdl/config/ltmain.m4sh (func_extract_archives): Sort
	output of 'find'.
	* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Likewise.
	* THANKS: Update.

2010-03-19  Ralf Wildenhues  <[email protected]>

	Unconditionally normalize LC_ALL, LANGUAGE in libtool script.
	* libltdl/config/ltmain.m4sh: Unconditionally set LC_ALL and
	LANGUAGE to 'C', to avoid semantic differences on MinGW under
	Chines locale.  SCO issues with e.g. LANG=C are not known to
	be relevant today any more.
	Report by Pete Batard <[email protected]> and Xiaofan Chen
	<[email protected]>.

2010-03-17  Peter Rosin  <[email protected]>

	Preserve the last error when restoring the error mode.
	* libltdl/loaders/loadlibrary.c (wm_open): Don't rely on
	SetThreadErrorMode (or SetErrorMode) to not clobber the last
	error.
	Report by Ralf Wildenhues.

	Use Get/SetThreadErrorMode if they are available.
	* libltdl/loaders/loadlibrary.c (wrap_geterrormode): Replaced...
	(wrap_getthreaderrormode): ...by this function that checks
	first for GetThreadErrorMode, then GetErrorMode and makes use
	of either of those or...
	(fallback_getthreaderrormode): ...else falls back to this
	replacement function that implements the old workaround, which
	was previously implemented in...
	(fallback_geterrormode): ...this now renamed function.
	(geterrormode): Replaced...
	(getthreaderrormode): ...by this function pointer that points
	at either of wrap_getthreaderrormode, GetThreadErrorMode,
	GetErrorMode or fallback_getthreaderrormode.
	(wrap_setthreaderrormode): New function that checks if
	SetThreadErrorMode is supported by the system and makes use of
	it if it is.
	(fallback_setthreaderrormode): New function that is used
	otherwise that implements the old version using SetErrorMode.
	(setthreaderrormode): New function pointer that points at
	either of wrap_setthreaderrormode, SetThreadErrorMode or
	fallback_setthreaderrormode.
	(vm_open): Adjust to the above.

2010-02-28  Ralf Wildenhues  <[email protected]>

	Detect Sun compiler suite with 'sun'-prefixed names.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG)
	(_LT_SYS_HIDDEN_LIBDEPS) [solaris]: Accept compiler names sunCC,
	sunf77, sunf90, sunf95 in addition to CC, f77, f90, f95.
	* NEWS: Update.
	Report by Vadim Zeitlin.

2010-02-28  Pierre Ossman  <[email protected]>  (tiny change)
	    Ralf Wildenhues <[email protected]>

	Fix deplibs check fallback for 64-bit Windows and Windows CE.
	* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Accept file formats
	'pe-arm-wince' and 'pe-x86-64'.  Add note about consistency with ...
	* libltdl/config/ltmain.m4sh (func_win32_libid): ... the respective
	pattern here; sync pattern from the former.
	* tests/deplibs-mingw.at (deplibs without file command): New
	file, new test.
	* Makefile.am (TESTSUITE_AT): Update.
	* NEWS: Update.

2010-02-24  Scott McCreary  <[email protected]>  (tiny change)

	Update search path on Haiku for legacy system directory.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [haiku]
	<sys_lib_dlsearch_path_spec>: Replace legacy
	/boot/beos/system/lib directory with /boot/system/lib.
	* THANKS: Update.

2010-02-22  Ralf Wildenhues  <[email protected]>

	manual: fix detailmenu ordering.
	* doc/libtool.texi (Top): Add section for `Linking executables'
	in the detailmenu.

2010-02-21  Charles Wilson <[email protected]>

	Guard against strerror()==NULL
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main):
	Check return value of strerror() using nonnull().
	(func_emit_cwrapperexe_src:find_executable): Ditto.
	(func_emit_cwrapperexe_src:chase_symlinks): Ditto.

2010-02-21  Charles Wilson <[email protected]>

	Document wrapper changes.
	* NEWS: Indicate new feature and incompatibility.
	* doc/libtool.texi [detailmenu]: Add reference to subsection
	'Wrapper executables for programs', in Platform Quirks category.
	[Linking executables]: Mention wrapper executables, in
	addition to wrapper scripts. Add menu referencing subsection
	'Wrapper executables for programs'.
	[Wrapper executables for programs]: New subsection. Documents
	cwrapper rationale and command line options.

2010-02-21  Charles Wilson <[email protected]>

	Add --lt-* options to shell wrapper
	* libltdl/config/ltmain.m4sh (func_emit_wrapper): Call
	func_parse_lt_options early. Use func_exec_program.
	(func_emit_wrapper:func_parse_lt_options): New function.
	(func_emit_wrapper:func_lt_dump_args): New function.
	(func_emit_wrapper:func_exec_program_core): New function.
	(func_emit_wrapper:func_exec_program): New function.

2010-02-21  Charles Wilson <[email protected]>

	Enable runtime cwrapper debugging; add tests
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src):
	Update comments. Initialize program_name. Eliminate _LENGTH
	variables for string constants. In debug mode, print a
	banner with known content before any other output. Remove
	LTWRAPPER_DEBUGPRINTF macro. Add constants and variables
	to support new --lt-debug option.
	(func_emit_cwrapperexe_src:ltwrapper_debugprintf): Renamed to...
	(func_emit_cwrapperexe_src:lt_debugprintf): this. Only print
	messages if lt_debug != 0. Ensure appearance of messages
	conforms to GCS.
	(func_emit_cwrapperexe_src:lt_fatal): Ditto.
	(func_emit_cwrapperexe_src:lt_error_core): Ditto.
	(func_emit_cwrapperexe_src): Update all callers to lt_fatal.
	Update all users of LTWRAPPER_DEBUGPRINTF (()) to call
	lt_debugprintf () directly.
	(func_emit_cwrapperexe_src:main): Consolidate option parsing.
	Ensure first use of lt_debugprintf occurs after option parsing.
	Add stanza to parse for --lt-debug and set lt_debug variable.
	Use strcmp rather than strncmp, where safe.
	* tests/cwrapper.at: Add new tests for --lt-debug and
	-DLT_DEBUGWRAPPER.

2010-01-31  Ralf Wildenhues  <[email protected]>

	Use --email with gendocs.sh.
	* Makefile.maint (web-manual): Pass bug reporting address to
	gendocs.sh.

	Make testsuite code C++ clean again.
	* tests/resident.at (resident modules): Fix for C++.

2010-01-29  Peter Rosin  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	Testsuite exposure for dlloader API.
	* tests/dlloader-api.at: New file, new test.
	* Makefile.am (TESTSUITE_AT): Update.

2010-01-29  Peter Rosin  <[email protected]>

	* tests/loadlibrary.at: Fix C++ issues.

2010-01-20  Peter Rosin  <[email protected]>

	Report proper errors from the loadlibrary loader.
	* libltdl/loaders/loadlibrary.c (loadlibraryerror): New
	helper function that returns the latest Windows error as a
	string, or the provided default string on failure to do so.
	(LOADLIB_SETERROR): New macro that wraps previous to make it
	easy to use.
	(vm_open, vm_close, vm_sym): Make use of previous.
	(LOCALFREE): New macro to help free the Windows error string.
	(vl_exit): Make use of previous.
	* tests/loadlibarry.at: New file, new test that makes sure
	the loadlibrary loader reports non-standard error messages.
	* Makefile.am (TESTSUITE_AT): Add above test.

2010-01-02  Peter Rosin  <[email protected]>

	Use GetErrorMode if it is available.
	* libltdl/loaders/loadlibrary.c (wrap_geterrormode): New
	function that checks if GetErrorMode is supported by the
	system and makes use of it if it is.
	(fallback_geterrormode): New function that is used otherwise
	that implements the old workaround.
	(geterrormode): New function pointer that points at either
	of the above or directly at GetErrorMode.
	(vm_open): Make use of the above.

2010-01-11  Ralf Wildenhues  <[email protected]>

	Ensure functions from resident modules work in atexit handlers.
	* tests/resident.at (resident modules): New file, new test.
	* Makefile.am (TESTSUITE_AT): Adjust.
	Report by Bob Friesenhahn.

	Testsuite exposure for relative output file names and deplibs.
	* tests/deplib-in-subdir.at (deplib in subdir): New file, new
	test.
	* Makefile.am (TESTSUITE_AT): Update.
	Prompted by report from Bob Friesenhahn.

2010-01-11  Ralf Wildenhues  <[email protected]>
	    Bob Friesenhahn  <[email protected]>

	Testsuite exposure for C++ exception handling.
	* tests/exceptions.at (C++ exception handling): New file, new
	test.
	* Makefile.am (TESTSUITE_AT): Update.
	Report by Bob Friesenhahn.

2010-01-06  Ralf Wildenhues  <[email protected]>

	Bump copyright years.
	* ChangeLog.2009: New, rotated from ...
	* ChangeLog: ... here.
	* Makefile.am (EXTRA_DIST): Add ChangeLog.2009.
	* NEWS, libltdl/config/ltmain.m4sh: Bump copyright years.
	* libltdl/m4/libtool.m4 (_LT_COPYING, LT_OUTPUT): Likewise.
	* libtoolize.m4sh: Likewise.

2009-12-30  Peter Rosin  <[email protected]>

	* libltdl/ltdl.c (lt_dlerror): Remove meaningless conditional.

2009-12-29  Peter Rosin  <[email protected]>

	* libltdl/ltdl.c (file_not_found): Fix typos in code comment.

2009-12-12  Ralf Wildenhues  <[email protected]>

	Replace last __oline__ instance.
	* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Replace last
	__oline__ instance with $LINENO.

2009-12-09  Ralf Wildenhues  <[email protected]>

	Improve parsing of .la files in libltdl.
	* libltdl/ltdl.c (trim): Do not dump core upon missing quote in
	module .la file.
	* tests/lalib-syntax.at (syntax of .la files): New file, new
	test.
	* Makefile.am (TESTSUITE_AT): Add tests/lalib-syntax.at.
	Report by Bob Friesenhahn.

2009-12-05  Ralf Wildenhues  <[email protected]>

	Sane fallback initialization of $ECHO from $as_echo.
	* libltdl/config/general.m4sh: Use 'printf %s\n' if $as_echo is
	unset.
	* tests/testsuite.at: Likewise.
	* THANKS: Update.
	Report by Vadim Zeitlin and Peter Rosin.

2009-12-02  Ralf Wildenhues  <[email protected]>

	lt_dlloader_remove and lt_dlloader_find accept const arguments.
	* libltdl/lt_dlloader.c (lt_dlloader_remove, lt_dlloader_find):
	Accept `const char *' arguments, as documented.  Cast them to
	`void *' for the slist machinery.
	* libltdl/libltdl/lt_dlloader.h: Adjust prototypes.

	Test and fix slist.c.
	* libltdl/libltdl/slist.h: Include stddef.h, for size_t.
	(slist_remove): Return pointer to SList, not void.
	* libltdl/slist.c: Include stdlib.h, for malloc and free.
	(slist_remove): Adjust prototype as above.
	(slist_sort): Do not loop forever on one-item list.
	* tests/slist.at (SList functionality): New file, new test.
	* Makefile.am (TESTSUITE_AT): Add tests/slist.at.

2009-11-30  Peter Rosin  <[email protected]>

	Please C++ compilers when calling strrchr.
	* libltdl/ltdl.c (has_library_ext): Match the return type of
	strrchr with the first argument to please C++ compilers.
	Report by Peter O'Gorman.

2009-11-29  Ralf Wildenhues  <[email protected]>

	Fix bindir and dlopen tests for C++ compilers (CC=g++).
	* tests/bindir.at (bindir basic lib test, bindir install tests):
	Include stdlib.h rather than declaring abort.
	* tests/lt_dlopenext.at (lt_dlopenext error messages): Use
	`extern "C"' annotation for dlsym'ed function in C++ mode.

2009-11-25  Peter Rosin  <[email protected]>

	Fix cross build issue in execute mode test.
	* tests/execute-mode.at: Skip test for cross builds.

2009-11-24  Ralf Wildenhues  <[email protected]>

	Enable symbol versioning with the GNU gold linker.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Accept 'GNU gold'
	in the version string.
	* NEWS, THANKS: Update.
	Report by Peter Fritzsche.

	Tighten regex for Portland C++ compiler for version 10.
	* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [linux]:
	Match a dot after version 1 through 5, so 10 and up don't match,
	and use weak symbols.
	* THANKS: Update.
	Report by Jeff Squyres and Brent Leback.

2009-11-16  Peter O'Gorman  <[email protected]>

	Update libltdl version to match 2.2.6b release.
	* libltdl/Makefile.inc: Make version 9:1:2

2009-11-14  Bob Friesenhahn  <[email protected]>

	Don't load module.la from current directory by default.
	* libltdl/ltdl.c (try_dlopen): Do not attempt to load an
	unqualified module.la file from the current directory (by
	default) since doing so is insecure and is not compliant with
	the documentation.
	* tests/testsuite.at: Qualify access to module.la file in
	current directory so that test passes.

2009-11-14  Peter O'Gorman  <[email protected]>

	Only use preopen loader to load preopened archives
	* libltdl/ltdl.c: Limit checking of .a to preopen loader.
	* tests/lt_dlopen_a.at: Add test.
	* Makefile.am: Add test.

2009-11-14  Ralf Wildenhues  <[email protected]>

	Recognize `pgfortran' as Portland compiler.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS):
	Accept `pgfortran*' too.
	Report by Jeff Squyres.

2009-11-04  Alexandre Oliva  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	Fix verbose link extraction for multiply reconfigured GCC.
	* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG)
	<output_verbose_link_cmd>: Drop GCC lines "Configured with" that
	may contain unrelated flags.

2009-11-02  Eric Blake  <[email protected]>

	Allow gcc builds with -Wall -Werror.
	* libltdl/ltdl.c (try_dlopen): Use strlen rather than LT_STRLEN on
	an array that will never be NULL.

2009-11-01  Ralf Wildenhues  <[email protected]>

	Fix func_normal_abspath sed script for Solaris.
	* libltdl/config/general.m4sh (pathcar, pathcdr, removedotparts)
	(collapseslashes, finalslash): Use single quotes, for clarity.
	(removedotparts): Avoid \{N,M\} after subexpression \(...\), for
	Solaris /bin/sed.

	Improve versioning algorithm documentation.
	* doc/libtool.texi (Updating version info): Repeat the
	algorithms in different, hopefully simpler terms.
	* THANKS: Update.
	Prompted by Richard B. Kreckel.

2009-11-01  Ingo Weinhold  <[email protected]>  (tiny change)

	Support for the Haiku operating system.
	* libltdl/config/ltmain.m4sh (func_mode_link): Add cases for
	`*-*-haiku*' alongside `*-*-beos*'.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
	(_LT_CHECK_MAGIC_METHOD, LT_LIB_M, _LT_COMPILER_PIC)
	(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Add cases for
	`haiku*'.
	* NEWS, THANKS: Update.

2009-11-01  Ralf Wildenhues  <[email protected]>

	Fix quoting of AS, DLLTOOL, and OBJDUMP for the libtool script.
	* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Quote values of
	$AS, $DLLTOOL, and $OBJDUMP, so they can contain arguments.
	* THANKS: Update.
	Report by Matthijs Kooijman.

2009-09-18  Ralf Wildenhues  <[email protected]>

	Initial support for the Cuda Compiler Driver on Linux.
	* libltdl/config/ltmain.m4sh (func_mode_compile): Accept source
	file extensions `.cu' and `.cup'.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_NO_RTTI, _LT_COMPILER_PIC)
	(_LT_LINKER_SHLIBS): Support for `nvcc' compiler driver.
	* NEWS, THANKS: Update.
	Report by Mahesh Narayanamurthi.

2009-09-12  Dave Korn  <[email protected]>

	Control where win32 DLLs get installed.
	* libltdl/config/general.m4sh (func_normal_abspath): New function.
	(func_relative_path): Likewise.
	* libltdl/config/ltmain.m4sh (func_mode_help): Document "-bindir".
	(func_mode_link): Accept new "-bindir" option and use it, if
	supplied, to place Windows DLLs.
	* tests/bindir.at: New file for install tests using "-bindir".
	* Makefile.am (TESTSUITE_AT): Add bindir.at.
	* doc/libtool.texi (Link Mode): Update documentation.
	* NEWS, THANKS: Update.

2009-09-11  Akim Demaille  <[email protected]>

	libtool: clean libconftest.a.
	* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Here.

2009-09-10  Peter Rosin  <[email protected]>

	func_win32_libid doesn't work with MS dumpbin
	* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): The $NM
	interface is assumed to be BSD nm in func_win32_libid, so
	check for that before using it.

2009-09-07  Ralf Wildenhues  <[email protected]>

	Allow dlopen self test to work with gcc's -fvisibility=hidden.
	* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Declare default
	visibility for the symbol we are going to test dlopen (NULL)
	when a GCC version is used that understands the visibility
	attribute, under the assumption that if -fvisibility=hidden
	will be used, the user code will be sufficiently annotated
	for visibility of needed symbols from the main executable.
	* THANKS: Update.
	Report by Josh Hursey against OpenMPI.

	Fix and split recent testsuite addition for compile/link flags.
	* tests/flags.at (passing flags through libtool): Split into ...
	(passing CC flags through libtool)
	(passing CXX flags through libtool)
	(passing F77 flags through libtool)
	(passing FC flags through libtool)
	(passing GCJ flags through libtool): ... these five tests,
	factorized with m4_foreach.  Fix F77 and FC compile and link
	commands; add GCJ tag.  Use LT_AT_TAG to correctly skip tags
	for which no compiler exists.  Use $EXEEXT where appropriate.
	Drop unneeded use of reload_cmds.
	Reports by Peter Rosin and Peter O'Gorman.

2009-09-07  Peter O'Gorman  <[email protected]

	Fix redirect in test case.
	* tests/darwin.at: Fix stderr redirect.

	Use darwin's -force_load flag if available for whole_archive_flag_spec
	* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check for
	-force_load and use it if there.
	* tests/darwin.at: Add a simple test.

2009-09-06  Ralf Wildenhues  <[email protected]>

	Testsuite keyword 'interactive' and check-* rules.
	* Makefile.am (testsuite_deps, testsuite_deps_uninstalled):
	New variables.
	(check-local, installcheck-local): Use them.
	(check-interactive, check-noninteractive): New rules.
	* tests/link-order2.at (Link order of deplibs),
	tests/static.at (static linking flags for programs): Add keyword
	`interactive'.
	* doc/libtool.texi (Test descriptions): Document all keywords
	used in the Libtool test suite.
	* NEWS: Update.

	Fix failure test in the presence of --with-pic or -prefer-pic.
	* tests/fail.at (Failure tests): Run non-PIC failure test only
	if pic_mode is 'default' or 'no', rather than 'default' or 'yes'
	and also -prefer-pic has not been passed in $CFLAGS.
	* THANKS: Update.
	Report by Donn Washburn.

	Add testsuite exposure for passing of compiler and linker flags.
	* tests/flags.at (passing flags through libtool): New file, new
	test, for bug fixed in previous commit.
	* Makefile.am (TESTSUITE_AT): Add tests/flags.at.

2009-09-04  Peter Rosin  <[email protected]>

	Make -Wc,FLAG behave like -Xcompiler FLAG in link mode.
	* libltdl/config/ltmain.m4sh (func_mode_link): Remove "-Wc,"
	instead of replacing it with "$wl" when linking programs
	through the compiler driver, just as is the case when linking
	libraries.
	* NEWS: Update.

2009-08-23  Lennart Poettering  <[email protected]>  (tiny change)

	Shut up prototype warnings with recent GCC and -Wstrict-prototypes.
	* libltdl/config/ltmain.m4sh (func_generate_dlsyms): Use recent
	GCC's diagnostic pragma to override a -Wstrict-prototypes
	setting for the symbol list code.
	* THANKS: Update.

2009-08-23  Ralf Wildenhues  <[email protected]>

	Remove __oline__ from macros, for less spurious configure diffs.
	* libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK, _LT_COMPILER_OPTION)
	(_LT_COMPILER_C_O, LT_PATH_NM): Replace __oline__ instances with
	$LINENO.
	* NEWS: Update.

2009-07-24  Roumen Petrov  <[email protected]>  (tiny change)

	Fixup 'execute mode' test for w32.
	* tests/execute-mode.at (execute mode): Add missing $EXEEXT.
	(LDFLAGS): Add -no-undefined.

2009-07-01  Yaakov Selkowitz  <[email protected]> (tiny change)
	    Charles Wilson  <[email protected]>

	[CXX] Use correct export_dynamic_flag_spec for PE-COFF $hosts
	* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [cygwin*|mingw*|pw32*|cegcc*]:
	Define export_dynamic_flag_spec as -Wl,--export-all-symbols here as well
	(see commit 5f2bbb494a2753afb2878c399cfd8316b7403a5b).

2009-06-29  Charles Wilson  <[email protected]>

	[mingw] Improve sys_lib_search_path_spec detection.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Fix handling
	of dos-style paths when parsing $CC -print-search-dirs output.

2009-06-28  Charles Wilson  <[email protected]>

	Finish adding alias for obsoleted AC_LIBTOOL_RC macro.
	* libltdl/m4/libtool.m4: Add reminder comment concerning
	aclocal-1.4 backwards compatibility.
	* libltdl/m4/lt~obsolete.m4: Remove unnecessary AC_DEFUN.

2009-06-27  Charles Wilson  <[email protected]>

	Add alias for obsoleted AC_LIBTOOL_RC macro.
	* libltdl/m4/libtool.m4: Add alias for obsoleted
	macro AC_LIBTOOL_RC.

2009-06-21  Charles Wilson  <[email protected]>

	Remove unneeded functions and options from cwrapper
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
	[lt_opt_process_env_set]: Remove.
	[lt_opt_process_env_prepend]: Remove.
	[lt_opt_process_env_append]: Remove.
	[lt_split_name_value]: Remove.
	[file scope]: Don't declare removed functions. Remove
	constants and defines related to eliminated commandline
	options.
	[main]: Remove code related to eliminated commandline
	options --lt-env-set, --lt-env-prepend, --lt-env-append.

2009-06-19  Yaakov Selkowitz  <[email protected]> (tiny change)
	    Charles Wilson  <[email protected]>

	Ensure LT_PATH_LD works when called before LT_INIT
	* libltdl/m4/libtool.m4 (LT_PATH_LD): AC_REQUIRE _LT_PROG_ECHO_BACKSLASH.

2009-06-14  Ralf Wildenhues  <[email protected]>

	Add versioning tests.
	* tests/versioning.at (versioning): New file, new test.
	* Makefile.am (TESTSUITE_AT): Adjust.
	Prompted by bug report from Mike Gorchak.

2009-06-14  Mike Gorchak  <[email protected]>  (tiny change)
	    Ralf Wildenhues  <[email protected]>

	Fix versioning computation for QNX.
	* libltdl/config/ltmain.m4sh (func_mode_link): Set `$current'
	and `$age' properly for version_type `qnx'.

2009-06-14  Ralf Wildenhues  <[email protected]>

	Avoid spurious localization testsuite failure on HP-UX/ia64.
	* tests/localization.at (localized compiler messages): Skip test
	if the compiler warning output contains `locale', for HP-UX.

2009-06-10  Ralf Wildenhues  <[email protected]>

	Fix concurrent extraction of convenience libraries on Darwin.
	* libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): New libtool
	variable `lock_old_archive_extraction', set to `yes' on darwin.
	* doc/libtool.texi (libtool script contents): Document it.
	* libltdl/config/ltmain.m4sh (func_extract_an_archive): Lock
	`ar x' invocation if `lock_old_archive_extraction' is yes.
	* tests/darwin.at (darwin concurrent library extraction): New
	test.
	* NEWS: Update.
	Report by Akim Demaille.

2009-06-07  Ralf Wildenhues  <[email protected]>

	Fix testsuite failure of lt_dlopenadvise test on FreeMiNT.
	* tests/lt_dladvise.at (lt_dlopenadvise library loading): Do not
	build moddepend for systems without shared libraries.
	Report by Alan Hourihane.

	testsuite: avoid failures due to old Automake.
	* tests/configure-iface.at (installable libltdl)
	(--with-ltdl-include/lib, --with-included-ltdl):
	Speficy libmodule_la_SOURCES in Makefile.am as the default
	source file naming scheme changed in Automake 1.8.
	* tests/nonrecursive.at (_LT_AT_LTDL_SETUP): Require Automake
	1.9.6.
	* THANKS: Update.
	Report by Robert Garron.

	testsuite: add missing @LIBS@ in a link command line.
	* tests/old-m4-iface.at (AC_WITH_LTDL): Use @LIBS@ when linking.
	Report by Patrice Fromy.

	testsuite: cope when some installed libltdl.la has been removed.
	* tests/old-m4-iface.at (AC_WITH_LTDL): Pass --with-included-ltdl
	to configure, to ensure we do not accidentally link against a
	previously installed libltdl.so where the corresponding .la
	file has been removed, thus we do not add a run path, and the
	runtime linker then fails to find libltdl.so.7.
	* tests/configure-iface.at (--with-ltdl-include/lib): Remove -L
	flags from LDFLAGS to avoid picking up an installed libltdl
	outside of the default locations.
	* THANKS: Update.
	Prompted by report from Patrice Fromy.

2009-06-07  Vincent Torri  <[email protected]>  (tiny change)

	Fix C wrapper invocation for ceGCC hosts (cegcc and mingw32ce).
	* libltdl/config/ltmain.m4sh (func_mode_link): do not generate
	C wrapper for cegcc and mingw32ce hosts.
	(func_emit_cwrapperexe_src): remove useless check on
	__MINGW32CE__.

2009-06-07  Ralf Wildenhues  <[email protected]>

	Don't pick up double-quotes from /etc/ld.so.conf on Ubuntu.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
	<sys_lib_dlsearch_path_spec>: Remove embedded double quotes from
	paths picked up from /etc/ld.so.conf.  Fixes libltdl compile
	failure on Ubuntu 7.10.
	* THANKS: Update.
	Report by Camilo La Rota.

2009-06-06  Richard Sandiford  <[email protected]>

	Fix GNU nm invocation for AIX.
	* libldtl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
	<export_symbols_cmds>: Modify the GNU-nm-on-AIX version so that
	it adds weak defined symbols to the export list.

	Build AIX shared libraries with binutils 2.19.50+.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
	<lt_use_gnu_ld_interface>: New variable to control whether the
	GNU ld or native ld interface is used.  Set to "no" for GNU ld
	2.19.50+ on AIX, otherwise mirror $with_gnu_ld.  Update the
	warning message that is printed when using GNU ld on AIX.
	Adjust the whole_archive_flag_spec value for GNU ld on AIX.
	* NEWS, THANKS: Update.

2009-05-27  Peter O'Gorman  <[email protected]>

	Don't run compiler checks twice.
	libltdl/m4/libtool.m4 (_LT_PROG_FC, _LT_PROG_F77,
	_LT_PROG_CXX): Remove these macros.
	libltdl/m4/lt~obsolete.m4: Add removed macros here.
	libltdl/m4/libtool.m4 (_LT_LANG_FC_CONFIG, _LT_LANG_F77_CONFIG,
	_LT_LANG_CXX_CONFIG): Remove references to removed macros, and
	move functionality here.
	NEWS: Update.

2009-05-05  Rainer Emrich  <[email protected]>  (tiny change)
	    Peter Rosin  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	Fix cross compilation for HPPA/64 with a BSD file command.
	* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD)
	[hpux10.20*, hpux11*, !ia64] <lt_cv_deplibs_check_method>:
	Match the dot in `PA-RISC 2.0' literally.  Adjust hppa*64*
	pattern to also match BSD `file' output, used in cross
	compilation setups.
	* THANKS: Update.
	Report and initial patch by Rainer Emrich, refined by Peter
	Rosin.

2009-05-05  Ralf Wildenhues  <[email protected]>

	libtoolize: ignore trailing junk on scriptversion line.
	* libtoolize.m4sh (func_install_update): Ignore semi-colon or
	comment-sign and all following characters when parsing a
	`scriptversion' line in one of the auxiliary scripts; recent
	Automake-provided script have a stylized comment to induce
	Emacs to use UTC.
	Exposed by the `libtoolize config files serial update' test.

2009-05-02  Ralf Wildenhues  <[email protected]>

	Skip localization test when setlocale is not functional.
	* tests/localization.at (localized compiler messages): Skip
	test when there is a warning about `LC_ALL'.
	* THANKS: Update.
	Report by Maciej Helminiak.

2009-05-02  Alan Hourihane  <[email protected]>  (tiny change)

	Improved support for FreeMiNT.
	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [mint]: Hard-code
	command line length limit to 8192, to avoid long test.
	* NEWS, THANKS: Update.

2009-05-02  Ralf Wildenhues  <[email protected]>

	Initial port for BlueGene BG/L.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	(_LT_LANG_CXX_CONFIG) [linux]: Detect bgxl*, bgf*, mpixl*
	compilers.
	* NEWS, THANKS: Update.
	Report, feedback and testing by John R. Cary and Christian
	Rössel.

	manual: fix grammaros.
	* doc/libtool.texi (Dlpreopening): Fix grammaro.
	(C header files): Remove duplicate word.

	Allow through -tp=* at link time, for pgcc.
	* libltdl/config/ltmain.m4sh (func_mode_link): Portlant Group
	pgcc uses `-tp=PROCESSOR' for target processor selection; allow
	the flag through at link time.
	Report by Ethan Mallove.

	Fix quoting of eval'ed variable.
	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Double-quote
	$lt_cv_sys_global_symbol_pipe for eval, like we do in ltmain,
	in order to preserve TABs and multiple adjacent whitespace.
	Report by Bruno Haible.

2009-04-22  Ralf Wildenhues  <[email protected]>

	Cope better with missing `makeinfo' in `bootstrap'.
	* bootstrap: Update `./doc/notes.txt' last so missing `makeinfo'
	does not cause a broken tree.
	* THANKS: Update.
	Report by Christian Rössel.

2009-03-29  Yaakov Selkowitz  <[email protected]>  (tiny change)
	    Charles Wilson  <[email protected]>

	[cygwin] Improve operation with gcc4
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [cygwin*]:
	Add w32api to sys_lib_search_path_spec without overriding gcc's
	own search path.

2009-03-29  Yaakov Selkowitz  <[email protected]>  (tiny change)
	    Charles Wilson  <[email protected]>

	Use correct export_dynamic_flag_spec for PE-COFF $hosts
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) 
	[cygwin*|mingw*|pw32*|cegcc*]: Define export_dynamic_flag_spec
	as -Wl,--export-all-symbols, as required by GNU ld for PE-COFF.

2009-03-29  Charles Wilson  <[email protected]>

	Improve compatibility with older automake
	* libltdl/m4/lt~obsolete.m4: Add AC_DEFUNs for
	_LT_PREPARE_SED_QUOTE_VARS and _LT_PROG_ECHO_BACKSLASH.
	Report by Yaakov Selkowitz.

2009-03-20  Peter Rosin  <[email protected]>

	LT_OUTPUT should always create the libtool script.
	* libltdl/m4/libtool.m4 (LT_OUTPUT): Make LT_OUTPUT ignore the
	--no-create configure option, and assume that the user wants
	to use an up-to-date libtool script if the LT_OUTPUT macro is
	present.
	* tests/early-libtool.at: Make sure we do not regress.

2009-01-26  Peter Rosin  <[email protected]>

	Don't settle for any dumpbin/link program as name lister.
	* libltdl/m4/libtool.m4 (LT_PATH_NM): When locating dumpbin or
	link -dump, check if they appear to really be capable of name
	listing, in order to eliminate e.g. link from coreutils. This
	makes the name lister decision fall back on nm as the default if
	no acceptable candidate is found, which mainly happens on
	(arguably broken) cross compiles.
	* NEWS: Update
	* THANKS: Update
	Reports by Rudolf Leitgeb and Peter Kjellerstedt.

2009-03-03  Ralf Wildenhues  <[email protected]>

	Document INNER_TESTSUITEFLAGS, drop leading space.
	* README: Document INNER_TESTSUITEFLAGS.
	* tests/cmdline_wrap.at (Run tests with low max_cmd_len):
	When using INNER_TESTSUITEFLAGS on the testsuite invocation,
	drop leading space after "-k libtool", so that the user may
	further limit the set of tests to be run.

2009-03-02  Ralf Wildenhues  <[email protected]>

	Fix low max_cmd_len template test on UnixWare.
	* libltdl/config/ltmain.m4sh (func_mode_link): When expanding
	$reload_cmds, always put objects in $reload_objs rather than
	adding them to the command line, to allow more general command
	lines in reload_cmds.  Ensure $reload_objs contains a leading
	space.
	* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [sysv5*,
	sco3.2v5*, sco5v6*] <reload_cmds>: For CC, invoke prelinker
	before creating reloadable object.
	(_LT_CMD_RELOAD) <reload_cmds, reload_flag>: Declare as
	_LT_TAGDECL, not _LC_DECL.
	(_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
	(_LT_LANG_GCJ_CONFIG) <reload_cmds, reload_flag>: Initialize
	from default (C tag) value.
	* THANKS: Update.
	Report and analysis by Tim Rice and John Wolfe.

2009-02-28  Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi (Distributing libltdl, Test descriptions):
	Add missing parentheses.

2009-02-28  Tim Rice  <[email protected]>

	Fix C++ template handling for old archives on UnixWare 7.1.4.
	* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [sysv5*,
	sco3.2v5*, sco5v6*] <old_archive_cmds>: For CC, add template
	prelink step before archiving.  Fixes template.at test failures.

2009-02-28  Török Edwin  <[email protected]>  (tiny change)
	    Ralf Wildenhues  <[email protected]>

	Do not add bogus directory arguments to link command lines.
	* libltdl/config/ltmain.m4sh (func_mode_link): Ensure $path is
	always initialized before it is used.  Reported for zsh, for
	which $path contains $PATH entries even after "emulate sh", see
	<http://bugs.debian.org/517501>.

2009-02-28  Andreas Schwab  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	Remove remaining references to CVS.
	* bootstrap: Remove references to CVS.
	* README.alpha: Likewise.
	* clcommit.m4sh: Likewise.
	* doc/libtool.texi: Bump copyright years.
	(libtool script contents): Describe macro_revision as revision
	without reference to CVS.

2009-02-16  Ralf Wildenhues  <[email protected]>

	Do not pass $INSTALL via TESTS_ENVIRONMENT.
	* Makefile.am (TESTS_ENVIRONMENT): Set lt_INSTALL, not INSTALL,
	so that a bogus relative path to the install-sh script in the
	source tree is not propagated to the configure scripts of the
	old test suite.
	* tests/testsuite.at: Adjust.
	* tests/install.at (Install tests): Likewise.

2009-02-03  Ralf Wildenhues  <[email protected]>
	    Kurt Roeckx <[email protected]>

	New test for lt_dlopenext error message.
	* tests/lt_dlopenext.at (lt_dlopenext error messages): New file,
	with new test, with sources taken from the Autobook example.
	* Makefile.am: Update.

2009-02-03  Kurt Roeckx <[email protected]>

	lt_dlopenext sets error upon successful library load.
	* libltdl/ltdl.c (lt_dlopenadvise): Fix bogus error on
	successful loading of library with lt_dlopenext.
	Report by Kaiwang Chen in <http://bugs.debian.org/510006>.

2009-02-01  Ralf Wildenhues  <[email protected]>

	Fix sed script in install.at.
	* tests/install.at (Install tests): Fix typo in sed script,
	fixes test failure on HP-UX.

	Fix $INSTALL in testsuite with relative path to install-sh.
	* tests/testsuite.at: If `$INSTALL' points to in-tree
	install-sh, override a possibly-relative path to it with an
	absolute one.

	install mode: do not pass `-m $install_override_mode' to cp.
	* libltdl/config/ltmain.m4sh (func_mode_install): New variable
	$install_cp, factor test when `cp' is used for installation.
	Do not pass mode override to cp.  Fixes `libtool --mode=install
	cp ...' on HP-UX; cp should not be used for libraries that might
	be needed by programs invoked during the installation process.

	Fix sed script portability issue in func_version.
	* libltdl/config/getopt.m4sh (func_version): Remove space in
	`/\./! {' sed command, to please HP-UX sed.

2009-01-31  Jeff Squyres <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	New test for bogus lt_dlopen error message.
	* tests/lt_dlopen.at (lt_dlopen error messages): New file, new
	test, marked as XFAIL for now.
	* Makefile.am: Adjust.
	Report and reproducible test case by Jeff Squyres.

2009-01-31  Ralf Wildenhues  <[email protected]>

	execute mode: do not transform *.lo or *.la arguments.
	* libltdl/config/ltmain.m4sh (func_mode_execute): Do not check
	arguments matching *.lo or *.la for script wrappers.
	* tests/execute-mode.at (execute mode): Add tests.
	* NEWS, THANKS: Update.
	Report by Paul Biggar.

	Nonexistent `main' does not guarantee link failure.
	* tests/fail.at (Failure tests): Use an unresolved symbol,
	rather than non-presence of `main', to provoke a link failure
	also on QNX.  Only check for failure of the libtool script if
	the link without libtool would have failed, too.
	Report by Mike Gorchak.

	Use AT_CHECK more liberally in duplicate members test.
	* tests/duplicate_members.at (duplicate members in archive
	tests): Wrap link commands in AT_CHECK, they might fail, as seen
	on QNX.
	* THANKS: Update.
	Report by Mike Gorchak.

2009-01-30  Akim Demaille  <[email protected]>

	Fix cwrapper warnings from MSVC 2005.
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
	[file scope]: define _CRT_SECURE_NO_DEPRECATE.

2009-01-29  Akim Demaille  <[email protected]>

	Fix bootstrap with older libtool.m4 in reach of aclocal.
	* libltdl/m4/lt~obsolete.m4: Add stub definitions for
	_LT_REQUIRED_DARWIN_CHECKS and _LT_AC_PROG_CXXCPP.

	Fix func_exec_init.
	* tests/defs.m4sh (func_exec_init): Instead of using the undefined
	my_dir, call func_dirname_and_basename and use its result.
	(func_make): For consistency, don't use the useless local variable
	my_dir.

2009-01-29  Ralf Wildenhues  <[email protected]>

	Document --mode short-hands better, and test them.
	* doc/libtool.texi (Invoking libtool): Give examples for using
	the `--mode=MODE' short-hand `MODE', or abbreviations thereof.
	* libltdl/config/ltmain.m4sh: Mention the short-hand for MODE
	in the --help output.
	* tests/help.at (mode short-hands): New test group.
	Suggestion by Bruno Haible.

	func_version copes with multi-line copyright headers.
	* libltdl/config/getopt.m4sh (func_version): Slurp in copyright
	lines until a period is found.
	* libltdl/config/ltmain.m4sh: Multi-line copyright is ok to use
	now.
	* tests/help.at (standard command line options): New file, new
	tests.  Make this test group the first one for libtool tests,
	moving the banner ...
	* tests/duplicate_members.at: ... from here.
	* Makefile.am (TESTSUITE_AT): Add tests/help.at.

2009-01-29  Akim Demaille  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	Normalize compiler output due to compiler wrappers.
	* tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT): New
	macro, to normalize ccache and distcc output.
	* tests/localization.at (localized compiler messages): Use it.

2009-01-29  Peter Rosin  <[email protected]>

	Make modified libtool script in cwrapper test executable
	* tests/cwrapper.at: Make modified libtool script executable.
	Report by Roumen Petrov.

2009-01-28  Akim Demaille  <[email protected]>

	Clean space uses.
	* libtoolize.m4sh: Remove trailing spaces.
	Use <tab><sp>, as some editors remove "useless" spaces in
	<sp><tab>.

2009-01-26  Peter Rosin  <[email protected]>

	AWK is required, make sure it is set.
	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS: Make sure
	AWK is set (automake brings it in, but is not always used).
	Fixes old-m4-iface.at on MSYS/MSVC.

2009-01-25  Mike Frysinger  <[email protected]>

	Fix typo in libtool install mode documentation.
	* libltdl/config/ltmain.m4sh (func_mode_help): Change -inst-prefix
	to -inst-prefix-dir.
	* doc/libtool.texi (Install mode): Likewise.

2009-01-24  Charles Wilson  <[email protected]>

	Add -Wall to cwrapper tests.
	* tests/cwrapper.at: Add -Wall existing tests. Add additional
	round of tests with -Wall alone.

2009-01-24  Charles Wilson  <[email protected]>

	[cygwin|mingw] cwrapper cleanups.
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
	[file scope]: re-organized includes and portability
	macros. Avoid oldnames on MINGW32 and MSVC for
	setmode/stat/chmod/getcwd/putenv. Declare _putenv on
	MINGW32 when -ansi. Use namespaced macro LT_DEBUGWRAPPER.

2009-01-24  Peter Rosin  <[email protected]>

	Expand exit status test in LT_AT_NOINST_EXEC_CHECK correctly
	* tests/testsuite.at (LT_AT_NOINST_EXEC_CHECK): STATUS is
	argument $3, not $2.

2009-01-23  Charles Wilson  <[email protected]>

	Add tests for cwrapper with -std=c89 and -std=c99
	* tests/cwrapper.at: New file.
	* Makefile.am: Add tests/cwrapper.at.

2009-01-22  Peter Rosin  <[email protected]>

	Unify line endings in localization test.
	* tests/testsuite.at: Update copyright year.
	(LT_AT_UNIFY_NL): Add macro that unifies line endings on
	platforms that suffer from such confusion.
	* tests/localization.at: Use it. Update copyright year. Fixes
	the test on MSYS/MSVC.

2009-01-21  Charles Wilson  <[email protected]>

	[cygwin|mingw] Fix compile warnings when -std=c89.
	* libltdl/config/ltmain.m4sh (func_emit_wrapper_part1):
	move contents to...
	(func_emit_wrapper_part2): move contents to...
	(func_emit_wrapper): here.
	(func_emit_cwrapperexe_src) [file scope]: Remove
	variables script_text_part1 and script_text_part2.
	(func_emit_cwrapperexe_src) [lt_dump_script]: New function.
	(func_emit_cwrapperexe_src) [main]: Call it.

2009-01-21  Charles Wilson  <[email protected]>

	Minor cygwin cleanup
	* libltdl/config/ltmain.m4sh (func_generate_dlsyms): Correct
	case pattern for cygwin.

2009-01-19  Ralf Wildenhues  <[email protected]>

	Avoid failure due to Cygwin path detection bug.
	* tests/execute-mode.at (execute mode): Ignore noise on stderr;
	Cygwin might consider `d\"e' to be a DOS-style path and warn.
	Report by Charles Wilson.

2009-01-19  Robert Millan  <[email protected]>

	Support GNU/kOpenSolaris.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
	(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	(_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize
	GNU/kOpenSolaris.
	* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
	* NEWS, THANKS: Update.

2009-01-19  Ralf Wildenhues  <[email protected]>

	Another LT_AT_EXEC_CHECK fixup.
	* tests/shlibpath.at (shlibpath_overrides_runpath): Use
	LT_AT_EXEC_CHECK instead of AT_CHECK.

2009-01-19  Roumen Petrov  <[email protected]>  (tiny change)

	Add missing $EXEEXT to java test.
	* tests/convenience.at (Java convenience archives): Add $EXEEXT.

2009-01-19  Ralf Wildenhues  <[email protected]>

	Bump copyright years.
	* ChangeLog.2008: New, rotated from ...
	* ChangeLog: ... here.
	* Makefile.am (EXTRA_DIST): Add ChangeLog.2008.
	* NEWS, libltdl/config/ltmain.m4sh: Bump copyright years.
	* libltdl/m4/libtool.m4 (_LT_COPYING, LT_OUTPUT): Likewise.
	* libtoolize.m4sh: Likewise.

2009-01-14  Peter Rosin  <[email protected]>

	Fix flakey mdemo-dryrun test on MSYS (again!)
	* tests/mdemo-dryrun.test: ls -l in MSYS sometimes shows year,
	not time, for really fresh files. Add sleep 1 call at yet another
	strategic position. Makes the test pass reliably for MSYS/MinGW.

2008-12-19  Akim Demaille  <[email protected]>

	Fix copyright notice.
	* libltdl/config/ltmain.m4sh: Add missing comma.

2008-12-17  Ralf Wildenhues  <[email protected]>

	Add cache variables to link tests.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
	(_LT_LINKER_SHLIBS): Add cache variables to tests that
	require the linker to work.  For shlibpath_overrides_runpath,
	this also changes the semantics to let the result from the C
	compiler take precedence.
	* tests/no-executables.at (AC_NO_EXECUTABLES): New file.
	* Makefile.am: Update.
	* NEWS: Update.
	Report of shlibpath_overrides_runpath issue by Mike Frysinger,
	report of GCC issue by Andreas Schwab.

2008-11-28  Paolo Bonzini  <[email protected]>

	Fix inadvertent commit.
	* bootstrap: Revert.

2008-11-28  Paolo Bonzini  <[email protected]>

	Fix manual typo.
	* doc/libtool.texi (LT_INIT): Use correct config.status
	invocation.  Reported by Akim Demaille.

2008-11-28  Paolo Bonzini  <[email protected]>

	Do not use $ECHO within eval-ed `...`, as %s\\n becomes %s\n.
	* HACKING: Document func_echo_all.
	* libltdl/m4/libtool.m4: Use it within backticks that appear in
	eval-ed variables.  Reported by Akim Demaille.

2008-11-24  Ralf Wildenhues  <[email protected]>

	Fix func_infer_tag $ECHO usage; some testsuite exposure.
	* libltdl/config/ltmain.m4sh (func_infer_tag): Use func_echo_all
	rather than $ECHO for possibly multiple arguments.
	* tests/infer-tag.at (inferred tag, CXX inferred tag)
	(F77 inferred tag, FC inferred tag, GCJ inferred tag): New file,
	new tests.
	* Makefile.am: Adjust.

	* tests/runpath-in-lalib.at (Runpath in libtool library files):
	Add $EXEEXT overlooked in patch yesterday.

2008-11-23  Ralf Wildenhues  <[email protected]>

	Fix expout and experr line ending issues.
	* tests/testsuite.at (LT_AT_HOST_DATA): Renamed from..
	(_LT_AT_TRANSLATE_TEXT_OUTPUT): ..this.
	(LT_AT_EXEC_CHECK, LT_AT_NOINST_EXEC_CHECK): Do not use
	_LT_AT_TRANSLATE_TEXT_OUTPUT any more.
	* tests/configure-iface.at: Use LT_AT_HOST_DATA instead of
	AT_DATA for `expout' files.
	* tests/lt_dladvise.at (lt_dlopenadvise library loading):
	Likewise.
	* tests/need_lib_prefix.at (enforced lib prefix): Likewise.
	Report by Roumen Petrov.

	Relax link-order2 test for systems with partial wrong order.
	* tests/link-order2.at (Link order of deplibs.): On w32 (and
	others, e.g., AIX), the wrongly linked executable picks up only
	one instance of the bad function instead of two; relax the test
	to accept this; we still require the right link order with the
	correctly linked executable.
	Reported by Roumen Petrov and others.

2008-11-23  Roumen Petrov  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	Add $EXEEXT to all linked programs in the new testsuite.
	* tests/convenience.at, tests/ctor.at, tests/darwin.at,
	tests/deplibs-ident.at, tests/duplicate_conv.at,
	tests/duplicate_deps.at, tests/duplicate_members.at,
	tests/export.at, tests/fail.at, tests/indirect_deps.at,
	tests/inherited_flags.at, tests/link-order.at,
	tests/link-order2.at, tests/lt_dladvise.at, tests/lt_dlexit.at,
	tests/need_lib_prefix.at, tests/runpath-in-lalib.at,
	tests/search-path.at, tests/shlibpath.at, tests/static.at,
	tests/stresstest.at, tests/template.at, tests/testsuite.at:
	Use $EXEEXT throughout, except in Makefile.am snippets where
	automake takes care of it, and in testsuite macros that take
	care of the extension.
	Reports by Roumen Petrov and Alon Bar-Lev.

2008-11-23  Ralf Wildenhues  <[email protected]>

	Adjust executable run tests to cwrapper changes.
	* tests/testsuite.at (LT_AT_EXEC_CHECK): Accept fifth argument
	ARGS-OR-STATUS-ADJUST, for command-line arguments and/or exit
	status flattening.  Rewrite to prefer the executable with the
	`.exe' prefix over one without.  Test exit status against
	expected exit status, not against zero, when determining whether
	this may be a cross-compilation-induced result.
	(LT_AT_NOINST_EXEC_CHECK): Likewise.
	* tests/static.at (static linking flags for programs): Adjust
	calls.
	Report by Roumen Petrov.

	No trailing period in Autotest test group names.
	* tests/link-order.at (Link order test): Drop trailing period
	from test name.
	* tests/link-order2.at (Link order of deplibs): Likewise.

2008-11-23  Vincent Torri  <[email protected]>  (tiny change)

	Fix func_emit_cwrapperexe_src for WinCE: no errno support.
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
	[__MINGW32CE__]: Do not use errno, do not include errno.h and
	remove calls related to errno when using the mingw32ce compiler.

2008-11-23  Ralf Wildenhues  <[email protected]>

	No libm in WinCE.
	* libltdl/m4/libtool.m4 (LT_LIB_M) [cegcc*]: This system has
	only a dummy libm, ignore.
	Report by Vincent Torri.

	Fix import library detection for WinCE.
	* libltdl/config/ltmain.m4sh (func_win32_libid): Work for
	pe-arm-wince import libraries.
	* NEWS: Update.
	Report by Vincent Torri.

2008-11-23  Ralf Wildenhues  <[email protected]>
	    Eric Blake  <[email protected]>

	Fix $ECHO test to not influence other _AS_DETECT_SUGGESTED code.
	* libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Fix test to
	not influence further tests registered with _AS_DETECT_SUGGESTED
	and do not use a PATH below /tmp, to avoid influence by a third
	party.

2008-11-23  Alon Bar-Lev  <[email protected]>  (tiny change)

	Fix func_win32_libid for 64-bit Windows.
	* libltdl/config/ltmain.m4sh (func_win32_libid): Accept file
	format 'pe-x86-64'.
	* NEWS: Update.

2008-11-23  Ralf Wildenhues  <[email protected]>

	Avoid newlines in some AT_CHECK commands.
	* tests/standalone.at (linking libltdl without autotools): Wrap
	lines with dnl, to avoid turning off tracing of AT_CHECK.
	* tests/subproject.at (linking libltdl without autotools):
	Likewise.

	Replace uses of $SED $basename.
	* libltdl/config/ltmain.m4sh (func_mode_link): Replace instances
	of `$ECHO ... | $SED' with calls to func_basename.
	* libtoolize.m4sh (func_copy, func_serial)
	(func_massage_aclocal_DATA): Likewise, replace with
	func_dirname_and_basename.
	* tests/defs.m4sh (func_configure_nofail, func_make, func_exec):
	Likewise.

	No need to prepend $progname with './'.
	* libltdl/config/general.m4sh (func_dirname_and_basename): $ECHO
	copes with leading hyphens now, so do not mangle $progname any
	more.

	Revenge of the $ECHO. Kill most uses of Xsed.
	* libltdl/config/general.m4sh: Replace all uses of `$ECHO "X..."
	| $Xsed' with `$ECHO "..." | $SED', and employ further trivial
	simplifications.  Replace $ECHO with echo where appropriate.
	(func_echo_all): New function.
	* libltdl/config/getopt.m4sh: Likewise simplifications.
	* libltdl/config/ltmain.m4sh: Likewise.
	* libltdl/m4/libtool.m4: Likewise.
	(LT_CMD_MAX_LEN): Use func_fallback_echo, to ensure that the
	command line is passed through an exec* function.
	* libtoolize.m4sh: Likewise simplifications.  Use func_echo_all
	to implement --dry-run.
	* tests/defs.m4sh: Likewise simplifications.
	* tests/quote.test: Likewise simplifications.

	Fix matching of Sun Fortran compiler on Linux.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: Also
	match `Sun Ceres Fortran' compiler; reorder with C compiler
	matching.
	* THANKS: Update.
	Report by Ethan Mallove.

2008-11-21  Charles Wilson  <[email protected]>

	Fix --verbose option; add new --no-{silent|quiet|verbose} options.

	* libltdl/config/ltmain.m4sh (usage): Document
	new options --no-silent/--no-quiet and --no-verbose.
	(func_enable_tag): Handle new options.
	Modified --verbose to actually activate opt_verbose.
	New behavior: --silent disables both "normal" output and
	func_verbose output.  --verbose enables both "normal"
	output and func_verbose output. --no-silent enables
	"normal" output, but does not affect func_verbose output.
	--no-verbose disables func_verbose output, but does not
	affect "normal" output.
	* NEWS: announce new options --no-silent/--no-quiet, and
	--no-verbose.
	* doc/libtool.texi: document new options --no-silent/--no-quiet
	and --no-verbose.

2008-11-20  Ralf Wildenhues  <[email protected]>

	Fix match patterns for cegcc*.
	* libltdl/config/ltmain.m4sh (func_mode_link): Match '*cegcc*'
	instead of '*cegcc' for $host_os.
	* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Likewise.
	* tests/lt_dladvise.at (lt_dlopenadvise library loading):
	Likewise.
	* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Match
	'*-*-cegcc*' for $host.

	Ensure $ac_aux_dir is initialized for LIBTOOL_DEPS.
	* libltdl/m4/libtool.m4 (LT_INIT): Require
	AC_CONFIG_AUX_DIR_DEFAULT.
	* tests/old-m4-iface.at (AM_PROG_LIBTOOL): Amend test to
	expose this.
	Report, analysis, and test example by Jakub Bogusz.

	Check for bogus aclocal.m4 contents in bootstrap and dist-hook.
	* Makefile.am (dist-hook): Bail out if shipped aclocal.m4 files
	contain LT_INIT, AC_PROG_LIBTOOL, or AM_PROG_LIBTOOL macro
	definitions.  These can only come from bogus pull-ins from older
	installed Libtool macro files.
	* bootstrap: Likewise.
	Report by Akim Demaille.

2008-11-16  Ralf Wildenhues  <[email protected]>

	Fix $ECHO abuse exposed by recent patch.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Require
	_LT_CHECK_SHELL_FEATURES, for $lt_NL2SP.  Always quote argument
	to $ECHO.

	Skip sys_lib_search_path on systems without libz.
	* tests/search-path.at (sys_lib_search_path): Autotest needs at
	least one AT_CHECK executed in a test group.  So if we haven't
	found -lz anywhere, as may happen with cross-compilers, skip the
	test.
	* THANKS: Update.
	Report by Alon Bar-Lev.

	Fix execute mode test to actually expose cwrapper failures.
	* tests/execute-mode.at (execute mode): Actually also test the
	cwrapper on the arguments.
	Report by Bruno Haible.

2008-11-15  Charles Wilson  <[email protected]>

	Add func_win32_import_lib_p.
	* libltdl/config/ltmain.m4sh (func_win32_import_lib_p):
	New function.

2008-11-12  Ralf Wildenhues  <[email protected]>

	Fix archive_cmds for older cc on HP-UX 11.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hp-ux11*, !GCC]
	[!hppa*64*, !ia64*] <archive_cmds>: Older releases of the HP-UX
	11.00 C compiler do not support -b yet; use a link test to
	decide whether $LD should be used for library creation.
	* THANKS: Update.
	Report by Daniel Richard G.

2008-11-12  Paolo Bonzini  <[email protected]>

	* configure.ac: Bump Autoconf requirement.
	* libltdl/config/general.m4sh: Use $as_echo as default $ECHO.
	* tests/testsuite.at: Use $as_echo as default $ECHO.

	* libltdl/m4/libtool.m4 (LT_INIT): Add _LT_SHELL_INIT to
	work around Autoconf <2.64 bug.
	(_LT_OUTPUT_LIBTOOL_COMMANDS_INIT): Add func_fallback_echo.
	Eliminate lt_ECHO requoting.
	(_LT_SHELL_INIT): Use a public M4sh diversion.
	(_LT_PROG_ECHO_BACKSLASH): Rewrite.
	(LT_CMD_MAX_LEN): Do not use --fallback-echo.
	* libltdl/config/ltmain.m4sh: Remove --no-reexec and --fallback-echo
	handling.
	(func_fallback_echo): New.
	(func_emit_wrapper_part1): Quote ECHO.  Remove --no-reexec and
	--fallback-echo handling.
	(Execute mode): Do not set qecho.

2008-11-12  Ralf Wildenhues  <[email protected]>

	Use -no-undefined in install tests.
	* tests/install.at (Install tests): Use `-no-undefined'.

2008-11-11  Ralf Wildenhues  <[email protected]>

	Do not use `test ... -a ...'.
	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hpux10, hpux11]:
	Replace test -a with test && test.

2008-11-11  Roumen Petrov  <[email protected]>  (tiny change)

	Fix destdir tests in cross compile mode.
	* tests/destdir.at (Simple DESTDIR install)
	(DESTDIR with in-package deplibs): Use $EXEEXT throughout.
	* THANKS: Update.

2008-11-11  Ralf Wildenhues  <[email protected]>

	Simplify cwrapper handling a bit.
	* libltdl/config/ltmain.m4sh (func_emit_wrapper_part1)
	(func_emit_wrapper_part2, func_to_host_path)
	(func_to_host_pathlist, func_emit_wrapper): Simplify using
	default argument, func_append.

2008-11-10  Paolo Bonzini  <[email protected]>

	Separate part of _LT_SETUP into other macros, detect ECHO sooner.
	* libltdl/m4/libtool.m4 (_LT_PREPARE_SED_QUOTE_VARS): New macro,
	extracted from...
	(_LT_SETUP): ... here.  Require _LT_PROG_ECHO_BACKSLASH sooner.

2008-11-10  Paolo Bonzini  <[email protected]>

	Fix quoting when config.status generates libtool config.
	* libltdl/m4libtool.m4 (_LT_OUTPUT_LIBTOOL_COMMANDS_INIT):
	Double quote ECHO-ed variables.

2008-11-10  Paolo Bonzini  <[email protected]>

	Use documented M4sh interfaces.
	* clcommit.m4sh: Do not unset CDPATH, use AS_INIT and M4sh diversions.
	* libltdl/config/mailnotify.m4sh: Likewise.
	* libtoolize.m4sh: Likewise.
	* tests/defs.m4sh: Likewise.
	* tests/testsuite.at: Move AT_INIT invocation at the top.

	* libltdl/m4/libtool.m4 (_LT_INIT_GENERATED): New.
	(LT_OUTPUT): Use it.

	* libltdl/config/general.m4sh (M4SH_IN_HEADER): New.
	(progpath): Move setting before $0 could be clobbered.
	* libltdl/config/ltmain.m4sh (M4SH_IN_HEADER): New.

2008-11-10  Paolo Bonzini  <[email protected]>

	Run sh.test on the M4sh source.
	* tests/defs.m4sh (scripts): Point to pre-m4 sources.

2008-11-10  Paolo Bonzini  <[email protected]>

	Avoid that autom4te complains about unexpanded macros.
	* libtoolize.m4sh: Allow occurrences of "dnl" and use quadrigraphs
	to protect other m4 macros.

2008-11-11  Bruno Haible  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	Fix cwrapper argument mangling on w32.
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): On
	mingw, preprocess the argument vector through prepare_spawn.
	* tests/execute-mode.at (execute mode): Output args
	newline-separated.  Extend tests by more argument pairs that
	contain special characters, where the w32 cwrapper fails.
	Also test a real compiled program, linked against an uninstalled
	library, to expose cwrapper issues.
	* NEWS: Update.

2008-11-10  Ralf Wildenhues  <[email protected]>

	Update to GFDL 1.3.
	* doc/fdl.texi: Update to GFDL 1.3.
	* doc/libtool.texi: Adjust.
	* NEWS: Update.

2008-11-09  Alexei Sheplyakov  <[email protected]>  (tiny change)

	Fix cross compilation with wine for the case SHELL != bash.
	* libltdl/config/ltmain.m4sh (func_to_host_path): Avoid escape
	sequence interpretation by 'echo', for w32-style paths.
	* THANKS: Update.

2008-10-28  Michael Haubenwallner  <[email protected]> (tiny change)

	Fix checks for unsupported allow_undefined_flag.
	* tests/tagdemo-undef.test: Match allow_undefined_flag
	correctly, for SKIPping.
	* tests/cdemo-undef.test: Likewise.

2008-10-26  Ralf Wildenhues  <[email protected]>

	* tests/testsuite.at (_LTDL_PROJECT_FILES): Fix dependencies for
	parallel make.

	* libtoolize.m4sh (func_nonemptydir_p): Fix typo in error
	message.

2008-10-15  Ralf Wildenhues  <[email protected]>

	Fix Autoconf 2.59 incompatibilty.
	* libltdl/m4/ltdl.m4 (_LTDL_SETUP): m4_pattern_allow
	`LT_LIBEXT'; Autoconf 2.59's AC_DEFINE* macros didn't do this
	automatically yet.
	* NEWS, THANKS: Update.
	Report by Marcel Loose.

2008-10-05  Ralf Wildenhues  <[email protected]>

	Atomic shared library install permissions on HP-UX.
	The HP-UX 11 runtime linker fails to mmap shared libraries
	without execute permissions.  Fixing them with postinstall_cmds
	may be too late, as ln, sed, and chmod may link against the
	library being installed.

	* libltdl/m4/libtool.m4 (install_override_mode): New LT_DECL.
	(_LT_SYS_DYNAMIC_LINKER) [hpux9*, hpux10*, hpux11*]: Set it.
	* libltdl/config/ltmain.m4sh (func_mode_install): Build a second
	command line, $install_shared_prog, for the installation of the
	shared library.  Override resp. set the permission mode if
	install_override_mode is nonempty.
	* doc/libtool.texi (libtool script contents): Document it.
	* tests/install.at (Install tests): New test.
	* Makefile.am (TESTSUITE_AT): Adjust.
	(TESTS_ENVIRONMENT): Pass INSTALL.
	Report by Bruno Haible.

2008-09-26  Eric Blake  <[email protected]>

	Avoid gcc warning.
	* libltdl/loaders/loadlibrary.c (vm_open): Don't check for array
	being a NULL pointer.

2008-09-20  Ralf Wildenhues  <[email protected]>

	Man pages for libtoolize and libtool, new command line option
	--help-all.
	* Makefile.am (dist_man1_MANS, update_mans): New macros.
	($(srcdir)/doc/libtool.1, $(srcdir)/doc/libtoolize.1): New
	rules.  Use --help-all for libtool.
	(MAINTAINERCLEANFILES): New macro.  Add dist_man1_MANS.
	(BUILT_SOURCES): Add libtoolize.
	* configure.ac: Check for help2man, set HELP2MAN.
	* doc/libtool.texi: Add @direntry for libtool-invocation.
	(Invoking libtool): Document -h, --help-all.  Reorder mode
	description for consistency.
	(Compile mode): Do not document -Wl,FLAG and -XCClinker here.
	(Link mode): Document -Wc,FLAG here, reformat a bit.
	* libtoolize.m4sh: Reformat --help output a bit, to help
	help2man.
	* libltdl/config/ltmain.m4sh: Likewise.  Also, set PROGRAM to
	`libtool', not `ltmain.sh', so the former is used in the man
	page.
	New argument `--help-all'.  If given, call func_help and
	func_mode_help several times, beating output in shape with sed.
	(func_mode_help): Do not exit here.
	* libltdl/config/getopt.m4sh (func_usage): Work with different
	indentations, but require comment hash in first column, when
	grepping for '-h' in usage to end short help.
	(func_help): Accept optional argument to not exit.
	* NEWS, THANKS: Update.
	Suggestion by Karl Berry.

2008-09-08  Gary V. Vaughan  <[email protected]>

	Use `-version-info 9:0:2' for one added iface since 2.2.4.
	* libltdl/Makefile.inc (LTDL_VERSION_INFO): Make the libltdl
	version number match 2.2.6a rerelease.

	Add ./commit option for pushing tags back to origin.
	* clcommit.m4sh (opt_tags): New --tags push option.
	(func_commit): Run `$GIT push --tags' if --tags was passed.
	* HACKING (Release Procedure): Note the requirement to pass
	--tags to ./commit for new release tag to be push back to
	origin.

2008-09-07  Gary V. Vaughan  <[email protected]>

	Retire gnu.org news.html in favour of savannah news.
	* HACKING (Release Procedure): Add instructions for sending
	a web release announcement to http://planet.gnu.org via
	the savannah news manager.

	Add untested git push conflict testing to commit script.
	* clcommit.m4sh (func_check_conflicts): Test return status
	of 'git push --dry-run', and display an error on non-zero.

	Enable release procedure to work with lzma OLDRELEASE file.
	* Makefile.maint (diffs, prev-tarball, new-tarball): If lzma
	tarballs are present use them to generate the diffs, otherwise
	use gz tarballs if they are present, or else complain if both
	are missing.

	Set SCM version number to 2.2.7a.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.2.7a.
	* NEWS: Updated.

	GNU Libtool 2.2.6 was released.

	Fix typo in Makefile.maint.
	* Makefile.maint (git-news): Renamed to check-news, since it
	doesn't actually run git.  Adjust all dependees.

	Run `git commit -a' when no files are passed.
	* clcommit.m4sh (func_commit): Add -a argument if necessary.

	Prepare for next stable release.
	* libltdl/Makefile.inc (LTDL_VERSION_INFO): Update.
	* libltdl/m4/libtool.m4: Bump serial number to account for
	changes since 2.2.4 release.
	* INSTALL, config/config.guess, config/texinfo.tex: Updated
	from canonical source.
	* configure.ac (AM_INIT_AUTOMAKE): Specify dist-lzma, which
	was introduced after automake-1.10 was released.
	(abs_top_srcdir, abs_top_builddir): No need to substitute these
	from configure anymore, since we require automake 1.10.1, which
	does perform the substitutions properly.
	(TIMESTAMP): Normal releases were displaying the long-form
	timestamp.  Fix to show the short release timestamp as per
	alpha release numbers.
	* NEWS: Update with missing entries from ChangeLog.
	* HACKING (Release Procedure): We release lzma tarballs now
	but no xdeltas.
	* Makefile.maint: Updated to match Release Procedure
	instructions in HACKING.

	Convert mailnotify headers to git.
	* clcommit.m4sh: Improve mailnotify contents.

	Make ./commit useful again.
	* clcommit.m4sh: Major overhaul and simplification for git.

2008-09-06  Gary V. Vaughan  <[email protected]>

	Fix 'DISTCHECK_CONFIGURE_FLAGS=--program-prefix=g' bug.
	* tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): Fix test failures
	with --program-prefix, where the test case output contains the
	transformed name somewhere other than the beginning of a line.
	* libtoolize.m4sh (func_check_macros): Be sure to always use
	the transformed name in output messages.

2008-09-04  Ralf Wildenhues  <[email protected]>

	Do not remove .gcno files when linking.
	* libltdl/config/ltmain.m4sh (func_mode_link): When removing
	potential output files before linking, do not remove *.gcno
	profile information GCC outputs next to object files in `.libs'.
	Report by Vincent Torri.

2008-09-01  Peter O'Gorman  <[email protected]>

	Revert 75142db4f8afc65ba7aae0ed80ea0b35bd9cc382 (AIX libltdl
	dlopen(NULL)

	* libltdl/m4/ltdl.m4: Remove LTDL_DLOPEN_SELF_WORKS define.
	* libltdl/loaders/dlopen.c: Remove LTDL_DLOPEN_SELF_WORKS check.
	* libltdl/m4/libtool.m4 [aix]: Set export_dynamic_flag_spec to
	-Wl,-bexpall. This is a temporary workaround until a real fix
	is implemented.
	* NEWS: document it.

2008-08-26  Peter O'Gorman  <[email protected]>

	Allow for extensions other than .a for preloaded modules.
	* libltdl/m4/ltdl.m4 (_LTDL_SETUP): Define LT_LIBEXT.
	* libltdl/ltdl.c (lt_dladvise_preload): Use it.
	Reported by Ralf Wildenhues.

2008-08-26  Peter O'Gorman  <[email protected]>,
	    Ralf Wildenhues  <[email protected]>

	Remove unnecessary global argz functions.
	* libltdl/argz.c (argz_add,argz_count): Remove.
	* libltdl/argz_.h (argz_add,argz_count): Remove.
	* NEWS: Announce it.
	* tests/ltdl-api.at: Test so we don't repeat it.
	* Makefile.am: Add new test.

2008-08-22  Ralf Wildenhues  <[email protected]>

	Initial support for Lahey Fortran on GNU/Linux.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	[linux] <lf95>: Add support for Lahey Fortran 8.1.
	* NEWS, THANKS: Update.
	Suggested by Craig Tierney.

2008-08-21  Sam Thursfield  <[email protected]>  (tiny change)

	Avoid leading separator in PATH for DLL search.
	* libltdl/config/ltmain.m4sh (func_mode_link) [cygwin, mingw]
	[ pw32, os2, cegcc]: Fix dllsearchpath not to contain leading
	separator.
	* THANKS: Update.

2008-08-21  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): Quote $#.

	Disallow `-L path', do not misparse it silently.
	* libltdl/config/ltmain.m4sh (func_mode_link): Diagnose `-L'
	without argument, and `-L path', i.e., with a space.
	* tests/fail.at (Failure tests): Test for these failures.
	* THANKS: Update.
	Report by Olaf Lenz.

2008-08-16  Ralf Wildenhues  <[email protected]>

	Avoid test failure due to broken dlpreloading of shared library.
	* tests/lt_dladvise.at (lt_dlopenadvise library loading): Drop
	some newlines in AT_CHECK commands, for better 'testsuite -x'
	output.  Only create a static installable libpreload.la, to
	avoid exposing the bug libtool currently has with preloading of
	shared libraries.  Add a note to revisit this later.

2008-08-12  Ralf Wildenhues  <[email protected]>

	Parallel make testsuite fixes.
	* tests/configure-iface.at (installable libltdl)
	(--with-ltdl-include/lib, --with-included-ltdl): Add dlopened
	libmodule.la to main_DEPENDENCIES.
	* tests/old-m4-iface.at (AC_WITH_LTDL): Likewise, let ltdldemo
	depend upon module.la and libltdl/libltdlc.la.
	* tests/testsuite.at (LT_AT_MAKE): Invoke each target in turn,
	default to 'all'.
	* tests/early-libtool.at (config.lt): Define 'all' target.

	* HACKING: Update for git, fix some minor nits.

2008-08-11  Ralf Wildenhues  <[email protected]>

	Remove use of exit in configure test sources.
	* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Return from main,
	to avoid using undeclared exit.
	Report against OpenMPI from Coverity via Jeff Squyres.

	* tests/configure-iface.at (convenience libltdl): Ignore warning
	from parallel make.

2008-08-07  DJ Delorie  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [tpf]
	<library_names_spec>: Fix typo in variable name.

2008-08-06  Steve Ellcey  <[email protected]>

	Use -fPIC with GCC on HP-UX/ia64.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	[ia64-*-hpux*]: Specify -fPIC when using GCC to build shared
	libraries.

2008-08-01  Ralf Wildenhues  <[email protected]>

	* NEWS: Minor fixups.

2008-08-01  Gary V. Vaughan  <[email protected]>

	Bring NEWS up to date.
	* NEWS: Add missing summaries since 2.2.4 release.

	Implement lt_dlopening of only preloaded modules.
	* libltdl/m4/ltdl.m4 (LTDL_INIT): Check for a libltdl that
	provides lt_dladvise_preopen when deciding if installed libltdl
	is 'new enough'.
	* libltdl/libltdl/lt__private.h (lt__advise): Add a new
	is_preload flag.
	* libltdl/ltdl.c (lt_dladvise_preload): New api call to set it.
	(try_dlopen): If it is set, and the search of preloaded modules
	didn't return a match, don't bother searching the filesystem.
	* libltdl/ltdl.h (lt_dladvise_preload): Declare it.
	* doc/libtool.texi (Libltdl Interface): Document it.
	* tests/lt_dladvise.at: Test it (and incidentally add some test
	coverage for `libtool -dlpreopen').
	* NEWS: Announce it.

2008-08-01  Vincent Torri  <[email protected]>

	Add cegcc (Windows CE/PocketPC) support.
	* libltdl/config/ltmain.m4sh: Add 'cegcc' case where needed.
	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN, LT_SYS_DLOPEN_SELF)
	(_LT_SYS_DYNAMIC_LINKER, _LT_CHECK_MAGIC_METHOD)
	(_LT_CMD_GLOBAL_SYMBOLS, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	(_LT_LANG_CXX_CONFIG): Likewise.
	* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Likewise.
	* NEWS: Update.
	* THANKS: Update.

2008-07-31  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_to_host_path): Fix sh.test
	failure.
	Report by Paolo Bonzini.

2008-07-31  Paolo Bonzini  <[email protected]>

	* ltmain.m4sh (func_emit_cwrapperexe_src): Factor
	multiple closed braces into the next cat command.

2008-06-19  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <icc, icpc>:
	Use -fPIC, newer Intel compilers (icc 10, ifort 9) reject -KPIC.
	* tests/localization.at: Skip test if the compiler fails merely
	due to the locale setting.
	* THANKS: Update.
	Report by Vincent Lefevre.

2008-06-17  Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi (Linking executables, Static libraries)
	(Modules for libltdl, Distributing libltdl): Remove TABs from
	the manual.

2008-06-13  Peter O'Gorman  <[email protected]>

	Support ifort on darwin.
	* libltdl/m4/libtool.m4 (_LT_DARWIN_LINKER_FEATURES): Build
	shared libraries with ifort.
	Reported by Christopher Hulbert.

2008-06-01  Charles Wilson  <[email protected]>

	[mingw] fix cross-compile-with-wine case
	* libltdl/config/ltmain.m4sh (func_to_host_path)
	[host=mingw, build!=mingw|cygwin]: check that winepath
	stdout is non-empty and exit code is 0, instead of checking
	stderr.
	Reported by: Roumen Petrov

2006-06-01  Stas Maximov  <[email protected]>  (tiny change)

	Check only regular files, not devices, for lalibs.
	* libltdl/config/ltmain.m4sh (functions func_lalib_p)
	(func_lalib_unsafe_p): Only read regular files and not device
	files.  Avoids blocking libtool executing gdb, when a
	pseudo-terminal device /dev/pts/NN is given as one of the
	arguments to gdb, as in:
	libtool --mode=execute gdb -q -nw -i mi -tty /dev/pts/4 prog

2008-05-31  Peter O'Gorman  <[email protected]>

	Skip darwin test if fat link fails.
	* tests/darwin.at: Skip if we can not link a fat program.
	Reported by Daniel Macks <[email protected]>

2008-05-26  Ralf Wildenhues  <[email protected]>

	libtoolize should not remove config.guess, config.sub.
	* libtoolize.m4sh (all_pkgconfig_files): Do not list
	config.guess nor config.sub.  We don't install them without
	--install, and the project may not be using Automake.
	Report by Andreas Schwab.

	Simplify argument parsing in cwrapper.
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src):
	Use NULL where appropriate.  Do not compute length of arguments
	needlessly.

2008-05-25  Charles Wilson  <[email protected]>

	[mingw] Add cross-compile support to cwrapper
	* libltdl/config/ltmain.m4sh (func_to_host_path) [$host=mingw]:
	If present, use winepath to convert from $build to $host
	if $build is neither mingw (msys) nor cygwin.  Use unconverted
	path as fallback when conversion fails. Also update comments.
	(func_to_host_pathlist) [$host=mingw]: Ditto. For fallback case,
	use simplistic ':' to ';' path separator translation.

2008-05-25  Charles Wilson  <[email protected]>

	Cwrapper should not eat -- arguments
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
	[file scope]: Defined all option strings in terms of macro
	LTWRAPPER_OPTION_PREFIX. Similarly defined all option string
	lengths in terms of macro LTWRAPPER_OPTION_PREFIX_LENGTH.
	[main]: Modified option parsing algorithm to pass -- on to
	target, and to not stop processing arguments when -- is seen.
	Added check for unrecognized options in reserved namespace
	defined by LTWRAPPER_OPTION_PREFIX.

2008-05-25  Ralf Wildenhues  <[email protected]>

	Fix ifort settings again.
	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
	Unlike icc and ecc, not all ifort versions understand `-KPIC',
	e.g. version 10.1, so use `-fPIC' instead.
	Report by Jeff Squyres.

2008-05-20  Eric Blake  <[email protected]>

	Resynchronize argz whitespace changes from gnulib.
	* libltdl/m4/argz.m4: Kill trailing whitespace.
	* libltdl/argz.c: Likewise.

2008-05-19  Eric Blake  <[email protected]>

	Fix regression from two days ago.
	* libltdl/m4/ltdl.m4 (_LT_LIBOBJ): Don't refer to deleted macro.

2008-05-17  Eric Blake  <[email protected]>

	Speed up bootstrap by improving lt_combine.
	* libltdl/m4/ltsugar.m4 (lt_combine): Mirror Autoconf 2.62
	improvements.  Includes a semantic change where the separator can
	now be empty, and where an empty fourth argument is now treated as
	a valid suffix.
	* libltdl/m4/libtool.m4 (_lt_decl_varnames_tagged): Adjust to new
	semantics of lt_combine.
	(lt_decl_varnames_tagged): Fix quoting and optimize.

	Kill _LT_LIBSOURCES; it wasn't checking anything useful.
	* libltdl/m4/ltdl.m4 (_LT_LIBSOURCES): Delete.
	(LTDL_INIT): Ignore arguments to AC_LIBSOURCES during _LTDL_SETUP,
	on the assumption that libtoolize correctly installed them.

2008-05-13  Charles Wilson  <[email protected]>

	[mingw|cygwin] Modify cwrapper to invoke target directly.
	* libltdl/config/ltmain.m4sh (func_to_native_path):
	New function. If $host is mingw, and $build is mingw
	or cygwin, convert path to mingw native format.
	(func_to_native_pathlist): New function. Ditto, for
	:-separated pathlists.
	(func_emit_cwrapperexe_src) [__CYGWIN__ && __STRICT_ANSI__]:
	Ensure putenv and setenv are declared. Define HAVE_SETENV.
	(func_emit_cwrapperexe_src) [main]: Add new constants to
	hold desired PATH settings; initialize and use functions
	above to convert to $host format if necessary. Add new
	command-line options --lt-env-set, --lt-env-prepend, and
	--lt-env-append. No longer emit wrapper script as integral
	part of launching child. Remove support for (now) unnecessary
	$TARGETSHELL. Exec actual target executable directly.
	(func_emit_cwrapperexe_src) [lt_setenv, lt_extend_str]
	[lt_split_name_value, lt_opt_process_env_set]
	[lt_opt_process_env_prepend, lt_opt_process_env_append]
	[lt_update_exe_path, lt_update_lib_path]: New functions.

2008-05-11  Charles Wilson  <[email protected]>

	Ensure cwrapper compiles without warnings under -std=c99.
	* libltdl/config/ltmain.m4sh (func_emit_wrapper_part1):
	new function.
	(func_emit_wrapper_part2): new function.
	(func_emit_wrapper): delegate to new functions.
	(func_emit_cwrapperexe_src) [__CYGWIN__ && __STRICT_ANSI__]:
	ensure realpath is declared.
	(func_emit_cwrapperexe_src): declare two different strings
	to each hold part of the wrapper script content. Initialize
	using new func_emit_wrapper_partX functions.
	(func_emit_cwrapperexe_src) [main]: when emitting wrapper
	script content, use both strings.
	Reported by Yaakov Selkowitz.

2008-05-06  Charles Wilson  <[email protected]>

	Ensure $OBJDUMP is defined
	* libltdl/m4/libtool.m4 (_LT_DECL_OBJDUMP): new macro ensures
	that $OBJDUMP is always defined sanely.
	(_LT_SYS_DYNAMIC_LINKER): call it.
	(_LT_CHECK_MAGIC_METHOD): call it.

2008-05-05  Gary V. Vaughan  <[email protected]>

	Fix libtoolize test failure with aclocal < 1.10.1
	* tests/libtoolize.at
	(verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIR): Older aclocal
	requires a space between -I and the directory argument.
	Reported by Daniel Macks <[email protected]>

2008-05-04  Gary V. Vaughan  <[email protected]>

	Set SCM version number to 2.2.5a.
	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.2.5a.
	* NEWS: Updated.

	GNU Libtool 2.2.4 was released.

	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.2.4.
	* libltdl/Makefile.inc (LTDL_VERSION_INFO): C:R+1:A because the
	interfaces are unchanged, even though we improved the code some
	more.
	* NEWS: Updated.

	Macro file serial updates for next stable release.
	* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
	libltdl/m4/ltoptions.m4, libltdl/m4/lt~obsolete.m4: Bump serial
	numbers to account for changes since 2.2.2 release.

	Make libtoolize tests work with distcheck.
	* tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): When $tst_aclocal
	is set, transform paths that use it to generic
	/usr/local/share/aclocal in time for AT_CHECK comparisons.

2008-05-03  Gary V. Vaughan  <[email protected]>

	Don't trip over outdated acinclude.m4.
	* libtoolize.m4sh (all_pkgconfig_files, all_pkgmacro_files)
	(all_pkgltdl_files): New variables listing all files ever
	maintained by any release of libtoolize.
	(func_install_pkgconfig_parent, func_install_pkgltdl_files)
	(func_install_pkgconfig_subproject, func_install_pkgmacro_parent)
	(func_install_pkgmacro_subproject): Carefully clean up any files
	that may have been installed by previous libtoolize releases.
	* tests/libtoolize.at: New test for libltdl/acinclude.m4 removal.
	Reported by Andreas Schwab <[email protected]>.

2008-05-02  Peter O'Gorman  <[email protected]>

	It helps to close quotes.
	* libltdl/config/ltmain.m4sh (func_mode_link): Add closing '.

2008-05-01  Peter O'Gorman  <[email protected]>

	Use AC_CHECK_TOOL for otool and otool64.
	* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check.
	* libltdl/config/ltmain.m4sh (func_mode_link): Use.
	Reported by Richard Purdie <[email protected]>

2008-04-30  Eric Blake  <[email protected]>

	Support cygwin 1.7.0 in loadlibrary loader.
	* libltdl/m4/ltdl.m4 (LT_LIB_DLLOAD) <cygwin>: Check for modern
	function.
	* libltdl/loaders/loadlibrary.c (vm_open): Avoid deprecated
	cygwin_conv_to_full_win32_path.

2008-04-29  Gary V. Vaughan  <[email protected]>

	New libtoolize --no-warn option and LIBTOOLIZE_OPTIONS parsing.
	* libltdl/config/general.m4sh (opt_warning): New option.
	(func_warning): Only display a warning message if $opt_warning
	is true.
	* libtoolize.m4sh: Accept options in LIBTOOLIZE_OPTIONS
	environment variable.
	(--no-warn): Parse new option.
	(func_serial_update_check, func_keyword_update): Use func_warning.
	(func_check_macros): Bail out before style issues nags when
	$opt_warning is false.
	* doc/libtool.texi (Invoking Libtoolize): Document it.
	* tests/libtoolize.at: Test it.
	* NEWS: Updated.

	Fix libtoolize test failure with aclocal-1.10.1.
	* tests/libtoolize.at
	(verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIR): Force aclocal to
	search the source tree for latest libtool macros.

2008-04-24  Eric Blake  <[email protected]>

	Fix bug in 2008-04-21 type improvements.
	* libltdl/ltdl.c (load_deplibs): Fix casting bug.

2008-04-23  Michael Haubenwallner  <[email protected]>

	Use /nonexistent as destination for files not to be installed.
	* tests/darwin.at (darwin fat compile): Fix typo.
	* tests/inherited_flags.at (inherited_linker_flags): Change
	-rpath to /nonexistent.  This helps to avoid accidentally
	picking up libraries below /usr/local.
	* tests/template.at (simple template test): Likewise.  Fixes
	test failure for additional incompatible libstdc++ in
	/usr/local.
	* tests/testsuite.at (configure_options): Add
	--prefix=/nonexistent.

2008-04-23  Gary V. Vaughan  <[email protected]>

	* libtoolize.m4sh (rerun_aclocal): Remove unused variable.
	Reported by Olly Betts <[email protected]>

2008-04-23  Ralf Wildenhues  <[email protected]>

	* tests/static.at (ccache -all-static): Ignore link warnings.
	Report by Gary V. Vaughan.

2008-04-22  Gary V. Vaughan  <[email protected]>

	Libtoolize now advises AC_CONFIG_MACRO_DIR use where appropriate.
	* libtoolize.m4sh (func_check_macros): Always advise use of
	AC_CONFIG_MACRO_DIR when not able to copy libtool macros into
	the project tree.
	* tests/libtoolize.at: New test for correct diagnosis of mismatch
	between AC_CONFIG_MACRO_DIR and ACLOCAL_AMFLAGS.
	Update expected output of other tests.
	* NEWS: Updated.

2008-04-22  Ralf Wildenhues  <[email protected]>

	Fix regression over 1.5.26 with ccache $CC -all-static.
	* libltdl/config/ltmain.m4sh (func_mode_link): Add
	$link_static_flag to compile_command and link_command only
	later, instead of right after a possible compiler wrapper.
	* tests/static.at (ccache -all-static): New test.
	* THANKS: Update.
	Report by Richard Purdie.

2008-04-22  Andreas Schwab  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	Fix default argument for AC_LIBLTDL_CONVENIENCE.
	* libltdl/m4/ltdl.m4 (AC_LIBLTDL_CONVENIENCE): Default argument
	to libltdl.
	(AC_LIBLTDL_INSTALLABLE): Likewise.
	* tests/configure-iface.at (convenience libltdl): New test.

2008-04-21  Gary V. Vaughan  <[email protected]>

	Only complain that files are up-to-date with --force.
	As a side effect, this also means that when `aclocal' copies the
	libtool macros into `aclocal.m4' libtoolize complains only about
	the macro files that are missing or not up-to-date.
	* libtoolize.m4sh (func_echo_once): New function that prints
	the contents of a named variable only on the first call.
	(func_aclocal_update_check): New function that compares serial
	numbers of libtool macros in aclocal.m4 and only diagnoses the
	missing files.
	(func_copy, func_copy_cb, func_copy_some_files, func_serial_update)
	(func_keyword_update, func_ltmain_update, func_config_update)
	(func_install_update): Accept a new argument naming a variable
	containing a header string to print with func_echo_once iff any
	body text is output by this function.
	(func_install_pkgmacro_subproject, func_install_pkgmacro_parent)
	(func_install_pkgltdl_files, func_install_pkgconfig_subproject)
	(func_install_pkgconfig_parent: Set and pass a suitable
	header string variable for the above functions.
	(func_serial_update_check): Don't advise rerunning `libtoolize
	--force' when aclocal.m4 is not m4_including libtoolize installed
	macro files.
	* tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): Transform generic
	/usr/local/share/aclocal paths to point into the uninstalled
	libtool macro directory.
	* tests/libtoolize.at: Update tests that were checking for old
	behaviour of outputing `file is already up to date' even when
	--force was not passed.
	* tests/libtoolize.at: New tests to prevent regressions of these
	smarter messages.
	* NEWS: Updated.
	Reported by Olly Betts <[email protected]>

	Capture lt~obsolete.m4 serial number correctly in libtoolize.
	* libltdl/m4/lt~obsolete.m4: Add the filename to the #serial
	marker so that libtoolize's serial number checks can find it
	in a non-include using aclocal.m4.
	* NEWS: Updated.
	Reported by Olly Betts <[email protected]>

	Allow better compile time type checking for lt_dladvise.
	* libltdl/lt__private.h (lt__handle, lt__advise): Typedefs
	removed in favour of...
	* libltdl/ltdl.h (lt_dlhandle),
	libltdl/libltdl/lt_dlloader.h (lt_dladvise): ...changing from
	void* to forward declarations.
	* libltdl/loaders/dlopen.c, libltdl/loaders/loadlibrary.c,
	libltdl/lt_dlloader.c, libltdl/ltdl.c: Remove many redundant
	type casts.
	* NEWS: Updated.
	Suggested by Bob Friesenhahn <[email protected]>

2008-04-21  Peter O'Gorman  <[email protected]>

	basename does not take a list of strings.
	* libltdl/config/ltmain.m4sh(func_extract_archives): Use sed
	$basename.
	* tests/darwin.at: New. Check that we can built fat program,
	shared library and convenience library.
	* Makefile.am: Add test.
	Reported by LiKai Liu <[email protected]>

	Use AC_CHECK_TOOL for lipo too.
	* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check.
	* libltdl/config/ltmain.m4sh (func_extract_archives): Use.

2008-04-20  Gary V. Vaughan  <[email protected]>

	Fix misleading lt_dlopenadvise documentation.
	* doc/libtool.texi (lt_dlopenadvise): The last parameter is of
	type lt_dladvise, not lt_dladvise*.
	(my_dlopenext): Correct the example too.
	* NEWS: Updated.
	Reported by Gary Kumfert <[email protected]>

2008-04-19  Ralf Wildenhues  <[email protected]>

	Fix testsuite cleanup warnings on AIX with NFS.
	* tests/testsuite.at [ aix ]: Set file mode creation so that
	'others' have no permissions.  Shared libraries are kept in
	memory on AIX after use if they are world-readable, which means
	on NFS mounts cleanup of test group directories will fail later.
	* THANKS: Update.
	Report and analysis by Michael Haubenwallner.

	Fix nonportable use of expr.
	* libltdl/config/ltmain.m4sh (func_mode_link) <Transforming
	deplibs into only shared deplibs>: Fix expr portability issues,
	noted on FreeBSD.  While at it, simplify and avoid forking.
	Report by Bob Friesenhahn.

	Exploit shell arithmetic expansion and ${#var}.
	* libltdl/m4/libtool.m4 (_LT_CHECK_SHELL_FEATURES): Also check
	for arithmetic expansion, and ${#var}.
	(_LT_PROG_XSI_SHELLFNS): Define func_arith and func_len
	accordingly, falling back on 'expr'.  Note that the argument to
	func_len may not start with a hyphen.  In the pre-Posix
	fallback, take care not to rely on the exit status of the
	variable assignment (not portable), but set the length to
	$max_cmd_len instead.
	* libltdl/config/ltmain.m4sh (func_mode_link): Use func_arith
	and func_len throughout for integer arithmetic, fixing
	quadratical amount of counting for reloadable object and
	piecewise archive linking.  Change all comparisons with
	max_cmd_len to test for smaller, non-equal length.
	* THANKS: Update.
	Suggested by Roland Mainz.

	* libltdl/config/ltmain.m4sh (func_mode_compile): Avoid
	redundant removal of old output files before compilation.
	Do not remove $obj until we have successfully grabbed the
	lockfile (in case the compiler doesn't grok `-c -o'), because
	it might be identical to $output_obj.
	At the end of the function, before we remove the lockfile,
	update $removelist so that if the trap hits after the lockfile
	has been removed, we do not accidentally remove $output_obj that
	does not belong to us.
	(func_write_libtool_object): Use $MV instead of mv.

2008-04-18  Andreas Schwab  <[email protected]>

	* libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Check optional
	argument.
	(AC_ENABLE_STATIC): Likewise.
	(AC_ENABLE_FAST_INSTALL): Likewise.

2008-04-16  Eric Blake  <[email protected]>

	Make ChangeLog merges easier.
	* .gitattributes: New file.
	* HACKING: Mention how it helps.

2008-04-15  Peter O'Gorman  <[email protected]>

	Allow bootstrap from git repository.
	* Makefile.am: Pass srcdir as an argument to mkstamp and expect
	only 2 fields in mkstamps output.
	* clcommit.m4sh: Ditto.
	* configure.ac: Ditto.
	* libltdl/config/mkstamp: return a revision and date based on
	the number of lines which look like dates in all the ChangeLog*
	files in the directory we got as arg 1.

2008-04-11  Eric Blake  <[email protected]>

	Fix usage of setmode without declaration on cygwin.
	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Ensure
	setmode has prototype for both mingw and cygwin.

2008-04-10  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Move non-XSI
	definition of func_dirname_and_basename ...
	* libltdl/config/general.m4sh (func_dirname_and_basename):
	... here, to use it for the other scripts that use general.m4sh
	(and as portable fallback for libtool).  Add marker for early
	insertion of generated shell functions (into libtool, not the
	other scripts) here.
	Use func_dirname_and_basename to compute progname, progpath.
	* libltdl/config/ltmain.m4sh (func_mode_help): Remove marker
	for insertion of generated shell functions.
	* tests/sh.test: Adjust function definition test to not match
	function call.

	* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS) <func_xform>:
	New function.
	* libltdl/config/ltmain.m4sh (func_mode_compile): Use it to
	avoid two forks with XSI shells.
	* tests/suffix.test: Also test a file with multiple dots.

2008-04-10  Peter O'Gorman  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_win32_libid,
	func_generate_dlsyms, func_extract_an_archive,
	func_extract_archives, func_mode_help): move these so they
	appear after func_mode_compile.
	* tests/nomode.test: Check that --mode=link --help works.
	Reported by Josh Triplett <[email protected]>

2008-04-07  Gary V. Vaughan  <[email protected]>

	* doc/libtool.texi (Libltdl interface): Add missing
	documentation for lt_dlopenavise.
	Reported by Anton Erti <[email protected]>

	* configure.ac, libltdl/configure.ac (AM_INIT_AUTOMAKE): Use
	gnu rather than gnits standards so that version number 2.2.3a
	is not rejected!
	Reported by Olly Betts <[email protected]>

2008-04-01  Gary V. Vaughan  <[email protected]>

	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.2.3a.

	GNU Libtool 2.2.2 was released.

	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.2.2.
	* libltdl/Makefile.in (LTDL_VERSION_INFO): C:R+1:A because the
	interfaces are unchanged, even though we improved the code some
	more.
	* NEWS: Updated.

	* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
	libltdl/m4/ltoptions.m4: Bump serial numbers to account for
	changes since 2.2 release.

2008-03-27  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4 [_LT_REQUIRED_DARWIN_CHECKS]: Fix the
	test for -single_module and log it to config.log.
	Reported by Torok Edwin and Nigel Home.

2008-03-24  Ralf Wildenhues  <[email protected]>

	Document that disable-static plus -all-static is not portable.
	* doc/libtool.texi (Link mode): -all-static does not go well
	with disable-static on most systems.
	* tests/static.at (static linking flags for programs) [!aix]:
	With --disable-static but nonempty link_static_flag, skip the
	m-all-static link.  Do not skip it on AIX, as there the
	enable_static is self-inflicted, and thus expected to work.
	* THANKS: Update.
	Report by Nix.

2008-03-17  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_CHECK_BUILDDIR): No need to escape
	backticks in argument to AC_MSG_WARN or AC_MSG_ERROR.
	* libltdl/m4/ltdl.m4 (_LTDL_INSTALLABLE, LTDL_INIT): Likewise.

2008-03-16  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (NLS nuisances): Fix quoting of
	localization variables for shell-active characters.
	* tests/localization.at (localized compiler messages): Extend
	test.
	* THANKS: Update.
	Report by Mike Frysinger.

2008-03-15  Ralf Wildenhues  <[email protected]>

	* tests/defs.m4sh (func_get_config): Build egrep regex to speed
	up extracting several variables at once.  Use it to extract all
	default variables at once.  Also extract build_alias and
	host_alias from the libtool script.
	(func_configure_nofail): Use build_alias and host_alias for
	--build and --host, respectively.  Pass each if nonempty.
	* tests/testsuite.at: Pass --build if build_alias is nonemtpy.
	* tests/quote.test: Extract ECHO and wl at once.

	* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_WIN32_DLL): Require
	AC_CANONICAL_HOST.
	* THANKS: Update.
	Report by Jakub Bogusz.

2008-03-14  Ralf Wildenhues  <[email protected]>

	* NEWS: Update.

2008-03-12  Charles Wilson  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src) [file
	scope]: additional #includes and #defines to support...
	(func_emit_cwrapperexe_src) [main]: ensure stdout is set to
	binary mode for cygwin|mingw builds. Ensure temporary script
	file is written in binary mode for cygwin|mingw builds.
	(func_mode_link) [cygwin|mingw]: cross-build support - only
	use cwrapper to generate shell wrapper if building native;
	otherwise use func_emit_wrapper()

2008-03-12  Henning Nielsen Lund  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
	(_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [amigaos]: Port to
	AmigaOS4 shared libraries on powerpc.
	* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS) [amigaos]:
	Likewise.
	* THANKS, NEWS: Update.

2008-03-09  Bruno Haible  <[email protected]>
	and Ralf Wildenhues  <[email protected]>

	Fix compiler output to be in the user locale.
	* libltdl/config/general.m4sh (func_show_eval_locale): New
	function, for running commands in the user locale.
	* libltdl/config/ltmain.m4sh (func_mode_compile): Use it for
	compiling.
	* tests/localization.at (localized compiler messages): New test.
	* Makefile.am: Adjust.
	Report by Bruno Haible.

2008-03-08  Ralf Wildenhues  <[email protected]>

	Fix several test failures on Cygwin and MinGW.
	* tests/nonrecursive.at: Use -no-undefined for foo.la.
	* tests/recursive.at: Likewise.
	* tests/subproject.at: Likewise.
	* tests/lt_dladvise.at: For systems where undefined symbols are
	not allowed, to not try to load the module libdepend.
	[ mingw ]: Add to list of such systems.
	* tests/testsuite.at (_LT_AT_TRANSLATE_TEXT_OUTPUT): New macro,
	to translate line ending of expout and experr files suitable for
	host executables.
	(LT_AT_CHECK, LT_AT_NOINST_EXEC_CHECK): Use it.
	Report by Bob Friesenhahn.

	Fix installcheck dependencies, fix for --program-transform-name.
	* Makefile.am (installcheck-local): Depend upon tests/atconfig
	and $(srcdir)/$(TESTSUITE).
	* tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): New macro.
	(LT_AT_CHECK_LIBTOOLIZE): Use it to transform expout and experr
	files suitably.
	* HACKING: Update.

	Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
	* libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK, _LT_COMPILER_OPTION)
	(_LT_COMPILER_C_O, LT_PATH_NM, _LT_CMD_GLOBAL_SYMBOLS, _LT_SETUP):
	Drop usage of obsolete AC_OBJEXT and AC_EXEEXT.
	* tests/am-subdir.at (C++ subdir-objects): Likewise.

2008-03-07  Peter O'Gorman  <[email protected]>

	* tests/convenience.at (Java convenience archives): Skip test if
	gcj cannot compile a working executable from .java files.
	Report by Nelson H. F. Beebe.

	* libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Need to set LD.
	Reported by Nelson H. F. Beebe.

2008-03-06  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea.

	* libltdl/m4/libtool.m4 (_LT_PROG_FC): Report FC=no if the FC
	compiler is not a GNU compiler and the CXX compiler is a GNU
	compiler.
	Reported by Nelson H. F. Beebe.

2008-03-06  Gary V. Vaughan  <[email protected]>

	* Makefile.maint (TSDEPS_DIST): Removed.  No longer used.
	(TSDEPS): libtool.m4 has long since moved to libltdl.
	(cvs-dist): Don't put the suffix dot in twice.

2008-03-06  Ralf Wildenhues  <[email protected]>

	* tests/convenience.at (Java convenience archives): Skip test if
	gcj cannot compile a .java file.
	Report by Nelson H. F. Beebe.

2008-03-05  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_lalib_unsafe_p): redirect
	and restore from stdin, not stdout.
	* tests/execute-mode.at (execute mode): Adjust test to catch
	this.
	Report by Roberto Bagnara.

2008-03-04  Ralf Wildenhues  <[email protected]>

	Fix libltdl to not skip dlopen on systems with several loaders,
	such as HP-UX, Cygwin.
	* libltdl/slist.c (slist_concat): When appending to the tail
	of a list, do not drop items off the beginning of the list.
	* NEWS: Update.

	* libltdl/config/ltmain.m4sh (func_mode_execute): Replace only
	arguments we have identified as shell or C wrappers.
	(func_emit_wrapper): Output error message on stderr.
	* tests/execute-mode.at: New file, with --mode=execute tests.
	* Makefile.am: Adjust.
	* NEWS: Update.
	Fixes 2.2 regression.  Report by Roberto Bagnara.

	* libltdl/m4/libtool.m4 (_LT_CONFIG): Drop misleading `GNU'
	prefix before the host package name in the "Generated by" line
	for the libtool script.
	* THANKS: Update.
	Reports by Peter Rosin and Roberto Bagnara.

	* doc/libtool.texi (Module loaders for libltdl): Fix typo.

	* libltdl/loaders/dld_link.c (vl_exit): New function, zero out ...
	(vtable): ... this new file static variable split out from ...
	(get_vtable): ... here.  Initialize vtable, register vl_exit as
	dlloader_exit function.
	* libltdl/loaders/dlopen.c: Likewise.
	* libltdl/loaders/dyld.c: Likewise.
	* libltdl/loaders/load_add_on.c: Likewise.
	* libltdl/loaders/loadlibrary.c: Likewise.
	* libltdl/loaders/shl_load.c: Likewise.
	* libltdl/loaders/preopen.c: Likewise; vl_exit existed here
	already.
	* tests/lt_dlexit.at (lt_dlexit unloading libs): Update test.
	* NEWS: Update.
	Report by Andreas Schwab.

2008-03-01  Gary V. Vaughan  <[email protected]>

	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.3a.

	GNU Libtool 2.2 was released.

	* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
	number to 2.2.
	* NEWS: Updated.

	* tests/lt_dladvise.at, tests/lt_dlexit.at,
	tests/need_lib_prefix.at: Skip these tests when called from
	`make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install'.
	The tests try to link against the dummy installed libltdl.la
	from .../_inst/lib/libltdl.la, which does not exist when
	configured with --disable-ltdl-install.

2008-02-29  Gary V. Vaughan  <[email protected]>

	* libltdl/m4/argz.m4 (AC_CHECK_FUNCS): Also use our replacement
	argz if the system argz_add or argz_count are missing.
	Report by Juan Manuel Guerrero <[email protected]>.

2008-02-26  Karl Berry  <[email protected]>

	* libltdl/argz.c (argz_add, argz_count): New functions.
	* libltdl/argz_.h: Declare them.
	Report by Juan Manuel Guerrero <[email protected]>.

2008-02-20  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Do not call the
	_LT_SYS_DYNAMIC_LINKER macro here.
	Reported by Mike Frysinger <[email protected]>

2008-02-15  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Fix typo.

2008-02-14  Peter Breitenlohner  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better handling
	of predefined values for lt_cv_sys_lib_search_path_spec and
	lt_cv_sys_lib_dlsearch_path_spec.

2008-02-14  Ralf Wildenhues  <[email protected]>

	* libtoolize.m4sh (func_install_pkgconfig_files): Only call
	func_install_pkgconfig_parent if $seen_autoconf.
	* tests/standalone.at (compiling softlinked libltdl)
	(compiling copied libltdl, installable libltdl)
	(linking libltdl without autotools): Use checked libtoolize
	calls to catch warnings.

2008-02-13  Ralf Wildenhues  <[email protected]>

	* libltdl/configure.ac: Bump package version.
	* HACKING: Reminder to do it next time, too.

2008-02-11  Ralf Wildenhues  <[email protected]>

	* tests/mdemo/Makefile.am (@LIBLTDL@): Update outdated
	dependencies.
	($(top_distdir)/libltdl/libtool): Remove.
	Fixes spurious mdemo-dryrun failure with OpenBSD make.

2008-02-09  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
	Treat like icc and ecc, for fixed `-Wl,' and `-KPIC' settings.

2008-02-08  Ralf Wildenhues  <[email protected]>

	* tests/archive-in-archive.at
	(static library contains static library): Test also the actual
	broken link command, and the following install command, as
	UnixWare ar rightly refuses to put an archive into an archive.
	Report by Tim Rice.

2008-02-06  Peter O'Gorman  <[email protected]>

	* libltdl/m4/ltoptions.m4 (_LT_SET_OPTIONS): Only set default
	LT_INIT values for LT_INIT, not LTDL_INIT.
	Reported by Jochem Huhmann <[email protected]>

2008-02-01  Ralf Wildenhues  <[email protected]>

	* tests/testsuite.at (LT_AT_TAG): For the CXX tag, if $CXX is
	g++, check that `g++ -v' works; AC_PROG_CXX may have set that
	as default value even if it found no C++ compiler.
	Report by Andreas Schwab.

2008-02-02  Gary V. Vaughan  <[email protected]>

	* libltdl/Makefile.inc (EXTRA_DIST): Now that we're not using
	Autoconf's AC_SOURCES macro, Automake can't trace our extra
	source files argz, lt__dirent.c and lt__strl.c.  List them
	manually here to make sure they are distributed.
	* NEWS: Updated.
	Reported by Bob Friesenhahn  <[email protected]>

2008-02-01  Gary V. Vaughan  <[email protected]>

	* configure.ac (AC_INIT): Bump version number to 2.1c.

	GNU Libtool 2.1b was released.

	* configure.ac (AC_INIT): Bump version number to 2.1b.
	* libltdl/Makefile.inc (LTDL_VERSION_INFO): Increment to account
	for new interfaces since the last libltdl update.
	* HACKING (Release Procedure): Note that LTDL_VERSION_INFO is now
	kept in libltdl/Makefile.inc.

2008-02-01  Gary V. Vaughan  <[email protected]>

	* tests/cdemo, tests/depdemo, tests/fcdemo, tests/pdemo,
	tests/demo, tests/f77demo, tests/mdemo, tests/tagdemo
	(distclean-local): Remove compiler file droppings left by
	Autoconf tests that prevent make dist from finishing on
	several machines including Mac OS 10.5.

2008-02-01  Gary V. Vaughan  <[email protected]>

	Unfortunately, the autoconf implementation of AC_LIBOBJ and
	friends requires all libobjs to be in the same directory, as
	declared by AC_CONFIG_LIBOBJ_DIR.  That might prevent using
	either recursive or nonrecursive libltdl if the parent project
	has libobjs of its own, except that this patch tracks libltdl's
	libobjs in another namespace:

	* libltdl/m4/ltdl.m4 (_LT_LIBOBJ, _LT_LIBSOURCES): Versions of
	AC_LIBOBJ and AC_LIBSOURCES that save missing sources in a
	ltdl_LIBOBJS automake macro, instead of the global LIBOBJS
	automake macro.  Content of the macros inspired by code from
	gnulib-tool.
	(_LTDL_MODE_DISPATCH): Initialise lt_libobj_prefix in
	nonrecursive mode.
	(LTDL_INIT): Push and pop the new definitions around potential
	sites that call AC_LIBOBJ.  Also, using lt_libobj_prefix,
	initialise ltdl_LIBOBJS and ltdl_LTLIBOBJS.
	* libtoolize.m4sh (func_fixup_Makefile): Substitute ltdl_LIBOBJS
	and ltdl_LTLIBOBJS for LIBOBJS and LTLIBOBJS during copying
	either Makefile.am or Makefile.inc, depending on ltdl_mode.
	Reported by Eric Blake <[email protected]>

2008-01-30  Gary V. Vaughan  <[email protected]>

	There are 5 distinct batches of files that libtoolize might
	install into a project, depending on whether libltdl is
	being installed in subproject mode, and in that case whether
	the parent project shares the config and macro directories
	with the subproject ltdl.  Make a separate function for each
	of those 5 batches (4 new functions below, plus the recently
	factored func_install_pkgltdl_files), and make a clearer
	distinction between when each of them is needed:

	* libtoolize.m4sh (func_install_pkgmacro_subproject):
	New function for installing and reporting on m4 files copied
	to a subproject ltdl directory.
	(func_install_pkgmacro_parent): Similar new function for m4
	files copied solely for the use of the parent project,
	including serial checking.
	(func_install_pkgconfig_subproject): New function for
	installing and reporting on config helper files copied to a
	subproject ltdl directory.
	(func_install_pkgconfig_parent): Similar new function for
	config helper files copied solely for the use of the parent
	project, including serial checking.
	(func_install_pkgmacro_files, func_install_pkgconfig_files):
	Rewritten in terms of the above functions.
	* tests/libtoolize.at: Adjust test expout's to match newly
	regularized libtoolize output.
	Move parent project pkgconfig files to build-aux directory
	so that progress messages show an obvious difference to
	pkgconfig files installed to subproject `config' directory.
	(nonrecursive ltdl with AC_CONFIG_MACRO_DIR): New test.
	(diagnose missing LT_CONFIG_LTDL_DIR): New test.
	(subproject ltdl with non-shared directories): New test.
	Reported by Eric Blake <[email protected]>

2008-01-29  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4 [darwin]: Changes to glob pattern matching
	to be safer.

	Search the compiler path too.
	* libltdl/m4/libtool.m4 (compiler_lib_search_dirs): New variable.
	* libltdl/config/ltmain.m4sh: Use it.
	Reported by Maynard Johnson

2008-01-28  Gary V. Vaughan  <[email protected]>

	* libtoolize.m4sh (func_check_macros): Correct typo with
	'$opt_quiet ||' where '$opt_quiet &&' that was preventing
	func_check_macros from running!

	* libtoolize.m4sh: Set opt_ltdl whenever seen_ltdl is set
	so that libtoolize behaves as though --ltdl was passed even
	if it wasn't as long as LTDL_INIT (or equivalent) was seen
	in configure.ac.  Adjust redundant '$opt_ltdl || $seen_ltdl'
	to simply '$opt_ltdl'.
	Reported by Eric Blake <[email protected]>

	* libtoolize.m4sh (func_check_macros): Check opt_quiet
	in the function itself to simplify calling it.  Also move
	the definition of the function.

	* libtoolize.m4sh (func_scan_files): Be sure to set the
	default libltdl mode to 'subproject' when libtoolize is
	executed before configure.ac has been updated.

2008-01-27  Gary V. Vaughan  <[email protected]>

	* libtoolize.m4sh (func_install_pkgconfig_files)
	(func_install_pkgmacro_files, func_install_pkgltdl_files):
	Factored out from the 'Main' section of the file.

	* libtoolize.m4sh (subproject_auxdir, subproject_macrodir):
	New variables to hold the default locations for auxfiles
	and macrofiles in a subproject libltdl.
	(ac_auxdir, ac_macrodir): New variables to hold the values
	passed by AC_CONFIG_AUX_DIR and AC_CONFIG_MACRO_DIR resp.
	(auxdir, macrodir): Adjust to contain the values to be
	used by libtoolize at runtime.

	* libtoolize.m4sh (func_fixup_Makefile)
	(func_massage_aclocal_DATA, func_massage_pkgltdl_files)
	(func_massage_pkgconfig_files): Add missing $opt_debug.

2008-01-27  Gary V. Vaughan  <[email protected]>

	* libtoolize (func_fixup_Makefile, func_massage_aclocal_DATA)
	(func_massage_pkgltdl_files, func_massage_pkgconfig_files):
	Add missing $opt_debug.

2008-01-26  Gary V. Vaughan  <[email protected]>

	* libtoolize.m4sh (Main): Copy (or link) libltdl sources
	into project tree when LTDL_INIT was seen, whether or not
	`--ltdl' is passed.
	(func_check_macros): Recommend LTDL_INIT instead of
	LT_WITH_LTDL when `--ltdl' is used before configure.ac is
	upgraded.
	* tests/libtoolize.at: Test that it works.
	(_LT_AT_LTDL_SETUP): Factor out some common test setup.
	Reported by Eric Blake <[email protected]>

2008-01-24  Peter O'Gorman  <[email protected]>

	* doc/notes.texi: Fix errors in previous commit.

	* libltdl/m4/libtool.m4 (sys_lib_search_path_spec,
	sys_lib_dlsearch_path_spec): Allow for a cache variable
	lt_cv_sys_lib_... to set these at configure time.
	* doc/notes.texi: Short note about the above change.

2008-01-24  Eric Blake  <[email protected]>

	Add proper quoting to doc examples.
	* doc/libtool.texi: Use m4 quotes where appropriate.
	(Test descriptions): Fix truncated sentence.

2008-01-18  Gary V. Vaughan  <[email protected]>

	* Makefile.am (DISTCLEANFILES): Remove libtool.dvi generated
	by 'make dvi'.

2008-01-17  Ralf Wildenhues  <[email protected]>

	* libtoolize.m4sh (func_scan_files): Avoid matching our own
	macro code when scanning configure.ac and aclocal.m4.
	Don't produce spurious output if AC_PROG_RANLIB is found.
	* tests/old-m4-iface.at (AM_PROG_LIBTOOL): Add a (weak) check
	that we don't match our own macro code when searching for user
	code calling us.
	* TODO: Updated.

2008-01-17  Ralf Wildenhues  <[email protected]>

	New variable LTDLDEPS for use in output_DEPENDENCIES.

	* libltdl/m4/ltdl.m4 (_LTDL_CONVENIENCE, _LTDL_INSTALLABLE)
	(LTDL_INIT): Set and substitute LTDLDEPS according to chosen
	method.
	* tests/configure-iface.at (installable libltdl)
	(--with-ltdl-include/lib, --with-included-ltdl): Test it.
	* doc/libtool.texi (Distributing libltdl): Document LTDLDEPS.
	* NEWS: Updated.
	Dependency bug exposed by Eric Blake in M4, found by Bob Proulx
	build daemon.

2008-01-17  Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi (Distributing libltdl): Clarify that
	`${top_build_prefix}' may be used in place of `${top_builddir}/'.

	* doc/libtool.texi (Distributing libltdl): Clarify that
	LTDL_INIT goes after LT_INIT; also show the latter in the
	respective examples.
	* tests/subproject.at: Adjust order.

2008-01-16  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Use AM_CONDITIONAL
	only if defined.  Allows to use libltdl without aclocal.

2008-01-16  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4: Set GCC var for every tag, avoids need
	to set withGCC var.

2008-01-15  Ralf Wildenhues  <[email protected]>

	* configure.ac: Set libltdl nonrecursive option, to avoid
	configuring libltdl inside the Libtool package.

2008-01-14  Ralf Wildenhues  <[email protected]>

	Silence all non-warning output from `libtool --silent'.
	* libltdl/config/ltmain.m4sh (func_generate_dlsyms)
	(func_extract_archives, func_mode_link): Use func_verbose
	instead of func_echo for all non-warning output.

	* Makefile.maint (fetch): Update to match upstream git sources.
	Pull `INSTALL' from gnulib instead of from Autoconf.

	* doc/notes.texi: Mention AIX binutils deficiency for C++ code.
	Report by Rainer Tammer.
	Suggest using bash for configure.

	* libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Fix to use
	new _LT_SET_OPTION semantics.

2008-01-12  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/ltdl.m4 (_LTDL_SETUP): Define
	LTDL_DLOPEN_SELF_WORKS, depending upon lt_cv_dlopen_self.
	* libltdl/loaders/dlopen.c (vm_open) [!LTDL_DLOPEN_SELF_WORKS]:
	Fail for dlopen(NULL), so that the preopen loader is used.  This
	fixes mdemo-exec.test failures on AIX where dlopen(NULL)
	succeeds but dlsym resolves no symbol.
	* NEWS: Update.
	Report by Rainer Tammer.

	* tests/am-subdir.at: Drop unused variables.
	* tests/configure-iface.at: Likewise.
	* tests/ctor.at: Likewise.
	* tests/early-libtool.at: Likewise.
	* tests/lt_dladvise.at: Likewise.
	* tests/old-m4-iface.at: Likewise.
	* tests/lt_dlexit.at: Likewise.  Also drop unused functions.

	* tests/old-m4-iface.at (AM_PROG_LIBTOOL): Also copy needed
	lt~obsolete.m4.

	* libltdl/config/ltmain.m4sh (func_mode_link): Fix warning
	about -l and -L for archives and objects as output, to not
	trigger for *.la files.  Non-convenience archives are diagnosed
	later on.

	* tests/configure-iface.at: Ensure LTDLINCL is expanded
	before CPPFLAGS, so that even CPPFLAGS=-I/usr/local/include
	won't make the tests prefer an installed ltdl.h over the
	in-package one.
	* tests/lt_dladvise.at, tests/lt_dlexit.at: Likewise.
	* tests/need_lib_prefix.at, tests/old-m4-iface.at: Likewise.
	Report by Bob Friesenhahn.

2008-01-11  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <exclude_expsyms>:
	Also exclude `_GLOBAL__F[ID]_.*'.  Also set for the C++ tag.
	Fixes esp. demo/helldl build failure with GCC on AIX.
	Report by Rainer Tammer.

2008-01-11  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4 [darwin]: Reorganize darwin support, use
	dsymutil if it is available so that debugging is possible, check
	for nmedit and dsymutil with AC_CHECK_TOOL, use the linker flag
	-exported_symbols_list in preference to nmedit if it is available.
	Drop support for xlc, it is probably broken.
	* tests/template.at [darwin]: Skip this test, I can not find a way
	to make it work on darwin9 with Xcode-3.0.
	* NEWS: Note the dropping of xlc support.

2008-01-08  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (LT_INIT): m4_require, not AC_REQUIRE
	_LT_CHECK_BUILDDIR, as it's m4_defun'ed, not AC_DEFUN'ed.
	Report by Peter O'Gorman.

	* libltdl/m4/ltdl.m4 (_LTDL_INSTALLABLE): Restore correct
	_LT_BUILD_PREFIX-using code.

2008-01-08  Gary V. Vaughan  <[email protected]>

	* tests/recursive.at: Remove bogus --debug option.
	Reported by Ralf Wildenhues <[email protected]>

	* tests/configure-iface.at: Build libltdl in a subdir so that
	it can be easily removed without trying to remove config.log
	on windows (which can't delete a file until it is closed).
	Reported by Ralf Wildenhues <[email protected]>

	* libltdl/m4/ltdl.m4 (LTDL_INSTALLABLE): Use _LT_BUILD_PREFIX
	instead of ${top_builddir} for Autoconf-2.62.
	Reported by Ralf Wildenhues <[email protected]>

	* libltdl/m4/ltdl.m4 (_LT_CONFIG_LTDL_DIR): Correct closing
	comment.
	Reported by Ralf Wildenhues <[email protected]>

	* NEWS: Grammar nit.

	* tests/configure-iface.at, tests/nonrecursive.at,
	tests/recursive.at, tests/subproject.at (_LTDL_SETUP):
	Renamed to _LT_AT_LTDL_SETUP to avoid a nameclash with
	libltdl/m4/ltoptions.m4:_LTDL_SETUP from yesterday's patch.
	Reported by Ralf Wildenhues <[email protected]>

2008-01-07  Ralf Wildenhues  <[email protected]>

	* tests/runpath-in-lalib.at (Runpath in libtool library files):
	Compile program file without libtool.
	Report by Rainer Tammer.

2008-01-07  Rainer Tammer  <[email protected]>  (tiny change)
	    Ralf Wildenhues  <[email protected]>

	Support AIX 6.1.
	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
	(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	(_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG)
	(_LT_LANG_FC_CONFIG): Adjust case patterns to match AIX 6
	through 9 as well.
	* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
	* NEWS: Update.
	* THANKS: Update.

2008-01-07  Gary V. Vaughan  <[email protected]>

	Move libltdl build mode options from LT_CONFIG_LTDL_DIR to
	LTDL_INIT.  Accept (optional) new 'convenience' and 'installable'
	options in lieu of LTDL_CONVENIENCE and LTDL_INSTALL macros. And
	also, implement --with-included-ltdl, --with-ltdl-lib and
	--with-ltdl-include configure-time options:

	* libltdl/m4/ltoptions.m4: Associate existing option settings with
	LT_INIT.
	(LT_OPTION_DEFINE): Associate options 'nonrecursive', 'recursive',
	'subproject', 'installable' and 'convenience' with LTDL_INIT.
	(_LT_MANGLE_OPTION, _LT_SET_OPTION, _LT_IF_OPTION)
	(_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Add MACRO-NAME argument to
	support options to named macros instead of hardcoding only LT_INIT
	options.
	* libltdl/m4/ltdl.m4 (_LTDL_CONVENIENCE): Factor common code from
	LTDL_CONVENIENCE and LTDL_INIT([convenience]).
	(_LTDL_INSTALLABLE): Factor out common code from LTDL_INSTALLABLE
	and LTDL_INIT([installable]).
	(_LTDL_SETUP): Renamed from LTDL_INIT.  Support new configure-time
	options: --with-included-ltdl, --with-ltdl-lib,
	--with-ltdl-include.
	(LTDL_CONVENIENCE, LTDL_INSTALLABLE): Adjust.
	(LT_WITH_LTDL): Removed.
	(LTDL_INIT): Parse caller options.
	* libltdl/m4/libtool.m4 (LT_INIT): Declare that this macro must be
	expanded before LTDL_INIT, and be sure to parse caller options.
	* configure.ac: Call directly into internal _LTDL_SETUP macro.
	* libtoolize.m4sh (func_scan_files): Ltdl mode argument moved from
	LT_CONFIG_LTDL_DIR to LTDL_INIT.
	* tests/nonrecursive.at, tests/recursive.at: Use new interfaces.
	* tests/configure-iface.at: Test it.
	* Makefile.am (TESTSUITE_AT): Add configure-iface.at.
	* doc/libtool.texi (Distributing libltdl): Document improved
	LTDL_INIT interfaces.
	* NEWS: Updated.

2008-01-02  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): When creating
	reloadable object files, avoid issuing plain `rm -f' without
	further arguments, even if the line length limit is ridiculously
	low as in the `Run tests with low max_cmd_len' test.  This
	failure is exposed on NetBSD.
	Report by Patrick Welche.

	* Makefile.am (EXTRA_DIST): Add ChangeLog.2007.
	* ChangeLog.2007: New, rotated, from...
	* ChangeLog: ...here.
	* NEWS, README, README.alpha, Makefile.am, libtoolize.m4sh,
	libltdl/config/getopt.m4sh, libltdl/config/ltmain.m4sh,
	libltdl/m4/libtool.m4: Bump copyright years.

2007-11-30  Stefan Sperling  <[email protected]>  (tiny change)

	* doc/libtool.texi (Linking executables): Reorder paragraphs.

2007-11-26  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: The IBM
	XL 8.0 C++ compiler may also be called xlc++*, not only xlC*.
	Report by Nysal K Jan <[email protected]>.

2007-11-24  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_CHECK_BUILDDIR): New macro.
	Warn about whitespace in the absolute build tree name.
	(LT_INIT): Use it.
	* THANKS: Update.
	Report by Jim Meyering.

	* libltdl/config/ltmain.m4sh (func_extract_an_archive)
	(func_extract_archives): Add some quoting.

2007-11-16  Ralf Wildenhues  <[email protected]>

	Use `${top_build_prefix}' for better compatibility with non-GNU make.
	* libltdl/m4/ltdl.m4 (_LT_BUILD_PREFIX): New macro.
	If the Autoconf version used is >= 2.62, then expand to
	`${top_build_prefix}', otherwise to `${top_builddir}/'.
	(LTDL_CONVENIENCE, LTDL_INSTALLABLE): Use it for defining
	LIBLTDL.  Fixes a build failure with AIX make in a package
	using convenience libltdl in nonrecursive mode.
	* doc/libtool.texi (Distributing libltdl): Document requirements
	to define `top_build_prefix' if Automake is not used.
	Report by Bob Friesenhahn.

2007-11-12  Ralf Wildenhues  <[email protected]>

	Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
	* libltdl/m4/libtool.m4 (_LT_LINKER_BOILERPLATE)
	(_LT_LINKER_OPTION, _LT_CMD_GLOBAL_SYMBOLS): Remove
	conftest.dSYM directory.
	Report and analysis by Jeff Squyres and Peter O'Gorman.

2007-11-09  Ralf Wildenhues  <[email protected]>

	* libltdl/configure.ac: Drop the broken and long-disabled code
	to output a banner for the libltdl configure.  Avoids the need
	to ship mkstamp with libltdl.

2007-11-08  Ralf Wildenhues  <[email protected]>

	* tests/runpath-in-lalib.at: New test.
	* Makefile.am: Update.
	Report by Benoit SIGOURE <[email protected]>.

2007-10-16  Eric Blake  <[email protected]>

	Speed up bootstrap by improving lt_join.
	* libltdl/m4/ltsugar.m4 (lt_join, _lt_join): Rewrite to mirror
	Autoconf 2.62's faster implementation.

2007-10-12  Eric Blake  <[email protected]>

	Whitespace cleanup.
	* libltdl/m4/ltsugar.m4: Avoid space-tab in indents.
	* libltdl/m4/libtool.m4: Avoid trailing space.

	Deal with Autoconf 2.62's semantic change in m4_append.
	* libltdl/m4/ltsugar.m4 (lt_append): Replace broken versions of
	m4_append.
	(lt_if_append_uniq): Don't require separator to be overquoted, and
	avoid broken m4_append.
	(lt_dict_add): Fix typo.
	* libltdl/m4/libtool.m4 (_LT_DECL): Don't overquote separator.

2007-10-12  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh: Also sanitize `LANGUAGE'.
	(func_mode_execute): Also restore `LANGUAGE', for old glibc.
	Report by Paul Eggert against Autoconf.

2007-10-11  Eric Blake  <[email protected]>

	* libltdl/.cvsignore: Ignore argz.h.

2007-10-11  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC)
	<lt_cv_prog_compiler_pic_works>: Renamed from
	lt_prog_compiler_pic_works.
	<lt_cv_prog_compiler_static_works>: Renamed from
	lt_prog_compiler_static_works.
	* NEWS: Update.

2007-10-09  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_compile): Accept
	extension `.sx'.
	* tests/suffix.test: Test it.

2007-09-07  Ralf Wildenhues  <[email protected]>

	* libltdl/lt_dlloader.c (loader_callback, lt_dlloader_get): Use
	NULL, not 0, for the benefit of too picky compilers like PGI.
	* slist.c (slist_tail): Likewise.  Include stddef.h, for NULL.
	Report by Jeff Squyres.

2007-09-05  Eric Blake  <[email protected]>

	* libltdl/ltdl.c (lt_dlcaller_get_data): Work even when no caller
	has set data.

2007-09-04  Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi (User defined module data)
	<lt_dlinterface_register>: Document that a NULL place matches
	all modules.
	* libltdl/lt_dlloader.c (lt_dlloader_remove): Actually iterate
	over all open modules when looking for modules that use it.
	If a resident module is found, return but do not set the error
	string.
	* libltdl/ltdl.c (lt_dlexit): When removing dlloaders, ignore
	errors that stem from earlier failed commands.  Exposed by the
	lt_dladvise test.
	Fixes regression over branch-1-5.
	Memleak report as Coverity CID 19 via Jeff Squyres.

2007-09-01  Ralf Wildenhues  <[email protected]>

	* NEWS: Update.

	* libltdl/ltdl.c (trim): Fix possible write beyond array bound.

	* libltdl/ltdl.c (lt_dlopenadvise): Instead of asserting, return
	FILE_NOT_FOUND if the filename is "".

	* libltdl/ltdl.c (try_dlopen): Fix computation of extension,
	avoids subtracting pointer from NULL pointer.

	* libltdl/ltdl.c (try_dlopen, lt_dlforeachfile): Do not test
	array address of sys_dlsearch_path against NULL, rather test for
	nonempty contents.
	Coverity reports CID 148 and CID 149 via Jeff Squyres.

	* libltdl/ltdl.c (tryall_dlopen_module): Fix string length
	computation: do not allocate more than needed.

2007-08-30  Ralf Wildenhues  <[email protected]>

	* libltdl/loaders/preopen.c (vm_close): `module' is unused.
	Coverity report CID 158 via Jeff Squyres.

	* libltdl/ltdl.c (parse_dotla_file): If we run out of memory,
	do not close the .la file twice.
	Coverity report CID 440 via Jeff Squyres.

	* libltdl/ltdl.c (has_library_ext): Remove dead code.
	Coverity report CID 561 against Open MPI via Jeff Squyres.

2007-08-29  Ralf Wildenhues  <[email protected]>

	* libltdl/slist.c (slist_remove): When a matching item is found,
	break out of the loop to return the first match; also fixes
	possible NULL dereference.

	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	(_LT_LANG_CXX_CONFIG) [ linux ]: Add support for IBM XL 8.0
	C/C++ (xlc*, xlC*) and IBM XL Fortran 10.1 (xlf*) on GNU/Linux,
	tested on ppc, pending a $shlibpath_var related fix.
	(_LT_SYS_HIDDEN_LIBDEPS): Double-quote $output_verbose_link_cmd
	properly during evaluation, obsoleting $no_glob_subst mangling.
	* NEWS: Update.

2007-08-18  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
	[ k*bsd*-gnu ] <shlibpath_overrides_runpath>: Avoid spurious
	output in runpath test.

2007-08-16  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ]
	<GCJ>: Do not use -DDLL_EXPORT.
	Report by Ross Ridge <[email protected]>.

	* Makefile.am (edit): Do not warn against manual editing for the
	generated files libtool, libtoolize, libltdl/m4/ltversion.m4,
	tests/defs, as they are still in a preferred source code form as
	required by GPL.
	Report by DJ Delorie.

2007-08-15  Dirk Mueller  <[email protected]>  (tiny change)
	    Ralf Wildenhues  <[email protected]>

	* libltdl/ltdl.c (parse_dotla_file): Avoid a strlen.  When
	reading .la files, cope with files that are not
	newline-terminated.

2007-08-05  Tilman Koschnick  <[email protected]>  (tiny change)

	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG)
	[ linux ]: Treat pgcpp as Portland Group C++ compiler as well.

2007-08-05  Ralf Wildenhues  <[email protected]>

	* libltdl/ltdl.c (try_dlopen): Use `attempt' rather than
	`filename', as the former has the needed extension when called
	by lt_dlopenext.
	Report by Brian Barrett.

2007-07-27  Peter Rosin  <[email protected]>

	* Makefile.am: Pass STRIP through to the testsuite, so that
	tests that run configure will use the same strip program.

2007-07-24  Ralf Wildenhues  <[email protected]>

	* tests/mdemo-exec.test: Also try absolute library names.
	* tests/mdemo/main.c (test_dl, main): Try lt_dlopenext as well.
	* THANKS: Update.
	Report by Brian Barrett.

2007-07-23  Ralf Wildenhues  <[email protected]>

	* doc/fdl.texi: Update to GFDL 1.2.
	* doc/libtool.texi: Adjust.  Put License in Appendix.

	* libltdl/config/ltmain.m4sh (func_mode_link): Remove each
	intermediate relinked object after use, to avoid quadratic space
	complexity when linking partially.
	Report by Isidor Zeuner <[email protected]>.

2007-07-23  Eric Blake  <[email protected]>

	* libltdl/config/ltmain.m4sh: Whitespace cleanup.

	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
	<chase_symlinks>: Avoid compiler warning.

2007-07-22  Peter Rosin  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Add
	support for Microsoft Visual C. Also, older MinGW versions
	seem to need stdint.h to find intptr_t.

2007-07-22  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]:
	Ignore lines in ld.so.conf starting with 'hwcap '.

2007-07-16  Charles Wilson  <[email protected]>

	* tests/cdemo-exec.test: use $EXEEXT where appropriate
	to correct mingw cross-compile issues.
	* demo-deplibs.test: Ditto.
	* demo-exec.test: Ditto.
	* demo-inst.test: Ditto.
	* demo-relink.test: Ditto.
	* depdemo-exec.test: Ditto.
	* depdemo-inst.test: Ditto.
	* depdemo-relink.test: Ditto.
	* f77demo-exec.test: Ditto.
	* fcdemo-exec.test: Ditto.
	* mdemo-exec.test: Ditto.
	* mdemo-inst.test: Ditto.
	* mdemo2-exec.test: Ditto.
	* pdemo-exec.test: Ditto.
	* pdemo-inst.test: Ditto.
	* tagdemo-exec.test: Ditto.

2007-07-14  Peter Rosin  <[email protected]>

	* AUTHORS, THANKS: Peter Ekberg got married, now Peter Rosin.

2007-07-13  Charles Wilson  <[email protected]>

	* libltdl/m4/libtool.m4 (func_dirname_and_basename) <XSI>:
	New function.
	(func_dirname_and_basename) <!XSI>: New function.
	* libltdl/config/ltmain.m4sh (func_ltwrapper_scriptname):
	Call it.  Also, take advantage of missed optimization using
	func_dirname's additional arguments.
	(func_mode_compile): Call it.
	(func_mode_install): Call it.
	(func_mode_link): Call it.

2007-07-12  Peter Rosin  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): Strip the cwrapper
	using $STRIP instead of relying on the tools to support -s, which
	MSVC doesn't.

2007-07-06  Peter O'Gorman  <[email protected]>

	* libltdl/config/libtool.m4sh: Don't pass -msg_* through to the
	linker.
	Reported by Bob Friesenhahn  <[email protected]>

2007-07-04  Bob Friesenhahn  <[email protected]>

	* libltdl/lt__alloc.c, libltdl/loaders/preopen.c,
	libltdl/loaders/dyld.c, libltdl/loaders/dlopen.c, libltdl/ltdl.c,
	libltdl/lt_error.c, libltdl/lt_dlloader.c, libltdl/lt__dirent.c:
	Include lt__private.h prior to any system headers.
	* libltdl/lt__alloc.c: Remove redundant inclusion of configuration
	header.

2007-07-04  Eric Blake  <[email protected]>

	* libltdl/ltdl.c (advise_dup): Delete function no longer used
	after memleak fix three days ago.

2007-07-03  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [ solaris ]: Cater to
	old Sparc Solaris 7 ld that does not understand `-64'.
	Report by Vincent Lefevre <[email protected]>.

2007-07-01  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/lt~obsolete.m4 (LTOBSOLETE_VERSION): New macro, to
	force-pull in this file by aclocal.
	* libltdl/m4/libtool.m4 (LT_INIT): Require LTOBSOLETE_VERSION.
	* tests/libtoolize.at (upgrading verbatim style aclocal.m4):
	Adjust.
	Report by H. J. Lu <[email protected]>.

	* libltdl/ltdl.c (tryall_dlopen): Rename argument to have typed
	alias of `advise' instead of allocating a copy.  Fixes memleak.

2007-06-30  Peter Breitenlohner  <[email protected]>

	* libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Correct a typo
	("-dld" instead of "-ldld").

2007-06-24  Gary V. Vaughan  <[email protected]>

	Add a test to simulate a failure visible on systems which
	need a library prefix like 'lib', such as BeOS.  Fix a number
	of bugs exposed by this test in order for it to pass.
	Currently the prefix is hardcoded as 'lib', as I am not aware
	of systems that require a different prefix:

	* libltdl/loaders/preopen.c (lt_dlpreload_open):  Move error
	condition out of test loop to be sure that each originator is
	tried, instead of erroring out if the first doesn't match.
	Support passing NULL as the originator to load all preloaded
	modules originating in the program itself.
	* libltdl/lt_dlloader.c (lt_dlloader_dump): New debug function.
	* libltdl/libltdl/lt_dlloader.h (lt_dlloader_dump): Declare it
	when LT_DEBUG_LOADERS is defined at compile time.
	* libltdl/ltdl.c (lt_dlinit): Dump loader list after successful
	initialisation.
	(tryall_dlopen): Add a new VTABLE parameter to force use of a
	specific loader in preference to trying every loader in turn.
	Adjust all callers.
	(try_dlopen): Always see whether a module was preloaded for
	module names with no directory component before searching the
	filesystem for a match.
	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Declare
	a new global_symbol_to_c_name_address_lib_prefix variable.
	(global_symbol_to_c_name_address_lib_prefix): The sed
	expressions to use when a lib prefix is enforced need to be
	slightly different to work with preloaded modules.
	* libltdl/config/ltmain.m4sh (func_generate_dlsyms): In order
	to name preloaded symbols correctly for the lookup algorithm
	to work when the loaded module file must be prefixed with lib.
	Use global_symbol_to_c_name_address_lib_prefix when
	need_lib_prefix is other than no.
	* tests/need_lib_prefix.at: New test to check for breakage on
	hosts where need_lib_prefix is unknown.
	* Makefile.am (TESTSUITE_AT): Add new test.
	* tests/TODO: Note missing tests that would have caught some
	of the latent bugs fixed by this patch.
	* HACKING: Document libltdl keyword.
	* NEWS: Updated.

2007-06-24  Gary V. Vaughan  <[email protected]>

	Reenable compilation of libltdl with C++:

	* libltdl/ltdl.c (tryall_dlopen): Rename the try variable to
	attempt, and cast explicitly.
	(advise_dup): Add explicit cast.

2007-06-22  Peter O'Gorman  <[email protected]>

	* libltdl/config/ltmain.m4sh (version-number) [irix]: Don't subtract
	1 from major as it may be less than age.

2007-06-21  Noah Misch  <[email protected]>

	* tests/f77demo/configure.ac [--with-dist]: New option.  Skip most
	Fortran checks when given.
	* tests/fcdemo/configure.ac [--with-dist]: Likewise.
	* Makefile.am (@DIST_MAKEFILE_LIST@): Pass --with-dist.
	Reported by Benoit Sigoure <[email protected]>.

2007-06-19  Charles Wilson  <[email protected]>

	* AUTHORS: Add myself.

2007-06-18  Charles Wilson  <[email protected]>

	* libltdl/config/ltmain.m4sh: Add new magic variable
	for use with cwrapper.
	(func_ltwrapper_script_p): New function.
	(func_ltwrapper_executable_p): New function.
	(func_ltwrapper_scriptname): New function.
	(func_ltwrapper_p): Accomodate both wrapper scripts and
	wrapper executables.
	(func_mode_execute): Handle $file that is a wrapper
	script and $file that is a wrapper executable differently.
	(func_mode_install) [cygwin|mingw]: If $file is a wrapper
	executable, use func_ltwrapper_scriptname to determine
	wrapper script name. Afterwards, always use
	func_ltwrapper_script_p instead of func_ltwrapper_p.
	(func_emit_libtool_wrapper_script): Rename to...
	(func_emit_wrapper): ...this. All callers changed.
	(func_emit_libtool_cwrapperexe_source): Rename to...
	(func_emit_cwrapperexe_src): ...this. All callers changed.
	Embed new magic_exe variable into source. Private transient
	wrapper script now called foo_ltshwrapperTMP, not
	foo_ltshwrapper.
	(func_emit_cwrapperexe_src) [main, mingw]: Use _spawnv
	and return child's exit code manually rather than rely on
	broken execv.
	(func_mode_link) [cygwin|mingw]: Don't call dirname and
	basename directly; use func_dirname and func_basename
	when computing cwrapper names.  Use cwrapper to generate
	wrapper script, and use pathname returned by
	func_ltwrapper_scriptname instead of $output.
	(func_mode_link) [NOT cygwin|mingw]: move wrapper script
	generation for non-win32 inside case statement, as default
	case.
	(func_mode_uninstall) [$name's extension != .lo|.la]:
	'clean' mode must handle $file differently if it is a libtool
	wrapper script, or if it is a libtool wrapper executable.
	* tests/destdir.at [Simple DESTDIR install]: $EXEEXT fixups.
	* tests/destdir.at [DESTDIR with in-package deplibs]: Ditto.

2007-06-17  Noah Misch  <[email protected]>

	* AUTHORS: Add myself.

2007-06-17  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): add quotes to
	the test -n.

2007-06-17  Charles Wilson  <[email protected]>

	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): ensure stderr
	is redirected even when getconf does not exist.

2007-06-09  Charles Wilson  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_emit_libtool_wrapper_script):
	Take an argument to specify value assigned to
	WRAPPER_SCRIPT_BELONGS_IN_OBJDIR in the emitted
	script.
	(func_emit_libtool_cwrapperexe_source) [file scope]:
	define permission flags S_IXGRP and S_IXOTH if not
	already defined.
	(func_emit_libtool_cwrapperexe_source) [LTWRAPPER_DEBUGPRINTF]:
	Use C89-compatible syntax to mimic variadic macros.
	Adjust all callers.
	(func_emit_libtool_cwrapperexe_source) [check_executable]:
	avoid embedded #ifdefs; use S_IXGRP and S_IXOTH
	unconditionally.
	(func_emit_libtool_cwrapperexe_source) [make_executable]:
	ditto.
	(func_emit_libtool_cwrapperexe_source): don't rewrite
	WRAPPER_SCRIPT_BELONGS_IN_OBJDIR posthoc; instead pass
	correct argument when calling func_emit_libtool_wrapper_script.
	(func_mode_link): pass correct argument when calling
	func_emit_libtool_wrapper_script.

2007-06-07  Charles Wilson  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_emit_libtool_cwrapperexe_source):
	ensure that generated source follows GCS as nearly as
	possible.

2007-06-07  Charles Wilson  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_emit_libtool_wrapper_script):
	add code block to handle cases when wrapper script is in $objdir.
	(func_emit_libtool_cwrapperexe_source): replace DEBUG() macro
	with namespace-safe LTWRAPPER_DEBUGPRINTF(). Call
	func_emit_libtool_wrapper_script() with appropriate filters to
	embed script text in C char* static variable.
	(f_e_l_c_s: main): add new option --lt-dump-script, parse argv[]
	for it, and take appropriate action.  Call chase_symlinks()
	on argv[0], in case this.exe was launched via one.  Use chased
	value to determine full absolute pathname of wrapper script, in
	$objdir. Unconditionally write script out to this pathname and
	set permission bits.  Remove extraneous ';' from debugging loop.
	(f_e_l_c_s: main) [mingw]: DOS-ize $SHELL before populating
	newargv[0]; if $TARGETSHELL environment variable is set, use
	it instead of $SHELL and do not DOS-ize.  Ensure newargv[1]
	(wrapper script absolute path) uses only '/', not '\'.  Make
	sure to call execv() with DOS-ized $SHELL (or un-DOS-ized
	$TARGETSHELL, if set)
	(f_e_l_c_s: make_executable): new function
	(f_e_l_c_s: chase_symlinks): new function (no-op if !S_ISLNK)

2007-06-03  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4 (old_archive_cmds): Remove
	old_deplibs.
	* tests/archive-in-archive.at: Check for archives as members
	of static archives. Currently XFAILS, above only eliminates
	one of the two static archives.
	* Makefile.am: Add test.
	Reported by Daniel Macks <[email protected]>

2007-06-01  Steve Ellcey  <[email protected]>

	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Try using getconf
	to set lt_cv_sys_max_cmd_len.

2007-05-28  Peter O'Gorman  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link),
	libltdl/m4/libtool.m4 [darwin]: Only use ${wl} in verstring
	with xlc.

2007-05-22  Gary V. Vaughan  <[email protected]>

	* tests/lt_dladvise.at:  Use the lib prefix throughout for
	better portability - testing whether modules build and load
	without that prefix is not the domain of this test.
	Also, only run the test of the global hint with the depend
	module on hosts that can compile a module without passing
	-no-undefined in link mode.

2007-05-10  Noah Misch  <[email protected]>

	* tests/duplicate_deps.at: Make the XFAIL unconditional, but
	skip the test if the test link would succeed even without
	--preserve-dup-deps.

	* libltdl/config/general.m4sh (func_echo): Use $* instead of
	${1+"$@"}.

2007-05-09  Eric Blake  <[email protected]>

	* libltdl/libltdl/lt_error.h (LT_ERROR_LEN_MAX): Adjust, to fix
	buffer overflow in previous patch.

2007-05-09  Gary V. Vaughan  <[email protected]>

	* tests/lt_dladvise.at: Commit missing file from below.

2007-05-08  Gary V. Vaughan  <[email protected]>

	Without this patch, lt_dlopen always opens modules with symbol
	visibility set according to the underlying implementation.
	Here, we add lt_dlopenadvise() to allow callers to request,
	among other things, local or global symbol visibility from the
	underlying dlloader:

	* libltdl/ltdl.c (LT_DLRESIDENT_FLAG): Removed.
	(LT_DLIS_RESIDENT): Use public is_resident info field.
	(LT_DLIS_SYMLOCAL, LT_DLIS_SYMGLOBAL): New macros to test for
	module symbol visibility status.
	(tryall_dlopen): If vtable->module_open() was able to act on
	either is_symlocal or is_symglobal hints, store that in
	the handle flags.
	(lt_dlopenadvise): New function that works like lt_dlopen(),
	but accepts an advise type to determine whether to ask
	dlloaders to change default symbol visibility.
	(lt_dlopen, lt_dlopenext): Just call lt_dlopenadvise() with
	the correct parameters.
	(lt_dladvise_init, lt_dladvise_destroy): New functions to
	initialize and destroy an advise type hint.
	(lt_dladvise_ext, lt_dladvise_resident, lt_dladvise_local)
	(lt_dladvise_global): Set hints on an advise type.
	(openadvise): Factored out of lt_dlopenadvise.
	(has_library_ext): Factored out of lt_dlopenadvise.
	* libltdl/ltdl.h: Declare all of the above.
	(lt_dlinfo): New fields for advise hints.
	* libltdl/libltdl/lt_dlloader.h (lt_module_open): Add a new
	advise parameter.  Adjust all callers.
	(lt_dladvise): New opaque type for advise hints.
	* libltdl/libltdl/lt__private.h (lt__advise): Declare
	contents of opaque lt_dladvise type.
	* libltdl/libltdl/lt_error.h (CONFLICTING_FLAGS): New error
	for attempts to have local and global symbol visibility at the
	same time.
	* libltdl/loaders/dld_link.c, libltdl/loaders/dyld.c,
	libltdl/loaders/load_add_on.c, libltdl/loaders/loadlibrary.c,
	libltdl/loaders/preopen.c, libltdl/loaders/shl_load.c: Adjust.
	* libltdl/loaders/dlopen.c (RTLD_LOCAL, RTLD_GLOBAL): Try to
	define these symbols if the system has equivalents.
	(vmopen): If unable to act on a caller request to set symbol
	visibility, then unset the relevant hints in the advise type.
	* tests/lt_dladvise.at: New tests for the above.
	* doc/libtool.texi (Libltdl Interface): Updated.
	* NEWS: Updated.

2007-05-03  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): When adding
	new_inherited_linker_flags to compiler_flags, remember to
	translate .ltframework back.  Fixes bug introduced 2007-04-23.
	* THANKS: Update.
	* tests/inherited_flags.at: Amend test.
	Report by Christoph Egger.

2007-05-03  Reuben Thomas  <[email protected]>  (tiny change)

	* doc/libtool.texi (Libltdl interface): Fix typo.

2007-05-01  Ralf Wildenhues  <[email protected]>

	* Makefile.am (clean-ltmain-sh): Removed.
	(libtool, $(srcdir)/$(m4dir)/ltversion.m4)
	($(srcdir)/$(auxdir)/ltmain.sh): Updated to not depend on any
	phony rules.  Test `$?' for prerequisites that should always
	cause us to update the target.  Fixes rebuilding rules, at the
	cost of sometimes updating too much with non-GNU make.

2007-04-27  Noah Misch  <[email protected]>

	* tests/ctor.at: New file.
	* Makefile.am (TESTSUITE_AT): Add tests/ctor.at.

2007-04-27  Charles Wilson  <[email protected]>

	* libltdl/libltdl/lt__glibc.h: Use !HAVE_WORKING_ARGZ
	instead of SYSTEM_ARGZ_IS_BROKEN.
	* libltdl/m4/argz.m4 (gl_FUNC_ARGZ): Ditto.  Also, minor
	stylistic improvements.
	Report by Bruno Haible <[email protected]>.

2007-04-25  Charles Wilson  <[email protected]>
	    Ralf Wildenhues  <[email protected]>

	* libltdl/argz_.h: ensure error_t definition is obtained
	in same mechanism system argz.h would have.
	* libltdl/libltdl/lt__glibc.h: also detect if
	SYSTEM_ARGZ_IS_BROKEN when determining whether to re#def
	argz* functions.
	* libltdl/m4/argz.m4 (gl_FUNC_ARGZ): add new test to check
	if $host's argz facilities are known bad.  Err on the side
	of caution if cross-compiling.

2007-04-25  Ralf Wildenhues  <[email protected]>

	* README, README.alpha: Document how to test an arbitrary
	installed libtool script.

2007-04-24  Ralf Wildenhues  <[email protected]>

	* tests/cmdline_wrap.at: Avoid `AT_CAPTURE_FILE' if it not
	defined (Autoconf < 2.60).
	* tests/shlibpath.at: Add `libtool' keyword.

	* tests/indirect_deps.at: New file, with tests to ensure
	`link_all_deplibs=no' does not break functionality.
	* Makefile.am: Adjust.

2007-04-23  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): Fix accumulation
	of `inherited_linker_flags' entries from multiple deplibs, by
	adding $new_inherited_linker_flags only once, only in link pass.
	* tests/inherited_flags: Amend test to expose this.
	* NEWS: Adjust: kill one regression, but add note about the
	feature new in 1.9b.
	Report by Jeff Squyres and others.

2007-04-23  Charles Wilson  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): move wrapper
	script generation from here...
	(func_emit_libtool_wrapper_script): to this new function, and
	write to stdout
	(func_mode_link): move cwrapper source code generation from
	here...
	(func_emit_libtool_cwrapperexe_source): to this new function,
	and write to stdout
	(func_mode_link): call the two new functions and redirect
	output to appropriate file.

2007-04-10  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link) <-no-install>
	[ darwin ]: Treat like `-no-fast-install', as we cannot
	hardcode.  Report by Simon Josefsson.

2007-04-03  Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi (Link mode) <-no-install>: Mention that this
	still generates a wrapper script on systems without hardcoding.
	* tests/stresstest.at: Test `-no-install'.
	* THANKS: Update.
	Report by Simon Josefsson.

2007-03-30   Matthieu Herrb  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
	[ openbsd ]: Add an explicit check for shared libraries support.

2007-03-29  Ralf Wildenhues  <[email protected]>

	* Makefile.am ($(srcdir)/$(m4dir)/ltversion.m4): Fix quoting
	error.

2007-03-28  Gary V. Vaughan  <[email protected]>

	* HACKING (Abstraction layers in libltdl): Rewritten somewhat
	for (hopefully) better clarity.

2007-03-26  Gary V. Vaughan  <[email protected]>

	The stamp-vcl file rules caused non-gnu make programs to rerun
	parts of the configuration process on each invocation.  Instead
	of relying on a stamp file, we now compare version numbers of
	generated files with the ChangeLog timestamp manually in the
	affected make rules to decide whether regenerating is necessary:

	* Makefile.am (EXTRA_DIST): Remove stamp-vcl.
	(clean-ltmain-sh): Also remove users' obsolescent stamp-vcl.
	(rebuild): Keep some common code here for...
	(libtool, libltdl/m4/ltversion.m4, libltdl/config/ltmain.sh):
	Rewritten to work without reference to intermediate stamp-vcl
	file.
	* configure.ac (CONFIG_STATUS_DEPENDENCIES): Change from
	stamp-vcl to ChangeLog.
	* NEWS: Removed entry saying this fix is needed.

2007-03-25  Gary V. Vaughan  <[email protected]>

	* HACKING (LGPL with Libtool exception clause): Typo.
	Reported by Tim Van Holder  <[email protected]>

	* HACKING (Licensing Rules): Explain the various license texts
	used for files distributed with Libtool, and update license text
	to match.
	* Makefile.am, Makefile.maint README, README.alpha, THANKS, TODO,
	bootstrap, clcommit.m4sh, configure.ac, libltdl/Makefile.inc,
	libltdl/README, libltdl/argz.c, libltdl/argz_.h,
	libltdl/config/general.m4sh, libltdl/config/getopt.m4sh,
	libltdl/config/ltmain.m4sh, libltdl/config/mailnotify.m4sh,
	libltdl/config/mkstamp, libltdl/configure.ac,
	libltdl/libltdl/lt__alloc.h, libltdl/libltdl/lt__dirent.h,
	libltdl/libltdl/lt__glibc.h, libltdl/libltdl/lt__private.h,
	libltdl/libltdl/lt__strl.h, libltdl/libltdl/lt_dlloader.h,
	libltdl/libltdl/lt_error.h, libltdl/libltdl/lt_system.h,
	libltdl/libltdl/slist.h, libltdl/loaders/dld_link.c,
	libltdl/loaders/dlopen.c, libltdl/loaders/dyld.c,
	libltdl/loaders/load_add_on.c, libltdl/loaders/loadlibrary.c,
	libltdl/loaders/preopen.c, libltdl/loaders/shl_load.c,
	libltdl/lt__alloc.c, libltdl/lt__dirent.c, libltdl/lt__strl.c,
	libltdl/lt_dlloader.c, libltdl/lt_error.c, libltdl/ltdl.c,
	libltdl/ltdl.h, libltdl/m4/argz.m4, libltdl/m4/libtool.m4,
	libltdl/m4/ltdl.m4, libltdl/m4/ltoptions.m4,
	libltdl/m4/ltsugar.m4, libltdl/m4/ltversion.in,
	libltdl/m4/ltversion.m4, libltdl/m4/lt~obsolete.m4,
	libltdl/slist.c, libtoolize.m4sh, tests/am-subdir.at,
	tests/cdemo-conf.test, tests/cdemo-exec.test,
	tests/cdemo-make.test, tests/cdemo-shared.test,
	tests/cdemo-static.test, tests/cdemo-undef.test,
	tests/cdemo/Makefile.am, tests/cdemo/configure.ac,
	tests/cdemo/foo.c, tests/cdemo/foo.h, tests/cdemo/main.c,
	tests/cmdline_wrap.at, tests/convenience.at, tests/defs.m4sh,
	tests/demo-conf.test, tests/demo-deplibs.test,
	tests/demo-exec.test, tests/demo-hardcode.test,
	tests/demo-inst.test, tests/demo-make.test,
	tests/demo-nofast.test, tests/demo-noinst-link.test,
	tests/demo-nopic.test, tests/demo-pic.test,
	tests/demo-relink.test, tests/demo-shared.test,
	tests/demo-static.test, tests/demo-unst.test,
	tests/demo/Makefile.am, tests/demo/configure.ac,
	tests/demo/dlmain.c, tests/demo/foo.c,
	tests/demo/foo.h, tests/demo/hell1.c, tests/demo/hell2.c,
	tests/demo/hello.c, tests/demo/main.c,
	tests/depdemo-conf.test, tests/depdemo-exec.test,
	tests/depdemo-inst.test, tests/depdemo-make.test,
	tests/depdemo-nofast.test, tests/depdemo-relink.test,
	tests/depdemo-shared.test, tests/depdemo-static.test,
	tests/depdemo-unst.test, tests/depdemo/Makefile.am,
	tests/depdemo/configure.ac, tests/depdemo/l1/Makefile.am,
	tests/depdemo/l1/l1.c, tests/depdemo/l1/l1.h,
	tests/depdemo/l2/Makefile.am, tests/depdemo/l2/l2.c,
	tests/depdemo/l2/l2.h, tests/depdemo/l3/Makefile.am,
	tests/depdemo/l3/l3.c, tests/depdemo/l3/l3.h,
	tests/depdemo/l4/Makefile.am, tests/depdemo/l4/l4.c,
	tests/depdemo/l4/l4.h, tests/depdemo/main.c,
	tests/depdemo/sysdep.h, tests/deplibs-ident.at,
	tests/destdir.at, tests/duplicate_conv.at,
	tests/duplicate_deps.at, tests/duplicate_members.at,
	tests/early-libtool.at, tests/export.at,
	tests/f77demo-conf.test, tests/f77demo-exec.test,
	tests/f77demo-make.test, tests/f77demo-shared.test,
	tests/f77demo-static.test, tests/f77demo/Makefile.am,
	tests/f77demo/configure.ac, tests/f77demo/cprogram.c,
	tests/f77demo/foo.h, tests/f77demo/fooc.c,
	tests/fail.at, tests/fcdemo-conf.test, tests/fcdemo-exec.test,
	tests/fcdemo-make.test, tests/fcdemo-shared.test,
	tests/fcdemo-static.test, tests/fcdemo/Makefile.am,
	tests/fcdemo/configure.ac, tests/fcdemo/cprogram.c,
	tests/fcdemo/foo.h, tests/fcdemo/fooc.c,
	tests/inherited_flags.at, tests/libtoolize.at,
	tests/link-2.test, tests/link-order.at, tests/link-order2.at,
	tests/link.test, tests/lt_dlexit.at, tests/mdemo-conf.test,
	tests/mdemo-dryrun.test, tests/mdemo-exec.test,
	tests/mdemo-inst.test, tests/mdemo-make.test,
	tests/mdemo-shared.test, tests/mdemo-static.test,
	tests/mdemo-unst.test, tests/mdemo/Makefile.am,
	tests/mdemo/configure.ac, tests/mdemo/foo.h, tests/mdemo/foo1.c,
	tests/mdemo/foo2.c, tests/mdemo/main.c, tests/mdemo/mlib.c,
	tests/mdemo/sub.c, tests/mdemo2-conf.test,
	tests/mdemo2-exec.test, tests/mdemo2-make.test,
	tests/mdemo2/Makefile.am, tests/mdemo2/configure.ac,
	tests/mdemo2/main.c, tests/nomode.test, tests/nonrecursive.at,
	tests/objectlist.test, tests/old-m4-iface.at,
	tests/pdemo-conf.test, tests/pdemo-exec.test,
	tests/pdemo-inst.test, tests/pdemo-make.test,
	tests/pdemo/Makefile.am, tests/pdemo/configure.ac,
	tests/pdemo/foo.h, tests/pdemo/longer_file_name_dlmain.c,
	tests/pdemo/longer_file_name_foo.c,
	tests/pdemo/longer_file_name_foo2.c,
	tests/pdemo/longer_file_name_hell1.c,
	tests/pdemo/longer_file_name_hell2.c,
	tests/pdemo/longer_file_name_hello.c,
	tests/pdemo/longer_file_name_main.c, tests/quote.test,
	tests/recursive.at, tests/search-path.at, tests/sh.test,
	tests/shlibpath.at, tests/standalone.at, tests/static.at,
	tests/stresstest.at, tests/subproject.at, tests/suffix.test,
	tests/tagdemo-conf.test, tests/tagdemo-exec.test,
	tests/tagdemo-make.test, tests/tagdemo-shared.test,
	tests/tagdemo-static.test, tests/tagdemo-undef.test,
	tests/tagdemo/Makefile.am, tests/tagdemo/baz.cpp,
	tests/tagdemo/baz.h, tests/tagdemo/configure.ac,
	tests/tagdemo/conv.cpp, tests/tagdemo/conv.h,
	tests/tagdemo/foo.cpp, tests/tagdemo/foo.h,
	tests/tagdemo/main.cpp, tests/tagtrace.test,
	tests/template.at, tests/testsuite.at: Apply correct license
	text according to the new rules set out in HACKING.

2007-03-19  Gary V. Vaughan  <[email protected]>

	* libtoolize.m4sh: Handle argz.m4 specially like ltdl.m4, so
	that it isn't copied unless libltdl is being used.  Copy other
	macro files according to their tagged serial numbers.
	* tests/libtoolize.at: Adjust.

2007-03-18  Ralf Wildenhues  <[email protected]>

	* tests/mdemo/Makefile.am (libmlib_la_LDFLAGS): Add
	`-export-symbols-regex ".*"' because the convenience libltdl
	uses export markers and thus turns off autoexport on w32.  Fixes
	test failures for Cygwin and MinGW.
	Bug analysis by Charles Wilson.

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
	(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	(_LT_LANG_CXX_CONFIG, _LT_SYS_HIDDEN_LIBDEPS) [ interix ]: When
	matching for interix, accept version range [3-9] instead of 3.
	* NEWS: Update.
	Report by Martin Koeppe <[email protected]>.

	* libltdl/m4/libtool.m4 (LT_PROG_GCJ): Avoid M4 expansion error
	that caused `dnl' to be merged to the previous word.
	* THANKS: Update.
	Report by Steve Ellcey.

2007-03-09  Gary V. Vaughan  <[email protected]>

	* libtoolize.m4sh: Replace literal tab chars in help comment
	with spaces to align columns in --help output.

2007-03-06  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): Also apply the
	symbol filtering for w32 and the include_expsyms feature in the
	case of exceeded command line length.  Fixes test failure on
	MinGW.

	* tests/stresstest.at: For const data object imported from
	shared library, define appropriate macros to expand
	__declspec(dllimport) on w32.  Use two different main objects
	and pick the right one for the link flags we are about to test.
	Fixes test failure on MinGW.

	* tests/export.at: For const data object imported from shared
	library, define appropriate macros to expand
	__declspec(dllimport) on w32.  Fixes test failure on MinGW.

2007-03-05  Gary V. Vaughan  <[email protected]>

	* libtoolize.m4sh (func_check_macros): Display m4 quotes correctly
	in AC_CONFIG_MACRO_DIR diagnostics.

	* libltdl/config/general.m4sh (M4SH_VERBATIM): New macro to
	simplify m4sh quote quoting in blocks of raw shell code.
	* clcommit.m4sh, libtoolize.m4sh, libltdl/config/getopt.m4sh,
	libltdl/config/ltmain.m4sh, libltdl/config/mailnotify.m4sh,
	tests/defs.m4sh: Use it.
	* HACKING (Editing `.m4sh' Files): Mention M4SH_VERBATIM Macro.

2007-02-27  Ralf Wildenhues  <[email protected]>

	* tests/lt_dlexit.at: Allow test to pass on static-only systems
	and with disable-shared.

	* NEWS: Rewrite all news since 1.9f and put in categories,
	update.

	* libltdl/Makefile.inc: Fix the file description, so that it
	matches recursive and nonrecursive libltdl setup.
	* Makefile.am ($(srcdir)/libltdl/Makefile.am): Do not depend
	upon the exact text of the copyright header, just copy until
	the marker line.  Remove the marker lines in the output, and
	adjust the description for subpackage setup.

2007-02-26  Gary V. Vaughan  <[email protected]>

	* Makefile.am ($(srcdir)/libltdl/Makefile.am): Fix regexp typo.

	* clcommit.m4sh: Look in the right directory for helper scripts.

2007-02-25  Gary V. Vaughan  <[email protected]>

	* Makefile.am ($(srcdir)/libltdl/Makefile.am): Fixup regex to
	match Copyright notice change below.

	* HACKING, Makefile.am, Makefile.maint, bootstrap,
	libltdl/Makefile.am, libltdl/Makefile.inc, libltdl/m4/libtool.m4,
	ltmain.c, tests/cdemo/Makefile.am, tests/demo/Makefile.am,
	tests/depdemo/Makefile.am, tests/depdemo/l1/Makefile.am,
	tests/depdemo/l2/Makefile.am, tests/depdemo/l3/Makefile.am,
	tests/depdemo/l4/Makefile.am, tests/f77demo/Makefile.am,
	tests/fcdemo/Makefile.am, tests/libtoolize.at,
	tests/mdemo/Makefile.am, tests/mdemo2/Makefile.am,
	tests/pdemo/Makefile.am, tests/tagdemo/Makefile.am: Update
	Copyright notice text to include URL for canonical GPL document.

2007-02-25  Ralf Wildenhues  <[email protected]>

	* tests/static.at: Forgot to fix PATH for the first
	func_test_exec invocation.  So factor out into new functions
	func_fix_path and func_restore_path and use those.

	* README: Document the need for GNU make to build Libtool.
	Point the user to the doc/notes.txt file.  In the examples, use
	`gmake' throughout to make it more obvious.  Explain simpler way
	to run both testsuites and either one.  Referring to individual
	tests needs the `tests/' prefix.
	* README.alpha: Likewise.
	* doc/notes.texi: Likewise, document need for GNU make.
	Comment out the FreeBSD make issue for now.

	* tests/static.at: Larger rewrite to make work on w32: Use three
	different prefixes instead of three libdirs, so the moving of
	the DLLs works as expected.  Adjust all code.  Since now
	$libdirI/../bin is distinct from the directory of the installed
	program, take care than on w32 PATH contains the needed bindirs,
	in appropriate order.
	Report by Charles Wilson.

	* Makefile.am (INSTALLCHECK_ENVIRONMENT): Point LTDLINCL and
	LIBLTDL to installed libltdl, so that it is being used by
	the lt_dlexit test.

2007-02-24  Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi (Install mode, libtool script contents):
	Describe current and system-specific DESTDIR limitations.
	* tests/destdir.at: XFAIL if `fast_install' is no.

	* doc/libtool.texi (LT_INIT): Fix typo.

	* doc/libtool.texi (Libtool test suite): Mention the new
	testsuite.  Point to README rather than INSTALL for testing
	instructions.
	(Test descriptions): Fix more file names.  Also mention
	cdemo-undef.test, mdemo2-conf.test, mdemo2-exec.test,
	mdemo2-make.test, objectlist.test, pdemo-conf.test,
	pdemo-exec.test, pdemo-inst.test, pdemo-make.test,
	tagdemo-conf.test, tagdemo-exec.test, tagdemo-make.test,
	tagdemo-static.test, tagdemo-shared.test, tagdemo-undef.test,
	f77demo-conf.test, f77demo-exec.test, f77demo-make.test,
	f77demo-static.test, f77demo-shared.test, fcdemo-conf.test,
	fcdemo-exec.test, fcdemo-make.test, fcdemo-static.test,
	fcdemo-shared.test.  Describe what they do.
	(When tests fail, Troubleshooting): Mention how to pass options
	to the new test suite.
	* tests/tagdemo/README: Fix description.

	* bootstrap: Also set GREP, FGREP, EGREP, LN_S, when creating a
	preliminary ltmain.sh script.

	* doc/libtool.texi (Test descriptions): Track the grand test
	suite renaming from 2003-10-14 in the tests documentation.
	assign.test is merged into sh.test.  Fix description of sh.test.
	* tests/sh.test: Likewise.

	* doc/libtool.texi (LT_INIT): Fix wording of intro a bit.
	<shared, static>: Also describe these default LT_INIT options.
	<AC_LIBTOOL_DLOPEN, AC_LIBTOOL_WIN32_DLL>
	<AC_DISABLE_FAST_INSTALL>: Mention deprecated macro names,
	including the respective LT_INIT replacement.
	<AC_DISABLE_SHARED, AC_DISABLE_STATIC, AC_ENABLE_SHARED>
	<AC_ENABLE_STATIC>: Document, un-deprecate.  Suggest the
	respective LT_INIT replacement.
	<AM_DISABLE_SHARED, AM_DISABLE_STATIC, AM_ENABLE_SHARED>
	<AM_ENABLE_STATIC>: Document deprecated aliases.
	(Distributing libltdl) <AC_WITH_LTDL, AC_LIBLTDL_INSTALLABLE>
	<AC_LIBLTDL_CONVENIENCE>: Document deprecated aliases.
	* libltdl/m4/ltoptions.m4 (AM_ENABLE_SHARED, AM_DISABLE_SHARED)
	(AM_ENABLE_STATIC, AM_DISABLE_STATIC): Make these AU_ALIASes of
	the respective AC_* macros, so we do not recommend LT_INIT(*) in
	this case.
	(AC_ENABLE_SHARED, AC_DISABLE_SHARED, AC_ENABLE_STATIC)
	(AC_DISABLE_STATIC): Un-deprecate these.  Remove now-superfluous
	aclocal-1.4 backwards compatibility comments.

	* tests/link-order2.at: Rewrite completely.  Do not use `sin'
	from the math library, there are too many problems with this.
	Instead, use a self-written library, install it without the
	Libtool library file, to emulate a native library in a system
	directory, and adjust $shlibpat_var.  Try overriding its symbol.
	Further, also try an installed `wrong' binary.
	Avoid failing test bits on AIX without runtimelinking and on
	Darwin in some cases, SKIP at the end in this case.
	Analysis by Peter O'Gorman.

	* doc/notes.texi: Mention MACOSX_DEPLOYMENT_TARGET issue.
	* tests/template.at: Only skip those tests failing on Darwin
	if `-flat_namespace' is used by libtool.  In that case, SKIP
	at the end.  Analysis by Peter O'Gorman.

2007-02-23  Ralf Wildenhues  <[email protected]>

	Fix -export-symbols and -export-symbols-regex for links that
	exceed the command line length and use convenience archives.

	* libltdl/config/ltmain.m4sh (func_mode_link): Avoid grepping a
	nonexistent file if using reloadable objects.  Do not create a
	linker script nor a linker input file if no objects are passed.
	Apply export_symbols_regex in case the command line length is
	exceeded.
	Report by Bob Friesenhahn.

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
	<compiler_needs_object>: New tag variable.  Default to `no'.
	(_LT_LINKER_SHLIBS) [ linux ]: Set it to yes for Sun C 5.9.
	(_LT_LANG_CXX_CONFIG): Also default it to `no'.
	[ linux ]: Set it to `yes' for Sun C++ 5.9.
	* libltdl/config/ltmain.m4sh (func_mode_link): If we link
	no objects but only convenience archives into a library,
	force expansion if `compiler_needs_object' is yes.
	For creating a linker input filelist due to long cmdline,
	extract the first object if `compiler_needs_object' is yes.
	* doc/libtool.texi (libtool script contents): Document it.
	Fixes test failures of Sun compilers on GNU/Linux.
	Report by Terry D. Dontje.

	* libltdl/config/ltmain.m4sh (func_mode_link): Avoid setting
	`$libobjs' to a single space; set it to empty in that case.

2007-02-23  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_generate_dlsyms) [ osf5 ]:
	On Tru64 5.1, const relocations do not work well.  Omit the
	const here.  Fixes failure of demo-make after demo-shared with
	link editor error `seg_info_ptr: Couldnt find a seg type 2'.

	* Makefile.am (doc_libtool_TEXINFOS): Renamed from...
	(libtool_TEXINFOS): ...this, to fix dependencies.  Omit from
	EXTRA_DIST.
	(check-local): Also depend upon $(bin_SCRIPTS).

2007-02-23  Ralf Menzel  <[email protected]>  (tiny change)

	* libltdl/config/general.m4sh (sed_double_backslash): Fix
	hacky sed script to avoid limitations but retain portability to
	Solaris /bin/sed.  Remove old obsolete cruft.

2007-02-22  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): Fix the check for
	convenience archives when warning about linking against static
	libraries: test against $deplib rather than empty $lib.

2007-02-19  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Fix detection of new enough
	libltdl by actually checking for the declaration of
	lt_dlinterface_register in ltdl.h with AC_CHECK_DECL.
	Remove redundant configure output line.

	* tests/template.at: Reformat, add M4 quoting.  Use $LDFLAGS
	consistently for link mode.

2007-02-18  Ralf Wildenhues  <[email protected]>

	* tests/static.at: Use the right names for the broken libs.

2007-02-17  Ralf Wildenhues  <[email protected]>

	* tests/deplibs-ident.at [aix, hppa*-*-hpux*, interix, openbsd]:
	Do not XFAIL, on these systems we happen to pass.
	* tests/duplicate_deps.at [aix]: Likewise.

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux |
	k*bsd*-gnu ]: Fix eval quoting in the DT_RUNPATH test.

	* HACKING: Update.

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ linux ]
	<whole_archive_flag_spec>: For Sun C/C++ 5.9, do not add
	/dev/null as dummy object, it fails with GNU ld version
	2.16.91.0.7-amd-sles9.  Report by Terry D. Dontje.
	* THANKS: Update.

2007-02-14  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ osf4, osf5 ]
	<archive_expsym_cmds>: Use `${wl}-input' not `-input', for
	cc.  Could use `-input_to_ld'.
	(_LT_LANG_CXX_CONFIG) [ osf4, osf5 ] <archive_expsym_cmds>:
	Use `${wl}' instead of `-Wl,', for consistency.

2007-02-12  Ralf Wildenhues  <[email protected]>

	Fix spurious testsuite failures on AIX due on NFS mounts due to
	shared library images that cannot be removed without `slibclean'
	which needs superuser privileges.

	* tests/testsuite.at (PREPARE_TESTS): Define $mkdir_p globally.
	(LT_AT_MVDIR): New macro to emulate `mv dir dest'.
	* tests/destdir.at: Use LT_AT_MVDIR.
	* tests/shlibpath.at: Likewise.
	* tests/static.at: Likewise.

2007-02-12  Ralf Wildenhues  <[email protected]>

	* tests/export.at: Exporting is not fully functional with
	-retain-symbols-file.  Do not test for failure to link `broken'
	in this case.  At the end of the test, SKIP if we are not fully
	functional.

	* tests/lt_dlexit.at: Add casts and `extern "C"' to let the test
	pass with a C++ compiler.

	* libltdl/config/ltmain.m4sh: Remove duplicate marker for
	generated shell functions.

	* tests/testsuite.at (LT_AT_NOINST_EXEC_CHECK): New macro, like
	LT_AT_EXEC_CHECK but uses `$LIBTOOL --mode=execute' and allows
	to pass `-dlopen MODULE' arguments.
	* tests/lt_dlexit.at: Use it.  Also, do not test `-dlpreopen',
	that currently needs library names to begin with `lib'.

2007-02-11  Ralf Wildenhues  <[email protected]>

	* tests/export.at: New test: expose -export-symbols failure
	when the input consists solely of convenience archives, and
	failure to not export all symbols when the command line length
	is exceeded.
	* Makefile.am: Adjust.

	* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): New substituted
	function `func_lo2o', saving two fork&exec with XSI shells.
	* libltdl/config/ltmain.m4sh (func_mode_compile)
	(func_mode_install, func_mode_link): Use it for rewrites of
	single files.

	* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): New function
	func_opt_split, for XSI and portable shell.
	* libltdl/config/ltmain.m4sh: Move the insertion point for the
	configure-generated shell functions to before the first option
	parsing loop.  Rewrite the separation of the long options to use
	func_opt_split.

2007-02-11  Ralf Wildenhues  <[email protected]>

	Eliminate roughly a third of the script execution time overhead
	for all modes except for link/relink and uninstall/clean.

	* libltdl/m4/libtool.m4 (_LT_CONFIG): Remove unused `TEST SUITE
	MARKER', obsolete since 2005-04-17.
	* libltdl/config/ltmain.m4sh: Likewise, several instances.
	(Main): Tear apart, moving individual bits up as early in the
	script as possible, to help the shell to avoid parsing the rest.

2007-02-11  Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi: Update copyright years.

2007-02-11  Ralf Wildenhues  <[email protected]>

	* libltdl/config/general.m4sh (sed_double_backslash): Replace
	POSIX sed script with a hack that treats up to 10 backslashes
	in the input correctly and is portable to Solaris /bin/sed.

2007-02-08  Ralf Wildenhues  <[email protected]>

	* tests/testsuite.at (LT_AT_TAG): Skip also if the compiler
	variable is set to `no', not only if it is empty.

2007-02-06  Ralf Wildenhues  <[email protected]>

	* tests/lt_dlexit.at: Do not compile main object with libtool.

	* tests/cmdline_wrap.at: Pass $abs_top_srcdir and $abs_builddir
	to inner testsuite.

	* Makefile.am (TESTSUITE_AT): Move destdir.at after
	search-path.at so the banners fit better.

	* tests/convenience.at: Use $CPPFLAGS for compilation.
	* tests/deplibs-ident.at: Likewise.
	* tests/duplicate_members.at: Likewise.
	* tests/inherited_flags.at: Likewise.
	* tests/link-order.at: Likewise.
	* tests/stresstest.at: Likewise.
	* tests/early-libtool.at: Likewise.  Do not quote $CC.

	* libltdl/ltdl.c (lt_dlexit): Add casts to fix compilation with
	C++ compiler again.

	* tests/destdir.at: Add `libtool' keyword to tests.

2007-02-05  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_COMPILER_BOILERPLATE)
	(_LT_LINKER_BOILERPLATE, _LT_SYS_MODULE_PATH_AIX)
	(_LT_COMPILER_C_O): Require _LT_DECL_SED.
	* THANKS: Update.
	Report by Maciej W. Rozycki.

2007-01-29  Ralf Wildenhues  <[email protected]>

	* tests/lt_dlexit.at: Use $abs_top_srcdir, not $top_srcdir,
	in the new testsuite.

2007-01-29  Samuel Thibault <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ gnu ]
	<archive_expsym_cmds>: Behave like Linux, so that
	--version-script is used for Hurd as well.

2007-01-28  Charles Wilson  <[email protected]>

	* NEWS: Update for Cygwin changes.

2007-01-28  Brian W. Barrett <[email protected]>

	* libltdl/config/ltmain.m4sh [darwin]: Use otool64 if otool fails.

2007-01-28  Dave Brolley  <[email protected]>,
	    Ralf Wildenhues  <[email protected]>

	* libltdl/ltdl.c (lt_dlexit): Make sure that 'cur' is not NULL
	before checking that it is still in the list.
	* tests/lt_dlexit.at: New test.
	* Makefile.am (TESTSUITE_AT): Adjust.
	(check-local): Also depend on libltdl/libltdlc.la.
	(check-recursive): Removed, unnecessary use of Automake
	internals.

2007-01-28  Mike Frysinger  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): Pass through
	`-p' and `-fprofile-*' for GCC.

2007-01-28  Ralf Wildenhues  <[email protected]>

	* libltdl/libltdl/lt_system.h: Adjust copyright years.

2007-01-28  Charles Wilson  <[email protected]>

	* libltdl/libltdl/lt__private.h (LT_GLOBAL_DATA) [__CYGWIN__]:
	Also define on Cygwin.
	* libltdl/libltdl/lt_system.h (LT_SCOPE) [__CYGWIN__]: Likewise.

2007-01-28  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ cygwin, mingw ]
	<export_symbols_cmds>: Avoid shell expansion of '/s/.*' through
	double expansion, in case there is a 'S:' drive.
	Report by Charles Wilson.

2007-01-28  Ralf Wildenhues  <[email protected]>

	Introduce a new test keyword `recursive' for tests that create a
	modified `libtool' script and run the suite on this script.  All
	tests with the keyword `libtool' are (by definition) suitable to
	be used here.

	* tests/cmdline_wrap.at: New test.
	* Makefile.am: Adjust.
	* tests/testsuite.at (LT_ESCAPE): New macro: clone of Autoconf
	AS_ESCAPE that does not escape `$'.
	(LT_AT_CHECK): New macro: print a command-to-be-run while
	expanding parameters but nothing else.
	* tests/stresstest.at: Use LT_AT_CHECK.  Create some files to
	expose erroneous globbing errors with `-export-symbols-regex',
	similar to those reported by Charles Wilson.  Use `eval' and
	adjusted quoting so the expansion doesn't already happen in the
	testsuite commands.
	* HACKING: Update.

2007-01-27  Ralf Wildenhues  <[email protected]>

	Assume C89 for included headers, and throughout the testsuite.

	* NEWS: Update.
	* libltdl/argz.c: Do not include strings.h nor memory.h, include
	string.h unconditionally.
	Patch by Simon Josefsson <[email protected]>.
	* libltdl/libltdl/lt__private.h: Likewise.
	* libltdl/m4/ltdl.m4 (LTDL_INIT): Do not check for string.h,
	strings.h, memory.h.
	* tests/cdemo/configure.ac: Assume presence of math.h.
	* tests/cdemo/foo.c: Likewise.
	* tests/demo/configure.ac: Likewise for math.h, string.h.
	Assume 'const'.  Drop obsolete AC_EXEEXT.
	* tests/demo/dlmain.c: Likewise.
	* tests/demo/foo.c: Likewise.
	* tests/depdemo/configure.ac: Likewise.
	* tests/depdemo/l4/l4.c: Likewise.
	* tests/f77demo/configure.ac: Likewise.  Also drop obsolete
	AC_OBJEXT.
	* tests/fcdemo/configure.ac: Likewise.
	* tests/mdemo/configure.ac: Likewise.
	* tests/mdemo/foo1.c: Likewise.
	* tests/mdemo/foo2.c: Likewise.
	* tests/mdemo2/configure.ac: Likewise.
	* tests/pdemo/configure.ac: Likewise.
	* tests/pdemo/longer_file_name_dlmain.c:
	* tests/pdemo/longer_file_name_foo.c: Likewise.
	* tests/pdemo/longer_file_name_foo2.c: Likewise.
	* tests/tagdemo/configure.ac: Likewise.
	* tests/tagdemo/foo.cpp: Likewise.

2007-01-24  Reuben Thomas <[email protected]>  (tiny change)

	* doc/libtool.texi (Inter-library dependencies): Fix typo.

2007-01-21  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin, mingw]:
	Use `lib -OUT' rather than `lib /OUT' to avoid MSYS path
	translation mangling.  Report by Christopher Hulbert.
	* THANKS: Update.

	* libltdl/config/ltmain.m4sh (func_mode_compile): Accept
	suffixes matching `[fF][09].', for Fortran.
	* tests/suffix.test: Also test F90, F95, f03, F03.

	* Makefile.am (EXTRA_DIST): Add ChangeLog.2006.
	* ChangeLog.2006: New, rotated, from...
	* ChangeLog: ...here.

2007-01-21  Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi: Typo fixes.
	* TODO: Likewise.

2006-12-14  Ralf Wildenhues  <[email protected]>

	* tests/link-order2.at: Define our override `sin' function with
	C binding even if $CC is a C++ compiler.  Skip the test with g++
	as its command line driver reorders `-lm'.
	* tests/search-path.at: Declare `inflate' with C binding.
	* tests/stresstest.at: Avoid unused variable warnings.

2006-11-07  Ralf Wildenhues  <[email protected]>

	* tests/link-order2.at: Simplify logic to be a bit more self
	documenting.  Suggested by Gary V. Vaughan.

2006-10-28  Ralf Wildenhues  <[email protected]>

	* tests/link-order2.at: Add missing $bindir setting.  Prevent
	compiler optimization of sqrt call.  Fix logic inversion and
	add some comments about this stunt.  Add a test with reversed
	library link order that should fail if the system has a libm.
	Report by Patrick Welche.

2006-10-26  Ralf Wildenhues  <[email protected]>

	Assume presence of a config header in all files, to provoke
	test failures on all systems.
	* libltdl/lt__alloc.c: Likewise.
	* libltdl/libltdl/lt__dirent.h: Likewise.
	* libltdl/libltdl/lt__glibc.h: Likewise.
	* libltdl/libltdl/lt__private.h: Likewise.
	* libltdl/libltdl/lt__strl.h: Likewise.
	* tests/recursive.at: Use AC_CONFIG_HEADERS.
	* tests/nonrecursive.at: Likewise.  Invoke autoheader.
	* HACKING: Adjust.
	Report by Patrick Welche.

2006-10-24  Paul Eggert  <[email protected]>,
	    Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi (Distributing libltdl): In recursive and
	nonrecursive mode, a config header is now required.
	* libltdl/argz.c: Remove check for HAVE_CONFIG_H, to conform
	to gnulib's policy of including config.h unconditionally.

2006-10-24  Ralf Wildenhues  <[email protected]>

	* tests/link-order2.at: New test to show one case where ordering
	of depdepls on the command line matters.
	* Makefile.am: Adjust.

	* tests/tagtrace.test: SKIP if `autoconf --trace' exits 63 or 1,
	for various possible (valid) error cases.  Also output stderr,
	to help with analysis.

	* NEWS: Account for recent multilib fix.
	* tests/search-path.at: New test, to provide at least a weak
	test.
	* Makefile.am: Update.

	* libtoolize.m4sh (func_fixup_Makefile): Fix missing
	substitution for nonrecursive mode.  Remove otherwise-empty
	continuation lines in the output file.
	Report by Bob Friesenhahn.

2006-10-22  Peter O'Gorman  <[email protected]>

	* libltdl/config/ltmain.m4sh: Add -F* to flags that are passed
	to the linker.
	Reported by SIGOURE Benoit <[email protected]>

2006-10-19  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Improve
	multilib support.
	Reported by Kate Minola <[email protected]> and others.

2006-10-13  Eric Blake  <[email protected]>

	* libltdl/ltdl.c (load_deplibs): Avoid memory leak on failure.
	(unload_deplibs): Avoid memory leak on cleanup.

2006-09-20  Ralf Wildenhues <[email protected]>

	* libltdl/m4/libtool.m4 (func_mode_compile): Accept files with
	extension `.f9?'.
	* tests/suffix.test: Test `f95'.

	* libltdl/config/ltmain.m4sh (func_mode_uninstall): Use
	`func_source' consistently.

2006-09-18  Ralf Wildenhues <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
	[k*bsd*-gnu ]: Fix brown paper bag: save and restore `libdir'.

2006-09-17  Ralf Wildenhues <[email protected]>

	* tests/duplicate_deps.at: New file.  Test circular depending
	convenience archives (currently failing).
	* Makefile.am: Update.
	Report by Stefan Traby <[email protected]>.

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
	[ openbsd ]: Set `hardcode_direct_absolute', to prefer rpath
	over putting absolute file names in NEEDED entries.
	* NEWS: Update.
	Reported by Jake Meuser and others.

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
	[ k*bsd*-gnu ]: Test if ld sets DT_RUNPATH; in that case, set
	shlib_overrides_runpath to `yes'.  Fixes test failure of new
	test on Gentoo GNU/Linux.

	* tests/shlibpath.at: New file, with...
	(shlibpath_overrides_runpath): ...new test.
	* Makefile.am: Update.

2006-09-12  Ralf Wildenhues <[email protected]>

	* tests/destdir.at: New file.
	* Makefile.am: Adjust.

2006-09-11  Ralf Wildenhues <[email protected]>

	* tests/inherited_flags.at: Drop `${parameter}' for `$parameter'
	where appropriate, for improved `testsuite -x' output.

2006-09-04  Ralf Wildenhues <[email protected]>

	* libltdl/ltdl.c: Move LT__UNUSED before parameter name, for g++
	3.2.3 (on MinGW).
	* libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
	libltdl/loaders/load_add_on.c, libltdl/loaders/loadlibrary.c,
	libltdl/loaders/preopen.c, libltdl/loaders/shl_load.c: Likewise.

2006-09-04  George Bosilca <[email protected]>
	and Ralf Wildenhues <[email protected]>

	Make libltdl work when compiled with a C++ compiler.

	* libltdl/lt__alloc.c, libltdl/lt_dlloader.c, libltdl/ltdl.c,
	libltdl/slist.c, libltdl/libltdl/lt__alloc.h,
	libltdl/libltdl/lt_error.h, libltdl/libltdl/slist.h,
	libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
	libltdl/loaders/dyld.c, libltdl/loaders/load_add_on.c,
	libltdl/loaders/loadlibrary.c, libltdl/loaders/preopen.c,
	libltdl/loaders/shl_load.c, tests/stresstest.at,
	tests/testsuite.at, tests/f77demo/foo.h, tests/fcdemo/foo.h,
	tests/mdemo/foo.h, tests/mdemo/foo1.c, tests/mdemo/foo2.c,
	tests/mdemo/main.c: Allow sources to be compiled by a C++
	compiler: Cast appropriately, add C linkage for `get_vtable'
	functions, do not use C++ keyword `delete'.

	* libltdl/config/ltmain.m4sh (func_mode_link): In the dlsym
	file, define a type for the symbol list, and declare the list
	`extern', so that it is extern even if compiled by a C++
	compiler.  The type definition helps avoid a compiler warning
	against anonymous extern struct.
	* libltdl/libltdl/lt_system.h: Add `extern' to `LT_SCOPE' for
	the same reason.

	* libltdl/argz_.h: It's __cplusplus, not _cplusplus.
	* libltdl/libltdl/slist.h: Likewise.

	* libltdl/libltdl/lt__glibc.h: Wrap included argz.h in
	`extern "C"', for broken headers on Cygwin.

2006-09-03  Ralf Wildenhues  <[email protected]>

	* tests/testsuite.at: Test `unset' on a set variable; older
	bash versions return 1 if the variable was not set.

	* tests/am-subdir.at, tests/early-libtool.at: Fix the LF vs.
	CRLF related failures on MinGW by grepping for good output
	instead of using AT_CHECK's `expout'.

2006-09-01  Ralf Wildenhues  <[email protected]>

	Drop K&R support from testsuite in favor of C89.

	* tests/duplicate_members.at: provide declarations of used
	functions.
	* tests/testsuite.at: Drop unneeded arguments.
	* tests/cdemo/main.c: Assume C89.
	* tests/demo/dlmain.c: Likewise.
	* tests/demo/main.c: Likewise.
	* tests/depdemo/main.c: Likewise.
	* tests/depdemo/l1/l1.c: Likewise.
	* tests/depdemo/l2/l2.c: Likewise.
	* tests/depdemo/l3/l3.c: Likewise.
	* tests/depdemo/l4/l4.c: Likewise.
	* tests/f77demo/cprogram.c: Likewise.
	* tests/fcdemo/cprogram.c: Likewise.
	* tests/mdemo/mlib.c: Likewise.
	* tests/mdemo2/main.c: Likewise.
	* tests/pdemo/longer_file_name_dlmain.c: Likewise.
	* tests/pdemo/longer_file_name_main.c: Likewise.
	* tests/fcdemo/fooc.c: Reformat.
	* tests/mdemo/sub.c: Likewise.

2006-08-31  Ralf Wildenhues  <[email protected]>

	* tests/mdemo/main.c: Fix bogus line in last patch.

2006-08-31  Ralf Wildenhues  <[email protected]>

	Avoid mixing functions and data pointers in callback functions.

	* libltdl/ltdl.c (file_worker_func): New type.
	(lt_dlforeachfile): Instead of passing a function pointer as a
	data pointer, pass a pointer to a file_worker_func pointer.
	(foreach_callback_func): Adjust.
	* tests/mdemo/main.c: Assume C89. Exercise lt_dlforeachfile.
	(callback, try_iterate, my_dirname): New functions.
	* tests/mdemo-exec.test: Check for its output.

2006-08-30  Ralf Wildenhues  <[email protected]>

	* libltdl/libltdl/lt__private.h (__attribute__, LT__UNUSED):
	New macros.
	* libltdl/loaders/dld_link.c: Use LT__UNUSED where
	appropriate.
	* libltdl/loaders/dlopen.c, libltdl/loaders/load_add_on.c,
	libltdl/loaders/loadlibrary.c, libltdl/loaders/preopen.c,
	libltdl/loaders/shl_load.c: Likewise.
	* libltdl/ltdl.c: Likewise.
	(find_file_callback): Fix declaration names to match definition.
	(load_deplibs) [!LTDL_DLOPEN_DEPLIBS]: Use separate definition
	for less preprocessor clutter.

	* Makefile.am (check-local, installcheck-local): Use
	`TESTSUITEFLAGS' rather than `TESTSUITE_FLAGS', like Autoconf.
	* HACKING, README, README.alpha: All uses changed.

2006-08-28  Ralf Wildenhues  <[email protected]>

	* libltdl/argz.c: Use `#ifdef HAVE_CONFIG_H', to facilitate code
	sharing with gnulib.  Report by Eric Blake.
	* libltdl/lt__alloc.c, libltdl/libltdl/lt__dirent.h,
	libltdl/libltdl/lt__glibc.h, libltdl/libltdl/lt__private.h,
	libltdl/libltdl/lt__strl.h: Likewise.
	* HACKING: Update.

2006-08-25  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): Pass through
	`--coverage' and `-pg', for GCC.  Report by Rainer Keller
	<[email protected]> and Tor Lillqvist <[email protected]>.

2006-08-25  Kurt Roeckx <[email protected]>,
	    Aurelien Jarno <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
	(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	(_LT_LANG_CXX_CONFIG) [k*bsd*-gnu]: kfreebsd*-gnu and
	knetbsd*-gnu behave like linux-gnu.
	* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
	* libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK)
	[x86_64-*kfreebsd*-gnu]: Add 32/64 bit bi-arch support.
	* NEWS: Update.

2006-08-25  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD) [ mingw,pw32 ]:
	If `file' is present, use `func_win32_libid' rather than
	`objdump -f', to facilitate cross-compilation.
	Reported by Pierre Ossman <[email protected]>.

2006-08-23  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): In GNU ld script,
	do not quote object file names, for Intel icc 9.0 IPO link.

2006-08-22  Eric Blake  <[email protected]>

	* libltdl/m4/ltdl.m4 (LTDL_INIT): Avoid macros marked obsolete in
	latest autoconf.
	* libltdl/m4/libtool.m4 (_lt_cv_sys_global_symbol_pipe): Work in
	spite of -Wmissing-prototypes.
	* libltdl/libltdl/lt__dirent.h: Rewrite to accomodate loss of
	AC_HEADER_DIRENT.

	* libltdl/m4/libtool.m4: Avoid space-tab.

2006-08-07  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_execute): Also search
	the directory above `$objdir' for the argument of "-dlopen", as
	mentioned in the error message.

2006-08-03  Ralf Menzel  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Fix issues
	with previous patch. for ... do' line is superflous. Need
	_LT_TAGVAR not _LT_AC_TAGVAR, should be for both linux and
	solaris with Sun compiler.

2006-08-01  Albert Chin <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS) [ solaris ]:
	Don't set $postdeps to "-lCstd -lCrun" if
	"-library=stlport4" set in CXXFLAGS as stlport4 C++
	library incompatible with Cstd C++ library. Use
	'-library=Cstd -library=Crun' instead of '-lCstd -lCrun'.

2006-07-28  Eric Blake  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD, LT_OUTPUT):
	s/recognise/recognize/.

2006-07-22  Eric Blake  <[email protected]>

	* libltdl/ltdl.c (loader_init_callback) [HAVE_LIBDLLOADER]:
	Protect definition to avoid compiler warnings about unused
	function.

2006-07-21  Eric Blake  <[email protected]>

	* libltdl/m4/ltdl.m4 (LT_LIB_DLLOAD): Search for dlopen without
	depending on -ldl, required by cygwin 1.5.20.

2006-06-24  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_COMPILER_BOILERPLATE)
	( _LT_LINKER_BOILERPLATE): Rewrite to not use unchecked
	`printf', for old systems like SunOS 4.1.
	(_LT_COMPILER_OPTION, _LT_LINKER_OPTION)
	(_LT_COMPILER_C_O, _LT_LINKER_SHLIBS): Likewise.
	(_LT_LANG_C_CONFIG): Adjust: use literal newlines in
	`lt_simple_compile_test_code' and `lt_simple_link_test_code'.
	(_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
	(_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Likewise.
	Bug report by Bruce Becker and Mark Andrews.

2006-06-13  Ralf Wildenhues  <[email protected]>

	Fix the bugs where libtoolize needs to use `dir/file' instead of
	`./dir/file', where ltdldir is `.', so that libtoolize correctly
	checks for (and suggests) `config' and `m4' instead of
	`./config' and `./m4' as auxiliary resp. macro directories.
	The change is necessary for unambiguous naming, the chosen way
	plays better with non-GNU make in VPATH builds.

	* libtoolize.m4sh (ltdlprefix): New variable, to use as prefix
	instead of `$ltdldir/'.
	(func_check_macros): Use it.  Bug report by Eric Blake.

2006-06-12  Ralf Wildenhues  <[email protected]>

	Fix several libtoolize-related bugs:
	- Do not symlink aclocal.m4, to work around a bug in aclocal
	overwriting the linked-to file instead of removing the symlink.
	- Have `libtoolize --copy' cause current time stamps, so that
	dependents will be rebuilt; for this, install files in order.
	- Fix list of distribution files for (non)recursive libltdl.
	- Fix some failure cases.

	* libtoolize.m4sh (func_copy_cb):
	If `$opt_link', still copy `aclocal.m4', so a subsequent
	`aclocal' will not overwrite the symlink target.
	In `--copy' mode, do `cp -p' and `touch' for each file, so
	timestamps are updated but permissions preserved.
	(main): Reorder installing of files to match logical order
	and timestamp requirements.
	(func_fixup_Makefile_inc): Renamed to
	(func_fixup_Makefile): this.  Add sed scriptlet to remove
	non-existent files from EXTRA_DIST, for either nonrecursive
	or recursive mode.
	(main): call it to mangle also in recursive mode.
	* tests/libtoolize.at (expout): Adjusted.
	* tests/testsuite.at (tst_dist): Default to `dist'.

2006-06-10  Ralf Wildenhues  <[email protected]>

	Fix libltdl to always have all generated files up to date.

	* Makefile.am (all-local): Depend on all generated files in
	libltdl, namely...
	(libltdl/aclocal.m4, libltdl/configure, libltdl/config-h.in):
	...these.  List explicitly, including dependencies and
	rebuilding rules, using...
	(sub_aclocal_m4_deps, sub_configure_deps): ...these new
	variables.
	Report by Dan Lacher <[email protected]>.

2006-06-09  Ralf Wildenhues  <[email protected]>

	* Makefile.am (install-data-local): Do not use $(INSTALL_DATA)
	from another directory: it may use a relative path to
	`install-sh'.
	Bug report by Dan Lacher <[email protected]>.

2006-06-08  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): Honor `-threads',
	similar to `-mt'.
	Report by Eric Paire <[email protected]>.

2006-06-01  Charles Wilson  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ cygwin ]:
	define DLL_EXPORT for PIC objects on cygwin.

2006-05-24  Albert Chin  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG)
	[ aix4*, aix5*, hpux10*, hpux11* ]: Set hardcode_direct_absolute
	for CXX tag too!

2006-05-19  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link, shell wrapper):
	Do not put `"$@"' in argument to $ECHO.

2006-05-18  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4: Bump serial, necessary because of
	_LT_CHECK_SHELL_FEATURES changes.

2006-05-18  Albert Chin-A-Young <[email protected]>

	* tests/early-libtool.at: Pass $CPPFLAGS and $CFLAGS to
	compiler when compiling for extra flags that might be
	needed for ANSI-compliance, 64-bit, etc. The environment
	we compile with should match the environment libtool was
	compiled with.

2006-05-18  Ralf Wildenhues  <[email protected]>

	Fix mode=compile time regression of CVS HEAD over branch-1-5.

	* libltdl/m4/libtool.m4 (_LT_CHECK_XSI_SHELL): Rename to...
	(_LT_CHECK_SHELL_FEATURES): ...this.
	(_LT_SETUP): Adjust caller.
	(_LT_CHECK_XSI_SHELL): New libtool variables `lt_unset',
	`SP2NL', `NL2SP', to contain results from tests for unset,
	taken from AS_BOURNE_COMPATIBLE, and ASCII vs EBCDIC, taken...
	* libltdl/config/general.m4sh: ...from here, and used...
	* libltdl/config/ltmain.m4sh: ...here everywhere now.
	* (AS_SHELL_SANITIZE): Replace by faster, actually necessary
	part of its expansion, taken from current Autoconf CVS.  Do not
	save and set all locale variables any more, but only LANG,
	LC_ALL, LC_CTYPE, LC_COLLATE, LC_MESSAGES.
	(func_mode_execute): Adjust.
	* libltdl/m4/libtool.m4 (_LT_CONFIG): No need to unset CDPATH
	here any more.
	* libtoolize.m4sh: Compute `SP2NL' and `NL2SP' here, too.

2006-05-17  Gary V. Vaughan  <[email protected]>

	* libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4
	(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG,
	_LT_LANG_FC_CONFIG), tests/link-order.at
	[ aix4*, aix5*, hpux10*, hpux11* ]: rename
	hardcode_direct_static to hardcode_direct_absolute.
	* doc/libtool.texi (libtool script contents): Adjust.

	* libltdl/ltdl.c (lt_dlhandle_fetch): Arguments to
	lt_dlhandle_iterate were in the wrong order.

2006-05-17  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_OPTION): Require
	_LT_DECL_SED.
	(_LT_CMD_GLOBAL_SYMBOLS, _LT_LINKER_SHLIBS): Likewise.
	* libltdl/m4/ltdl.m4 (LTDL_INIT): Likewise.
	(_LT_DECL_SED): Set $Xsed here, using $SED.  Moved from...
	(_LT_SETUP): ...here.
	Report by Eric Blake.

2006-05-17  Gary V. Vaughan  <[email protected]>

	* doc/libtool.texi (libtool script contents): Document new
	hardcode_direct_static variable.

	* tests/link-order.at: Be careful about usage of shrext_cmds.

	* libltdl/m4/libtool.m4 (LT_AC_PROG_SED):  Declarations for
	compatibility with old versions of libtool, and old versions
	of aclocal.

2006-05-17  Albert Chin-A-Young  <[email protected]>

	* libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4
	(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG,
	_LT_LANG_FC_CONFIG) [ aix4*, aix5*, hpux10*, hpux11* ]:
	Introduce a new variable, hardcode_direct_static, which
	would ignore hardcode_direct=yes if the result would create a
	static library dependency. Static library dependencies are
	immune to $shlibpath_var.
	* tests/link-order.at: Take hardcode_direct and
	hardcode_direct_static into consideration when testing
	link order.

2006-05-17  Ralf Wildenhues  <[email protected]>

	Eliminate quadratic scaling in argument parsing loop, for
	shells that understand `var+=value', such as Bash-3.1, or Zsh.

	* libltdl/m4/libtool.m4 (_LT_CHECK_XSI_SHELL): Test whether
	the shell understands `var+=value'.
	(_LT_PROG_XSI_SHELLFNS): Define `func_append' based on this.
	* config/ltmain.m4sh (func_mode_link): Use `func_append' for
	compile_command, finalize_command, libtool_args, libobjs,
	non_pic_objects.

2006-05-15  Bruno Haible  <[email protected]>,
	    Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	(_LT_LANG_CXX_CONFIG, _LT_SYS_HIDDEN_LIBDEPS) [ linux ]:
	Add support for Sun C 5.9, Sun C++ 5.9, and Sun Fortran 8.3 on
	GNU/Linux.
	* NEWS: Update.

2006-05-15  Ralf Wildenhues  <[email protected]>

	* Makefile.am (check-local): Move `$(TESTS_ENVIRONMENT)' and
	`$(BUILDCHECK_ENVIRONMENT)' to be arguments of `testsuite', so
	that reruns will remember it; set enviroment variable
	`CONFIG_SHELL' so the suite will know which shell it was started
	with.
	(installcheck-local): Likewise, for `$(TESTS_ENVIRONMENT)' and
	`$(INSTALLCHECK_ENVIRONMENT)'.
	* tests/testsuite.at (LT_AT_TAG): Do not set the compiler
	variable here.

2006-05-14  Albert Chin-A-Young  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
	[ aix ]: $hardcode_direct is set twice.

2005-05-14  John Bowler  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): For version_type
	`none', we still need to set `current', `age', and `revision',
	so that our checks don't barf.  The values won't be used later.
	Apparently reported by several people, several times, for BeOS.
	* NEWS, THANKS: Update.

2006-05-13  Ralf Wildenhues  <[email protected]>

	* tests/fail.at: Use "test -x" if available, for testing of
	executables; code modified from Autoconf's AS_EXECUTABLE_P.
	Reported by Albert Chin <[email protected]>.

2006-04-22  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_write_libtool_object):
	New function, factored out from..
	(func_mode_compile): .. here.  Call it to generate the libtool
	object file (the `.lo' file) in one step.

2006-04-03  Peter O'Gorman  <[email protected]>

	* libltdl/loaders/preopen.c: Don't allow lt_dlopen if the
	module has no symbols.

2006-03-28  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]:
	Avoid warning when "parsing" `/etc/ld.so.conf' and empty
	`/etc/ld.so.conf.d'.
	Reported by Orion Poplawski <[email protected]>.

2006-03-27  Ralf Wildenhues  <[email protected]>

	* bootstrap: Actually use the correct version of the last patch.

2006-03-25  Ralf Wildenhues  <[email protected]>

	* bootstrap: Enable `WORKING_LIBOBJ_SUPPORT' if we detect
	Autoconf-2.60+ and Automake-1.10+, or CVS versions.

	* libltdl/m4/argz.m4 (gl_FUNC_ARGZ): Sync with gnulib:  If we
	define `error_t', also define `__error_t_defined', so argp.h
	will not typedef the former.

2006-03-23  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS) [ freebsd ]
	[ dragonfly ]: Set libltdl_cv_sys_dlopen_deplibs to yes.
	Fixes excessive lt_dlopen times on these systems.
	* NEWS, THANKS: Update.
	Bug reported by Peter Jeremy <[email protected]>,
	patch by Joerg Sonnenberger <[email protected]>.

2006-03-20  Ralf Wildenhues  <[email protected]>

	* tests/static.at: New tests for comprehensive test exposure of
	all current and proposed static linking flags for programs.
	* Makefile.am: Updated.

	* libltdl/config/ltmain.m4sh (func_mode_link)
	< -static-libtool-libs >: New option.
	* doc/libtool.texi (Link mode, Distributing libltdl):
	Document it.
	Suggested by Gary Kumfert <[email protected]>.

2006-03-17  Ralf Wildenhues  <[email protected]>

	* tests/tagdemo/foo.cpp, tests/tagdemo/main.cpp [ hpux ] <aCC>:
	The HPPA C++ compiler has namespace support but provides no
	`std' namespace; just provide it with a dummy.

	* libltdl/m4/libtool.m4 (AC_PROG_SED): Do not forget to reset
	IFS even in case of empty `$PATH'.

2006-03-16  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): Comment out the
	code to remove uninstalled paths, as it is wrong here.  Change
	the wrong shell quoting that kept it from "working" before.
	* THANKS: Updated.

	* libltdl/m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER)
	[ freebsd, dragonfly ]: Fix 1.5.22 regression caused by too
	strict $host_os match that stopped DragonFly from working.
	* THANKS: Updated.
	Reported by Jeremy C. Reed <[email protected]>,
	patch by Todd Vierling <[email protected]>.

2006-02-24  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (startup): save all locale specific
	environment, variables:, LANG, LANGUAGE, LC_ADDRESS, LC_ALL
	LC_COLLATE, LC_CTYPE, LC_IDENTIFICATION, LC_MEASUREMENT,
	LC_MESSAGES LC_MONETARY, LC_NAME, LC_NUMERIC, LC_PAPER,
	LC_TELEPHONE, LC_TIME.
	(func_mode_execute): Restore them.

2006-02-15  Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi (Tags): Mention `FC'.
	(libtool script contents) <CC>: Specify more precisely as the
	compiler of the current tag.
	<LTCC, LTCFLAGS, build, build_alias, build_os, host_alias,
	host_os, macro_version, macro_revision, max_cmd_len>:
	Document these variables.

2006-02-15  Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi: Update copyright years.

	* libltdl/config/getopt.m4sh (func_help): Substitute `$host'.
	* libltdl/config/ltmain.m4sh (help message): Use $host not
	@host_triplet@, as the `@..@' substitution is done at bootstrap
	time already.
	Reported by Julien Lecomte <[email protected]>.

	* doc/libtool.texi (Implementation issues):  Note that both
	prefix and suffix of a library may differ.
	(Using libtool, Creating object files, Linking libraries):
	Remove last documentation traces of the age when `foo.lo' was
	the PIC object file and not the `libtool object' text file.
	(libtool script contents) <compiler_o_lo>: Remove description
	of this variable.  It was removed from libtool in 1.5 times.

2006-02-13  Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link) [ linux ]:
	PGI: for `reload_cmds', we not only need to get rid of `$wl',
	but also turn comma into space so $LD understands
	whole_archive_flag_spec correctly.

	* libltdl/config/ltmain.m4sh (func_mode_link) <shell wrapper>:
	Add _AS_BOURNE_COMPATIBLE code from Autoconf, to fix issues
	with zsh and other shells.
	Reported by David Gómez Espinosa <[email protected]>.

2006-02-09  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (AC_PROG_SED): m4_defun this rather
	than AC_DEFUN, so that old aclocal does not pick this up.

	* Makefile.am ($(TESTSUITE)): Also depend on `Makefile.am'.
	Write to temporary file and rename.

2006-02-05  Ralf Wildenhues  <[email protected]>

	* Makefile.am (EXTRA_DIST): Add `$(srcdir)/' to all generated
	files so that non-GNU make programs will use the rebuilding
	rules.

	* tests/testsuite.at: Add new keyword `libtoolize' for tests
	that exercise the `libtoolize' script that is generated at build
	time.
	* HACKING: Update testsuite mention, explain keywords.

	* libltdl/config/ltmain.m4sh (extracted_archives)
	(extracted_serial): New globals.
	(func_extract_archives): Use them to rename extraction archives
	for linking against multiple convenience libraries with the same
	name.
	* tests/duplicate_conv.at: New tests.
	* Makefile.am: Adjusted.
	Reported by Carlo Contavalli <[email protected]>.

	* libltdl/config/ltmain.m4sh (func_mode_link) < test_compile >:
	Fix a couple of instances where `test .. -ne ..' would possibly
	compare non-numbers.  Clean up a bit.

	* tests/convenience.at, tests/deplibs-ident.at: Add new keyword
	`libtool' for tests that exercise the unmodified `libtool'
	script that is generated at build time.
	* tests/duplicate_members.at, tests/fail.at: Likewise.
	* tests/inherited_flags.at, tests/link-order.at: Likewise.
	* tests/stresstest.at, tests/template.at: Likewise.

2006-02-03  Ralf Wildenhues  <[email protected]>

	* tests/fail.at: Also pass a bogus object file to the linker so
	it fails more reliably; AIX and IRIX linkers ignore duplicate
	symbol definitions.

	* libltdl/m4/libtool.m4 [ solaris ] (_LT_LINKER_SHLIBS)
	(_LT_LANG_CXX_CONFIG) < whole_archive_flag_spec >:
	Fix this once and for all, for both the SUN compiler suite
	(cc/CC/f77/f90/f95) and GCC.
	Reported by Yuri Pukhalsky <[email protected]>.

	* tests/cdemo/Makefile.am: Remove broken use of undocumented
	Automake variable `$(OBJECTS)'.
	* tests/demo/Makefile.am, tests/depdemo/Makefile.am: Likewise.
	* tests/f77demo/Makefile.am, tests/fcdemo/Makefile.am: Likewise.
	* tests/mdemo/Makefile.am, tests/mdemo2/Makefile.am: Likewise.
	* tests/pdemo/Makefile.am, tests/tagdemo/Makefile.am: Likewise.

	* libltdl/config/ltmain.m4sh (func_mode_link): Fix logic for
	adding run paths to also add paths for installed libtool
	libraries in case `-static' is used.

2006-02-01  Ralf Wildenhues  <[email protected]>

	* Makefile.am (TESTSUITE_AT): List testsuite files in the order
	in which they are to be expanded in the suite.
	(tests/TESTSUITE): Rebuild by passing all $(TESTSUITE_AT) files,
	with their path suitably adjusted.  This enables us to..
	* tests/testsuite.at: ..get rid of their redundant mention here.

2006-01-30  Ralf Wildenhues  <[email protected]>

	* doc/libtool.texi (titlepage): Remove superfluous word.

	* libltdl/config/ltmain.m4sh (func_mode_link): Fix matching
	duplicate run path entries with the correct separator.

	* tests/testsuite.at (PREPARE_TESTS): Escape `^' for some older
	shells.

	* ChangeLog, HACKING, README, README.alpha,
	libltdl/config/ltmain.m4sh:  Add vi(m) modelines, to match emacs
	formatting variables.

2006-01-24  Ralf Wildenhues  <[email protected]>

	* Makefile.am (libltdl/Makefile.am): Fixup sed script.
	Reported by Bob Friesenhahn <[email protected]>.

2006-01-23  Ralf Wildenhues  <[email protected]>

	* Makefile.am, bootstrap, clcommit.m4sh,
	libltdl/config/getopt.m4sh, libltdl/config/mailnotify.m4sh,
	tests/sh.test, tests/testsuite.at: Bump copyright years.

2006-01-21  Eric Blake  <[email protected]>

	* THANKS: Move myself to contributor.

2006-01-21  Ralf Wildenhues  <[email protected]>

	* bootstrap: Don't use semicolons inside { } in sed scripts, as
	Posix says it's not portable.
	* Makefile.am (libltdl/Makefile.am): Likewise.
	* libtoolize.m4sh (all over the map): Likewise.
	* libltdl/config/getopt.m4sh (func_version, func_usage)
	(func_help): Likewise.
	* libltdl/config/ltmain.m4sh (func_win32_libid): Likewise.
	* libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Likewise.
	* clcommit.m4sh, libltdl/config/mailnotify.m4sh: Likewise.
	* tests/sh.test, tests/testsuite.at (LT_AT_TAG): Likewise.
	Noted by Paul Eggert <[email protected]>.

	* libltdl/config/ltmain.m4sh (func_mode_compile): Also transform
	`.obj' correctly.
	Reported by George Bosilca <[email protected]>.

2006-01-13  Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC): Fix my forward port
	error of last commit.

2006-01-12  Leif Ekblad  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
	(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC): Added support for
	RDOS.
	* NEWS: Updated.

2006-01-11  Ralf Wildenhues  <[email protected]>

	* libtoolize.m4sh, libltdl/config/general.m4sh,
	libltdl/config/getopt.m4sh, libltdl/config/ltmain.m4sh,
	libltdl/m4/libtool.m4: Bump copyright years.

2006-01-03  Ralf Wildenhues  <[email protected]>

	* Makefile.am (EXTRA_DIST): Add ChangeLog.2005.

	* README, README.alpha: Adjust copyright years.
	* ChangeLog.2005: New, rotated, from..
	* ChangeLog: ..here.

2005-12-29  Ralf Wildenhues <[email protected]>

	* Makefile.am (libtoolize): Also depend on `config.status'.
	(tests/atconfig): Normalize path, for non-GNU make.
	Reported by Bob Friesenhahn <[email protected]>.

	* libltdl/config/ltmain.m4sh (func_mode_link) <temp_rpath>:
	Fix position of separator for shlibpath_var setting in shell
	wrapper.

	* libltdl/lt_error.c (error_strings): Remove parentheses around
	string literal initializers, uncovered by `tcc'.
	Reported by Edward Chernenko <[email protected]>.

2005-12-21  Gary V. Vaughan  <[email protected]>

	* .cvsignore, libltdl/.cvsignore, tests/.cvsignore: Ignore
	+build, +dest, +inst, .cvslog-tlasync, .gdb_history, .pc,
	libltdl/INSTALL, libltdl/stamp-mk and tests/testsuite.log.

2005-12-20  Eric Blake  <[email protected]>

	* README.alpha: Really commit.

2005-12-19  Eric Blake  <[email protected]>

	* HACKING (release note templates): Update anon cvs location.
	* README.alpha (Reporting Bugs): Likewise.

2005-12-18  Jacob Meuser <[email protected]>,
	    Ralf Wildenhues <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): Move library
	search paths that coincide with paths to not yet installed
	libraries to the beginning of the library search list.

2005-12-18  Ralf Wildenhues <[email protected]>

	* THANKS: Updated.

	* HACKING: `./libtool --config' is more helpful than `--help'.

	* libltdl/config/ltmain.m4sh <preserve_args, linknames>:
	Initialize properly.

2005-12-18  Kean Johnston  <[email protected]>,
	    Ralf Wildenhues <[email protected]>

	* libltdl/m4/libtool.m4 (LT_PATH_NM): Also look in
	/usr/ccs/bin/elf, for SCO.  If we are not cross-compiling, but
	$ac_tool_prefix is set, also try an un-prefixed `nm'.

2005-12-18  Ralf Wildenhues <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG)
	<hardcode_shlibpath_var>: Initialize, to `unsupported'.

2005-12-18  Marc Espie  <[email protected]>

	* libltdl/m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER)
	[ openbsd ] <sys_lib_dlsearch_path_spec>: Set to `/usr/lib'
	only.

2005-12-16  Ralf Wildenhues <[email protected]>

	* tests/old-m4-iface.at: Require Autoconf-2.50, so that
	Debian's autoconf wrapper will not cause 2.13 to barf over
	`--force'.
	Reported by Kurt Roeckx <[email protected]>.

	* README.alpha (Reporting bugs): Suggest to also bootstrap the
	libltdl subdirectory -- the Makefile will enforce it anyway.
	(The Test Suite): Renamed to..
	(The Test Suites): ..this.  Introduce the new Autotest test
	suite, how to run each one individually, and what to report.
	* README (The Test Suite): Likewise.

2005-12-16  Ralf Wildenhues <[email protected]>

	In the subpackage case, we do not install Makefile.inc.  Since
	we have to be correct for this case, remove `Makefile.inc' from
	EXTRA_DIST.  Recursive mode does not use it either.  Since
	nonrecursive mode requires an Automake >= 1.7 anyway, and those
	versions automatically distribute included makefile fragments,
	we don't need to cater for that one either.

	* libltdl/Makefile.inc (EXTRA_DIST): Remove Makefile.inc.
	Reorder other entries.

2005-12-16  Ralf Wildenhues <[email protected]>

	* Makefile.am (libltdl/Makefile.in): also depend on
	libltdl/aclocal.m4, so that we guarantee timestamp consistency.
	(libltdl/stamp-mk): New target, to fix `libltdl/Makefile.in'.
	(EXTRA_DIST): Distribute `libltdl/stamp-mk' and
	`libltdl/m4/lt~obsolete.m4'.
	(all-local): Ensure the stamp files is up to date.
	(libltdl/aclocal.m4): New target, to ensure timestamp
	consistency.  Depend on all m4 files.
	* HACKING: Updated.

	* tests/testsuite.at (PREPARE_TESTS): New variable `tst_dist',
	default to empty.
	* tests/nonrecursive.at, tests/recursive.at,
	tests/standalone.at, tests/subproject.at: Use it in
	LT_AT_BOOTSTRAP or LT_AT_MAKE, so that you can optionally test
	redistribution within the tests.

	* libltdl/m4/lt~obsolete.m4: Update documentation for aclocal
	versions before 1.7.  Change all macros to use AC_DEFUN instead
	of AU_DEFUN.
	* (_AC_PROG_LIBTOOL, AC_LIBTOOL_SETUP, _LT_AC_CHECK_DLFCN)
	(AC_LIBTOOL_SYS_DYNAMIC_LINKER, _LT_AC_TAGCONFIG)
	(AC_DISABLE_FAST_INSTALL, _LT_AC_LANG_CXX, _LT_AC_LANG_F77)
	(_LT_AC_LANG_GCJ, AC_LIBTOOL_RC, AC_LIBTOOL_LANG_C_CONFIG)
	(_LT_AC_LANG_C_CONFIG, AC_LIBTOOL_LANG_CXX_CONFIG)
	(_LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_LANG_F77_CONFIG)
	(_LT_AC_LANG_F77_CONFIG, AC_LIBTOOL_LANG_GCJ_CONFIG)
	(_LT_AC_LANG_GCJ_CONFIG, AC_LIBTOOL_LANG_RC_CONFIG)
	(_LT_AC_LANG_RC_CONFIG, AC_LIBTOOL_CONFIG)
	(_LT_AC_FILE_LTDLL_C): Add new fake macros for these, they
	were used at one time in libtool.m4.

	* tests/am-subdir.at (Makefile.am): Put automake options here,
	in AUTOMAKE_OPTIONS.  Require 1.6 because of the newer
	`AC_INIT(pkgname,version) AM_INIT_AUTOMAKE' scheme.
	* tests/nonrecursive.at, tests/recursive.at: Require 1.7,
	because libltdl rules use `+=' in conditionals.
	* tests/testsuite.at (LT_AT_AUTOMAKE): Fix indenting.
	(LT_AT_AUTORECONF): also detect too old Automake.

2005-12-08  Eric Blake  <[email protected]>

	* libltdl/libltdl/lt__alloc.h (FREE): Cast away constness of
	argument to `free' to avoid compiler warning.

2005-12-08  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_LINKER_SHLIBS)
	[darwin]: Use $LTCC $LTCFLAGS to check for -single_module.
	Reported by Ralf Wildenhues <[email protected]>

2005-12-07  Ralf Wildenhues <[email protected]>

	* bootstrap: always remove Makefile, to avoid triggering the
	autotools rebuild rules before autoreconf builds these.
	Reported by Bob Friesenhahn <[email protected]>.

2005-12-07  Peter O'Gorman  <[email protected]>

	* libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4 [darwin]:
	Use -single_module by default when linking shared libraries. Can
	be overridden by specifying -multi-module or by setting the env
	var LT_MULTI_MODULE before configure.
	* libltdl/m4/libtool.m4 (archive_expsyms_cmds) [darwin]:
	Simplify.
	Reported by Ralf Wildenhues <[email protected]>

2005-12-04  Ralf Wildenhues <[email protected]>

	* doc/libtool.texi (References): Do not use `@/' for the benefit
	of older `makeinfo', break lines instead.

	* Makefile.am (install-data-local): No continuation here.
	(dist-hook): Fix copying of README.alpha to README.
	* tests/early-libtool.at (configure.ac): Remove
	`AM_INIT_AUTOMAKE', we do not use automake in these tests.

	* README, README.alpha, libtoolize.m4sh: Typos.
	* tests/am-subdir.at, tests/duplicate_members.at: Make all
	banners end with a dot, for symmetry.

	* libtoolize.m4sh (func_copy_all_files)
	(glob_exclude_pkgaux_files): Removed, since unused.

	* libtoolize.m4sh (func_copy_cb, func_copy_some_files)
	(func_serial_update, func_keyword_update): Fail immediately
	if some file we may install does not exist.
	Reported by Troy Benjegerdes <[email protected]>.

2005-12-03  Ralf Wildenhues <[email protected]>

	* TODO: A bunch of items fixed. :)

	* tests/convenience.at: Updated to expose more corner cases.

	* doc/libtool.texi (Invoking libtoolize): Remove mention of
	the nonrecursive restriction to name the directory `libltdl'.

	* libtoolize.m4sh (func_fixup_Makefile_inc): New function.
	(main): Call it in nonrecursive mode to mangle Makefile.inc.
	* tests/nonrecursive.at: adjusted to test this.

2005-12-03  Ralf Wildenhues <[email protected]>

	Basic support for PIE (position-independent executables).

	* libltdl/config/ltmain.m4sh (func_generate_dlsyms):
	Don't pass PIE flag for compilation of the symbol file object.
	(func_mode_compile): Pass PIE flag only for non-PIC objects.
	* NEWS: Updated.

2005-12-03  Ralf Wildenhues <[email protected]>

	* libltdl/config/general.m4sh (func_show_eval): Rewrite use of
	the failure expression, because the exit status of the previous
	command may not be preserved in the next `eval' by some shells,
	such as pdksh.
	* libltdl/config/ltmain.m4sh (func_extract_an_archive):
	Use func_show_eval correctly.
	(func_mode_link): Likewise.  Also, do not use `$status'.
	* tests/fail.at: New set of tests to ensure libtool fails.
	* Makefile.am, tests/testsuite.at: Adjusted.

2005-11-26  Peter O'Gorman  <[email protected]>

	* libltdl/m4/libtool.m4 [darwin]: Use $LTCC $LTCFLAGS to create
	reloadable objects.

2005-11-25  Ralf Wildenhues <[email protected]>

	* libltdl/Makefile.inc (libltdl/argz.h): Create libltdl
	directory if it does not exist yet.  Take care that munging
	of the file will not mess up the build rule.
	Reported by Peter O'Gorman <[email protected]>.

2005-11-25  Eric Blake  <[email protected]>,
	    Ralf Wildenhues  <[email protected]>

	* libltdl/loaders/loadlibrary.c (iface_id): New variable.
	(get_vtable): Get an `iface_id' from `lt_dlinterface_register'.
	(get_vtable): Rewrite to catch up with lt_dlhandle_iterate
	interface change.  Append dot only after w32 path conversion
	so it works on cygwin managed mounts.

	* libltdl/ltdl.h, libltdl/ltdl.c (lt_dlinterface_free): New
	function.
	* doc/libtool.texi (User defined module data): Document it.

2005-11-25  Ralf Wildenhues <[email protected]>

	* libltdl/m4/libtool.m4 [aix] <archive_expsym_cmds>
	(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Always move -bnoentry
	before $compiler_flags, so it can be overridden.

	* libltdl/config/ltmain.m4sh (func_mode_link): Allow GCC
	response files through.

2005-11-25  Peter O'Gorman  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link): Pass through
	-isysroot for cross architecture builds on darwin.

2005-11-24  Ralf Wildenhues <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_uninstall): In clean
	mode, don't remove non-existent libfoo.lai.

2005-11-20  Ralf Wildenhues <[email protected]>

	* Makefile.am (aclocalfiles): Also install lt~obsolete.m4.
	* libtoolize.m4sh (func_check_macros): Updated.
	* tests/libtoolize.at: Adjusted.

2005-11-20  Eric Blake  <[email protected]>,
	    Ralf Wildenhues <[email protected]>

	* bootstrap (--help): Provide some help.

2005-11-20  Todd Vierling <[email protected]>,
	    Thorsten Glaser <[email protected]>

	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN, _LT_SYS_DYNAMIC_LINKER)
	(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	(_LT_LANG_CXX_CONFIG) [ interix3 ]: Support for Interix/Microsoft
	Services for Unix.
	* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
	* NEWS: Updated.

2005-11-20  Ralf Wildenhues <[email protected]>

	* tests/link-order.at [ interix ]: Skip command line grep.
	* tests/deplibs-ident.at [ interix ]: Not broken here.
	Reported by Thorsten Glaser <[email protected]>.

2005-11-18  Ralf Wildenhues <[email protected]>

	* libtoolize.m4sh (func_copy_all_files)
	(func_massage_aclocal_DATA, func_massage_pkgltdl_files)
	(func_massage_pkgconfig_files): Work around ksh limitation.
	Reported by Thorsten Glaser <[email protected]>.

2005-11-14  Albert Chin  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
	[ hpux11 ]: Pass +nodefaultrpath when linking on ia64*.

2005-11-14  Ralf Wildenhues <[email protected]>

	Testsuite portability update round.

	* tests/inherited_flags: skip when shared libs are disabled.
	* tests/deplibs-ident.at [ aix ]: No unexpected failure here.
	* tests/libtoolize.at: Fix for distcheck (readonly sources).
	* tests/nonrecursive.at, tests/recursive.at, tests/subproject.at
	(foo.c): Actually export a symbol, for AIX.
	* tests/old-m4-iface.at: Use AC_LIBTOOL_DLOPEN, for AIX.
	* tests/nonrecursive.at: Set foo_la_SOURCES, for automake-1.7.
	* tests/subproject.at: Require automake-1.9, we use indirect
	subdirs.
	* tests/am-subdir.at: Move AT_KEYWORDS settings..
	* tests/testsuite.at: ..here, in respective macros.
	(LT_AT_AUTOMAKE): Skip if we detect failure due to old version.
	(PREPARE_TESTS): Set autotool variables to `no' if not present.
	(LT_AT_ACLOCAL, LT_AT_AUTOCONF, LT_AT_AUTOMAKE)
	(LT_AT_AUTOHEADER, LT_AT_AUTORECONF): Use to XFAIL tests.
	Reported by Tim Rice <[email protected]>.
	(LT_AT_MAKE): Do not use `make -e'.
	(_LTDL_PROJECT_FILES): Adjust sub-make call.  Work around `make'
	which does not set `MAKE' or `SHELL'.  Fix for user-set
	`CONFIG_SHELL'.
	Reported by Charles Wilson <[email protected]>.

	* libltdl/m4/lt~obsolete.m4 (_LT_CC_BASENAME)
	(_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE):
	Added because they were added to branch-1-5 AC_DEFUNed.
	* HACKING: Add note about lt~obsolete.m4.

	* Makefile.am, libltdl/Makefile.inc (INSTALL_LTDL):
	For nonrecursive mode, add to include_HEADERS as well.
	* doc/libtool.texi (Invoking libtoolize, Distributing libltdl),
	tests/nonrecursive.at: Adjusted, and removed TABS from .texi.

	* libtoolize.m4sh: Revert use of `$tst_aclocaldir'.

2005-11-13  Eric Blake  <[email protected]>

	* libltdl/ltdl.c (lt_dlhandle_iterate): Fix endless loop.
	(lt_dlinterface_register): Fail if lt__strdup did.

2005-11-13  Ralf Wildenhues <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LANG_C_CONFIG):
	Removed `lt_prog_cc_shlib' cruft, not needed any more.

2005-11-13  Kean Johnston  <[email protected]>,
	    Tim Rice  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
	(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
	(_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG)
	[ sco3.2v5, sysv4, sysv4.3, sysv5, sco3.2v5, sco5v6, unixware,
	OpenUNIX, sysv4*uw2 ]: Complete overhaul of SCO support.
	* THANKS: Updated.

2005-11-13  Ralf Wildenhues <[email protected]>

	* tests/quote.test: Do not fail on harmless shell bug present
	in some ksh versions.
	Reported by Tim Rice <[email protected]> and others.

2005-11-12  Ralf Wildenhues <[email protected]>

	* libltdl/m4/ltoptions.m4 (_LT_SET_OPTION): Use m4_warning
	instead of m4_warn.

	* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC): `wl' is tagged here.

	* libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF, _LT_COMPILER_PIC):
	Make sure `$wl' is properly expanded for tests involving
	`export_dynamic_flag_spec', `lt_prog_compiler_static'.

	* tests/defs.m4sh (func_configure): Actually pass
	options (like --disable-shared) to func_configure_nofail.

2005-11-11  Ralf Wildenhues <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ freebsd ]:
	Fix shlibpath_overrides_runpath settings.
	Reported by Dave Benson <[email protected]>.

2005-09-10  Charles Wilson  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_win32_libid): use $SED not
	sed.
	
2005-11-10  Albert Chin-A-Young  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [ hpux10, hpux11 ]
	<hppa*64,ia64, aCC,g++>:
	Use C++ compiler for linking rather than ld.

2005-11-10  Ralf Wildenhues <[email protected]>

	* libltdl/m4/ltsugar.m4 (lt_join, lt_combine, lt_dict_filter):
	Rewrite to eliminate tail recursion; use ..
	(lt_unquote): New trivial helper macro.
	* libltdl/m4/libtool.m4 (_lt_decl_filter): Document.

2005-11-10  Gary V. Vaughan  <[email protected]>

	* tests/testsuite.ac (macrodir): Don't set it here...
	* Makefile.am (BUILDCHECK_ENVIRONMENT, INSTALLCHECK_ENVIRONMENT):
	...set it here to pick up files from the right place in context.
	* tests/libtoolize.at, tests/old-m4-iface.at: Adjust.
	* libtoolize.m4sh: Take tst_aclocaldir into account when running
	inside the test harness.

2005-11-10  Gary V. Vaughan  <[email protected]>

	* tests/am-subdir.at: Now that we don't run autoreconf, we have to
	explicitly tell aclocal what flags to use.

	* tests/testsuite.at (LT_AT_BOOTSTRAP): Allow passing arguments to
	configure.
	* tests/am-subdir.at, tests/nonrecursive.at, tests/old-m4-iface.at,
	tests/subproject.at: Use LT_AT_BOOTSTRAP.

2005-11-09  Ralf Wildenhues <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Also set pic_flag.
	(_LT_LANG_CXX_CONFIG): Use $as_unset, not unset.
	(_LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG): Remove bogus
	ld_shlibs tests.

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Move setting of
	`variables_saved_for_relink'..
	(_LT_SYS_DYNAMIC_LINKER): here, when both `shlibpath_var'
	and `runpath_var' have been set.
	Reported by Mike Frysinger <[email protected]>.

	* libltdl/Makefile.inc (AM_CPPFLAGS): Do not define
	HAVE_CONFIG_H.
	* libltdl/m4/ltdl.m4 (LTDL_INIT): Do not invoke
	AC_CONFIG_HEADERS ourselves, we can build with or without now.

2005-11-07  Kean Johnston  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link) [ sysv4*uw2*,
	unixware7* ]: Work around linker bug on older SCO systems.

2005-11-07  Albert Chin-A-Young  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
	(_LT_LANG_CXX_CONFIG) [ hpux10, hpux11 ]:
	hardcode_libdir_flag_spec and hardcode_minus_L are the same for
	hppa*64 and ia64*. Don't set
	hardcode_libdir_flag_spec='-L$libdir' on ia64* because if you
	specify +b and -L, +b overrides what is set into DT_RPATH.

2005-11-07  Gary V. Vaughan  <[email protected]>

	* tests/testsuite.at (_LTDL_PROJECT_FILES): Factored out from
	common code to build a basic libltdl using project.
	* tests/old-m4-iface.at, tests/standalone.at, tests/subproject.at:
	Use it.

	* doc/libtool.texi (Distributing libltdl): Document correct use of
	LT_CONFIG_LTDL_DIR mode argument with Autoconf and Automake.

2005-11-07  Gary V. Vaughan  <[email protected]>

	Support 'recursive' mode for building libltdl: Automake will
	recursively descend into the libltdl directory, and use libltdl's
	Makefile.am code to build libltdl:

	* ltdl.m4 (LT_CONFIG_LTDL_DIR): Don't barf on 'recursive' mode
	for 2nd argument.
	(_LTDL_MODE_DISPATCH): Handle recursive mode.

2005-11-07  Gary V. Vaughan  <[email protected]>

	* tests/recursive.at: New tests for libltdl as a subdirectory,
	configured and compiled from the toplevel project using a
	recursive make..
	* tests/testsuite.at: Use it.
	* Makefile.am (TESTSUITE_AT): Depend on it.

	* libltdl/m4/ltdl.m4 (LTDL_INIT): Don't force running
	AC_CONFIG_HEADERS for subproject ltdl.
	* tests/old-m4-iface.at, tests/subproject.at: Remove workaround.

	* libltdl/m4/ltdl.m4 (LT_CONFIG_LTDL_DIR): Add LTDL-MODE
	argument.
	* configure.ac: Use it.

2005-11-06  Ralf Wildenhues <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): lt_unknown is
	lt_dlunknown.

	* libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Revert
	expansion of `$wl'.
	(_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_GCJ_CONFIG):
	Do not require LT_SYS_DLOPEN_SELF.
	(_LT_LANG_C_CONFIG): Instead call it at the right time.
	(_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
	(_LT_LANG_GCJ_CONFIG): Do not call _LT_CMD_STRIPLIB.

	* Makefile.am: `2>&1' as suggested by Albert Chin.
	* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4:
	Two newlines before each macro, fix underlines.

2005-11-05  Kean Johnston  <[email protected]>,
	    Ralf Wildenhues  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link) [*-*-sco3.2v5*]:
	Don't pass through -lc, nor add it to deplibs.
	[*-*-sysv5*]: Ditto.
	[*-*-openbsd*, *-*-freebsd*, *-*-dragonfly*]: Remove bogus
	`$arg'.

2005-11-04  Ralf Wildenhues <[email protected]>

	* THANKS: Updated.

2005-11-02  Gary V. Vaughan  <[email protected]>

	* tests/nonrecursive.at: New tests for libltdl as a subdirectory,
	configured and compiled from the toplevel project.
	* tests/testsuite.at: Use it.
	(LT_AT_AUTOHEADER): New macro.
	* Makefile.am (TESTSUITE_AT): Depend on nonrecursive.at.

2005-11-01  Ralf Wildenhues <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [ solaris ]: Add `-64'
	to $LD if necessary, to permit combining of several convenience
	libs without any further objects added.
	Reported by Brian Barrett <[email protected]>.

2005-11-01  Kean Johnston  <[email protected]>,
	    Ralf Wildenhues  <[email protected]>

	* libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Use
	`lt_prog_compile_static', not `link_static_flag'.  Expand `$wl'
	so expansion of `export_dynamic_flag_spec' works.
	(_LT_TRY_DLOPEN_SELF): Show dlerror() in case of failure.
	(_LT_LINKER_SHLIBS) [ aix3 ]: Likewise.
	(_LT_COMPILER_PIC) [ hpux* ]: Use `${wl}'.

2005-11-01  Ralf Wildenhues <[email protected]>

	* THANKS: Updated.

2005-11-01  Gary V. Vaughan  <[email protected]>

	* libltdl/m4/ltdl.m4 (LTDL_INIT): Call _LT_ENABLE_INSTALL directly
	instead of m4_requiring it, as it relies on enable_ltdl_install
	and enable_ltdl_convenience to have been initialised first.

	* libtoolize.m4sh: Use serial tags to locate the correct serial
	numbers when deciding whether to update.
	(func_serial): Allow for macro_regex argument to be originating
	file name.
	(func_serial_update): Use NL2SP to flatten list of extracted
	m4_include files.
	* tests/libtoolize.at: More tests for old-style verbatim copying
	of macros into aclocal.m4.

	* libltdl/m4/argz.m4, libltdl/m4/ltoptions.m4, libltdl/ltsugar.m4,
	libltdl/m4/ltversion.in: Add serial number tags, and bump serial
	number.

2005-10-31  Kean Johnston  <[email protected]>

	[ sysv5*, sco3.2v5*, sco5v6*, unixware*, OpenUNIX*, sysv4*uw2* ]
	Patches for various bug fixes, small improvements and updating
	the SCO platform support.

	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Set correctly for SCO.

	* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Set correct
	symcode values for the native nm on SCO platforms.

	* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): All SCO platforms
	open dependency libraries when you dlopen a module.

2005-10-31  Albert Chin-A-Young  <[email protected]>

	* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
	[ aix ]: Remove duplicate always_export_symbols=yes for AIX.

2005-10-29  Howard Chu  <[email protected]>

	* libltdl/config/ltmain.m4sh (func_mode_link):
	With `-static', only link statically against uninstalled
	libtool libraries.  Fixes 1.5.x regression to match documented
	behavior.
	* NEWS: Updated.

2005-10-27  Stepan Kasal  <[email protected]>

	* HACKING: Update note about use of `$#' in m4 macros.

2005-10-27  Ralf Wildenhues  <[email protected]>

	* tests/tagtrace.test: Allow `$AUTOCONF' to contain arguments.
	Skip if the running `autoconf' version is older than the one
	used to bootstrap Libtool.

2005-10-26  Eric Blake  <[email protected]>,
	    Ralf Wildenhues  <[email protected]>

	* Makefile.am (vcl-tmp): Avoid warnings from diff.
	* bootstrap: Avoid warnings from find.
	(lt_tab): Use to prevent editor whitespace "cleanup".

2005-10-26  Gary V. Vaughan  <[email protected]>

	* libtoolize.m4sh: Put back the func_serial_update callback for
	func_copy_some_files so that the testsuite passes again.  We'll
	have to find a better way of handling serial numbers in libtool
	macro files.

	* libltdl/Makefile.inc: New file, factored out of Makefile.am for
	use in non-recursive libltdl installations.
	* bootstrap: Adjust.
	* Makefile.am: include it.
	(libltdl/Makefile.am): Adjust to build from the new
	libltdl/Makefile.inc.
	(SUBDIR_LIBOBJS): Renamed from this...
	(LTDL_SUBDIR_LIBOBJS): ...to this.
	* configure.ac: Adjust.
	* doc/libtool.texi (Invoking libtoolize): Document the new modes
	and libtoolize option to select them.
	* libtoolize.m4sh: Parse new options, --nonrecursive, --recursive
	and --subproject.  Install the appropriate files with --ltdl
	according to the selected mode.
	(func_scan_files): If --subproject, --recursive or --nonrecursive
	options were not given, use the value from LT_CONFIG_LTDL_DIR; if
	a mode was given, and there is also an argument to
	LT_CONFIG_LTDL_DIR, ensure they are the same.
	* NEWS: Updated.

	* libtoolize.m4sh: Don't use func_serial_update as a copy
	function f
Showing 512.00 KB of 1.11 MB. Use Edit/Download for full content.

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
1.86 KB lrw-r--r-- 2015-01-16 18:52:03
Edit Download
1.11 MB lrw-r--r-- 2015-02-15 17:15:37
Edit Download
54.85 KB lrw-r--r-- 2015-02-15 16:13:37
Edit Download
194 B lrw-r--r-- 2015-02-15 17:15:37
Edit Download
17.70 KB lrw-r--r-- 2015-02-15 17:15:37
Edit Download
13.99 KB lrw-r--r-- 2015-01-16 18:52:04
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).