[gitg] build: Use upstream gettext instead the Glib one



commit 7e03dbcf1299af3aeb992fc33a666dba050d4809
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Sep 22 19:25:24 2010 +0200

    build: Use upstream gettext instead the Glib one

 autogen.sh        |    2 +
 configure.ac      |    8 ++-
 po/Makefile.in.in |  217 -----------------------------------------------------
 3 files changed, 8 insertions(+), 219 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index b904324..3e1f220 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -19,4 +19,6 @@ which gnome-autogen.sh || {
     exit 1
 }
 
+autopoint --force || exit $?
+
 ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" REQUIRED_AUTOMAKE_VERSION=1.8 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
diff --git a/configure.ac b/configure.ac
index b0709b0..fad633c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,6 @@ AC_CONFIG_HEADERS(config.h)
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 
 AC_PATH_PROG(GCONFTOOL, gconftool-2)
-IT_PROG_INTLTOOL([0.35.0])
 AC_PROG_LIBTOOL
 
 AC_ISC_POSIX
@@ -39,11 +38,16 @@ AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums)
 dnl make sure we keep ACLOCAL_FLAGS around for maintainer builds to work
 AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS -I m4")
 
+# i18n stuff
+IT_PROG_INTLTOOL([0.40.0])
+
+AM_GNU_GETTEXT_VERSION([0.17])
+AM_GNU_GETTEXT([external])
+
 GETTEXT_PACKAGE=gitg
 AC_SUBST(GETTEXT_PACKAGE)
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
 
-AM_GLIB_GNU_GETTEXT
 
 AC_CHECK_LIB([m], [sinf])
 



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