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:13:26 -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 05:12 PM, Vincent Torri wrote:
> 
> 
> On Tue, 8 Jun 2010, Eric Blake wrote:
> 
>> On 06/08/2010 05:02 PM, Vincent Torri wrote:
>>>> Running aclocal...
>>>> configure.ac:48: warning: macro `AM_GNU_GETTEXT' not found in library
>>>
>>> and about the aclocal message ? Wait, automake ML ?
>>
>> Technically, but I know the answer to that one :)  Because autopoint
>> didn't run to completion, it didn't install any of gettext's .m4 files.
>> So when aclocal went to go looking for macros, including
>> AM_GNU_GETTEXT, it couldn't find any .m4 files that contained them.  Fix
>> the first error, and the second one will go away automatically.
> 
> but gettext.m4 is installed (in /usr/share/aclocal).

Is that one of the directories included in your -I directives to aclocal
(either on the command line or via Makefile.am)?  Also, the point of
autopoint is to copy those macros into your local tree, to make it
easier for you to redistribute those .m4 files to machines that don't
have gettext installed in /usr/share/aclocal.  Once it is copied into
your local tree, aclocal can find them locally.

-- 
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]