conditional use of gettext

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

 




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

_______________________________________________
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