bootstrap: support tools that don't accept '--version' in buildreq.
commit4306ce7329ce6caa6f7c314272defa663f3f2f72
authorGary V. Vaughan <gary@gnu.org>
Fri, 23 Aug 2013 10:23:29 +0000 (23 17:23 +0700)
committerGary V. Vaughan <gary@gnu.org>
Fri, 23 Aug 2013 12:47:47 +0000 (23 19:47 +0700)
tree8cc569d03d6f321bf4d2762dbcef9309b919cc72
parenta7362377480154556b308e29bf97bf1760138879
bootstrap: support tools that don't accept '--version' in buildreq.

* gl/build-aux/bootstrap.in (func_check_tool): Check whether there
is an executable as given or on the command PATH.
(func_check_version): Use func_check_tool to avoid invoking --version
when buildreq specifies '-' for the version number.
* bootstrap: Regenerate.
Reported by Mike Miller.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
bootstrap
gl/build-aux/bootstrap.in