]> xenbits.xensource.com Git - libvirt.git/commitdiff
ALL_LINGUAS: set unconditionally, using $srcdir/po
authorJim Meyering <meyering@redhat.com>
Tue, 21 Oct 2008 07:47:29 +0000 (07:47 +0000)
committerJim Meyering <meyering@redhat.com>
Tue, 21 Oct 2008 07:47:29 +0000 (07:47 +0000)
* configure.in: Remove hard-coded list altogether.

ChangeLog
configure.in

index 70bea04e8fc01fdeca29d303a5d10ebc57cf3b02..ace8a8e5b3693682dc780958e1ceb01c066f5222 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Oct 20 09:45:42 CEST Jim Meyering <meyering@redhat.com>
+
+       ALL_LINGUAS: set unconditionally, using $srcdir/po
+       * configure.in: Remove hard-coded list altogether.
+
 Sun Oct 19 11:40:49 CEST Jim Meyering <meyering@redhat.com>
 
        ALL_LINGUAS: remove "no", now that it's superseded by np.po
index 2adc655c6198e154a7634d8fd79a5fc8c99e1769..66d271a987ddb94d8c1587178e07c3a75947d0d8 100644 (file)
@@ -1011,12 +1011,7 @@ AM_CONDITIONAL([WITH_LIBVIRTD],[test "x$with_libvirtd" = "xyes"])
 dnl Check for gettext
 AM_GNU_GETTEXT_VERSION([0.14.1])
 AM_GNU_GETTEXT([external])
-if test -d po
-then
-    ALL_LINGUAS=`(cd po > /dev/null && ls *.po) | sed 's+\.po$++'`
-else
-    ALL_LINGUAS="af am ar as be bg bn_IN bn ca cs cy da de el en_GB es et eu_ES fa fi fr gl gu he hi hr hu hy id is it ja ka kn ko ku lo lt lv mk ml mr ms my nb nl nn nso or pa pl pt_BR pt ro ru si sk sl sq sr@latin sr sv ta te th tr uk ur vi zh_CN zh_TW zu"
-fi
+ALL_LINGUAS=`{cd "$srcdir/po" > /dev/null && ls *.po} | sed 's+\.po$++'`
 
 dnl Extra link-time flags for Cygwin.
 dnl Copied from libxml2 configure.in, but I removed mingw changes