[krb5-auth-dialog] Use po/LINGUAS instead of putting the list in configure.ac



commit 3da2c17fb39462666942b187c2a770907f0bd61a
Author: Christian Persch <chpe gnome org>
Date:   Fri May 8 19:16:11 2009 +0200

    Use po/LINGUAS instead of putting the list in configure.ac
    
    BZ: #581907.
---
 ChangeLog    |    8 ++++++++
 autogen.sh   |    1 +
 configure.ac |    8 ++++----
 po/LINGUAS   |    5 +++++
 4 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8d31159..dc7843b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Sun May 10 21:49:14 CEST 2009 Guido Günther <agx sigxcpu org>
+
+	Use po/LINGUAS instead of putting the list in configure.ac
+	* configure.ac: remove ALL_LINGUAS and require intltool >= 0.35
+	* po/LINGUAS: new file
+	* autogen.sh: require intltool >= 0.35
+	BZ: #581907 - patch by Christian Persch
+
 Sun May 10 21:36:48 CEST 2009 Guido Günther <agx sigxcpu org>
 
 	* src/krb5-auth-gconf-tools.c: fix -Wformat-security warnings
diff --git a/autogen.sh b/autogen.sh
index 4536c2d..1008187 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,6 +4,7 @@
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 REQUIRED_AUTOMAKE_VERSION=1.7
+REQUIRED_INTLTOOL_VERSION=0.35.0
 PKG_NAME=krb5-auth-dialog
 
 (test -f $srcdir/configure.ac \
diff --git a/configure.ac b/configure.ac
index 500a5e9..15099ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,24 +6,24 @@ AM_CONFIG_HEADER(config.h)
 
 AM_MAINTAINER_MODE
 
+IT_PROG_INTLTOOL([0.35.0])
+
 GETTEXT_PACKAGE=krb5-auth-dialog
 AC_SUBST(GETTEXT_PACKAGE)
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
 
+AM_GLIB_GNU_GETTEXT
+
 
 AC_PROG_CC
 AC_ISC_POSIX
 AC_HEADER_STDC
 AM_PROG_LIBTOOL
-AC_PROG_INTLTOOL
 AM_PROG_LEX
 AC_PROG_YACC
 
 KA_COMPILE_WARNINGS([maximum])
 
-ALL_LINGUAS="nb de sv"
-AM_GLIB_GNU_GETTEXT
-
 GTK_REQUIRED="2.16.0"
 DBUS_REQUIRED="0.60"
 GCONF_REQUIRED="2.8"
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 0000000..b5f95bd
--- /dev/null
+++ b/po/LINGUAS
@@ -0,0 +1,5 @@
+# please keep this list sorted alphabetically
+#
+de
+nb
+sv



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