tools/coreutils: bootstrap to local gnulib source
authorMichael Pratt <mcpratt@pm.me>
Thu, 23 Mar 2023 07:49:01 +0000 (03:49 -0400)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 4 May 2023 04:07:30 +0000 (06:07 +0200)
commit09f8f21ae33402201c14a125a37b64746415642d
treecd53d8bfdd5a9bae8c865aa62b2bde2408f1bc15
parent87e902fcdcce0e3d1287deb901f934aabf7ec183
tools/coreutils: bootstrap to local gnulib source

Using the local gnulib source during bootstrap
allows for fine-grained control over the macros
and source files for use with coreutils
but part of gnulib instead of coreutils,
without having to wait for a release
or deal with gnulib as a git submodule.

In this case, the execution of autotools
must be skipped by force.
Autoconf and Automake during bootstrap on coreutils
only works right when using directly checked-out source.

There is a symbol in gnulib, @GNULIB_TIME@
that is not yet defined in coreutils source,
so we use the backup of lib/time.in.h instead
of the one provided by gnulib source.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
tools/Makefile
tools/coreutils/Makefile
tools/coreutils/patches/000-bootstrap.patch [new file with mode: 0644]