gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] 02/02: add gettext support to build


From: gnunet
Subject: [taler-anastasis] 02/02: add gettext support to build
Date: Mon, 05 Apr 2021 20:20:11 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis.

commit 5088a6185edfa29cb82b7fcda669c43105ee564e
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Apr 5 20:20:07 2021 +0200

    add gettext support to build
---
 .gitignore     |  6 ++++++
 Makefile.am    | 10 ++++------
 configure.ac   |  8 +++++++-
 contrib/gana   |  2 +-
 po/POTFILES.in |  2 +-
 5 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/.gitignore b/.gitignore
index 228519f..e781d3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,12 @@ ltmain.sh
 missing
 src/Makefile
 src/Makefile.in
+m4/*.m4
+po/POTFILES
+po/Makevars.template
+po/anastasis.pot
+po/remove-potcdate.sed
+po/stamp-po
 **/.deps/
 **/.libs/
 src/stasis/Makefile
diff --git a/Makefile.am b/Makefile.am
index c6620c3..7cd2a23 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,15 +2,15 @@
 
 if DOC_ONLY
 if ENABLE_DOC
-  SUBDIRS = . doc
+  SUBDIRS = . doc po
 else
-  SUBDIRS = .
+  SUBDIRS = . po
 endif
 else
 if ENABLE_DOC
-  SUBDIRS = . contrib src doc
+  SUBDIRS = . contrib src doc po
 else
-  SUBDIRS = . contrib src doc
+  SUBDIRS = . contrib src doc po
 endif
 endif
 
@@ -24,5 +24,3 @@ EXTRA_DIST = config.rpath  \
  contrib/uncrustify.cfg \
  contrib/uncrustify_precommit \
  Doxyfile
-
-SUBDIRS = po
diff --git a/configure.ac b/configure.ac
index a5dca9f..b9894a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,6 +49,11 @@ AS_IF([test "x$doc_only" != xyes],[
 AC_PROG_CC
 AC_PROG_CC_C99
 
+# check for gettext
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION([0.19.8])
+
+
 CFLAGS="-Wall $CFLAGS"
 
 # Checks for header files.
@@ -323,10 +328,11 @@ AC_MSG_RESULT($enable_experimental)
 AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "xyes"])
 
 
-AC_CONFIG_FILES([ po/Makefile.in
+AC_CONFIG_FILES([
 Makefile
 contrib/Makefile
 doc/Makefile
+po/Makefile.in
 src/Makefile
 src/authorization/Makefile
 src/backend/Makefile
diff --git a/contrib/gana b/contrib/gana
index 962d417..df4206c 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 962d417a99000b79a29994cd445db3c5251ac3bc
+Subproject commit df4206c1dc3481faa2e15d497036632229ac9071
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 3edd733..1c8ee65 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,2 +1,2 @@
 # List of source files which contain translatable strings.
-src/reducer/anastasis_api_recovery_redux.c
\ No newline at end of file
+src/reducer/anastasis_api_recovery_redux.c

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]