On 2025-06-23 22:44, Niels Möller wrote:
Would you consider adding some minimal gnulib module that produces just
the getopt source files needed for standalone usage

I'm not sure it'd be that much smaller than what getopt-gnu already does. All we'd be removing is the idea of using the system getopt if it suffices, so that we always replace the system getopt if it exists. How much saving would that be, really?

That being said, you don't need to use gnulib-tool to use Gnulib's getopt-related source files. Just use 'cp'. Emacs does that, for some (though thankfully not all) files that it gets from Gnulib; see emacs/admin/merge-gnulib.

Reply via email to