bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] AM_GNU_GETTEXT_PREREQ


From: Daiki Ueno
Subject: Re: [bug-gettext] AM_GNU_GETTEXT_PREREQ
Date: Fri, 21 Aug 2015 17:44:29 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Daiki Ueno <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]