[gnome-todo] build: define ABOUT_NLS when configuring



commit 335bf22fafa9cc3fb8bedc7b9656af6c727a70c1
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 bd3ded7..1ccf804 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]