]> git.ipfire.org Git - thirdparty/libtool.git/commit
bootstrap: make sure patch is available to bootstrap if necessary.
authorGary V. Vaughan <gary@gnu.org>
Thu, 8 Dec 2011 04:54:40 +0000 (11:54 +0700)
committerGary V. Vaughan <gary@gnu.org>
Tue, 2 Oct 2012 14:02:25 +0000 (21:02 +0700)
commit013c91874e974543d2f58843c1e839ba102d6ee0
tree3be5febe07b14c3bc44f6425fc3736154f6e2b70
parent006695fed2e9cd10664c97c69880a82545dde1ef
bootstrap: make sure patch is available to bootstrap if necessary.

Make sure we're not lacking any functionality provided by the
incumbent gnulib bootstrap script, and where it's easy to do so
(like it is here), provide better functionality!
* bootstrap (require_patch): Make sure that PATCH expands to the
best `patch' command available on the system, honouring
overrides in the users environment.
(require_patch_buildreq): Automatically add a requirement for a
patch command to buildreq when there are diff files in
$local_gl_dir.
(func_require_buildtools_uptodate): Call require_patch_buildreq
before testing build tool versions.
(func_gnulib_tool_copy_file): Make sure PATCH is set before using
gnulib-tool to copy files.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
bootstrap