bug-gnu-utils
[Top][All Lists]
Advanced

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

conditional use of gettext


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


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.
Running aclocal...
configure.ac:48: warning: macro `AM_GNU_GETTEXT' not found in library

What is wrong, here ?

thank you

Vincent Torri



reply via email to

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