On Sun, Oct 19, 2008 at 11:56:49AM +0200, Jim Meyering wrote:
> Without the first change below, "make distcheck" would fail due to the
> absence of po/no.po.  But that file was deliberately removed, because
> np.po supersedes it.

  Oops, right, I forgot to update the list

> However, there is no need to maintain that hard-coded list of .po files.
> Here's a proposed patch to do away with it:
> 
> diff --git a/configure.in b/configure.in
> index 54f1fe1..32fffb2 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -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 [EMAIL PROTECTED] 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

  yes, that makes sense, +1

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
[EMAIL PROTECTED]  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to