summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2015-03-29 14:52:53 +0200
committerBastien Nocera <hadess@hadess.net>2015-03-30 10:45:32 +0200
commitcd3d146608b215266a527fcd4edaf460efaf5cd8 (patch)
treeed35b74c83551e2a935c1e1f3d85e08e151c5c4e
parent36f6957d7d3ec04c910cb56dfdfa99a0b38f42aa (diff)
downloadgnome-screenshot-cd3d146608b215266a527fcd4edaf460efaf5cd8.tar.gz
build: Fix translations not being applied
DATADIRNAME is unset unless we call AM_GLIB_GNU_GETTEXT. It's supposed to contain "share" on most systems. This caused translations to be loaded from the wrong directory. https://bugzilla.gnome.org/show_bug.cgi?id=746973
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 43054c8..6012985 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,8 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The name of the gettext d
IT_PROG_INTLTOOL(0.40.0)
PKG_PROG_PKG_CONFIG([0.22])
+AM_GLIB_GNU_GETTEXT
+
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX