[libgdata] build: Use upstream gettext instead of GLib's gettext



commit f89a43ccdad7c4eab393246347f64d2089e8b5bf
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sat Oct 9 00:09:27 2010 +0100

    build: Use upstream gettext instead of GLib's gettext
    
    As explained here: http://blogs.gnome.org/jjardon/2010/10/08
    /use-upstream-gettext-instead-the-glib-one/.

 Makefile.am  |   13 ++++++++++++-
 configure.ac |    3 ++-
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index eec6d42..ba5c54a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -532,7 +532,18 @@ MAINTAINERCLEANFILES += \
 	mkinstalldirs	\
 	omf.make	\
 	gtk-doc.make	\
-	`find "$(srcdir)" -type f -name Makefile.in -print`
+	`find "$(srcdir)" -type f -name Makefile.in -print` \
+	ABOUT-NLS \
+	config.rpath \
+	po/Makevars.template \
+	po/Rules-quot \
+	po/boldquot.sed \
+	po/en boldquot header \
+	po/en quot header \
+	po/insert-header.sin \
+	po/quot.sed \
+	po/remove-potcdate.sin \
+	$(NULL)
 
 DISTCHECK_CONFIGURE_FLAGS += --enable-gtk-doc
 
diff --git a/configure.ac b/configure.ac
index 49697b2..2d85a0b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -96,7 +96,8 @@ AC_CHECK_HEADERS([sys/time.h])
 GETTEXT_PACKAGE=gdata
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define to the Gettext package name])
 AC_SUBST(GETTEXT_PACKAGE)
-AM_GLIB_GNU_GETTEXT
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION([0.17])
 IT_PROG_INTLTOOL([0.40.0])
 
 # Code testing coverage with gcov



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