]> git.ipfire.org Git - thirdparty/autoconf.git/commit
autoreconf: don’t error out when AM_GNU_GETTEXT is used alone.
authorZack Weinberg <zackw@panix.com>
Mon, 4 Jan 2021 22:27:37 +0000 (17:27 -0500)
committerZack Weinberg <zackw@panix.com>
Mon, 4 Jan 2021 22:41:09 +0000 (17:41 -0500)
commit35b1708c3961dce31e4ce43014e71d77aa4b5e31
tree88bfd2799238dd47b0a5923b9f0132dc6364f40e
parentbef282971ce1ad6a13b8fac57a9b45a88ec5e61d
autoreconf: don’t error out when AM_GNU_GETTEXT is used alone.

Some projects intentionally don't call AM_GNU_GETTEXT_(REQUIRE_)VERSION
because they have all of the gettext infrastructure checked into version
control and they want autoreconf to _not_ run autopoint.  Therefore, make
the “AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_(REQUIRE_)VERSION”
and “AM_GNU_GETTEXT_(REQUIRE_)VERSION is used, but not AM_GNU_GETTEXT”
diagnostics be warnings again, as they were in 2.69.

(Technically these diagnostics were always errors, in the sense that
they were reported with a call to Autom4te::Channels::error(), but
prior to 2.70, error() calls made by autoreconf did not cause
autoreconf to exit unsuccessfully, due to an unrelated bug.  So people
came to depend on these diagnostics not being fatal.)
bin/autoreconf.in