summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: simplify some shell code.gary/reredo-test-operand-orderGary V. Vaughan2012-10-022-5/+3
| | | | | | | * tests/fail.at: Simplify. * tests/static.at: Likewise. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: unroll complex nested compound statementsGary V. Vaughan2012-10-021-4/+6
| | | | | | | * build-aux/ltmain.m4sh: Use an if statement instead of ugified compound statements. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: unroll nested if into a single case statement.Gary V. Vaughan2012-10-021-19/+23
| | | | | | | | * build-aux/ltmain.m4sh (func_mode_link): Unroll a hard to understad nested if statement into a more readable single case statement. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: simplify $skipped_export blocksGary V. Vaughan2012-10-021-4/+4
| | | | | | | | * build-aux/ltmain.m4sh (func_mode_link): Save an if statement with '$skipped_export && { block; }' instead of 'if $skipped_export; then block; fi'. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: simplify an if statementGary V. Vaughan2012-10-022-6/+6
| | | | | | | | * build-aux/ltmain.m4sh (func_mode_link): Reverse the branch order for an if statement for readability. * m4/libtool.m4: Likewise. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: save an if statement, with a compound statement.Gary V. Vaughan2012-10-021-3/+2
| | | | | | * build-aux/ltmain.m4sh (func_mode_link): Simplify. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: simplify multiple string testsGary V. Vaughan2012-10-022-10/+8
| | | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: fold if into a compound OR statement when more readableGary V. Vaughan2012-10-021-6/+6
| | | | | | | | * build-aux/ltmain.m4sh (func_mode_link): For readability, use 'test string = "$var" || { stuff; }' in preference to 'if test string != "$var"; then stuff; fi'. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: use false or : for $rmforce, and simplifyGary V. Vaughan2012-10-021-5/+5
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: use false or : for $wrappers_required, and simplifyGary V. Vaughan2012-10-021-8/+6
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: use false or : for $linkalldeplibs, and simplifyGary V. Vaughan2012-10-021-3/+3
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: use false or : for $valid_a_lib, and simplifyGary V. Vaughan2012-10-021-9/+9
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: use false or : for $found, and simplifyGary V. Vaughan2012-10-021-19/+18
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: use false or : for $alldeplibs, and simplifyGary V. Vaughan2012-10-021-3/+3
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: use false or : for $preload, and simplifyGary V. Vaughan2012-10-021-8/+7
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: use false or : for $my_pic_p, and simplifyGary V. Vaughan2012-10-021-6/+4
| | | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: use false or : for $finalize, and simplifyGary V. Vaughan2012-10-021-3/+3
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: use false or : for $isdir, and simplifyGary V. Vaughan2012-10-021-4/+4
| | | | | | | | * 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. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* tests: skip with-pic test when no "real" pic flag is used.Peter Rosin2012-10-021-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-10-021-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-10-022-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-10-021-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-10-021-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-10-021-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-10-022-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-10-02144-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-10-023-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-10-022-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-10-022-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-10-022-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-10-021-0/+0
| | | | Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: ensure there is a ChangeLog before running automake.Gary V. Vaughan2012-10-021-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-10-021-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-10-021-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-10-021-2/+2
| | | | * ltmain.m4sh (func_mode_link): Pass through -g*.
* AIX PIC shared library supportDavid Edelsohn2012-10-021-0/+2
| | | | * m4/libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX.
* Update/simplify OpenBSD supportBrad Smith2012-10-021-35/+11
| | | | * m4/libtool.m4: Forget about 11 year old releases.
* libtool: quote progpath properlyPeter Rosin2012-10-022-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-10-021-1/+2
| | | | * m4/libtool.m4: Check for "undefined" from `getconf`.
* bootstrap: delete unneeded README-release patchPeter Rosin2012-10-021-38/+0
| | | | * gl/top/README-release.diff: Delete.
* Fix typo that caused sys_lib_search_path_spec to be wrong.Peter O'Gorman2012-10-021-1/+1
| | | | | * m4/libtool.m4: s/lt_fooi/lt_foo/. Reported by Paul Seidler <sepek@lavabit.com>
* Improve GNU/Hurd support.Samuel Thibault2012-10-021-23/+5
| | | | * m4/libtool.m4: Add gnu* match where it was missing.
* Accept clang's -stdlib linker flag.Titus von Boxberg2012-10-021-1/+2
| | | | build-aux/ltmain.m4sh: Don't drop the -stdlib= flag.
* Enable nagfor fortran compiler supportJuergen Reuter2012-10-022-1/+24
| | | | | * build-aux/ltmain.m4sh: nagfor compatible version string. * m4/libtool.m4: nagfor support.
* Fixing -shared error message for nagfor compiler.Juergen Reuter2012-10-021-0/+2
| | | | * m4/libtool.m4: Fix -shared.
* Improve debug error reporting in ltdl.Pavel (Pasha) Shamis2012-10-021-2/+9
| | | | * libltdl/ltdl.c: Print the error message if loading fails.
* Deleted unneeded gitlog-to-changelog patchPeter O'Gorman2012-10-021-26/+0
| | | | * gl/build-aux/gitlog-to-changelog.diff: Delete.
* cwrapper: avoid surplus strlen calculations.Peter Rosin2012-10-021-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>
* bootstrap: fix Autoconf version typo.Gary V. Vaughan2012-10-021-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. Vaughan2012-10-022-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>