On 2021-02-19 00:38:11 +0100, Vincent Lefevre wrote:
> I've reverted the change. With 0.21 as the version, this makes
> autoreconf fail on Debian stable because gettext is too old.
> But gettext 0.21 isn't really required. Lowering the version
> e.g. to 0.19 makes autopoint fail with both gettext 0.19 and
> gettext 0.21. I'm wondering why. This macro may be buggy. Or
> is there something wrong with the new Mutt code?

The reason is the following. Without an AM_GNU_GETTEXT_VERSION line,
autoreconf doesn't do anything about gettext. This does not seem to
be needed for Mutt, so that everything is fine. But when this line
is provided, autoreconf runs autopoint, which complains because it
wants to override files already present in Mutt's repository (this
is a bug in autoreconf, because --install without --force isn't
supposed to add existing files). To avoid the failure, --force can
be added, but it yields modifications in these gettext files already
present in Mutt's repository.

A workaround to avoid autopoint is to run

  AUTOPOINT=true autoreconf --install

(so that "true" will be run instead of "autopoint"). But the warning
may be less annoying.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to