summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* version 2.4.3v2.4.3Gary V. Vaughan2014-10-271-1/+1
| | | | * NEWS: Record release date.
* bootstrap: sync with upstream.Gary V. Vaughan2014-10-273-10/+10
| | | | | | | | * gl/build-aux/bootstrap.in, gl/build-aux/funclib.sh: Sync with upstream. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* testsuite: fixes required for `make distcheck CC=g++`.Gary V. Vaughan2014-10-273-9/+61
| | | | | | | | | | | * tests/demo.at (Pdemo conf): Overide _LT_DEMO_SETUP foo.h to declare foo2. * tests/mdemo.at (_LT_SETUP): Don't wrap `sub` dectlaration in C++ guards, because sub.c is also compiled with g++ in this test. * tests/old-ltdl-iface.at (old.c): Add a return type to main declaration as required by C++. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: fix a typo in THANKS.Gary V. Vaughan2014-10-271-1/+1
| | | | | | * THANKS: s/macports\.com/macports.org/ Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* syntax-check: use strlcpy instead of strncpy.Gary V. Vaughan2014-10-272-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>
* libtool: fix GCC linking with -fstack-protector.Gary V. Vaughan2014-10-251-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-252-1/+2
| | | | | | | | | | | | | | | 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>
* bootstrap: commit latest to avoid regeneration at build time.Gary V. Vaughan2014-10-251-1/+1
| | | | | | * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* gnulib: sync with upstream.Gary V. Vaughan2014-10-251-0/+0
| | | | | | * gnulib: Sync with upstream. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: delay expansion of $ECHO until the wrapper script runsPeter Rosin2014-05-131-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-05-061-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-05-063-4/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* libtool: prevent lto from stripping the magic cookie from the cwrapperPeter Rosin2014-05-021-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>
* tests: sprinkle -no-undefined when linking librariesPeter Rosin2014-02-123-3/+11
| | | | | | * tests/duplicate_conv.at, tests/f77demo.at, tests/fcdemo.at: Here. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* libtool: actually strip -Wl when relinking with $LDPeter Rosin2014-02-121-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>
* bootstrap: fix description of func_sort_ver to match recent sort changePeter Rosin2014-02-102-3/+3
| | | | | | | gl/build-aux/funclib.sh: Update comment to match reality. bootstrap: Regenerate. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* doc: remove redundant "in order to" phrase where possible.Gary V. Vaughan2014-02-062-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>
* bootstrap: check for git tree with .git/. in case of soft links.Bruce Korb2014-02-033-3/+2
| | | | | | | | | | * gl/build-aux/bootstrap.in (func_require_git): Use `test -d .git/.` to defeat soft-links versus non-GNU test. * bootstrap: Regenerate. * THANKS: Remove duplicate Bruce Korb entry. Copyright-paperwork-exempt: Yes Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: use `-d .git` to check whether we are in a git tree.Gary V. Vaughan2014-01-273-4/+5
| | | | | | | | | | | * gl/build-aux/bootstrap.in (func_require_git): .git is not a regular file, use -d to check its existence. * bootstrap: Regenerate. * THANKS: Add Bruce Korb. Reported by Bruce Korb Copyright-paperwork-exempt: Yes Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: opt_duplicate_compiler_generated_deps is harmful on SolarisRainer Orth2014-01-181-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>
* bootstrap: check for git checkout correctly.Gary V. Vaughan2014-01-152-4/+4
| | | | | | | | * gl/bulid-aux/bootstrap.in (func_require_git): Use .git instead of .gitignore to recognise a git checkout. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtoolize: don't remove install-sh.Todd C. Miller2014-01-113-3/+8
| | | | | | | | | | | | | If you are not using automake, libtoolize would remove install-sh. It needs the same treatment as config.guess and config.sub. * libtoolize.in (func_require_seen_libtool): Remove install-sh from $all_pkgaux_files, the list of files removed by `libtoolize --force`. * THANKS: Add Todd C. Miller. * NEWS: Update. Copyright-paperwork-exempt: Yes Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* options-parser: --version works with 'DO NOT EDIT' preamble again.Gary V. Vaughan2014-01-072-4/+4
| | | | | | | | | * gl/build-aux/options-parser (func_version): Don't quit on first leading '##' line, otherwise DO NOT edit warnings prevent version information from being extracted correctly. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: specify particular version in buildreq with =x.y.Gary V. Vaughan2014-01-073-12/+45
| | | | | | | | | | * gl/build-aux/bootstrap.in (func_check_versions): If the version number begins with '=' then it must match the installed version of the named tool exactly. * gl/doc/bootstrap.texi (buildreq): Document the '=vernum' feature. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: remove conftest.sed file droppings.Gary V. Vaughan2014-01-052-0/+2
| | | | | | | | * gl/build-aux/funclib.sh: Remove conftest.sed when no longer needed. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: replace spurious hyphen in some section comments.Gary V. Vaughan2014-01-044-20/+20
| | | | | | | | | | * gl/build-aux/bootstrap.in: replace spurious hypen in same section header comments with a space. * gl/build-aux/extract-trace, gl/build-aux/options-parser: Likewise. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* inline-source: DO NOT EDIT warning only for top-level file.Gary V. Vaughan2014-01-042-7/+3
| | | | | | | | | * gl/build-aux/inline-source (func_include): When recursing, pass through the value of `magic` so that only the very first #! magic number has a DO NOT EDIT warning injected. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* inline-source: gawk doesn't have boolean constants.Gary V. Vaughan2014-01-031-3/+3
| | | | | | | | | I've been writing a lot of Lua lately, but still a silly mistake:( * gl/build-aux/inline-source (func_include): Use `magic` variable to count #! lines found, and only output the DO NOT EDIT warning after the first one. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* edit-readme-alpha: adjust for recent README edits.Gary V. Vaughan2014-01-032-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>
* bootstrap: fix test-dollar sanity check failure.Gary V. Vaughan2014-01-032-6/+6
| | | | | | | * gl/build-aux/bootstrap.in (func_ensure_README): quote argument. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: rearrange header comments for correct version/help extraction.Gary V. Vaughan2014-01-031-24/+19
| | | | | | | | | * m4/libtool.m4 (_LT_COPYING): Rearrange the comments output to the generated libtool script so that --version and --help behave the same as pre-funclib.sh revisions. (_LT_CONFIG_SAVE_COMMANDS): Likewise. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* README: Tweak into markdown format and fix some bitrot.Gary V. Vaughan2014-01-033-326/+262
| | | | | | | | | * 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. * .gitignore: Add README. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: support automake README requirement.Gary V. Vaughan2014-01-032-4/+94
| | | | | | | | | | | | * gl/build-aux/bootstrap.in (func_ensure_README): New function. Link missing README to existing alternative naming. (require_automake_options): New functions. Fetch AM_INIT_AUTOMAKE options from configure.ac. (func_reconfigure): If we're using automake, and it's not in foreign mode, link a README file if possible. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* configury: use bootstrap ChangeLog management feature.Gary V. Vaughan2014-01-033-39/+42
| | | | | | | | | | | | | | | | | | * gl/build-aux/bootstrap.in (func_autoreconf): Accept an optional directory argument to pass to $AUTORECONF. Update doc-comment. * bootstrap.conf (func_reconfigure): Remove. Don't completely overwrite bootstrap's func_reconfigure, shadowing auto-ChangeLog management. (func_autopoint, func_libtoolize): Overwrite these un-needed calls instead. (libtool_autoreconf_libltdl): New hook function to run second autoreconf in libltdl directory. (libtool_force_changelog): Remove. This is all handled by bootstrap's func_reconfigure again. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: force remove file droppings from previous run.Gary V. Vaughan2014-01-032-0/+2
| | | | | | | | | | Now that we generate bootstrap.new with no write permission, we have to force remove it before writing now content to the file. * bootstrap.in (require_bootstrap_uptodate): Remove old bootstrap.new output. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* inline-source: add a DO NOT EDIT notice to generated files.Gary V. Vaughan2014-01-033-226/+249
| | | | | | | | | | | | * gl/build-aux/inline-source (func_include): Add a DO NOT EDIT notice below the #! magic number of generated files. * gl/build-aux/bootstrap.in (func_require_bootstrap_uptodate): Remove write bit from regenerated bootstrap.new if it differs from incumbent bootstrap. Change the update instructions to recommend `mv -f` to cope with no write permission on old bootstrap script. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: move included files below DO NOT EDIT comment.Gary V. Vaughan2014-01-031-9/+14
| | | | | | | | * gl/build-aux/bootstrap.in: Reorder sections to load external libraries as late as possible, leaving DO NOT EDIT comment visible near the top of the generated bootstrap script. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: use before-save-hook in Emacs footers.Gary V. Vaughan2014-01-035-9/+9
| | | | | | | | | | | Updating to Emacs 24 now gives me warnings about write-file-hooks being obsolete. * 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: Set before-save-hook in Emacs file footers instead of obsolete write-file-hooks. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtoolize: use printf '%s\n' unconditionally.Gary V. Vaughan2014-01-037-143/+70
| | | | | | | | | | | | | | It's been a year since the as_echo probes were removed in Autoconf, so we can follow suit and remove our equivalent bs_echo probing now. Retain $ECHO in case users need to override default printf calls in museum piece environments. * gl/build-aux/funclib.sh (ECHO): Default to 'printf %s\n'. (bs_echo): Remove. Adjust all bs_echo callers to use $ECHO instead. * bootstrap: Regenerate. * NEWS: Update. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* bootstrap: push Peter's version sort fix back into funclib.sh.Gary V. Vaughan2014-01-022-4/+4
| | | | | | | | | | | Peter's a7462c5 fix was applied to the generated bootstrap script instead of the funclib.sh source, and had have been overwritten the next time bootstrap was regenerated. * gl/build-aux/funclib.sh (func_sort_ver): Sort numerically on the non-primary keys as well. * bootstrap: Regenerate, with the change applied. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: change history.Gary V. Vaughan2014-01-022-4/+1
| | | | | | | * NEWS: Remove alpha release header. * cfg.mk (old_NEWS_hash): Update. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* libtool: only strip -Wl when linking with $LD.v2.4.2.444Gary V. Vaughan2014-01-021-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>
* bootstrap: fix gitlog-to-changelog detection.Gary V. Vaughan2014-01-023-31/+38
| | | | | | | | | | * gl/build-aux/bootstrap.in (func_ifcontains): Use a for loop that relies on $IFS for element splitting instead of a one-shot case glob that is not tolerant to \n in $gnulib_modules. * THANKS: Add Reuben Thomas. Reported by Reuben Thomas Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: update copyright notices to include 2014.Gary V. Vaughan2014-01-02134-137/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .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>
* gnulib: update to latest upstream revision.Gary V. Vaughan2014-01-021-0/+0
| | | | | | * gnulib: Update. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* tests: gcj cannot reliably compile directly to .o from .javaGary V. Vaughan2014-01-021-2/+10
| | | | | | | | | | | Some 4.3.x and 4.4.x releases of gcj insert a spurious 'dummy' symbol into every object file when compiling directly from .java to .o: * tests/convenience.at (GCJ): make .class files from .java sources first, and then compile those to native objects. This works around http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42143 Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* testsuite: with SunStudio12.x f77, don't fail on system symbolsGary V. Vaughan2014-01-022-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | Modern SunStudio f77 is just a wrapper for f90, which explains why current master fails these test groups with: Undefined first referenced symbol in file __f90_slw_ch .libs/foof2.o __f90_sslw .libs/foof2.o __f90_eslw .libs/foof2.o ld: fatal: symbol referencing errors. No output written to .libs/libfoo2.so.0.0.0 So we allow some undefined symbols in the libraries, which are resolved by the $(FLIBS) added to the final binaries in the tests. This seems like the simpler, and less error inducing solution to me (compared to adding $(FLIBS) to every library LDFLAGS line). * tests/f77demo.at (libfoo_la_LDFLAGS, libfoo2_la_LDFLAGS) (libfoo3_la_LDFLAGS, libmix_la_LDFLAGS): Remove -no-undefined flag. * tests/fcdemo.at: Likewise. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* maint: use $SED and $GREP, not sed and grep in all scripts.Gary V. Vaughan2014-01-026-27/+32
| | | | | | | | | | | | | | Choosing between hardcoding a tool's name, or using the shell variable with a path to the user's prefered implementation or configure's idea of the best available is a premature optimisation. * build-aux/ltmain.in, gl/build-aux/bootstrap.in, gl/build-aux/extract-trace, gl/build-aux/funclib.sh, libtoolize.in: Use $SED and $GREP consistently throughout, instead of hardcoding sed and grep. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* tests: use TESTS_ENVIRONMENT for EGREP and FGREP.Gary V. Vaughan2014-01-022-3/+3
| | | | | | | | | | Be consistent about passing commands to the testsuite, and use TESTS_ENVIRONMENT consistent. * Makefile.am (TESTS_ENVIRONMENT): Add EGREP and FGREP. * tests/testsuite.at: Remove EGREP and FGREP extractions from generated libtool script. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* tests: use $GREP throughout.Gary V. Vaughan2014-01-0240-125/+125
| | | | | | | | | | | | | | | | | | | | | Trust the user, and use $GREP from TESTS_EVVIRONMENT uniformly. * Makefile.am (TESTS_ENVIRONMENT): Add GREP setting. * tests/am-subdir.at, tests/archive-in-archive.at, tests/bindir.at, tests/configure-iface.at, tests/cwrapper.at, tests/darwin.at, tests/demo.at, tests/destdir.at, tests/dumpbin-symbols.at, tests/early-libtool.at, tests/execute-mode.at, tests/export-def.at, tests/export.at, tests/f77demo.at, tests/fcdemo.at, tests/flags.at, tests/help.at, tests/inherited_flags.at, tests/install.at, tests/lalib-syntax.at, tests/libtool.at, tests/libtoolize.at, tests/localization.at, tests/lt_dladvise.at, tests/lt_dlopen.at, tests/lt_dlopenext.at, tests/ltdl-api.at, tests/ltdl-libdir.at, tests/mdemo.at, tests/old-m4-iface.at, tests/pic_flag.at, tests/resident.at, tests/runpath-in-lalib.at, tests/search-path.at, tests/static.at, tests/sysroot.at, tests/template.at, tests/testsuite.at, tests/versioning.at: Replace all hardcoded grep invocations with $GREP. Signed-off-by: Gary V. Vaughan <gary@gnu.org>