From: Ralf Wildenhues Date: Fri, 15 Oct 2010 03:54:45 +0000 (+0200) Subject: Merge branch 'libtool-next' (early part) X-Git-Tag: v2.4.2~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f907f634e7035166a793fd70e40ae677c2a9a10;p=thirdparty%2Flibtool.git Merge branch 'libtool-next' (early part) * 'libtool-next' (early part): libtool: remove redundant unsubstituted shell var defaults. maint: don't leak developer GREP, SED etc into distribution file. maint: rearrange Makefile.am in preparation for a follow-up patch. Signed-off-by: Ralf Wildenhues --- 2f907f634e7035166a793fd70e40ae677c2a9a10 diff --cc ChangeLog index fbd8386c8,f939b295f..df414976a --- a/ChangeLog +++ b/ChangeLog @@@ -1,122 -1,39 +1,158 @@@ -2010-09-24 Gary V. Vaughan ++2010-10-15 Gary V. Vaughan + + 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-08-31 Gary V. Vaughan ++2010-10-15 Gary V. Vaughan + + 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 + + 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] : 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 + + tests: fix $EXEEXT typo. + * tests/depdemo-relink.test (func_restore_files): Use $EXEEXT + instead of $EXEXT. + +2010-10-12 Simon Josefsson + Matěj Týč + Ralf Wildenhues + + 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 + + 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 , + patch by Khem Raj . + * THANKS: Reorder entries, add Khem and Lionel. + +2010-10-07 Roumen Petrov + + 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 + + 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) + : 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 + + 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) : 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 : 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 + + 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 msvc: don't try to export import descriptors.