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



commit 27ee978faf7e7a22c67b3429c07652eac27d35b9
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Apr 21 21:22:13 2016 -0300

    build: define ABOUT_NLS when configuring
    
    This fixes the various translation issues throughout
    To Do.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763057

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 646af77..d726a14 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,6 +51,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])])
+
 dnl ================================================================
 dnl GObject introspection support
 dnl ================================================================


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