intltool.m4 does not define ENABLE_NLS
Bug #1217976 reported by
Seán de Búrca
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intltool |
New
|
Undecided
|
Unassigned |
Bug Description
Because IT_PROG_INTLTOOL conflicts with AM_GNU_GETTEXT, applications depending on having ENABLE_NLS defined but which need to use IT_PROG_INTLTOOL must define it themselves. From the documentation for AM_GNU_GETTEXT: "The AM_GNU_GETTEXT macro determines whether GNU gettext is available and should be used. If so, it sets the USE_NLS variable to ‘yes’; it defines ENABLE_NLS to 1 in the autoconf generated configuration file (usually called config.h)". IT_PROG_INTLTOOL should copy this AM_GNU_GETTEXT behavior.
To post a comment you must log in.
I second this.
So far, using AM_GLIB_GNU_GETTEXT was a inexpensive alternative (although doing more than necessary). But since AM_GLIB_GNU_GETTEXT has become deprecated, it would be desirable if intltool could perform these few necessary tasks.