Daiki Ueno <[email protected]> writes:

> I'm still not very happy with the name AM_GNU_GETTEXT_PREREQ and having
> a separate macro in the first place, but I couldn't think of any better
> way to implement the functionality without breaking compatibility.

I've merged this after renaming it to AM_GNU_GETTEXT_REQUIRE_VERSION.

One could use it in configure.ac, as:

  dnl Fallback definition for older gettext.m4.
  m4_ifndef([AM_GNU_GETTEXT_REQUIRE_VERSION],
    [m4_define([AM_GNU_GETTEXT_REQUIRE_VERSION], [])])

  AM_GNU_GETTEXT([external])

  dnl Prefer the latest infrastructure, given it is newer than 0.19.1.
  AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.1])

  dnl This will be ignored if the installed autopoint supports
  dnl AM_GNU_GETTEXT_REQUIRE_VERSION.
  AM_GNU_GETTEXT_VERSION([0.19.1])

Regards,
-- 
Daiki Ueno

Reply via email to