]> 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>
Thu, 8 Dec 2011 05:32:32 +0000 (12:32 +0700)
commit509907a28ecbb385ff144999d72c34d0503ca430
treeca931a8fc935eda5cfe7251277e0dbb1bc433978
parent11869b9c9eb8bcc8cb6a615141f522a447377324
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