[gnome-calendar/gnome-3-20] build: define ABOUT_NLS when configuring



commit d36bb37e35292c5fe90eab20547ef39e6bd1ff66
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Mar 29 20:41:04 2016 -0300

    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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5dfa40e..c96e921 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
 


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