aboutsummaryrefslogtreecommitdiff
path: root/common/m4/gst-gettext.m4
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-05-03 19:34:29 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-05-03 19:34:29 +0200
commitf10bf61870742fbc66291c88134576990505e526 (patch)
treee631f289e8eb176aa094e14a71b2a81efc57d1a2 /common/m4/gst-gettext.m4
parent6c4621beb2ac7a5b80a3644ab0a72dbbf627b8f4 (diff)
Imported Upstream version 1.3.1upstream/1.3.1
Diffstat (limited to 'common/m4/gst-gettext.m4')
-rw-r--r--common/m4/gst-gettext.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/common/m4/gst-gettext.m4 b/common/m4/gst-gettext.m4
index a63651b..df817eb 100644
--- a/common/m4/gst-gettext.m4
+++ b/common/m4/gst-gettext.m4
@@ -14,6 +14,13 @@ AC_DEFUN([AG_GST_GETTEXT],
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE",
[gettext package name])
+ dnl make sure po/Makevars is kept in sync with GETTEXT_PACKAGE
+ if test -e "${srcdir}/po/Makevars"; then
+ if ! grep -e "$1" "${srcdir}/po/Makevars"; then
+ AC_MSG_ERROR([DOMAIN in po/Makevars does not match GETTEXT_PACKAGE $1])
+ fi
+ fi
+
dnl define LOCALEDIR in config.h
AS_AC_EXPAND(LOCALEDIR, $datadir/locale)
AC_DEFINE_UNQUOTED([LOCALEDIR], "$LOCALEDIR",