summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Silence order-only configure test for AIX make.parallel-testsRalf Wildenhues2010-08-292-1/+6
| | | | | | * configure.ac: Also drop standard output, for AIX 5.1 make. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Fix NEWS entry for bootstrapping requirements.Ralf Wildenhues2010-08-282-3/+7
| | | | | | * NEWS: Only bootstrapping needs new Automake and Autoconf. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* check-interactive and check-noninteractive for both testsuites.Ralf Wildenhues2010-08-224-29/+48
| | | | | | | | | | | | | | | | | * 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. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Adjust docs for renaming and for parallel-tests.Ralf Wildenhues2010-08-225-29/+157
| | | | | | | | | | * README: Update example TESTS setting. * README.alpha: Likewise. * NEWS: Update. * doc/libtool.texi (Test descriptions): Update for test renaming, adjust descriptions accordingly. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Update VERBOSE handling for parallel-tests driver.Ralf Wildenhues2010-08-225-34/+26
| | | | | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Enable parallel-tests test driver for the old testsuite.Ralf Wildenhues2010-08-224-56/+287
| | | | | | | | | | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* New alias scripts for old tests run more than once.Ralf Wildenhues2010-08-2257-0/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Require Automake 1.11.1 for Libtool, enable color-tests.Ralf Wildenhues2010-08-224-31/+13
| | | | | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Avoid issues with AIX resident shared libraries in old testsuite.Rainer Tammer2010-08-212-0/+17
| | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Skip part of versioning test on AIX.Ralf Wildenhues2010-08-212-1/+13
| | | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Remove dead code from versioning test.Ralf Wildenhues2010-08-212-9/+7
| | | | | | | * tests/versioning.at (versioning): No need to build unused prog3. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Don't hide the table of contents in the manual.Ralf Wildenhues2010-08-202-2/+6
| | | | | | | * doc/libtool.texi: Move the table of contents to the beginning. Prompted by patch from Bruno Haible against Automake. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Remove superfluous dependency in Makefile.am.Ralf Wildenhues2010-08-202-2/+4
| | | | | | | * Makefile.am (tests/demo-conf.test): Remove dependency on libtool, this test is a primary source and not generated. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Bump copyright years in manual.Ralf Wildenhues2010-08-202-3/+8
| | | | | | * doc/libtool.texi: Bump copyright years. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Allow the use of a listing file if the archiver supports it.Peter Rosin2010-08-134-5/+60
| | | | | | | | | | | | | | | | * 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* Make testsuite compatible with Autoconf 2.62 again.Gary V. Vaughan2010-08-102-3/+11
| | | | | | | * 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 <eblake@redhat.com> Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Fix more problematic code from "Add func_append_quoted and do..."Ralf Wildenhues2010-08-092-2/+8
| | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Fix another typo on "Add func_append_quoted and do..."Ralf Wildenhues2010-08-092-1/+9
| | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Avoid unwanted error message in configure output.Ralf Wildenhues2010-08-072-1/+5
| | | | | | | * libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Try print in subshell, so eventual `print: not found' is hidden reliably. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Fix compilation of program sources on AIX.Ralf Wildenhues2010-08-073-3/+10
| | | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Do not call toplevel configure in non-VPATH build.Ralf Wildenhues2010-08-073-2/+12
| | | | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Allow running pic_flag test with different shell.Ralf Wildenhues2010-08-073-5/+14
| | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Ensure not to reverse preserving of --debug for relinking/finish.Ralf Wildenhues2010-08-073-1/+106
| | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Fix AC_NO_EXECUTABLES test failure on AIX.Ralf Wildenhues2010-08-063-7/+17
| | | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Fix ltdl-libdir test for C++ compilers.Ralf Wildenhues2010-08-062-1/+9
| | | | | | | * tests/ltdl-libdir.at (libdir of installed modules): Declare module function as extern "C". Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Let `libtool' without arguments point to `--help' again.Ralf Wildenhues2010-08-043-3/+11
| | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Avoid syntax error due to shift of nonexistent parameter.Ralf Wildenhues2010-08-042-1/+10
| | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Fix testsuite errors due to shell quoted parameter expansion issue.Ralf Wildenhues2010-08-042-5/+18
| | | | | | | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Fix build failure with AIX sh due to shell quoting error.Ralf Wildenhues2010-08-032-2/+12
| | | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Fix pic_flag test unportabilities.Ralf Wildenhues2010-08-022-2/+12
| | | | | | | | | * 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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* fix bug in postdeps computationPaolo Bonzini2010-08-012-3/+9
| | | | | | | * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Actually concatenate $prev and $p. Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
* Don't always skip XSI testsCharles Wilson2010-07-262-3/+10
| | | | | | tests/getopt-m4sh.at: Use new signature as implemented by de8a0992b21b76a13c302cf48588ad5f6042595c, when determining whether to test Extended-shell functions.
* dllimport when the lib is shared and not linking with -staticPeter Rosin2010-07-212-3/+11
| | | | | * tests/stresstest.at: Link with main.lo when liba is shared and linking main with -no-install.
* dllimport variables for MSVC in stresstest.atPeter Rosin2010-07-182-14/+31
| | | | | * tests/stresstest.at [MSVC]: dllimport all imported variables.
* dllimport the variable for MSVC in link-order.atPeter Rosin2010-07-172-2/+26
| | | | | * tests/link-order.at [MSVC]: Makes the test pass by dllimporting imported variables when working with shared libraries.
* Make preloading heed libname_spec.Peter Rosin2010-07-083-4/+33
| | | | | | | | | | | 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.
* Fix a spurious trailing space and a botched merge.Gary V. Vaughan2010-07-082-8/+10
| | | | | | | | | * libltdl/m4/libtool.m4 (_LT_PROG_FUNCTION_REPLACE): Remove spurious trailing space. * ChangeLog: Reorder to match commit order after botched merge. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* Rename _LT_PROG_XSI_REPLACE macro to _LT_PROG_FUNCTION_REPLACE.Gary V. Vaughan2010-07-086-42/+61
| | | | | | | | | | | | | | | | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* Optimize assignment of output_la.Peter Rosin2010-07-082-1/+9
| | | | | | * libltdl/config/ltmain.m4sh (func_mode_link): Save two fork/exec instances. Report by Ralf Wildenhues.
* Fix a cut-n-pasto in "2010-07-07 Charles Wilson" patch.Gary V. Vaughan2010-07-082-1/+7
| | | | | | | * libltdl/config/ltmain.m4sh (func_mode_link): Remove spurious variable dereference. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* Tidy m4 comment header underline.Gary V. Vaughan2010-07-072-1/+7
| | | | | | | * libltdl/m4/libtool.m4 (_LT_CHECK_SHAREDLIB_FROM_LINKLIB): Make sure hyphens in function name comment header underline line up. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* [cygwin|mingw] fix dlpreopen with --disable-staticCharles Wilson2010-07-074-23/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * tests/export.at [MSVC]: dllimport all imported variables.Peter Rosin2010-07-052-7/+27
| | | | | Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* Support for response files with $NM.Peter Rosin2010-07-054-2/+43
| | | | | | | | | | * 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.
* Fix ccache test for MSVC.Ralf Wildenhues2010-07-042-1/+7
| | | | | | | * tests/static.at (ccache -all-static): Ignore compiler stderr. Reported by Peter Rosin. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Avoid false failures caused by filesystem interactionCharles Wilson2010-07-042-6/+29
| | | | | | | * tests/dlloader-api.at (dlloader API): Use uglified names for pseudo-modules. Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>
* Fix typo in "Add func_append_quoted and do..."Peter Rosin2010-07-032-1/+7
| | | | | | | * libltdl/config/ltmain.m4sh (func_mode_compile): Use func_append_quoted instead of func_append. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* Don't trigger file name expansion when embedding manifests.Peter Rosin2010-07-022-2/+11
| | | | | | | | | | * 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 |. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* Fix regression caused by "Add func_append_quoted and do..."Peter Rosin2010-07-012-1/+7
| | | | | | | * libltdl/config/ltmain.m4sh (func_mode_link): Remove leftover "_libs" trash. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* For MSVC, embed the manifest as a resource in the executable.Peter Rosin2010-07-017-1/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.