summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* maint: fix a typo in THANKS.branch-2-4Gary V. Vaughan2014-10-271-1/+1
| | | | | | * THANKS: s/macports\.com/macports.org/ Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: don't install unused helper scripts.Gary V. Vaughan2014-10-261-1/+1
| | | | | | | | * Makefile.am (install-data-local): Don't install config/extract-trace nor config/options-parser, which are not used by libtool nor libtoolize in this branch. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* syntax-check: use strlcpy instead of strncpy.Gary V. Vaughan2014-10-262-2/+2
| | | | | | | | * libltdl/loaders/dyld.c (vm_sym): Use strlcpy to pacify syntax checks. * libltdl/ltdl.c (try_dlopen): Likewise. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: add gnulib override modules.Gary V. Vaughan2014-10-269-1203/+110
| | | | | | | | | | | | * libltdl/config/extract-trace, libltdl/config/options-parser: Remove. * libltdl/config/.gitconfig: Update. * gl/modules/bootstrap, gl/modules/extract-trace, gl/modules/funclib.sh, gl/modules/inline-source, gl/modules/options-parser: New files. * bootstrap.conf (gnulib_modules): Add bootstrap. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: fix GCC linking with -fstack-protector.Gary V. Vaughan2014-10-261-1/+2
| | | | | | | | * 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 Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: support Mac OS 10.10 and newer.Gary V. Vaughan2014-10-262-3/+4
| | | | | | | | | | | | | | | | | | 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 Signed-off-by: Gary V. Vaughan <gary@gnu.org> Conflicts: libltdl/m4/libtool.m4
* libtool: delay expansion of $ECHO until the wrapper script runsPeter Rosin2014-10-261-1/+1
| | | | | | | | | | | 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* libtool: fix nm test for MSYS/MinGWPeter Rosin2014-10-261-2/+7
| | | | | | | | | | | | | | | | 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* libtool: speed up ltwrapper_script detection in execute modePeter Rosin2014-10-263-4/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se> Conflicts: THANKS libltdl/config/ltmain.m4sh
* libtool: prevent lto from stripping the magic cookie from the cwrapperPeter Rosin2014-10-261-1/+6
| | | | | | | | | | 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* libtool: actually strip -Wl when relinking with $LDPeter Rosin2014-10-261-1/+1
| | | | | | | | | | | | 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* doc: remove redundant "in order to" phrase where possible.Gary V. Vaughan2014-10-262-28/+28
| | | | | | | | | * 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 Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: opt_duplicate_compiler_generated_deps is harmful on SolarisRainer Orth2014-10-261-1/+3
| | | | | | | | | | | | | | 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org> Conflicts: libltdl/config/ltmain.m4sh
* edit-readme-alpha: adjust for recent README edits.Gary V. Vaughan2014-10-262-7/+7
| | | | | | | | * build-aux/edit-readme-alpha: Adjust regexps for recent README improvements. * README.md: Fix a SPACE-TAB sanity check failure. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* README: Tweak into markdown format and fix some bitrot.Gary V. Vaughan2014-10-264-326/+265
| | | | | | | | | | | | | * 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. * bootstrap.conf (func_reconfigure): Add func_ensure_README. * .gitignore: Add README. Signed-off-by: Gary V. Vaughan <gary@gnu.org> Conflicts: README
* libtool: only strip -Wl when linking with $LD.Gary V. Vaughan2014-10-261-6/+8
| | | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: update copyright notices to include 2014.Gary V. Vaughan2014-10-26242-247/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .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. Signed-off-by: Gary V. Vaughan <gary@gnu.org> Conflicts: libtoolize.in tests/cdemo.at tests/demo.at tests/depdemo.at tests/export-def.at tests/f77demo.at tests/fcdemo.at tests/libtool.at tests/mdemo.at tests/old-ltdl-iface.at tests/tagdemo.at
* configury: remove spurious g modifier in sed expression.Gary V. Vaughan2014-10-261-1/+1
| | | | | | | * Makefile.am (rebuild): Remove useless g modifier from sed expression. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* configury: use $(SED) where input does not end in newline.Gary V. Vaughan2014-10-261-1/+1
| | | | | | | | | | | | 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* gnulib: use func_sort_ver instead of GNU sort -V in do-release-commit-and-tag.Gary V. Vaughan2014-10-261-22/+13
| | | | | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org> Conflicts: gl/build-aux/do-release-commit-and-tag.diff
* libltdl: bump -version-info revision by 1.Gary V. Vaughan2014-10-261-1/+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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: bump serials on m4 sources changed since v2.4.2.Gary V. Vaughan2014-10-264-4/+4
| | | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: Don't fall back to static libraries if building them was disabledVadim Zeitlin2014-10-261-5/+8
| | | | | | | | | | | | | | | | | | | | | | 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. Copyright-paperwork-exempt: Yes Conflicts: libltdl/config/ltmain.m4sh
* libtool: Remove unneeded quotes in assignment.Brooks Moses2014-10-261-1/+1
| | | | | The quotes in this assignment cause "make syntax-check" to fail. Thus, this patch removes them.
* libtool: Fix x86_64-pc-solaris2.* GNU ld breakageFabian Groffen2014-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Copyright-paperwork-exempt: Yes
* libtool: Fix detection of ld version with parentheses.Olivier Blin2014-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | 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. Copyright-paperwork-exempt: Yes
* libtool: Fix comment indentationBrooks Moses2014-10-261-1/+1
| | | | | This trivial patch fixes indentation on a comment to match the style used elsewhere in m4/libtool.m4.
* libtool: Add TPF settings for LT_SYS_DLOPEN_SELFDJ Delorie2014-10-261-0/+8
| | | | | | | * 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.
* libtool: Fix $wl setting for tcc on GNU systemsVincent Lefevre2014-10-261-0/+6
| | | | | | | | | | | | | | | | (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. Copyright-paperwork-exempt: Yes
* libtool: Haiku change for shlibpath_overrides_runpathJoseph Prostko2014-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | 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 Copyright-paperwork-exempt: Yes
* libtool: Discard "-mllvm $arg" options when linking.Brooks Moses2014-10-261-0/+11
| | | | | | | | | | | | | | | | 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. Co-authored-by: Johannes Obermayr <johannesobermayr@gmx.de> Copyright-paperwork-exempt: Yes
* maint: Fix various comment and documentation typos.Ondřej Bílka2014-10-264-5/+5
| | | | | | | | | 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)
* libtool: Add Android/Linux support.David 'Digit' Turner2014-10-261-0/+20
| | | | | | | | | | | | | 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.
* libtool: trust -print-search-dirs from recent GCCPeter Rosin2014-10-262-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Conflicts: THANKS
* libtool: set correct linker ABI flags on mips64 linux.Steve Ellcey2014-10-261-0/+32
| | | | | | | | | | | 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. Co-authored-by: Gary V. Vaughan <gary@gnu.org> Signed-off-by: Gary V. Vaughan <gary@gnu.org> Conflicts: libltdl/m4/libtool.m4
* libltdl: don't trip subdir-objects warning from Automake >= 1.14.Gary V. Vaughan2014-10-261-1/+1
| | | | | | | | | | | 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: fix conversion warnings in cwrapperYaakov Selkowitz2014-10-262-14/+11
| | | | | | | | | | | | | | | | | | | 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. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Signed-off-by: Peter Rosin <peda@lysator.liu.se> Conflicts: libltdl/config/ltmain.m4sh
* libtool: break all the way out when a good nm is foundPeter Rosin2014-10-261-2/+2
| | | | | | | | | | | | | | 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* maint: update email address...Peter Rosin2014-10-261-1/+1
| | | | | | * THANKS: ...of Jan Engelhardt. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* doc: fix an orthographic errorJan Engelhardt2014-10-261-1/+1
| | | | | | * doc/libtool.texi (Install mode): Ensure, not insure. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* tests: don't feed -no-undefined to the linker during configure.Peter Rosin2014-10-261-0/+3
| | | | | | | | * 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* git: ignore .serial file.Gary V. Vaughan2014-10-261-0/+1
| | | | | | * .gitignore: ignore .serial file. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* docs: update copyright dates in libtool.texi.Gary V. Vaughan2014-10-261-1/+1
| | | | | | | | It seems `make update-copyright' missed the texinfo copyright notice. * doc/libtool.texi: Update copyright dates for 2013. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: check if git works before relying on itPeter Rosin2014-10-261-8/+8
| | | | | | | | | | | | | 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se> Conflicts: Makefile.am
* maint: update copyright notices to include 2013.Gary V. Vaughan2014-10-26115-115/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org> Conflicts: bootstrap 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/config/ltmain.m4sh libtoolize.in tests/cdemo.at tests/demo.at tests/depdemo.at tests/f77demo.at tests/fcdemo.at tests/libtool.at tests/mdemo.at tests/old-ltdl-iface.at tests/tagdemo.at
* libtool: Drop $LDFLAGS when invoking the toolchainPeter Rosin2014-10-261-2/+2
| | | | | | | | | | | | | | | 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se> Tested-by: Richard Palo <richard.palo@baou.fr> Conflicts: libltdl/m4/libtool.m4
* libtool: Add SONAME to the so when exporting explicit symbols on SolarisRichard Palo2014-10-262-2/+3
| | | | | | | | | | | | 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. Copyright-paperwork-exempt: Yes Signed-off-by: Peter Rosin <peda@lysator.liu.se> Conflicts: libltdl/m4/libtool.m4
* maint: fix missing command error in make dist.Gary V. Vaughan2014-10-261-1/+2
| | | | | | | | | * Makefile.am ($(readme)): Don't forget the 'test'! Signed-off-by: Gary V. Vaughan <gary@gnu.org> Conflicts: Makefile.am
* configury: make LT_INIT options pic-only and no-pic work.Mikhail Zabaluev2014-10-261-3/+1
| | | | | | | * m4/ltoptions.m4 (_LT_WITH_PIC): Set pic_mode at m4 time. Copyright-paperwork-exempt: Yes Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: parse "dumpbin -headers" to get symbols exported from implibsPeter Rosin2014-10-262-4/+9
| | | | | | | | | | | * 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se>