autoconf
[Top][All Lists]
Advanced

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

Re: conditional use of gettext


From: Vincent Torri
Subject: Re: conditional use of gettext
Date: Wed, 9 Jun 2010 01:02:40 +0200 (CEST)



On Tue, 8 Jun 2010, Eric Blake wrote:

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.

and about the aclocal message ? Wait, automake ML ?

Vincent Torri



reply via email to

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