Re: conditional use of gettext

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

 



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   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux