autoconf
[Top][All Lists]
Advanced

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

Re: conditional use of gettext


From: Eric Blake
Subject: Re: conditional use of gettext
Date: Tue, 08 Jun 2010 17:00:35 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4

On 06/08/2010 04:54 PM, Vincent Torri wrote:
> 
> Hey
> 
> in configure.ac, I use
> 
> 
> m4_ifdef([AM_GNU_GETTEXT_VERSION], [AM_GNU_GETTEXT_VERSION([0.12.1])])
> m4_ifdef([AM_GNU_GETTEXT],
>    [
>     AM_GNU_GETTEXT([external])
>     po_makefile_in=po/Makefile.in
>     AM_CONDITIONAL([HAVE_PO], [true])
>    ],
>    [
>     AM_CONDITIONAL([HAVE_PO], [false])
>    ])
> 
> to check conditionnally if gettext m4 macro is installed or not. And it
> is installed. But autopoint and aclocal are giving the following message:
> 
> Running autopoint...
> autopoint: *** Missing version: please specify in configure.ac through a
> line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package
> is using
> autopoint: *** Stop.

That would be an autopoint limitation (or even a bug, if it is not
documented in the gettext pages).  You'll probably have better luck
asking Bruno, bug-gnu-gettext AT gnu DOT org, since he is the author of
AM_GNU_GETTEXT_VERSION in the gettext package.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]