summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* syntax-check: fix remaining violations of sc_prohibit_test_const_follows_var.gary/redo-test-operand-orderGary V. Vaughan2012-09-212-2/+2
| | | | | | | * configure.ac, doc/libtool.texi: Swap operands and remove resulting spurious characters. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* syntax-check: fix violations, in m4sh files, of ↵Gary V. Vaughan2012-09-213-294/+294
| | | | | | | | | sc_prohibit_test_const_follows_var. * build-aux/general.m4sh, build-aux/ltmain.m4sh, libtoolize.m4sh: Swap operands and remove resulting spurious characters. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* syntax-check: fix violations in m4 of sc_prohibit_test_const_follows_var.Gary V. Vaughan2012-09-213-176/+176
| | | | | | | * m4/argz.m4, m4/libtool.m4, m4/ltdl.m4: Swap operands and remove resulting spurious characters. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* syntax-check: fix violations in tests of sc_prohibit_test_const_follows_var.Gary V. Vaughan2012-09-2126-46/+46
| | | | | | | | | | | | | | | | | | | To safely use a non-literal first argument to 'test', you must always prepend a literal non-'-' character, but ofter the second operand is a constant that doesn't begin with a '-' already, so always use 'test a = "$b"' instead of noisy 'test "X$b" = Xa'. * 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/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 and remove resulting spurious characters. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: script to fix prohibit_test_const_follows_var syntax-check.Gary V. Vaughan2012-09-211-0/+126
| | | | | | | | | | Manually fixing these with 962aa91 caused several regressions, so write a program to redo it. * build-aux/fix_prohibit_test_const_follows_var: New (throwaway) awk script to programatically find and correct violations flagged by the prohibit_test_const_follows_var syntax-check. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* syntax-check: improve prohibit_test_const_follows_var.Gary V. Vaughan2012-09-211-1/+1
| | | | | | | * cfg.mk (sc_prohibit_test_const_follows_var): Also flag errors when the variable reference on the var side use ${brace_notation}. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* syntax-check: revert most of 962aa91Gary V. Vaughan2012-09-2134-621/+627
| | | | | | | | | | | | | | | | | | | | The huge hand-rolled 962aa91 introduces regressions on mingw; this changeset undoes most of it, save 'bootstrap', 'build-aux/extract-trace' (which are maintained outside of libtool now) and the new syntax-check added to `cfg.mk'. * 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/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: Reverted. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* tests: skip with-pic test when no "real" pic flag is used.Peter Rosin2012-09-191-1/+5
| | | | | | | | * 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. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* syntax-check: fix texinfo formatting flagged by prohibit_undesirable_word_seq.Gary V. Vaughan2012-09-161-10/+9
| | | | | | | * doc/libtool.text: Fix several misuses of @xref and @pxref so that the prohibit_undesirable_word_seq syntax check passes again. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* syntax-check: remove useless_braces_in_variable_derefs.Gary V. Vaughan2012-09-162-2/+2
| | | | | | | | * build-aux/general.m4sh: Remove spurious braces around ${ZSH_VERSION} dereference. * build-aux/ltmain.m4sh (func_mode_link): Likewise for ${wl}. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* syntax-check: skip prohibit_strncpy.Gary V. Vaughan2012-09-161-0/+3
| | | | | | * cfg.mk (local-checks-to-skip): sc_prohibit_strncpy. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* syntax-check: skip prohibit_always_true_header_tests rule.Gary V. Vaughan2012-09-161-0/+4
| | | | | | | * cfg.mk (local-checks-to-skip): Add sc_prohibit_always_true_header_tests. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* Revert "bootstrap: delete unneeded README-release patch"Gary V. Vaughan2012-09-161-0/+38
| | | | | | | | | | | 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: remove unused cvsu script.Gary V. Vaughan2012-09-162-513/+0
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: run update-copyright for missing 2011 and 2012 years.Gary V. Vaughan2012-09-16144-186/+188
| | | | | | | | See maintain.texi (Copyright Notices) for rules for maintaining the years in copyright notices. * All Files (Copyright): Updated with missing 2011 and 2012. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: use gnulib update-copyright script.Gary V. Vaughan2012-09-163-1/+5
| | | | | | | | | | 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: update bootstrap script to latest upstream.Gary V. Vaughan2012-09-162-18/+47
| | | | | | | * bootstrap, build-aux/options-parser: apply upstream fixes and enhancements. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* git: don't complain about new parallel tests driver and file droppings.Gary V. Vaughan2012-09-162-0/+2
| | | | | | | * build-aux/.gitignore: Ignore parallel `test-driver' script. * tests/.gitignore: Ignore `test-driver' .trs file droppings. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* gnulib: update local gnulib patches.Gary V. Vaughan2012-09-162-19/+10
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* gnulib: update gnulib submodule.Gary V. Vaughan2012-09-161-0/+0
| | | | Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: ensure there is a ChangeLog before running automake.Gary V. Vaughan2012-09-161-0/+12
| | | | | | | | 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtoolize: improve verbose mode output.Gary V. Vaughan2012-09-161-0/+4
| | | | | | | | * libtoolize (func_require_seen_ltdl) (func_require_seen_libtool): Output success message in verbose mode. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* Add the 'n' to then.Peter O'Gorman2012-08-211-1/+1
| | | | | * m4/libtool.m4: fix typo. Thanks to Brad Smith for pointing it out.
* Pass through -g* so that debugging information is not droppedAndreas Schwab2012-08-211-2/+2
| | | | * ltmain.m4sh (func_mode_link): Pass through -g*.
* AIX PIC shared library supportDavid Edelsohn2012-08-211-0/+2
| | | | * m4/libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX.
* Update/simplify OpenBSD supportBrad Smith2012-08-211-35/+11
| | | | * m4/libtool.m4: Forget about 11 year old releases.
* libtool: quote progpath properlyPeter Rosin2012-08-192-2/+3
| | | | | | | | Attempt to handle spaces in paths better. * build-aux/ltmain.m4sh (func_mode_install, func_mode_link): Quote $progpath. * THANKS: Update.
* Handle getconf returning "undefined".Mike Frysinger2012-04-181-1/+2
| | | | * m4/libtool.m4: Check for "undefined" from `getconf`.
* bootstrap: delete unneeded README-release patchPeter Rosin2012-03-171-38/+0
| | | | * gl/top/README-release.diff: Delete.
* Fix typo that caused sys_lib_search_path_spec to be wrong.Peter O'Gorman2012-03-161-1/+1
| | | | | * m4/libtool.m4: s/lt_fooi/lt_foo/. Reported by Paul Seidler <sepek@lavabit.com>
* Improve GNU/Hurd support.Samuel Thibault2012-02-211-23/+5
| | | | * m4/libtool.m4: Add gnu* match where it was missing.
* Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/libtoolPeter O'Gorman2012-02-191-3/+3
|\
| * fixup: restore EXPORTS testRoumen Petrov2012-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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). Copyright-paperwork-exempt: Yes Signed-off-by: Peter Rosin <peda@lysator.liu.se>
| * cwrapper: avoid surplus strlen calculations.Peter Rosin2012-01-301-2/+2
| | | | | | | | | | | | | | * build-aux/ltmain.m4sh (func_emit_cwrapperexe_src:lt_update_exe_path): Avoid surplus strlen calculations. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* | Accept clang's -stdlib linker flag.Titus von Boxberg2012-02-191-1/+2
| | | | | | | | build-aux/ltmain.m4sh: Don't drop the -stdlib= flag.
* | Enable nagfor fortran compiler supportJuergen Reuter2012-02-192-1/+24
| | | | | | | | | | * build-aux/ltmain.m4sh: nagfor compatible version string. * m4/libtool.m4: nagfor support.
* | Fixing -shared error message for nagfor compiler.Juergen Reuter2012-02-191-0/+2
| | | | | | | | * m4/libtool.m4: Fix -shared.
* | Improve debug error reporting in ltdl.Pavel (Pasha) Shamis2012-02-191-2/+9
| | | | | | | | * libltdl/ltdl.c: Print the error message if loading fails.
* | Deleted unneeded gitlog-to-changelog patchPeter O'Gorman2012-02-191-26/+0
|/ | | | * gl/build-aux/gitlog-to-changelog.diff: Delete.
* bootstrap: fix Autoconf version typo.Gary V. Vaughan2011-12-241-1/+1
| | | | | | * build-aux/options-parses: s/2\.62/2.68/ Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* gnulib: update gnulib submodule.Gary V. Vaughan2011-12-242-4/+4
| | | | | | | | | 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: make fork minimisation compatible with dash and zsh.Gary V. Vaughan2011-12-181-5/+7
| | | | | | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: adopt autoconf echo normalization code.Gary V. Vaughan2011-12-183-24/+64
| | | | | | | | | | | | | | | | | | 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: minimise forks per invocation under bash.Gary V. Vaughan2011-12-181-9/+12
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* Support x32.H.J. Lu2011-12-121-1/+8
| | | | * m4/libtool.m4 (_LT_ENABLE_LOCK): Support x32.
* maint: disable prohibit_always-defined_macros syntax check.Gary V. Vaughan2011-12-081-1/+4
| | | | | | | | | | | | | 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* tests: s/snippit/snippet/.Gary V. Vaughan2011-12-082-2/+2
| | | | | | | * tests/demo/foo.h, tests/pdemo/foo.h: Spell `snippet' correctly. Reported by Stefano Lattarini. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* tests: make sure file restore traps are called correctly on AIX.Gary V. Vaughan2011-12-083-3/+10
| | | | | | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: eliminate some more spurious leading Xs.Gary V. Vaughan2011-12-081-2/+2
| | | | | | | * m4/libtool.m4: Reverse argument order to eliminate spurious leading X's. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: put back missing spaces before parens.Gary V. Vaughan2011-12-081-2/+2
| | | | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>