From 4e735ef3cef514a7fda1e5b94cd64941dbd2507d Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 29 Mar 2016 20:41:04 -0300 Subject: [PATCH] build: define ABOUT_NLS when configuring This fixes the various translation issues throughout Calendar. https://bugzilla.gnome.org/show_bug.cgi?id=764333 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 924faa89..c6317588 100644 --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,9 @@ GETTEXT_PACKAGE=AC_PACKAGE_TARNAME AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name]) +AS_IF([test "x$USE_NLS" != "xno"], + [AC_DEFINE([ENABLE_NLS], [1], [Native language support is enabled])]) + ## don't rerun to this point if we abort AC_CACHE_SAVE