On 2026-03-31 22:59, Collin Funk wrote:
$ gnulib-tool --extract-recursive-dependents \
$(gnulib-tool --find m4/pid_t.m4)
Thanks for the suggestion; although it's not as good as what I asked
for, it improves on what I was doing.
Unfortunately that example underscores the need for the gnulib-tool
option, as that dependency chain does not exist for gzip. gzip is
bootstrapped by passing '--avoid rpmatch' to gnulib-tool; see gzip's
bootstrap.conf.
This would probably be more difficult than having extra code for each
module to handle single-threaded and/or non-localized programs.
Not quite following what you're saying. By "This" you surely don't mean
the '--avoid rpmatch' arg, as that's just one line and it works for
gzip. But I can't think of what "This" does mean.
Sometimes it's simple to add code to a module to improve single-threaded
performance. For example, adding this to a source file is simple, and
all you need to do is to depend on unlocked-io:
#if USE_UNLOCKED_IO
# include "unlocked-io.h"
#endif
Admittedly it is not always that easy.
Looking at the dependencies for rpmatch: ...
If one were to simply avoid all modules depended on by this module,
Yes, that's not a good way to go.