Re: conditional use of gettext

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

 





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.


dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])

that's what is in my gettext.m4 file.

Vincent Torri

_______________________________________________
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