summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>2015-10-08 01:33:24 +0200
committerMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>2015-10-08 01:33:24 +0200
commit94395e918948ea1157fa8dfc9491c2f9858711e9 (patch)
treef146ddd4c19b1bd092f7c8e796577cb344b370c7 /eclass
parentMerge remote-tracking branch 'remotes/github/pr/159' courtesy of Sergiy Borod... (diff)
downloadgentoo-94395e918948ea1157fa8dfc9491c2f9858711e9.tar.gz
gentoo-94395e918948ea1157fa8dfc9491c2f9858711e9.tar.bz2
gentoo-94395e918948ea1157fa8dfc9491c2f9858711e9.zip
autotools.eclass: support AM_GNU_GETTEXT_REQUIRE_VERSION
gettext 0.19.6 supports AM_GNU_GETTEXT_REQUIRE_VERSION in addition to AM_GNU_GETTEXT_VERSION.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index bc4032a35136..3039a466b91f 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -258,7 +258,7 @@ _at_uses_pkg() {
}
_at_uses_autoheader() { _at_uses_pkg A{C,M}_CONFIG_HEADER{S,}; }
_at_uses_automake() { _at_uses_pkg AM_INIT_AUTOMAKE; }
-_at_uses_gettext() { _at_uses_pkg AM_GNU_GETTEXT_VERSION; }
+_at_uses_gettext() { _at_uses_pkg AM_GNU_GETTEXT_{,REQUIRE_}VERSION; }
_at_uses_glibgettext() { _at_uses_pkg AM_GLIB_GNU_GETTEXT; }
_at_uses_intltool() { _at_uses_pkg {AC,IT}_PROG_INTLTOOL; }
_at_uses_gtkdoc() { _at_uses_pkg GTK_DOC_CHECK; }
@@ -531,7 +531,7 @@ ALL_AUTOTOOLS_MACROS=(
AC_CONFIG_AUX_DIR AC_CONFIG_MACRO_DIR
AM_INIT_AUTOMAKE
AM_GLIB_GNU_GETTEXT
- AM_GNU_GETTEXT_VERSION
+ AM_GNU_GETTEXT_{,REQUIRE_}VERSION
{AC,IT}_PROG_INTLTOOL
GTK_DOC_CHECK
GNOME_DOC_INIT